This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example
@prefix fhir: <http://hl7.org/fhir/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . # - resource ------------------------------------------------------------------- [] a fhir:StructureMap; fhir:Resource.id [ fhir:value "example"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:StructureMap.url [ fhir:value "http://hl7.org/fhir/StructureMap/example"]; fhir:StructureMap.identifier [ fhir:index 0; fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ]; fhir:Identifier.value [ fhir:value "urn:oid:37843577-95fb-4adb-84c0-8837188a7bf3" ] ]; fhir:StructureMap.version [ fhir:value "0.1"]; fhir:StructureMap.name [ fhir:value "ExampleMap"]; fhir:StructureMap.title [ fhir:value "Example Map"]; fhir:StructureMap.status [ fhir:value "draft"]; fhir:StructureMap.experimental [ fhir:value "true"]; fhir:StructureMap.date [ fhir:value "2017-03-09"]; fhir:StructureMap.publisher [ fhir:value "HL7 FHIR Standard"]; fhir:StructureMap.contact [ fhir:index 0; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ] ] ]; fhir:StructureMap.description [ fhir:value "Example Structure Map"]; fhir:StructureMap.jurisdiction [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ]; fhir:Coding.code [ fhir:value "009" ]; fhir:Coding.display [ fhir:value "Oceania" ] ] ]; fhir:StructureMap.group [ fhir:index 0; fhir:StructureMap.name [ fhir:value "Examples" ]; fhir:StructureMap.typeMode [ fhir:value "none" ]; fhir:StructureMap.documentation [ fhir:value "test -> testValue" ]; fhir:StructureMap.input [ fhir:index 0; fhir:StructureMap.name [ fhir:value "test" ]; fhir:StructureMap.mode [ fhir:value "source" ] ]; fhir:StructureMap.rule [ fhir:index 0; fhir:StructureMap.name [ fhir:value "rule1" ]; fhir:StructureMap.source [ fhir:index 0; fhir:StructureMap.context [ fhir:value "Source" ]; fhir:StructureMap.type [ fhir:value "SourceClassA" ]; fhir:StructureMap.element [ fhir:value "test" ]; fhir:StructureMap.variable [ fhir:value "t" ] ]; fhir:StructureMap.target [ fhir:index 0; fhir:StructureMap.context [ fhir:value "Destination" ]; fhir:StructureMap.contextType [ fhir:value "variable" ]; fhir:StructureMap.element [ fhir:value "testValue" ]; fhir:StructureMap.transform [ fhir:value "copy" ] ] ] ] . # -------------------------------------------------------------------------------------
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.