ehr_endpoints

CHECK-IN WORKFLOW :

Valid search parameters for this search are: [_id, _language, _lastUpdated, active, address, address-city, address-country, address-postalcode, address-state, address-use, birthdate, death-date, deceased, email, family, gender, general-practitioner, given, identifier, language, link, name, organization, phone, phonetic, telecom]`

SEARCH PARAMS :

GET [base]/Patient?identifier=[value]

GET [base]/Patient?name=[value]

CREATE PATIENT :

POST [base]/Patient

GET PATIENT :

GET [base]/Patient/[_id]

EDIT PATIENT :

PUT [base]/Patient/[_id]

check-in.mp4 from Shashwat on Vimeo.


APPOINTMENT WORKFLOW :

SCHEDULE TAB

Valid search parameters for this search are: [_id, _language, _lastUpdated, active, actor, date, identifier, service-category, service-type, specialty]`

SEARCH PARAMS :

GET [base]/Schedule?actor=Practitioner/[value]
GET [base]/Schedule?actor=Location/[value]
GET [base]/Schedule?actor=Patient/[value]

GET [base]/Schedule?service-category=[value]

CREATE SCHEDULE :

POST [base]/Schedule

GET SCHEDULE :

GET [base]/Schedule/[_id]

EDIT SCHEDULE :

PUT [base]/Schedule/[_id]

SLOT TAB

Valid search parameters for this search are: [_id, _language, _lastUpdated, appointment-type, identifier, schedule, service-category, service-type, specialty, start, status]`

SEARCH PARAMS :

GET [base]/Slot?status=[value]
GET [base]/Slot?schedule=[value]

CREATE SLOT :

POST [base]/Slot

GET SLOT :

GET [base]/Slot/[_id]

EDIT SLOT :

PUT [base]/Slot/[_id]

APPOINTMENT TAB

Valid search parameters for this search are: [_id, _language, _lastUpdated, actor, appointment-type, based-on, date, identifier, location, part-status, patient, practitioner, reason-code, reason-reference, service-category, service-type, slot, specialty, status, supporting-info]”`

SEARCH PARAMS :

GET [base]/Appointment?actor=[value]
GET [base]/Appointment?status=[value]

CREATE APPOINTMENT :

POST [base]/Appointment

GET APPOINTMENT :

GET [base]/Appointment/[_id]

EDIT APPOINTMENT :

PUT [base]/Appointment/[_id] `


VISIT WORKFLOW:

///////////////////////////////////////////////NURSE///////////////////////////////////////////////

FIND PATIENT:

SEARCH PARAMS :

GET [base]/Patient?identifier=[value]
GET [base]/Patient?name=[value]

once the nurse selects a specific patient the patient Id will be
stored by a redux action. So the patient id below will be fetched from
the redux store via a useselector hook to get the appointments and the
encounters related to a specifc Patient entry.

GET [base]/Appointment?actor=Patient/[_id]

GET [base]/Encounter?subject=Patient/[_id] /* TO GET ALL THE ENCOUNTERS SPECIFIC TO A PATIENT */

POST [base]/Encounter /* TO CREATE AN ENCOUNTER */

PUT [base]/Encounter/[_id]

GET [base]/AllergyIntolerance?patient=Patient/[_id]

POST [base]/AllergyIntolerance /* TO CREATE AN ALLERGY ENTRY FOR THE PATIENT */

MEDICATIONS THE PATIENT IS TAKING/HAS TAKEN:

the fhir resource used here is MedicationStatement : this resource
has a reference to the patient, this resource is required to know what medications the
patient has been taking / taken before.

GET [base]/MedicationStatement?subject=Patient/[_id]

POST [base]/MedicationStatement /* TO CREATE A MEDICATION-STATEMENT ENTRY FOR THE PATIENT */

PATIENT VITALS:

IN FHIR THERE IS NO SEPARATE RESOURCE FOR VITALS , VITALS CAN BE TAKEN
AS AN ENTRY OF OBSERVATION RESOURCE UNDER THE CATEGORY OF VITAL-SIGNS

GET [base]/Observation?category=vital-signs&subject=Patient/[_id]

POST [base]/Observation /* TO CREATE AN OBSERVATION ENTRY FOR THE PATIENT VITALS */

PUT [base]/Observation/[_id] /* TO EDIT OBSERVATION ENTRY FOR THE PATIENT VITALS */


/////////////////////////////////////////PROVIDER/////////////////////////////////////////

FIND PATIENT:

SEARCH PARAMS :

GET [base]/Patient?identifier=[value]
GET [base]/Patient?name=[value]

once the provider selects a specific patient the patient Id will be
stored by a redux action. So the patient id below will be fetched from
the redux store via a useselector hook to get the
encounters related to a specifc Patient entry.

GET [base]/Encounter?subject=Patient/[_id] /* TO GET ALL THE ENCOUNTERS SPECIFIC TO A PATIENT */

PUT [base]/Encounter/[_id]

similar to the above case once an encounter is selected its id will be stored via redux store

GET [base]/Observation?encounter=Encounter/[_id]

POST [base]/Observation

GET [base]/ServiceRequest?encounter=Encounter/[_id]

POST [base]/ServiceRequest


E-PRESCRIPTION WORKFLOW:

////////////////////////////////////////////PRESCRIBER//////////////////////////////////////////

FIND PATIENT:

SEARCH PARAMS :

GET [base]/Patient?identifier=[value]
GET [base]/Patient?name=[value]

once the nurse selects a specific patient the patient Id will be
stored by a redux action. So the patient id below will be fetched from
the redux store via a useselector hook to get the
encounters related to a specifc Patient entry.

GET [base]/Encounter?subject=Patient/[_id] /* TO GET ALL THE ENCOUNTERS SPECIFIC TO A PATIENT */

PUT [base]/Encounter/[_id]

similar to the above case once an encounter is selected its id will be stored via redux store

GET [base]/AllergyIntolerance?patient=Patient/[_id]

MEDICATIONS THE PATIENT IS TAKING/HAS TAKEN:

the fhir resource used here is MedicationStatement : this resource
has a reference to the patient, this resource is required to know what medications the
patient has been taking / taken before.

GET [base]/MedicationStatement?subject=Patient/[_id]

MEDICATIONS PRESCRIPTION:

the fhir resource used here is MedicationRequest

POST [base]/MedicationRequest