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
| Official URL: http://hl7.org/fhir/StructureMap/supplyrequest-transform | Version: | |||
| Standards status: Informative | Computable Name: TransformFromAnActivityDefinitionToASupplyRequest | |||
| Other Identifiers: OID:2.16.840.1.113883.4.642.13.1 | ||||
Transform from an ActivityDefinition to a SupplyRequest
url: Transform from an ActivityDefinition to a SupplyRequest
identifier: Uniform Resource Identifier (URI)/urn:oid:2.16.840.1.113883.4.642.13.1
name: TransformFromAnActivityDefinitionToASupplyRequest
title: Transform from an ActivityDefinition to a SupplyRequest
status: Draft
description:
Transform from an ActivityDefinition to a SupplyRequest
structure
url: ActivityDefinition
mode: Source Structure Definition
structure
url: SupplyRequest
mode: Target Structure Definition
group
name: main
input
name: source
type: ActivityDefinition
mode: Source Instance
input
name: target
type: SupplyRequest
mode: Target Instance
rule
name: status
Sources
Context Element Variable source id a target
context: target
element: status
transform: evaluate
Parameters
Value[x] 'draft' rule
name: category
Sources
Context Element Variable source id a target
context: target
element: category
transform: evaluate
Parameters
Value[x] 'non-stock' rule
name: priority
Sources
Context Element Variable source id a target
context: target
element: priority
transform: evaluate
Parameters
Value[x] 'routine' rule
name: quantity
Sources
Context Element Variable source quantity a Targets
Context Element Transform target category copy rule
name: item
Sources
Context Element Variable source code a target
context: target
element: item
variable: b
transform: create
target
context: b
element: concept
transform: copy
rule
name: when
Sources
Context Element Variable source id a target
context: target
element: occurrence
transform: evaluate
Parameters
Value[x] now() rule
name: authoredOn
Sources
Context Element Variable source id a target
context: target
element: authoredOn
transform: evaluate
Parameters
Value[x] now()