This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
General ConceptMap Example
@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 xs: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- <http://hl7.org/fhir//ConceptMap/101> a fhir:ConceptMap; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "101"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:ConceptMap.url [ fhir:value "http://hl7.org/fhir/ConceptMap/101"]; fhir:ConceptMap.identifier [ fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ]; fhir:Identifier.value [ fhir:value "urn:uuid:53cd62ee-033e-414c-9f58-3ca97b5ffc3b" ] ]; fhir:ConceptMap.version [ fhir:value "20120613"]; fhir:ConceptMap.name [ fhir:value "FHIR/v3 Address Use Mapping"]; fhir:ConceptMap.status [ fhir:value "draft"]; fhir:ConceptMap.experimental [ fhir:value "true"^^xs:boolean]; fhir:ConceptMap.publisher [ fhir:value "HL7, Inc"]; fhir:ConceptMap.contact [ fhir:index 0; fhir:ConceptMap.contact.name [ fhir:value "FHIR project team (example)" ]; fhir:ConceptMap.contact.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "other" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ] ] ]; fhir:ConceptMap.date [ fhir:value "2012-06-13"^^xs:date]; fhir:ConceptMap.description [ fhir:value "A mapping between the FHIR and HL7 v3 AddressUse Code systems"]; fhir:ConceptMap.useContext [ fhir:index 0; fhir:CodeableConcept.text [ fhir:value "for CDA Usage" ] ]; fhir:ConceptMap.requirements [ fhir:value "To help implementers map from HL7 v3/CDA to FHIR"]; fhir:ConceptMap.copyright [ fhir:value "Creative Commons 0"]; fhir:ConceptMap.sourceReference [ fhir:reference <http://hl7.org/fhir/ValueSet/address-use>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/address-use" ] ]; fhir:ConceptMap.targetReference [ fhir:reference <http://hl7.org/fhir/ValueSet/v3-AddressUse>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/v3-AddressUse" ] ]; fhir:ConceptMap.element [ fhir:index 0; fhir:ConceptMap.element.system [ fhir:value "http://hl7.org/fhir/address-use" ]; fhir:ConceptMap.element.code [ fhir:value "home" ]; fhir:ConceptMap.element.target [ fhir:index 0; fhir:ConceptMap.element.target.system [ fhir:value "http://hl7.org/fhir/v3/AddressUse" ]; fhir:ConceptMap.element.target.code [ fhir:value "H" ]; fhir:ConceptMap.element.target.equivalence [ fhir:value "equivalent" ] ] ]; fhir:ConceptMap.element [ fhir:index 1; fhir:ConceptMap.element.system [ fhir:value "http://hl7.org/fhir/address-use" ]; fhir:ConceptMap.element.code [ fhir:value "home" ]; fhir:ConceptMap.element.target [ fhir:index 0; fhir:ConceptMap.element.target.system [ fhir:value "http://hl7.org/fhir/v3/AddressUse" ]; fhir:ConceptMap.element.target.code [ fhir:value "H" ]; fhir:ConceptMap.element.target.equivalence [ fhir:value "equivalent" ] ] ]; fhir:ConceptMap.element [ fhir:index 2; fhir:ConceptMap.element.system [ fhir:value "http://hl7.org/fhir/address-use" ]; fhir:ConceptMap.element.code [ fhir:value "work" ]; fhir:ConceptMap.element.target [ fhir:index 0; fhir:ConceptMap.element.target.system [ fhir:value "http://hl7.org/fhir/v3/AddressUse" ]; fhir:ConceptMap.element.target.code [ fhir:value "WP" ]; fhir:ConceptMap.element.target.equivalence [ fhir:value "equivalent" ] ] ]; fhir:ConceptMap.element [ fhir:index 3; fhir:ConceptMap.element.system [ fhir:value "http://hl7.org/fhir/address-use" ]; fhir:ConceptMap.element.code [ fhir:value "temp" ]; fhir:ConceptMap.element.target [ fhir:index 0; fhir:ConceptMap.element.target.system [ fhir:value "http://hl7.org/fhir/v3/AddressUse" ]; fhir:ConceptMap.element.target.code [ fhir:value "TMP" ]; fhir:ConceptMap.element.target.equivalence [ fhir:value "equivalent" ] ] ]; fhir:ConceptMap.element [ fhir:index 4; fhir:ConceptMap.element.system [ fhir:value "http://hl7.org/fhir/address-use" ]; fhir:ConceptMap.element.code [ fhir:value "old" ]; fhir:ConceptMap.element.target [ fhir:index 0; fhir:ConceptMap.element.target.system [ fhir:value "http://hl7.org/fhir/v3/AddressUse" ]; fhir:ConceptMap.element.target.code [ fhir:value "BAD" ]; fhir:ConceptMap.element.target.equivalence [ fhir:value "disjoint" ]; fhir:ConceptMap.element.target.comments [ fhir:value "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" ] ] ]. # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.