Release 4 Snapshot 3: Connectathon 32 Base

This page is part of the Snapshot #3 for FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always be available at this URL). The current version which supercedes this version is 5.0.0 R5 , released to support Connectathon 32 . For a full list of available versions, see the Directory of published versions . Page versions: R4B R4

Extension-narrativelink.json

Example ConceptMap/example2 (Turtle)

FHIR Infrastructure Vocabulary Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any defined compartments
Raw

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

Narrative Link Additional ConceptMap Example

{ "resourceType" : "StructureDefinition", "id" : "narrativeLink", "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode" : "fhir" }, { "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger" : 1 }], "url" : "http://hl7.org/fhir/StructureDefinition/narrativeLink", "version" : "4.0.1", "name" : "Narrative Link", "status" : "draft", "date" : "2013-12-05", "publisher" : "Health Level Seven International (FHIR Infrastructure)", "contact" : [{ "telecom" : [{ "system" : "url", "value" : "http://www.hl7.org/Special/committees/fiwg" }] }], "description" : "A human language representation of the concept (resource/element), as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).", "fhirVersion" : "4.0.1", "mapping" : [{ "identity" : "rim", "uri" : "http://hl7.org/v3", "name" : "RIM Mapping" }], "kind" : "complex-type", "abstract" : false, "context" : [{ "type" : "element", "expression" : "Element" }], "type" : "Extension", "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension", "derivation" : "constraint", "snapshot" : { "element" : [{ "id" : "Extension", "path" : "Extension", "short" : "Narrative Link", "definition" : "A human language representation of the concept (resource/element), as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).", "comment" : "It's also possible to link to the resource narrative using the [originalText extension](extension-originaltext.html) which claims that the data is derived from the text provided or linked to.", "min" : 0, "max" : "1", "base" : { "path" : "Extension", "min" : 0, "max" : "*" }, "condition" : ["ele-1"], "constraint" : [{ "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() or (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "http://hl7.org/fhir/StructureDefinition/Element" }, { "key" : "ext-1", "severity" : "error", "human" : "Must have either extensions or value[x], not both", "expression" : "extension.exists() != value.exists()", "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source" : "http://hl7.org/fhir/StructureDefinition/Extension" }], "isModifier" : false }, { "id" : "Extension.id", "path" : "Extension.id", "representation" : ["xmlAttr"], "short" : "Unique id for inter-element referencing", "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min" : 0, "max" : "1", "base" : { "path" : "Element.id", "min" : 0, "max" : "1" }, "type" : [{ "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl" : "string" }], "code" : "http://hl7.org/fhirpath/System.String" }], "isModifier" : false, "isSummary" : false, "mapping" : [{ "identity" : "rim", "map" : "n/a" }] }, { "id" : "Extension.extension", "path" : "Extension.extension", "slicing" : { "discriminator" : [{ "type" : "value", "path" : "url" }], "description" : "Extensions are always sliced by (at least) url", "rules" : "open" }, "short" : "Extension", "definition" : "An Extension", "min" : 0, "max" : "0", "base" : { "path" : "Element.extension", "min" : 0, "max" : "*" }, "type" : [{ "code" : "Extension" }], "constraint" : [{ "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() or (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "http://hl7.org/fhir/StructureDefinition/Element" }, { "key" : "ext-1", "severity" : "error", "human" : "Must have either extensions or value[x], not both", "expression" : "extension.exists() != value.exists()", "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source" : "http://hl7.org/fhir/StructureDefinition/Extension" }], "isModifier" : false, "isSummary" : false }, { "id" : "Extension.url", "path" : "Extension.url", "representation" : ["xmlAttr"], "short" : "identifies the meaning of the extension", "definition" : "Source of the definition for the extension code - a logical name or a URL.", "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "min" : 1, "max" : "1", "base" : { "path" : "Extension.url", "min" : 1, "max" : "1" }, "type" : [{ "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl" : "uri" }], "code" : "http://hl7.org/fhirpath/System.String" }], "fixedUri" : "http://hl7.org/fhir/StructureDefinition/narrativeLink", "isModifier" : false, "isSummary" : false, "mapping" : [{ "identity" : "rim", "map" : "N/A" }] }, { "id" : "Extension.value[x]", "path" : "Extension.value[x]", "short" : "Value of extension", "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", "min" : 1, "max" : "1", "base" : { "path" : "Extension.value[x]", "min" : 0, "max" : "1" }, "type" : [{ "code" : "url" }], "constraint" : [{ "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() or (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "http://hl7.org/fhir/StructureDefinition/Element" }], "isModifier" : false, "isSummary" : false, "mapping" : [{ "identity" : "rim", "map" : "N/A" }] }] }, "differential" : { "element" : [{ "id" : "Extension", "path" : "Extension", "short" : "Narrative Link", "definition" : "A human language representation of the concept (resource/element), as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).", "comment" : "It's also possible to link to the resource narrative using the [originalText extension](extension-originaltext.html) which claims that the data is derived from the text provided or linked to.", "min" : 0, "max" : "1" }, { "id" : "Extension.extension", "path" : "Extension.extension", "max" : "0" }, { "id" : "Extension.url", "path" : "Extension.url", "fixedUri" : "http://hl7.org/fhir/StructureDefinition/narrativeLink" }, { "id" : "Extension.value[x]", "path" : "Extension.value[x]", "min" : 1, "type" : [{ "code" : "url" }] }] } }
@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:Resource.id [ fhir:value "example2"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <h2>FHIR-exanple-2 (http://hl7.org/fhir/ConceptMap/example2)</h2>\n      <p>Mapping from http://example.org/fhir/example1 to http://example.org/fhir/example2</p>\n      <p>DRAFT (not intended for production usage). Published on 2012-06-13 by HL7, Inc (FHIR project team (example): \n        <a href=\"http://hl7.org/fhir\">http://hl7.org/fhir</a>). \n      </p>\n      <div>\n        <p>An example mapping</p>\n\n      </div>\n      <br/>\n      <p>\n        <b>Group 1</b>Mapping from \n        <code>http://example.org/fhir/example1</code> to \n        <code>http://example.org/fhir/example2</code>\n      </p>\n      <table class=\"grid\">\n        <tr>\n          <td colspan=\"3\">\n            <b>Source Concept Details</b>\n          </td>\n          <td>\n            <b>Relationship</b>\n          </td>\n          <td colspan=\"2\">\n            <b>Target Concept Details</b>\n          </td>\n        </tr>\n        <tr>\n          <td colspan=\"2\">\n            <b>Codes</b> from http://example.org/fhir/example1\n          </td>\n          <td>\n            <b>http://example.org/fhir/property-value/example</b>\n          </td>\n          <td/>\n          <td colspan=\"2\">\n            <b>Codes</b> from http://example.org/fhir/example2\n          </td>\n        </tr>\n        <tr>\n          <td style=\"border-right-width: 0px\">code</td>\n          <td style=\"border-left-width: 0px\">Example Code</td>\n          <td/>\n          <td>\n            <a href=\"codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a>\n          </td>\n          <td style=\"border-right-width: 0px\">code2</td>\n          <td style=\"border-left-width: 0px\">Some Example Code</td>\n        </tr>\n      </table>\n    </div>"
  ]; # 
  fhir:ConceptMap.url [ fhir:value "http://hl7.org/fhir/ConceptMap/example2"]; # 
  fhir:ConceptMap.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.14.8" ]
  ]; # 
  fhir:ConceptMap.version [ fhir:value "5.0.0-snapshot3"]; # 
  fhir:ConceptMap.name [ fhir:value "FHIR-exanple-2"]; # 
  fhir:ConceptMap.title [ fhir:value "FHIR Example 2"]; # 
  fhir:ConceptMap.status [ fhir:value "draft"]; # 
  fhir:ConceptMap.experimental [ fhir:value "true"^^xsd:boolean]; # 
  fhir:ConceptMap.date [ fhir:value "2012-06-13"^^xsd:date]; # 
  fhir:ConceptMap.publisher [ fhir:value "HL7, Inc"]; # 
  fhir:ConceptMap.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:ConceptMap.description [ fhir:value "An example mapping"]; # 
  fhir:ConceptMap.purpose [ fhir:value "To illustrate mapping features"]; # 
  fhir:ConceptMap.sourceScopeUri [ fhir:value "http://example.org/fhir/example1"]; # 
  fhir:ConceptMap.targetScopeUri [ fhir:value "http://example.org/fhir/example2"]; # 
  fhir:ConceptMap.group [
     fhir:index 0;
     fhir:ConceptMap.group.source [
       fhir:value "http://example.org/fhir/example1";
       fhir:link <http://example.org/fhir/example1>
     ];
     fhir:ConceptMap.group.target [
       fhir:value "http://example.org/fhir/example2";
       fhir:link <http://example.org/fhir/example2>
     ];
     fhir:ConceptMap.group.element [
       fhir:index 0;
       fhir:ConceptMap.group.element.code [ fhir:value "code" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Example Code" ];
       fhir:ConceptMap.group.element.target [
         fhir:index 0;
         fhir:ConceptMap.group.element.target.code [ fhir:value "code2" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "Some Example Code" ];
         fhir:ConceptMap.group.element.target.relationship [ fhir:value "equivalent" ];
         fhir:ConceptMap.group.element.target.dependsOn [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "http://example.org/fhir/property-value/example" ];
           fhir:ConceptMap.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:ConceptMap.group.unmapped [
       fhir:ConceptMap.group.unmapped.mode [ fhir:value "other-map" ];
       fhir:ConceptMap.group.unmapped.otherMap [
         fhir:value "http://example.org/fhir/ConceptMap/map2";
         fhir:link <http://example.org/fhir/ConceptMap/map2>
       ]
     ]
  ]] . # 

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.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.