Ethiopia FHIR Implementation Guide - HIV Treatment & Care Services
1.0.0 - STU1 Ethiopia flag

Ethiopia FHIR Implementation Guide - HIV Treatment & Care Services, published by Jembi Health Systems. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/jembi/ethiopia-hiv/ and changes regularly. See the Directory of published versions

StructureMap: Map Observation Propietary Value CodeableConcept to a Standard CodeableConcept

Official URL: http://moh.gov.et/fhir/hiv/StructureMap/ObservationPropietaryValueToStandardCodingValue Version: 1.0.0
Active as of 2024-09-10 Computable Name: ObservationPropietaryValueToStandardCodingValue

Generated Narrative: StructureMap ObservationPropietaryValueToStandardCodingValue

map "http://moh.gov.et/fhir/hiv/StructureMap/ObservationPropietaryValueToStandardCodingValue" = "ObservationPropietaryValueToStandardCodingValue"

uses "http://hl7.org/fhir/StructureDefinition/ConceptMap" as source
uses "http://hl7.org/fhir/StructureDefinition/Observation" as source
uses "http://hl7.org/fhir/StructureDefinition/Observation" as target

group ObservationPropietaryValueToStandardCodingValue(source obsSrc : Observation, source conceptMapSrc : ConceptMap, target obsTgt : Observation) {
  obsSrc.value : CodeableConcept as vs -> obsTgt.value = create('CodeableConcept') as vt then {
    vs.coding as coding then {
      conceptMapSrc.url as url then {
        coding -> vt = translate(coding, url, 'code') "SetObservationCode";
      };
    } "SetObservationCoding";
  } "SetObservationValue";
}