Ethiopia FHIR Implementation Guide - HIV Treatment & Care Services
1.0.1 - ci-build 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.1 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

: Map Observation Propietary Value CodeableConcept to a Standard CodeableConcept - TTL Representation

Draft as of 2024-10-14

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ObservationPropietaryValueToStandardCodingValue"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap ObservationPropietaryValueToStandardCodingValue</b></p><a name=\"ObservationPropietaryValueToStandardCodingValue\"> </a><a name=\"hcObservationPropietaryValueToStandardCodingValue\"> </a><a name=\"ObservationPropietaryValueToStandardCodingValue-en-US\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> &quot;</span>http://moh.gov.et/fhir/hiv/StructureMap/ObservationPropietaryValueToStandardCodingValue<span style=\"color: navy\">&quot; = &quot;</span>ObservationPropietaryValueToStandardCodingValue<span style=\"color: navy\">&quot;\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R4/conceptmap.html\" title=\"ConceptMap\">http://hl7.org/fhir/StructureDefinition/ConceptMap</a><span style=\"color: navy\">&quot; </span><b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R4/observation.html\" title=\"Observation\">http://hl7.org/fhir/StructureDefinition/Observation</a><span style=\"color: navy\">&quot; </span><b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R4/observation.html\" title=\"Observation\">http://hl7.org/fhir/StructureDefinition/Observation</a><span style=\"color: navy\">&quot; </span><b>as </b><b>target</b>\r\n\r\n<b>group </b>ObservationPropietaryValueToStandardCodingValue<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">obsSrc</span><span style=\"color: navy\"> : </span>Observation, <b>source</b> <span style=\"color: maroon\">conceptMapSrc</span><span style=\"color: navy\"> : </span>ConceptMap, <b>target</b> <span style=\"color: maroon\">obsTgt</span><span style=\"color: navy\"> : </span>Observation<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span>  obsSrc.value<span style=\"color: navy\"> : </span>CodeableConcept<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>obsTgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    vs.coding<b> as </b><span style=\"color: maroon\">coding</span><b> then</b><span style=\"color: navy\"> {\r\n</span>      conceptMapSrc.url<b> as </b><span style=\"color: maroon\">url</span><b> then</b><span style=\"color: navy\"> {\r\n</span>        coding<span style=\"color: navy\"><b> -&gt; </b></span>vt = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">coding</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">url</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span> <i>&quot;SetObservationCode&quot;</i><span style=\"color: navy\">;</span>\r\n      <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n    <span style=\"color: navy\">}</span> <i>&quot;SetObservationCoding&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;SetObservationValue&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  ] ; # 
  fhir:url [ fhir:v "http://moh.gov.et/fhir/hiv/StructureMap/ObservationPropietaryValueToStandardCodingValue"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.1"] ; # 
  fhir:name [ fhir:v "ObservationPropietaryValueToStandardCodingValue"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2024-10-14T10:58:37+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Jembi Health Systems"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "Jembi Health Systems" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.jembi.org" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "info@jembi.org" ]     ] )
  ] [
fhir:name [ fhir:v "Jembi Health Systems" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "info@jembi.org" ] ;
fhir:use [ fhir:v "work" ]     ] )
  ] ) ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ET" ] ;
fhir:display [ fhir:v "Ethiopia" ]     ] )
  ] ) ; # 
  fhir:structure ( [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/ConceptMap"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/ConceptMap>     ] ;
fhir:mode [ fhir:v "source" ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>     ] ;
fhir:mode [ fhir:v "source" ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>     ] ;
fhir:mode [ fhir:v "target" ]
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "ObservationPropietaryValueToStandardCodingValue" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "obsSrc" ] ;
fhir:type [ fhir:v "Observation" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "conceptMapSrc" ] ;
fhir:type [ fhir:v "ConceptMap" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "obsTgt" ] ;
fhir:type [ fhir:v "Observation" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "SetObservationValue" ] ;
      ( fhir:source [
fhir:context [ fhir:v "obsSrc" ] ;
fhir:type [ fhir:v "CodeableConcept" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:variable [ fhir:v "vs" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "obsTgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:variable [ fhir:v "vt" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "SetObservationCoding" ] ;
        ( fhir:source [
fhir:context [ fhir:v "vs" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "coding" ]         ] ) ;
        ( fhir:rule [
fhir:name [ fhir:v "url" ] ;
          ( fhir:source [
fhir:context [ fhir:v "conceptMapSrc" ] ;
fhir:element [ fhir:v "url" ] ;
fhir:variable [ fhir:v "url" ]           ] ) ;
          ( fhir:rule [
fhir:name [ fhir:v "SetObservationCode" ] ;
            ( fhir:source [
fhir:context [ fhir:v "coding" ]             ] ) ;
            ( fhir:target [
fhir:context [ fhir:v "vt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:transform [ fhir:v "translate" ] ;
              ( fhir:parameter [
fhir:value [ fhir:v "coding" ]               ] [
fhir:value [ fhir:v "url" ]               ] [
fhir:value [ fhir:v "code" ]               ] )             ] )           ] )         ] )       ] )     ] )
  ] ) . #