Implementation
Support
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: FHIR Infrastructure Work Group | Standards Status : Informative |
Compartments
:
|
Raw JSON ( canonical form + also see JSON Format Specification )
Example
{
"resourceType": "StructureMap",
"id": "example",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>url</b>: <b>http://hl7.org/fhir/StructureMap/example</b></p><p><b>identifier</b>: urn:oid:37843577-95fb-4adb-84c0-8837188a7bf3</p><p><b>version</b>: 0.1</p><p><b>name</b>: ExampleMap</p><p><b>title</b>: Example Map</p><p><b>status</b>: draft</p><p><b>date</b>: 09/03/2017</p><p><b>publisher</b>: HL7 FHIR Standard</p><p><b>contact</b>: </p><p><b>description</b>: Example Structure Map</p><p><b>jurisdiction</b>: Oceania <span>(Details : {http://unstats.un.org/unsd/methods/m49/m49.htm code '009' = 'Oceania', given as 'Oceania'})</span></p><blockquote><p><b>group</b></p><p><b>name</b>: Examples</p><p><b>typeMode</b>: none</p><p><b>documentation</b>: test -> testValue</p><h3>Inputs</h3><table><tr><td>-</td><td><b>Name</b></td><td><b>Mode</b></td></tr><tr><td>*</td><td>test</td><td>source</td></tr></table><blockquote><p><b>rule</b></p><p><b>name</b>: rule1</p><h3>Sources</h3><table><tr><td>-</td><td><b>Context</b></td><td><b>Type</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>Source</td><td>SourceClassA</td><td>test</td><td>t</td></tr></table><h3>Targets</h3><table><tr><td>-</td><td><b>Context</b></td><td><b>ContextType</b></td><td><b>Element</b></td><td><b>Transform</b></td></tr><tr><td>*</td><td>Destination</td><td>variable</td><td>testValue</td><td>copy</td></tr></table></blockquote></blockquote></div>"
"resourceType" : "StructureMap",
"id" : "example",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p class=\"res-header-id\">\n <b>Generated Narrative: StructureMap example</b>\n </p>\n <a name=\"example\"> </a>\n <a name=\"hcexample\"> </a>\n <pre class=\"fml\">\n\n <span style=\"color: #cc00cc\">/// \n <b>url</b> = \n </span>\n <span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/example'</span>\n\n <span style=\"color: #cc00cc\">/// \n <b>name</b> = \n </span>\n <span style=\"color: blue\">'ExampleMap'</span>\n\n <span style=\"color: #cc00cc\">/// \n <b>title</b> = \n </span>\n <span style=\"color: blue\">'Example Map'</span>\n\n <span style=\"color: #cc00cc\">/// \n <b>status</b> = \n </span>\n <span style=\"color: blue\">'draft'</span>\n\n\n <span style=\"color: navy\">// </span>\n <span style=\"color: green\">test -> testValue</span>\n\n <b>group </b>Examples\n <span style=\"color: navy\">(</span>\n <b>source</b> \n <span style=\"color: maroon\">testSrc</span>, \n <b>target</b> \n <span style=\"color: maroon\">testTgt</span>\n <span style=\"color: navy\">)</span>\n <span style=\"color: navy\"> {\n</span> testSrc.test\n <span style=\"color: navy\"> : </span>SourceClassA\n <b> as </b>\n <span style=\"color: maroon\">t</span>\n <span style=\"color: navy\">\n <b> -> </b>\n </span>testTgt.testValue = \n <b>copy</b>\n <span style=\"color: navy\">(</span>\n <span style=\"color: navy\">)</span> \n <i>"rule1"</i>\n <span style=\"color: navy\">;</span>\n\n <span style=\"color: navy\">}\n\n</span>\n </pre>\n </div>"
},
"url": "http://hl7.org/fhir/StructureMap/example",
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:oid:37843577-95fb-4adb-84c0-8837188a7bf3"
}
],
"version": "0.1",
"name": "ExampleMap",
"title": "Example Map",
"status": "draft",
"date": "2017-03-09",
"publisher": "HL7 FHIR Standard",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://hl7.org/fhir"
}
]
}
],
"description": "Example Structure Map",
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "009",
"display": "Oceania"
}
]
}
],
"group": [
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
}],
"url" : "http://hl7.org/fhir/StructureMap/example",
"identifier" : [{
"system" : "urn:ietf:rfc:3986",
"value" : "urn:oid:2.16.840.1.113883.4.642.13.2"
}],
"version" : "6.0.0-ballot3",
"name" : "ExampleMap",
"title" : "Example Map",
"status" : "draft",
"date" : "2017-03-09",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}]
}],
"description" : "Example Structure Map",
"jurisdiction" : [{
"coding" : [{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "009",
"display" : "Oceania"
}]
}],
"group" : [{
"name" : "Examples",
"documentation" : "test -> testValue",
"input" : [{
"name" : "testSrc",
"mode" : "source"
},
{
"name": "Examples",
"typeMode": "none",
"documentation": "test -> testValue",
"input": [
{
"name": "test",
"mode": "source"
}
],
"rule": [
{
"name": "rule1",
"source": [
{
"context": "Source",
"type": "SourceClassA",
"element": "test",
"variable": "t"
}
],
"target": [
{
"context": "Destination",
"contextType": "variable",
"element": "testValue",
"transform": "copy"
}
]
}
]
}
]
"name" : "testTgt",
"mode" : "target"
}],
"rule" : [{
"name" : "rule1",
"source" : [{
"context" : "testSrc",
"type" : "SourceClassA",
"element" : "test",
"variable" : "t"
}],
"target" : [{
"context" : "testTgt",
"element" : "testValue",
"transform" : "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.
FHIR
®©
HL7.org
2011+.
FHIR
Release
4
(Technical
Correction
#1)
(v4.0.1)
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Fri,
Mon,
Nov
1,
2019
09:36+1100.
QA
Page
10,
2025
15:23+0000.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
R3
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change