Advancing into the 4th week, everything is going as per the plan. By the end of this week, most of the components planned are already created.
This week (4th week) was utilised creating components for the visit workflow.
The visit workflow primarily involves the nurse and the provider along with the patient, the nurse checks the arrival of the patient, takes the vitals, verifies and creates medications and allergies.
Provider then checks the patient and performs exams and orders lab tests if necessary.
FHIR does not have a visit resource so every operation related to a visit event is handled by the modified encounter resource.
In FHIR, Appointment is used for establishing a date for the encounter,
When the patient arrives and the visit is about to start, then the appointment will be marked as fulfilled, and linked to the newly created encounter.
The following components were created for this: (other components which will be required apart from the following mentioned components are already created)
- Service Request
- Medication Statement
- Quantity datatype component
- Allergy intolerance
The web component repo already had components for allergy and observation, but their utility was limited, moreover for every property there was a components which was actually not required as using created datatype components all the properties of any resource could be included in a single component.
A definte pattern is used for creating these components. The pattern is demonstrated below:
Here are the screenshots:
- create the remaining component.
- implement visit workflows in the react application.
see you next week 😄.