Links: First Previous Next Last (2 found). Search: http://test.fhir.org/r3/StructureMap/_history?&_prior=2019-02-22T19:20:42.423Z&_format=text/xhtml&history-id=7acea1dd-364d-4ac4-be24-1ee7072696
This Resource , XML or JSON representation, or the full version history.. provenance for this resource Updated: by
<?xml version="1.0" encoding="UTF-8"?>
<StructureMap xmlns="http://hl7.org/fhir">
<id value="supplyrequest-transform"/>
<meta>
<versionId value="1"/>
<lastUpdated value="2018-09-06T12:40:27.593Z"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">map "http://hl7.org/fhir/StructureMap/supplyrequest-transform" = supplyRequestTransform uses "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" as source uses "http://hl7.org/fhir/StructureDefinition/SupplyRequest" as target group main input "source": ActivityDefinition as source input "target": SupplyRequest as target "status": for source.id make target.status = 'draft' "category": for source.id make target.category = 'non-stock' "priority": for source.id make target.priority = 'routine' "quantity": for source.quantity make target.orderedItem.quantity "item": for source.code make target.orderedItem.itemCodeableConcept "when": for source.id make target.occurrenceDateTime = Now() "authoredOn": for source.id make target.authoredOn = Now() </div>
</text>
<url value="http://hl7.org/fhir/StructureMap/supplyrequest-transform"/>
<name value="Transform from an ActivityDefinition to a SupplyRequest"/>
<status value="draft"/>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/activitydefinition"/>
<mode value="source"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/supplyrequest"/>
<mode value="target"/>
</structure>
<group>
<name value="main"/>
<typeMode value="none"/>
<input>
<name value="source"/>
<mode value="source"/>
</input>
<input>
<name value="target"/>
<mode value="target"/>
</input>
<rule>
<name value="status"/>
<source>
<context value="source"/>
<element value="id"/>
<variable value="a"/>
</source>
<target>
<context value="target"/>
<contextType value="variable"/>
<element value="status"/>
<transform value="evaluate"/>
<parameter>
<valueString value="'draft'"/>
</parameter>
</target>
</rule>
<rule>
<name value="category"/>
<source>
<context value="source"/>
<element value="id"/>
<variable value="a"/>
</source>
<target>
<context value="target"/>
<contextType value="variable"/>
<element value="category"/>
<transform value="evaluate"/>
<parameter>
<valueString value="'non-stock'"/>
</parameter>
</target>
</rule>
<rule>
<name value="priority"/>
<source>
<context value="source"/>
<element value="id"/>
<variable value="a"/>
</source>
<target>
<context value="target"/>
<contextType value="variable"/>
<element value="priority"/>
<transform value="evaluate"/>
<parameter>
<valueString value="'routine'"/>
</parameter>
</target>
</rule>
<rule>
<name value="quantity"/>
<source>
<context value="source"/>
<element value="quantity"/>
<variable value="a"/>
</source>
<target>
<context value="target"/>
<contextType value="variable"/>
<element value="category"/>
<transform value="copy"/>
</target>
</rule>
<rule>
<name value="item"/>
<source>
<context value="source"/>
<element value="code"/>
<variable value="a"/>
</source>
<target>
<context value="target"/>
<contextType value="variable"/>
<element value="orderedItem.itemCodeableConcept"/>
<transform value="copy"/>
</target>
</rule>
<rule>
<name value="when"/>
<source>
<context value="source"/>
<element value="id"/>
<variable value="a"/>
</source>
<target>
<context value="target"/>
<contextType value="variable"/>
<element value="occurrenceDateTime"/>
<transform value="evaluate"/>
<parameter>
<valueString value="now()"/>
</parameter>
</target>
</rule>
<rule>
<name value="authoredOn"/>
<source>
<context value="source"/>
<element value="id"/>
<variable value="a"/>
</source>
<target>
<context value="target"/>
<contextType value="variable"/>
<element value="authoredOn"/>
<transform value="evaluate"/>
<parameter>
<valueString value="now()"/>
</parameter>
</target>
</rule>
</group>
</StructureMap>
This Resource , XML or JSON representation, or the full version history.. provenance for this resource Updated: by
Generated Narrative with Details
id: example
url: http://hl7.org/fhir/StructureMap/example
identifier: urn:oid:37843577-95fb-4adb-84c0-8837188a7bf3
version: 0.1
name: ExampleMap
title: Example Map
status: draft
date: 09/03/2017
publisher: HL7 FHIR Standard
contact:
description: Example Structure Map
jurisdiction: Oceania (Details : {http://unstats.un.org/unsd/methods/m49/m49.htm code '009' = 'Oceania', given as 'Oceania'})
group
name: Examples
typeMode: none
documentation: test -> testValue
Inputs
- Name Mode * test source rule
name: rule1
Sources
- Context Type Element Variable * Source SourceClassA test t Targets
- Context ContextType Element Transform * Destination variable testValue copy
<?xml version="1.0" encoding="UTF-8"?>
<StructureMap xmlns="http://hl7.org/fhir">
<id value="example"/>
<meta>
<versionId value="1"/>
<lastUpdated value="2018-09-06T12:40:27.499Z"/>
</meta>
<text>
<status value="generated"/>
<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>:
<a>http://hl7.org/fhir/StructureMap/example</a>
</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>
</text>
<url value="http://hl7.org/fhir/StructureMap/example"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:37843577-95fb-4adb-84c0-8837188a7bf3"/>
</identifier>
<version value="0.1"/>
<name value="ExampleMap"/>
<title value="Example Map"/>
<status value="draft"/>
<date value="2017-03-09"/>
<publisher value="HL7 FHIR Standard"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<description value="Example Structure Map"/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="009"/>
<display value="Oceania"/>
</coding>
</jurisdiction>
<group>
<name value="Examples"/>
<typeMode value="none"/>
<documentation value="test -> testValue"/>
<input>
<name value="test"/>
<mode value="source"/>
</input>
<rule>
<name value="rule1"/>
<source>
<context value="Source"/>
<type value="SourceClassA"/>
<element value="test"/>
<variable value="t"/>
</source>
<target>
<context value="Destination"/>
<contextType value="variable"/>
<element value="testValue"/>
<transform value="copy"/>
</target>
</rule>
</group>
</StructureMap>