Frenda Wof-Connect FLC
0.1.2 - ci-build [WIP]

Frenda Wof-Connect FLC, published by Service Well AB. This guide is not an authorized publication; it is the continuous build for version 0.1.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/servicewell/servicewell.fhir.se.frenda-wof-connect-flc/ and changes regularly. See the Directory of published versions

: FLC GetScheduleContext - XML Representation

Draft as of 2025-12-17

Raw xml | Download


<StructureMap xmlns="http://hl7.org/fhir">
  <id value="flc-getschedule-context"/>
  <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-getschedule-context</b></p><a name="flc-getschedule-context"> </a><a name="hcflc-getschedule-context"> </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="http://canonical.fhir.link/flc/base/0.2.3/StructureDefinition-flc-structuremap.html">FLCStructureMap</a></p></div><pre class="fml">
<b>map</b><span style="color: navy"> &quot;</span>https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureMap/flc-getschedule-context<span style="color: navy">&quot; = &quot;</span>flc-getschedule-context<span style="color: navy">&quot;

</span><span style="color: navy">// </span><span style="color: green">StructureMap for transforming GetScheduleContext to a context Bundle.</span>

<b>uses</b><span style="color: navy"> &quot;</span><a href="StructureDefinition-get-clinic-treatments.html" title="GetClinicTreatments (Extract Model)">https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/get-clinic-treatments</a><span style="color: navy">&quot; </span><b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://canonical.fhir.link/servicewell/wof-connect/0.1.3/StructureDefinition-wof-connect-schedule-context-operation-response.html" title="WOF Connect GetScheduleContext Operation Response">http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-schedule-context-operation-response</a><span style="color: navy">&quot; </span><b>as </b><b>target</b>

<span style="color: navy">// </span><span style="color: green">Frenda schedule context to WOF Connect ScheduleContext Bundle</span>
<b>group </b>LiquidTransform<span style="color: navy">(</span><b>source</b> <span style="color: maroon">GetScheduleContext</span><span style="color: navy"> : </span>FrendaAPIScheduleContext<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> -&gt; </b></span>Destination <i>&quot;liquid&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <url
       value="https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureMap/flc-getschedule-context"/>
  <version value="0.1.2"/>
  <name value="flc-getschedule-context"/>
  <title value="FLC GetScheduleContext"/>
  <status value="draft"/>
  <experimental value="true"/>
  <date value="2025-12-17"/>
  <publisher value="Service Well AB"/>
  <contact>
    <name value="Service Well AB"/>
    <telecom>
      <system value="url"/>
      <value value="https://servicewell.se"/>
    </telecom>
  </contact>
  <description
               value="StructureMap for transforming GetScheduleContext to a context Bundle."/>
  <structure>
    <url
         value="https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/get-clinic-treatments"/>
    <mode value="source"/>
  </structure>
  <structure>
    <url
         value="http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-schedule-context-operation-response"/>
    <mode value="target"/>
  </structure>
  <group>
    <name value="LiquidTransform"/>
    <typeMode value="none"/>
    <documentation
                   value="Frenda schedule context to WOF Connect ScheduleContext Bundle"/>
    <input>
      <name value="GetScheduleContext"/>
      <type value="FrendaAPIScheduleContext"/>
      <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.se.fhir.wof-connect-frenda"/>
          </extension>
          <extension url="flcPackageVersion">
            <valueString value="0.1.1"/>
          </extension>
          <extension url="flcLibrary">
            <valueCanonical
                            value="https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/Library/FLCLiquidTemplates"/>
          </extension>
          <extension url="liquidTemplate">
            <valueString value="GetScheduleContextOp.liquid"/>
          </extension>
        </extension>
        <context value="Destination"/>
        <contextType value="variable"/>
        <parameter>
          <valueString value="liquid"/>
        </parameter>
      </target>
    </rule>
  </group>
</StructureMap>