FHIR Mapping Language (FML), published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/mapping-language-ig/ and changes regularly. See the Directory of published versions
: Imports - TTL Representation
Raw ttl | Download
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/StructureMap/Imports> a fhir:StructureMap ;
fhir:resourceDefinition http://hl7.org/fhir/StructureDefinition/StructureMap|0.1.0 ;
fhir:nodeRole fhir:treeRoot ;
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap Imports</b></p><a name=\"Imports\"> </a><a name=\"hcImports\"> </a><p><b>url</b>: <a href=\"http://hl7.org/fhir/uv/fml/StructureMap/Imports\">http://hl7.org/fhir/uv/fml/StructureMap/Imports</a></p><p><b>name</b>: Imports</p><p><b>status</b>: Active</p><p><b>description</b>: </p><div><p>Example demonstrating the imports statement with wildcard support</p>\n</div><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/R5/patient.html\">Patient</a></p><p><b>mode</b>: Source Structure Definition</p></blockquote><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/R5/patient.html\">Patient</a></p><p><b>mode</b>: Target Structure Definition</p></blockquote><p><b>import</b>: <code>http://hl7.org/fhir/uv/fml/StructureMap/Helper*</code></p><blockquote><p><b>group</b></p><p><b>name</b>: Imports</p><blockquote><p><b>input</b></p><p><b>mode</b>: Source Instance</p><p><b>name</b>: src</p><p><b>type</b>: Patient</p></blockquote><blockquote><p><b>input</b></p><p><b>mode</b>: Target Instance</p><p><b>name</b>: tgt</p><p><b>type</b>: Patient</p></blockquote><blockquote><p><b>rule</b></p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td style=\"display: none\">*</td><td>src</td><td>id</td><td>v</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: tgt</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>v</td></tr></table></blockquote><p><b>name</b>: id</p></blockquote></blockquote></div>"^^rdf:XMLLiteral ]
] ; #
fhir:url [
fhir:v "http://hl7.org/fhir/uv/fml/StructureMap/Imports"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/fml/StructureMap/Imports>
] ; #
fhir:name [ fhir:v "Imports"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:description [ fhir:v "Example demonstrating the imports statement with wildcard support"] ; #
fhir:structure ( [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Patient>
] ;
fhir:mode [ fhir:v "source" ]
] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Patient>
] ;
fhir:mode [ fhir:v "target" ]
] ) ; #
fhir:import ( [
fhir:v "http://hl7.org/fhir/uv/fml/StructureMap/Helper*"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/fml/StructureMap/Helper*>
] ) ; #
fhir:group ( [
fhir:name [ fhir:v "Imports" ] ;
fhir:input ( [
fhir:mode [ fhir:v "source" ] ;
fhir:name [ fhir:v "src" ] ;
fhir:type [ fhir:v "Patient" ]
] [
fhir:mode [ fhir:v "target" ] ;
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "Patient" ]
] ) ;
fhir:rule ( [
fhir:source ( [
fhir:context [ fhir:v "src" ] ;
fhir:element ( [ fhir:v "id" ] ) ;
fhir:variable [ fhir:v "v" ]
] ) ;
fhir:target ( [
fhir:context [ fhir:v "tgt" ] ;
fhir:element ( [ fhir:v "id" ] ) ;
fhir:transform [ fhir:v "copy" ] ;
fhir:parameter ( [
fhir:value [
a fhir:Id ;
fhir:v "v"
]
] )
] ) ;
fhir:name [ fhir:v "id" ]
] )
] ) ; #
fhir:id [ fhir:v "Imports"] . #