FLC Implementation Guide
0.2.4 - stable [WIP]
This page is part of the FLC Implementation Guide (v0.2.4: Pre-Release Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
| Draft as of 2025-10-02 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="flc-patient-to-fhir"/>
<meta>
<profile
value="http://canonical.fhir.link/flc/base/StructureDefinition/flc-structuremap"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureMap flc-patient-to-fhir</b></p><a name="flc-patient-to-fhir"> </a><a name="hcflc-patient-to-fhir"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-flc-structuremap.html">FLCStructureMap</a></p></div><pre class="fml">
<b>map</b><span style="color: navy"> "</span>http://canonical.fhir.link/flc/base/StructureMap/flc-patient-to-fhir<span style="color: navy">" = "</span>flc-patient-to-fhir<span style="color: navy">"
</span><span style="color: navy">// </span><span style="color: green">Example Structure Map</span>
<b>uses</b><span style="color: navy"> "</span><a href="StructureDefinition-flc-source-patient.html" title="FLC Source Patient">http://canonical.fhir.link/flc/base/StructureDefinition/flc-source-patient</a><span style="color: navy">" </span><b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R4/patient.html" title="Patient">http://hl7.org/fhir/StructureDefinition/Patient</a><span style="color: navy">" </span><b>as </b><b>target</b>
<span style="color: navy">// </span><span style="color: green">test -> testValue</span>
<b>group </b>Examples<span style="color: navy">(</span><b>source</b> <span style="color: maroon">msg</span><span style="color: navy"> : </span>FLCSourcePatient<span style="color: navy">)</span><span style="color: navy"> {
</span> source<span style="color: navy"> : </span>Message<b> as </b><span style="color: maroon">msg</span><span style="color: navy"><b> -> </b></span>Destination <i>"liquid"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<url
value="http://canonical.fhir.link/flc/base/StructureMap/flc-patient-to-fhir"/>
<version value="0.2.4"/>
<name value="flc-patient-to-fhir"/>
<title value="FLC Patient to FHIR"/>
<status value="draft"/>
<experimental value="true"/>
<date value="2025-10-02"/>
<publisher value="Service Well AB"/>
<contact>
<name value="Service Well AB"/>
<telecom>
<system value="url"/>
<value value="https://servicewell.se"/>
</telecom>
</contact>
<description value="Example Structure Map"/>
<structure>
<url
value="http://canonical.fhir.link/flc/base/StructureDefinition/flc-source-patient"/>
<mode value="source"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/Patient"/>
<mode value="target"/>
</structure>
<group>
<name value="Examples"/>
<typeMode value="none"/>
<documentation value="test -> testValue"/>
<input>
<name value="msg"/>
<type value="FLCSourcePatient"/>
<mode value="source"/>
</input>
<rule>
<name value="liquid"/>
<source>
<context value="source"/>
<type value="Message"/>
<variable value="msg"/>
</source>
<target>
<extension
url="http://canonical.fhir.link/flc/base/StructureDefinition/fhir-liquid-map">
<extension url="flcPackage">
<valueString value="servicewell.fhir.flc"/>
</extension>
<extension url="flcPackageVersion">
<valueString value="0.2.3"/>
</extension>
<extension url="flcLibrary">
<valueCanonical
value="http://canonical.fhir.link/flc/base/StructureDefinition/flc-library|0.2.3"/>
</extension>
<extension url="liquidTemplate">
<valueString value="ExamplePatient.liquid"/>
</extension>
</extension>
<context value="Destination"/>
<contextType value="variable"/>
<parameter>
<valueString value="liquid"/>
</parameter>
</target>
</rule>
</group>
</StructureMap>