This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
(v5.0.0-snapshot1:
Release
5
Snapshot
#1).
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 )
Operation Definition
@prefix fhir: <http://hl7.org/fhir/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . # - resource ------------------------------------------------------------------- [] a fhir:OperationDefinition; fhir:Resource.id [ fhir:value "StructureMap-transform"]; fhir:DomainResource.text [fhir:Narrative.status [ fhir:value "generated" ]fhir:Narrative.status [ fhir:value "extensions" ] ]; fhir:DomainResource.extension [fhir:index 0;fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ]; fhir:Extension.value [ fhir:value "2" ] ], [fhir:index 1;fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ]; fhir:Extension.value [ fhir:value "trial-use" ] ]; fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/OperationDefinition/StructureMap-transform"]; fhir:CanonicalResource.version [ fhir:value "5.0.0-snapshot1"]; fhir:CanonicalResource.name [ fhir:value "transform"]; fhir:CanonicalResource.title [ fhir:value "Model Instance Transformation"]; fhir:CanonicalResource.status [ fhir:value "draft"]; fhir:CanonicalResource.date [ fhir:value "2021-12-19T08:15:41+11:00"]; fhir:CanonicalResource.publisher [ fhir:value "HL7 (FHIR Project)"]; fhir:CanonicalResource.contact [ fhir:ContactDetail.telecom [ fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ] ], [ fhir:ContactPoint.system [ fhir:value "email" ]; fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ] ] ]; fhir:CanonicalResource.description [ fhir:value "The transform operation takes input content, applies a structure map transform, and then returns the output."]; fhir:OperationDefinition.url [ fhir:value "http://hl7.org/fhir/OperationDefinition/StructureMap-transform"];fhir:OperationDefinition.version [ fhir:value "4.0.1"]; fhir:OperationDefinition.name [ fhir:value "Model Instance Transformation"];fhir:OperationDefinition.version [ fhir:value "5.0.0-snapshot1"]; fhir:OperationDefinition.name [ fhir:value "transform"]; fhir:OperationDefinition.title [ fhir:value "Model Instance Transformation"]; fhir:OperationDefinition.status [ fhir:value "draft"]; fhir:OperationDefinition.kind [ fhir:value "operation"];fhir:OperationDefinition.date [ fhir:value "2019-11-01T09:29:23+11:00"];fhir:OperationDefinition.date [ fhir:value "2021-12-19T08:15:41+11:00"]; fhir:OperationDefinition.publisher [ fhir:value "HL7 (FHIR Project)"]; fhir:OperationDefinition.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:index 1;fhir:ContactPoint.system [ fhir:value "email" ]; fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ] ] ]; fhir:OperationDefinition.description [ fhir:value "The transform operation takes input content, applies a structure map transform, and then returns the output."]; fhir:OperationDefinition.affectsState [ fhir:value "false"]; fhir:OperationDefinition.code [ fhir:value "transform"]; fhir:OperationDefinition.comment [ fhir:value "The input and return are specified as 'Resources'. In most usage of the $transform operation, either the input or return content is not a valid FHIR resource. In these cases, the return type is actually a [Binary](binary.html) resource. For this operation, the Binary resources may be encoded directly, using a mime-type, as shown in the example. Note: this specification does not yet address the means by which the servers may know the correct mime types for the various content involved"];fhir:OperationDefinition.resource [ fhir:value "StructureMap"; fhir:index 0 ];fhir:OperationDefinition.resource [ fhir:value "StructureMap"]; fhir:OperationDefinition.system [ fhir:value "false"]; fhir:OperationDefinition.type [ fhir:value "true"]; fhir:OperationDefinition.instance [ fhir:value "true"]; fhir:OperationDefinition.parameter [fhir:index 0; fhir:OperationDefinition.name [ fhir:value "source" ]; fhir:OperationDefinition.use [ fhir:value "in" ]; fhir:OperationDefinition.min [ fhir:value "0" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "The structure map to apply. This is only needed if the operation is invoked at the resource level. If the $transform operation is invoked on a particular structure map, this will be ignored by the server" ]; fhir:OperationDefinition.type [ fhir:value "uri" ]fhir:OperationDefinitionParameterComponent.name [ fhir:value "source" ]; fhir:OperationDefinitionParameterComponent.use [ fhir:value "in" ]; fhir:OperationDefinitionParameterComponent.min [ fhir:value "0" ]; fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ]; fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "The structure map to apply. This is only needed if the operation is invoked at the resource level. If the $transform operation is invoked on a particular structure map, this will be ignored by the server" ]; fhir:OperationDefinitionParameterComponent.type [ fhir:value "uri" ] ], [fhir:index 1; fhir:OperationDefinition.name [ fhir:value "content" ]; fhir:OperationDefinition.use [ fhir:value "in" ]; fhir:OperationDefinition.min [ fhir:value "1" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "The logical content to transform" ]; fhir:OperationDefinition.type [ fhir:value "Resource" ]fhir:OperationDefinitionParameterComponent.name [ fhir:value "content" ]; fhir:OperationDefinitionParameterComponent.use [ fhir:value "in" ]; fhir:OperationDefinitionParameterComponent.min [ fhir:value "1" ]; fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ]; fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "The logical content to transform" ]; fhir:OperationDefinitionParameterComponent.type [ fhir:value "Resource" ] ], [fhir:index 2; fhir:OperationDefinition.name [ fhir:value "return" ]; fhir:OperationDefinition.use [ fhir:value "out" ]; fhir:OperationDefinition.min [ fhir:value "1" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "The result of the transform" ]; fhir:OperationDefinition.type [ fhir:value "Resource" ]fhir:OperationDefinitionParameterComponent.name [ fhir:value "return" ]; fhir:OperationDefinitionParameterComponent.use [ fhir:value "out" ]; fhir:OperationDefinitionParameterComponent.min [ fhir:value "1" ]; fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ]; fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "The result of the transform" ]; fhir:OperationDefinitionParameterComponent.type [ fhir:value "Resource" ] ] . # -------------------------------------------------------------------------------------
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.