Stream: mapping-framework
Topic: ProcedureRequest -> ServiceRequest
ravi.kuchi (May 04 2021 at 23:05):
Hi,
I am trying to map ProcedureRequest(R3) to ServiceRequest(R4) , I want to map the context in R3 to encounter in R4 if only the reference is of type Encounter, if the reference is EpisodeOfCare I want to map it to an extension (http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare)
I have tried many ways but am not successful, here is what I believe should work
src.context as scon where reference.startsWith('Encounter') -> tgt.encounter;
Any help on this is appreciated!
Last updated: Apr 12 2022 at 19:14 UTC