0.2.3 - ci-build
            
          
servicewellfhirflc, published by Service Well AB. This guide is not an authorized publication; it is the continuous build for version 0.2.3 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/servicewell/servicewell.fhir.flc/ and changes regularly. 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://puri.fhir.link/flc/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://puri.fhir.link/flc/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://puri.fhir.link/flc/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://puri.fhir.link/flc/StructureMap/flc-patient-to-fhir"/>
  <version value="0.2.3"/>
  <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://puri.fhir.link/flc/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://puri.fhir.link/flc/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://puri.fhir.link/flc/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>