Hey @abertnamanya , thanks for the pointer above. However, i find the mappings at the bottom of the page a little confusing. When i look into the ServiceRequestTranslatorImpl class, the table below is what i come up with.
Note: The question marks indicate there is no direct element in the TestOrder class to map that specific fhir element with. And thats where my question was initially, in the attempt to translate ServiceRequest to OMRS.
Qn: When translating back to OMRS, do i only concentrate on those elements in the ServiceRequest resource that have direct mappings in the TestOrder model? e.g id, code, subject,encounter, requester.
ServiceRequest | OMRS TestOrder |
---|---|
id | TestOrder.uuid |
status | ?? |
intent | ?? |
code | TestOrder.concept |
subject | TestOrder.patient |
encounter | TestOrder.encounter |
occurence[x] | TestOrder.effectiveStartDate, TestOrder.effectiveEndDate |
requester | TestOrder.orderer |
performer | ?? |
**** |