HL7 FHIR Implementation Guide: Sri Lanka
0.1.0 - STU1
HL7 FHIR Implementation Guide: Sri Lanka, published by Jembi Health Systems. This is not an authorized publication; it is the continuous build for version 0.1.0. This version is based on the current content of https://github.com/jembi/Sri-Lanka and changes regularly. See the Directory of published versions
| Official URL: http://openhie.org/fhir/sri-lanka/StructureMap/HIMSRiskBehaviourLMToObs-TobaccoSmoking | Version: 0.1.0 | |||
| Draft as of 2023-11-10 | Computable Name: HIMSRiskBehaviourLMToObs-TobaccoSmoking | |||
Maps the HIMS logical model data elements to the Observation resource data elements.
map "http://openhie.org/fhir/sri-lanka/StructureMap/HIMSRiskBehaviourLMToObs-TobaccoSmoking" = "HIMSRiskBehaviourLMToObs-TobaccoSmoking" // Maps the HIMS logical model data elements to the Observation resource data elements. uses "http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSRiskBehaviourDataDictionary" alias IMMZC as source uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias Bundle as target uses "http://hl7.org/fhir/StructureDefinition/Observation" alias Observation as target group DataDictToObservation(source immzc : IMMZC, target observation : Observation) { immzc.tobaccoSmoking as tobaccoSmoking -> observation as obs then { tobaccoSmoking -> obs.valueCodeableConcept = tobaccoSmoking "SetTobaccoSmokingValue"; } "SetTobaccoSmoking"; }