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

: FLC Liquid Templates - XML Representation

Active as of 2025-07-14

Raw xml | Download


<Library xmlns="http://hl7.org/fhir">
  <id value="FLCLiquidTemplates"/>
  <meta>
    <profile
             value="http://puri.fhir.link/flc/StructureDefinition/flc-library"/>
  </meta>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
 <div>
    <table class="grid dict">
        
        
        <tr>
            <th scope="row"><b>Title: </b></th>
            <td style="padding-left: 4px;">FLC Liquid Templates</td>
        </tr>
        

        
        
        <tr>
            <th scope="row"><b>Id: </b></th>
            <td style="padding-left: 4px;">FLCLiquidTemplates</td>
        </tr>
        

        
        
        <tr>
            <th scope="row"><b>Version: </b></th>
            <td style="padding-left: 4px;">0.2.3</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Url: </b></th>
            <td style="padding-left: 4px;"><a href="Library-FLCLiquidTemplates.html">FLC Liquid Templates</a></td>
        </tr>
        

        

        

        

        
        <tr>
            <th scope="row"><b>Experimental: </b></th>
            <td style="padding-left: 4px;">true</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Type: </b></th>
            <td style="padding-left: 4px;">
                
                    
                        
                        <p style="margin-bottom: 5px;">
                            <b>system: </b> <span><a href="http://terminology.hl7.org/6.5.0/CodeSystem-library-type.html">http://terminology.hl7.org/CodeSystem/library-type</a></span>
                        </p>
                        
                        
                        <p style="margin-bottom: 5px;">
                            <b>code: </b> <span>logic-library</span>
                        </p>
                        
                        
                    
                
                
            </td>
        </tr>
        

        

        
        <tr>
            <th scope="row"><b>Date: </b></th>
            <td style="padding-left: 4px;">2025-07-14 07:00:22+0100</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Publisher: </b></th>
            <td style="padding-left: 4px;">Service Well AB</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Description: </b></th>
            <td style="padding-left: 4px;"><div><p>This library includes the LIQUID-templates and source sampledata used in this FLC-IG</p>
</div></td>
        </tr>
        

        

        

        

        

        
            <tr>
                <th scope="row"><b>Topic: </b></th>
                <td style="padding-left: 4px;"/>
            </tr>
        

        

        

        

        
        <tr>
            <th scope="row"><b>Approval Date: </b></th>
            <td style="padding-left: 4px;">2025-07-14</td>
        </tr>
        

        

        

        

        

                      
                        
            
            
            <tr>
            <td colspan="2">
                <table>
                
                    <tr><th><b>Content: </b> </th></tr>
                    <tr><td><pre><code>{
    &quot;resourceType&quot;: &quot;Patient&quot;,
    &quot;id&quot;: &quot;{{ msg.PatientId  | to_json_string | generate_uuid  }}&quot;,
    &quot;identifier&quot;: [
        {
            &quot;use&quot;: &quot;usual&quot;,
            &quot;type&quot;: {
                &quot;coding&quot;: [
                    {
                        &quot;system&quot;: &quot;http://terminology.hl7.org/CodeSystem/v2-0203&quot;,
                        &quot;code&quot;: &quot;MR&quot;
                    }
                ]
            },
            &quot;system&quot;: &quot;urn:oid:2.16.840.1.113883.19.5&quot;,
            &quot;value&quot;: &quot;{{ msg.MRN }}&quot;
        },
        {
            &quot;system&quot;: &quot;http://fhir.purified.link/example/identifierSystem/ehr-source-system-demo&quot;,
            &quot;value&quot;: &quot;{{ msg.PatientId }}&quot;
        },

    ],
    &quot;active&quot;: true,
    &quot;name&quot;: [
        {
            &quot;family&quot;: &quot;{{ msg.LastName }}&quot;,
            &quot;given&quot;: [
                &quot;{{ msg.FirstName }}&quot;
            ]
        }
    ],
    &quot;telecom&quot;: [
        {% comment -%} use &quot;[]&quot; to access value if the key contains spaces or other special characters {% endcomment -%}
        {% for p in msg[&quot;Phone Number&quot;] -%}
        {
            &quot;system&quot;: &quot;phone&quot;,
            &quot;value&quot;: &quot;{{ p }}&quot;,
            },
        {% endfor -%}
    ],
    &quot;gender&quot;: &quot;{{ msg.Gender | get_property: 'CodeSystem/administrativegender', 'code' -}}&quot;,
    &quot;birthDate&quot;: &quot;{{ msg.DOB | add_hyphens_date }}&quot;,
    &quot;deceasedDateTime&quot;: &quot;{{ msg.TimeOfDeath }}&quot;
}</code></pre></td></tr>
                 
                
                </table>
            </td>
            </tr>
        
                      
                        
            
            
            <tr>
            <td colspan="2">
                <table>
                <tr><th><b>Content: </b> </th></tr>
                <tr><td><pre><code>Encoded data ( characters)</code></pre></td></tr>
                </table>
            </td>
            </tr>
        
                      
                        
            
            
            <tr>
            <td colspan="2">
                <table>
                
                    <tr><th><b>Content: </b> application/json</th></tr>
                    <tr><td><pre><code>{
    &quot;PatientId&quot;: 12434,
    &quot;MRN&quot;: &quot;M0R1N2&quot;,
    &quot;FirstName&quot;: &quot;Jerry&quot;,
    &quot;LastName&quot;: &quot;Smith&quot;,
    &quot;Phone Number&quot;: [
        &quot;0707-123456&quot;,
        &quot;0708-123456&quot;
    ],
    &quot;Gender&quot;: &quot;M&quot;,
    &quot;DOB&quot;: &quot;19180110&quot;,
    &quot;TimeOfDeath&quot;: &quot;2025-07-28T01:59:23.388+01:00&quot;,
    &quot;Email&quot;: &quot;jerry.smith@fhir.link&quot;
}</code></pre></td></tr>
                 
                
                </table>
            </td>
            </tr>
        
                      
                        
            
            
            <tr>
            <td colspan="2">
                <table>
                
                    <tr><th><b>Content: </b> application/json</th></tr>
                    <tr><td><pre><code>{
	&quot;type&quot;: &quot;json&quot;
}</code></pre></td></tr>
                 
                
                </table>
            </td>
            </tr>
        
        
    </table>
