- Patient born, allocated NHS ID
- Patient registers NHS ID with GP
- Patient requests GP consultation
- Patient consults GP
- GP outlines options to patient
- Discussion only
- GP performs local tests
- Prescription
- Refer patient to consultant
- Consultant offers appointment to patient
- Patient consults consultant
- Consultant outlines options to patient
- Discussion only
- Consultancy tests & scans
- Prescription
- Patient elects surgery
- Patient consults pharmacist
- Discussion only
- Over the counter medicine
- Refer patient to GP
- Pharmacist dispense prescription
- Patient dies
-
Patient has following functions
-
chain_code_id = register(name,date_of_birth,gender)
-
txId = request_consultation(date_of_appointment)
-
query_appointment()
-
query_information()
-
General Practitioner has following functions:
-
txId, diagnosis_result = diagnose(patient_id)
-
test_result = do_local_test(patient_id)
-
prescription = prescribe_drugs(patient_id)
-
txId = refer_to_consultant(patient_id,date_of_appointment)
-
query_patient()
-
Hospital has following functions:
-
txId, diagnosis_result = diagnose(patien_id)
-
test_result = do_clinical_test(patient_id)
-
prescription = prescribe_drugs(patient_d)
-
Pharmacy has following functions:
-
sell()
-
refer_to_gp()
-
query()