This page is part of the FHIR Specification (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 "extensions" ]
];
fhir:DomainResource.extension [
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
fhir:Extension.value [ fhir:value "2" ]
], [
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 "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 "2021-12-19T08:15:41+11:00"];
fhir:OperationDefinition.publisher [ fhir:value "HL7 (FHIR Project)"];
fhir:OperationDefinition.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: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:OperationDefinition.system [ fhir:value "false"];
fhir:OperationDefinition.type [ fhir:value "true"];
fhir:OperationDefinition.instance [ fhir:value "true"];
fhir:OperationDefinition.parameter [
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: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: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.