/hhcr

Primary LanguageHTML

HHCR: hyperledger healthcare record

alt tag

Usercase Scenario

  1. Patient born, allocated NHS ID
  2. Patient registers NHS ID with GP
  3. Patient requests GP consultation
  4. Patient consults GP
  5. GP outlines options to patient
  6. Discussion only
  7. GP performs local tests
  8. Prescription
  9. Refer patient to consultant
  10. Consultant offers appointment to patient
  11. Patient consults consultant
  12. Consultant outlines options to patient
  13. Discussion only
  14. Consultancy tests & scans
  15. Prescription
  16. Patient elects surgery
  17. Patient consults pharmacist
  18. Discussion only
  19. Over the counter medicine
  20. Refer patient to GP
  21. Pharmacist dispense prescription
  22. Patient dies

System Overview

  1. Patient has following functions

  2. chain_code_id = register(name,date_of_birth,gender)

  3. txId = request_consultation(date_of_appointment)

  4. query_appointment()

  5. query_information()

  6. General Practitioner has following functions:

  7. txId, diagnosis_result = diagnose(patient_id)

  8. test_result = do_local_test(patient_id)

  9. prescription = prescribe_drugs(patient_id)

  10. txId = refer_to_consultant(patient_id,date_of_appointment)

  11. query_patient()

  12. Hospital has following functions:

  13. txId, diagnosis_result = diagnose(patien_id)

  14. test_result = do_clinical_test(patient_id)

  15. prescription = prescribe_drugs(patient_d)

  16. Pharmacy has following functions:

  17. sell()

  18. refer_to_gp()

  19. query()