@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 -------------------------------------------------------------------

<http://hl7.org/fhir/uv/crmi/ConceptMap/publishable-example> a fhir:ConceptMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "publishable-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishableconceptmap"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishableconceptmap>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Mapping from <a href=\"http://hl7.org/fhir/R4/valueset-address-use.html\">AddressUse</a> to <a href=\"http://terminology.hl7.org/5.5.0/ValueSet-v3-AddressUse.html\">AddressUse</a></p><p>DRAFT (not intended for production usage). Published on 2012-06-13 by HL7 International / Clinical Decision Support  (<a href=\"http://www.hl7.org/Special/committees/dss\">http://www.hl7.org/Special/com...</a>). Creative Commons 0</p><div><p>A mapping between the FHIR and HL7 v3 AddressUse Code systems</p>\n</div><br/><p><b>Group 1 </b>Mapping from <a href=\"http://hl7.org/fhir/R4/codesystem-address-use.html\">AddressUse</a> to <a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-v3-AddressUse.html\">AddressUse</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>home</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>H (home address)</td><td/></tr><tr><td>work</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>WP (work place)</td><td/></tr><tr><td>temp (Temporary)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>TMP (temporary address)</td><td/></tr><tr><td>old (Old / Incorrect)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#disjoint\" title=\"disjoint\">is not related to</a></td><td>BAD (bad address)</td><td>In the HL7 v3 AD, old is handled by the usablePeriod element, but you have to provide a time, there's no simple equivalent of flagging an address as old</td></tr></table></div>"
  ] ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/uv/crmi/ConceptMap/publishable-example"^^xsd:anyURI] ; # 
  fhir:identifier [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.38.18.1" ]
  ] ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "PublishableConceptMapExample"] ; # 
  fhir:title [ fhir:v "Publishable Concept Map Example"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2012-06-13"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "A mapping between the FHIR and HL7 v3 AddressUse Code systems"] ; # 
  fhir:useContext ( [
     fhir:code [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "venue" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:text [ fhir:v "for CCDA Usage" ]
     ]
  ] ) ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:purpose [ fhir:v "To help implementers map from HL7 v3/CDA to FHIR"] ; # 
  fhir:copyright [ fhir:v "Creative Commons 0"] ; # 
  fhir:source [ fhir:v "http://hl7.org/fhir/ValueSet/address-use"^^xsd:anyURI] ; # 
  fhir:target [ fhir:v "http://terminology.hl7.org/ValueSet/v3-AddressUse"^^xsd:anyURI] ; # 
  fhir:group ( [
     fhir:source [ fhir:v "http://hl7.org/fhir/address-use"^^xsd:anyURI ] ;
     fhir:target [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-AddressUse"^^xsd:anyURI ] ;
     fhir:element ( [
       fhir:code [ fhir:v "home" ] ;
       fhir:display [ fhir:v "home" ] ;
       fhir:_target ( [
         fhir:modifierExtension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "equivalent" ]
         ] ) ;
         fhir:code [ fhir:v "H" ] ;
         fhir:display [ fhir:v "home address" ] ;
         fhir:equivalence [ fhir:v "equivalent" ]
       ] )
     ] [
       fhir:code [ fhir:v "work" ] ;
       fhir:display [ fhir:v "work" ] ;
       fhir:_target ( [
         fhir:modifierExtension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "equivalent" ]
         ] ) ;
         fhir:code [ fhir:v "WP" ] ;
         fhir:display [ fhir:v "work place" ] ;
         fhir:equivalence [ fhir:v "equivalent" ]
       ] )
     ] [
       fhir:code [ fhir:v "temp" ] ;
       fhir:display [ fhir:v "Temporary" ] ;
       fhir:_target ( [
         fhir:modifierExtension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "equivalent" ]
         ] ) ;
         fhir:code [ fhir:v "TMP" ] ;
         fhir:display [ fhir:v "temporary address" ] ;
         fhir:equivalence [ fhir:v "equivalent" ]
       ] )
     ] [
       fhir:code [ fhir:v "old" ] ;
       fhir:display [ fhir:v "Old / Incorrect" ] ;
       fhir:_target ( [
         fhir:modifierExtension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "disjoint" ]
         ] ) ;
         fhir:code [ fhir:v "BAD" ] ;
         fhir:display [ fhir:v "bad address" ] ;
         fhir:equivalence [ fhir:v "disjoint" ] ;
         fhir:comment [ fhir:v "In the HL7 v3 AD, old is handled by the usablePeriod element, but you have to provide a time, there's no simple equivalent of flagging an address as old" ]
       ] )
     ] ) ;
     fhir:unmapped [
       fhir:mode [ fhir:v "fixed" ] ;
       fhir:code [ fhir:v "temp" ] ;
       fhir:display [ fhir:v "temp" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

