R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example ConceptMap/example-metadata-2 (Turtle)

Terminology Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example Concept Map Metadata v2

@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:ConceptMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-metadata-2"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/shareableconceptmap"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareableconceptmap>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>Mapping from \n        <a href=\"valueset-address-use.html\">AddressUse</a> to \n        <a href=\"http://terminology.hl7.org/5.4.0/ValueSet-v3-AddressUse.html\">AddressUse</a>\n      </p>\n      <p>DRAFT (not intended for production usage). Published on 2022-07-21 by HL7 International / Terminology Infrastructure (\n        <a href=\"http://www.hl7.org/Special/committees/Vocab\">http://www.hl7.org/Special/com...</a>, \n        <a href=\"http://www.hl7.org/Special/committees/Vocab/index.cfm\">http://www.hl7.org/Special/com...</a>). \n      </p>\n      <div>\n        <p>This is an example concept map that illustrates usage of the metadata resource elements introduced in R5</p>\n\n      </div>\n      <br/>\n      <p>\n        <b>Group 1</b>Mapping from \n        <a href=\"codesystem-address-use.html\">AddressUse</a> to \n        <a href=\"http://terminology.hl7.org/5.4.0/CodeSystem-v3-AddressUse.html\">AddressUse</a>\n      </p>\n      <table class=\"grid\">\n        <tr>\n          <td>\n            <b>Source Code</b>\n          </td>\n          <td>\n            <b>Relationship</b>\n          </td>\n          <td>\n            <b>Target Code</b>\n          </td>\n          <td>\n            <b>Comment</b>\n          </td>\n        </tr>\n        <tr>\n          <td>home</td>\n          <td>\n            <a href=\"codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a>\n          </td>\n          <td>H (home address)</td>\n          <td/>\n        </tr>\n        <tr>\n          <td>work</td>\n          <td>\n            <a href=\"codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a>\n          </td>\n          <td>WP (work place)</td>\n          <td/>\n        </tr>\n        <tr>\n          <td>temp (Temporary)</td>\n          <td>\n            <a href=\"codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a>\n          </td>\n          <td>TMP (temporary address)</td>\n          <td/>\n        </tr>\n        <tr>\n          <td>old (Old / Incorrect)</td>\n          <td>\n            <a href=\"codesystem-concept-map-relationship.html#not-related-to\" title=\"not-related-to\">is not related to</a>\n          </td>\n          <td>BAD (bad address)</td>\n          <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>\n        </tr>\n      </table>\n    </div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "vocab" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/ConceptMap/example-metadata-2"^^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.14.4" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot1"] ; # 
  fhir:name [ fhir:v "ExampleMetadata"] ; # 
  fhir:title [ fhir:v "Metadata Example"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2022-07-21"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Terminology Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/Vocab" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/Vocab/index.cfm" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This is an example concept map that illustrates usage of the metadata resource elements introduced in R5"] ; # 
  fhir:approvalDate [ fhir:v "2021-07-21"^^xsd:date] ; # 
  fhir:lastReviewDate [ fhir:v "2022-07-21"^^xsd:date] ; # 
  fhir:effectivePeriod [
     fhir:start [ fhir:v "2022-08-01"^^xsd:date ] ;
     fhir:end [ fhir:v "2023-07-31"^^xsd:date ]
  ] ; # 
  fhir:topic ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/definition-topic"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "treatment" ] ;
       fhir:display [ fhir:v "Treatment" ]
     ] )
  ] ) ; # 
  fhir:author ( [
     fhir:name [ fhir:v "ACME ConceptMap Development" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://acme.org/development" ]
     ] )
  ] ) ; # 
  fhir:editor ( [
     fhir:name [ fhir:v "ACME ConceptMap Management" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://acme.org/management" ]
     ] )
  ] ) ; # 
  fhir:reviewer ( [
     fhir:name [ fhir:v "Society for Creative ConceptMap Review" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://example.org/sccr" ]
     ] )
  ] ) ; # 
  fhir:endorser ( [
     fhir:name [ fhir:v "National Foundation for ConceptMap Quality" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://example.org/nfcq" ]
     ] )
  ] ) ; # 
  fhir:relatedArtifact ( [
     fhir:type [ fhir:v "derived-from" ] ;
     fhir:resource [
       fhir:v "http://hl7.org/fhir/ConceptMap/example"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/ConceptMap/example>
     ]
  ] [
     fhir:type [ fhir:v "predecessor" ] ;
     fhir:resource [
       fhir:v "http://hl7.org/fhir/ConceptMap/example-metadata|20210701"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/ConceptMap/example-metadata|20210701>
     ]
  ] ) ; # 
  fhir:sourceScope [ fhir:v "http://hl7.org/fhir/ValueSet/address-use"^^xsd:anyURI] ; # 
  fhir:targetScope [ 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:link <http://hl7.org/fhir/address-use>
     ] ;
     fhir:target [
       fhir:v "http://terminology.hl7.org/CodeSystem/v3-AddressUse"^^xsd:anyURI ;
       fhir:link <http://terminology.hl7.org/CodeSystem/v3-AddressUse>
     ] ;
     fhir:element ( [
       fhir:code [ fhir:v "home" ] ;
       fhir:display [ fhir:v "Home" ] ;
       fhir:target ( [
         fhir:code [ fhir:v "H" ] ;
         fhir:display [ fhir:v "home address" ] ;
         fhir:relationship [ fhir:v "equivalent" ]
       ] )
     ] [
       fhir:code [ fhir:v "work" ] ;
       fhir:display [ fhir:v "Work" ] ;
       fhir:target ( [
         fhir:code [ fhir:v "WP" ] ;
         fhir:display [ fhir:v "work place" ] ;
         fhir:relationship [ fhir:v "equivalent" ]
       ] )
     ] [
       fhir:code [ fhir:v "temp" ] ;
       fhir:display [ fhir:v "Temporary" ] ;
       fhir:target ( [
         fhir:code [ fhir:v "TMP" ] ;
         fhir:display [ fhir:v "temporary address" ] ;
         fhir:relationship [ fhir:v "equivalent" ]
       ] )
     ] [
       fhir:code [ fhir:v "old" ] ;
       fhir:display [ fhir:v "Old / Incorrect" ] ;
       fhir:target ( [
         fhir:code [ fhir:v "BAD" ] ;
         fhir:display [ fhir:v "bad address" ] ;
         fhir:relationship [ fhir:v "not-related-to" ] ;
         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" ] ;
       fhir:relationship [ fhir:v "related-to" ]
     ]
  ] )] . # 

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


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.