</div>
</div>
  </text>
  <url value="http://puri.fhir.link/flc/Library/FLCLiquidTemplates"/>
  <version value="0.2.3"/>
  <name value="FLCLiquidTemplates"/>
  <title value="FLC Liquid Templates"/>
  <status value="active"/>
  <experimental value="true"/>
  <type>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
      <code value="logic-library"/>
    </coding>
  </type>
  <date value="2025-07-14T07:00:22+01:00"/>
  <publisher value="Service Well AB"/>
  <contact>
    <name value="Service Well AB"/>
    <telecom>
      <system value="url"/>
      <value value="https://servicewell.se"/>
    </telecom>
  </contact>
  <description
               value="This library includes the LIQUID-templates and source sampledata used in this FLC-IG"/>
  <approvalDate value="2025-07-14"/>
  <lastReviewDate value="2025-07-14"/>
  <topic>
    <text value="FHIR"/>
  </topic>
  <topic>
    <text value="LIQUID"/>
  </topic>
  <content>
    <extension
               url="http://puri.fhir.link/flc/StructureDefinition/attachment-folder-structure">
      <extension url="folder-path">
        <valueString value="templates"/>
      </extension>
      <extension url="logical-filename">
        <valueString value="ExamplePatient.liquid"/>
      </extension>
    </extension>
    <data
          value="ewogICAgInJlc291cmNlVHlwZSI6ICJQYXRpZW50IiwKICAgICJpZCI6ICJ7eyBtc2cuUGF0aWVudElkICB8IHRvX2pzb25fc3RyaW5nIHwgZ2VuZXJhdGVfdXVpZCAgfX0iLAogICAgImlkZW50aWZpZXIiOiBbCiAgICAgICAgewogICAgICAgICAgICAidXNlIjogInVzdWFsIiwKICAgICAgICAgICAgInR5cGUiOiB7CiAgICAgICAgICAgICAgICAiY29kaW5nIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInN5c3RlbSI6ICJodHRwOi8vdGVybWlub2xvZ3kuaGw3Lm9yZy9Db2RlU3lzdGVtL3YyLTAyMDMiLAogICAgICAgICAgICAgICAgICAgICAgICAiY29kZSI6ICJNUiIKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJzeXN0ZW0iOiAidXJuOm9pZDoyLjE2Ljg0MC4xLjExMzg4My4xOS41IiwKICAgICAgICAgICAgInZhbHVlIjogInt7IG1zZy5NUk4gfX0iCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAgICJzeXN0ZW0iOiAiaHR0cDovL2ZoaXIucHVyaWZpZWQubGluay9leGFtcGxlL2lkZW50aWZpZXJTeXN0ZW0vZWhyLXNvdXJjZS1zeXN0ZW0tZGVtbyIsCiAgICAgICAgICAgICJ2YWx1ZSI6ICJ7eyBtc2cuUGF0aWVudElkIH19IgogICAgICAgIH0sCgogICAgXSwKICAgICJhY3RpdmUiOiB0cnVlLAogICAgIm5hbWUiOiBbCiAgICAgICAgewogICAgICAgICAgICAiZmFtaWx5IjogInt7IG1zZy5MYXN0TmFtZSB9fSIsCiAgICAgICAgICAgICJnaXZlbiI6IFsKICAgICAgICAgICAgICAgICJ7eyBtc2cuRmlyc3ROYW1lIH19IgogICAgICAgICAgICBdCiAgICAgICAgfQogICAgXSwKICAgICJ0ZWxlY29tIjogWwogICAgICAgIHslIGNvbW1lbnQgLSV9IHVzZSAiW10iIHRvIGFjY2VzcyB2YWx1ZSBpZiB0aGUga2V5IGNvbnRhaW5zIHNwYWNlcyBvciBvdGhlciBzcGVjaWFsIGNoYXJhY3RlcnMgeyUgZW5kY29tbWVudCAtJX0KICAgICAgICB7JSBmb3IgcCBpbiBtc2dbIlBob25lIE51bWJlciJdIC0lfQogICAgICAgIHsKICAgICAgICAgICAgInN5c3RlbSI6ICJwaG9uZSIsCiAgICAgICAgICAgICJ2YWx1ZSI6ICJ7eyBwIH19IiwKICAgICAgICAgICAgfSwKICAgICAgICB7JSBlbmRmb3IgLSV9CiAgICBdLAogICAgImdlbmRlciI6ICJ7eyBtc2cuR2VuZGVyIHwgZ2V0X3Byb3BlcnR5OiAnQ29kZVN5c3RlbS9hZG1pbmlzdHJhdGl2ZWdlbmRlcicsICdjb2RlJyAtfX0iLAogICAgImJpcnRoRGF0ZSI6ICJ7eyBtc2cuRE9CIHwgYWRkX2h5cGhlbnNfZGF0ZSB9fSIsCiAgICAiZGVjZWFzZWREYXRlVGltZSI6ICJ7eyBtc2cuVGltZU9mRGVhdGggfX0iCn0="/>
  </content>
  <content>
    <extension
               url="http://puri.fhir.link/flc/StructureDefinition/attachment-folder-structure">
      <extension url="folder-path">
        <valueString value="templates/codesystem"/>
      </extension>
      <extension url="logical-filename">
        <valueString value="codesystem.json"/>
      </extension>
    </extension>
  </content>
  <content>
    <extension
               url="http://puri.fhir.link/flc/StructureDefinition/attachment-folder-structure">
      <extension url="folder-path">
        <valueString value="sampledata"/>
      </extension>
      <extension url="logical-filename">
        <valueString value="ExamplePatient.json"/>
      </extension>
    </extension>
    <contentType value="application/json"/>
    <data
          value="ewogICAgIlBhdGllbnRJZCI6IDEyNDM0LAogICAgIk1STiI6ICJNMFIxTjIiLAogICAgIkZpcnN0TmFtZSI6ICJKZXJyeSIsCiAgICAiTGFzdE5hbWUiOiAiU21pdGgiLAogICAgIlBob25lIE51bWJlciI6IFsKICAgICAgICAiMDcwNy0xMjM0NTYiLAogICAgICAgICIwNzA4LTEyMzQ1NiIKICAgIF0sCiAgICAiR2VuZGVyIjogIk0iLAogICAgIkRPQiI6ICIxOTE4MDExMCIsCiAgICAiVGltZU9mRGVhdGgiOiAiMjAyNS0wNy0yOFQwMTo1OToyMy4zODgrMDE6MDAiLAogICAgIkVtYWlsIjogImplcnJ5LnNtaXRoQGZoaXIubGluayIKfQ=="/>
  </content>
  <content>
    <extension
               url="http://puri.fhir.link/flc/StructureDefinition/attachment-folder-structure">
      <extension url="folder-path">
        <valueString value="templates"/>
      </extension>
      <extension url="logical-filename">
        <valueString value="metadata.json"/>
      </extension>
    </extension>
    <contentType value="application/json"/>
    <data value="ewoJInR5cGUiOiAianNvbiIKfQ=="/>
  </content>
</Library>