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

## StructureMap:

Official URL: http://openhie.org/fhir/sri-lanka/StructureMap/HIMSRiskBehaviourLMToObs-PhysicalActivity | Version: 0.1.0
Draft as of 2023-11-10 | Computable Name: HIMSRiskBehaviourLMToObs-PhysicalActivity

Maps the HIMS logical model data elements to the Observation resource data elements.

    map "http://openhie.org/fhir/sri-lanka/StructureMap/HIMSRiskBehaviourLMToObs-PhysicalActivity" = "HIMSRiskBehaviourLMToObs-PhysicalActivity"

    // 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.physicalActivity as physicalActivity -> observation as obs then {
        physicalActivity -> obs.valueCodeableConcept = physicalActivity "SetPhysicalActivityValue";
      } "SetPhysicalActivity";
    }