This page is part of the FHIR Specification (v5.0.0-snapshot1: Release 5 Snapshot #1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Vocabulary Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Additional ConceptMap2 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 xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- <http://hl7.org/fhir/ConceptMap2/example2> a fhir:ConceptMap2; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example2"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div><p>Resource "example2" </p></div><p><b>url</b>: <a>http://hl7.org/fhir/ConceptMap/example2</a></p><p><b>name</b>: FHIR-exanple-2</p><p><b>title</b>: FHIR Example 2</p><p><b>status</b>: draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2012-06-13</p><p><b>publisher</b>: HL7, Inc</p><p><b>contact</b>: FHIR project team (example): <a>http://hl7.org/fhir</a></p><p><b>description</b>: An example mapping</p><p><b>purpose</b>: To illustrate mapping features</p><p><b>source</b>: <a>http://example.org/fhir/example1</a></p><p><b>target</b>: <a>http://example.org/fhir/example2</a></p><blockquote><p><b>group</b></p><p><b>source</b>: <a>http://example.org/fhir/example1</a></p><p><b>target</b>: <a>http://example.org/fhir/example2</a></p><blockquote><p><b>element</b></p><p><b>code</b>: code</p><p><b>display</b>: Example Code</p><blockquote><p><b>target</b></p><p><b>code</b>: code2</p><p><b>display</b>: Some Example Code</p><p><b>relationship</b>: equivalent</p><h3>DependsOns</h3><table><tr><td>-</td><td><b>Property</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td><a>http://example.org/fhir/property-value/example</a></td><td>Something Coded (Details: http://example.org/fhir/example3 code some-code = 'some-code', stated as 'Something Coded')</td></tr></table></blockquote></blockquote><h3>Unmappeds</h3><table><tr><td>-</td><td><b>Mode</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>other-map</td><td><a>http://example.org/fhir/ConceptMap/map2</a></td></tr></table></blockquote></div>" ]; fhir:ConceptMap2.url [ fhir:value "http://hl7.org/fhir/ConceptMap/example2"]; fhir:ConceptMap2.name [ fhir:value "FHIR-exanple-2"]; fhir:ConceptMap2.title [ fhir:value "FHIR Example 2"]; fhir:ConceptMap2.status [ fhir:value "draft"]; fhir:ConceptMap2.experimental [ fhir:value "true"^^xsd:boolean]; fhir:ConceptMap2.date [ fhir:value "2012-06-13"^^xsd:date]; fhir:ConceptMap2.publisher [ fhir:value "HL7, Inc"]; fhir:ConceptMap2.contact [ fhir:index 0; fhir:ContactDetail.name [ fhir:value "FHIR project team (example)" ]; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ] ] ]; fhir:ConceptMap2.description [ fhir:value "An example mapping"]; fhir:ConceptMap2.purpose [ fhir:value "To illustrate mapping features"]; fhir:ConceptMap2.sourceUri [ fhir:value "http://example.org/fhir/example1"]; fhir:ConceptMap2.targetUri [ fhir:value "http://example.org/fhir/example2"]; fhir:ConceptMap2.group [ fhir:index 0; fhir:ConceptMap2.group.source [ fhir:value "http://example.org/fhir/example1"; fhir:link <http://example.org/fhir/example1> ]; fhir:ConceptMap2.group.target [ fhir:value "http://example.org/fhir/example2"; fhir:link <http://example.org/fhir/example2> ]; fhir:ConceptMap2.group.element [ fhir:index 0; fhir:ConceptMap2.group.element.code [ fhir:value "code" ]; fhir:ConceptMap2.group.element.display [ fhir:value "Example Code" ]; fhir:ConceptMap2.group.element.target [ fhir:index 0; fhir:ConceptMap2.group.element.target.code [ fhir:value "code2" ]; fhir:ConceptMap2.group.element.target.display [ fhir:value "Some Example Code" ]; fhir:ConceptMap2.group.element.target.relationship [ fhir:value "equivalent" ]; fhir:ConceptMap2.group.element.target.dependsOn [ fhir:index 0; fhir:ConceptMap2.group.element.target.dependsOn.property [ fhir:value "http://example.org/fhir/property-value/example" ]; fhir:ConceptMap2.group.element.target.dependsOn.valueCoding [ fhir:Coding.system [ fhir:value "http://example.org/fhir/example3" ]; fhir:Coding.code [ fhir:value "some-code" ]; fhir:Coding.display [ fhir:value "Something Coded" ] ] ] ] ]; fhir:ConceptMap2.group.unmapped [ fhir:ConceptMap2.group.unmapped.mode [ fhir:value "other-map" ]; fhir:ConceptMap2.group.unmapped.url [ fhir:value "http://example.org/fhir/ConceptMap/map2"; fhir:link <http://example.org/fhir/ConceptMap/map2> ] ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/ConceptMap2/example2.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/ConceptMap2/example2.ttl> . # -------------------------------------------------------------------------------------
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.