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
| Active as of 2025-07-14 | 
{
  "resourceType" : "Library",
  "id" : "FLCLiquidTemplates",
  "meta" : {
    "profile" : [
      🔗 "http://puri.fhir.link/flc/StructureDefinition/flc-library"
    ]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <div>\n    <table class=\"grid dict\">\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">FLC Liquid Templates</td>\n        </tr>\n        \n\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Id: </b></th>\n            <td style=\"padding-left: 4px;\">FLCLiquidTemplates</td>\n        </tr>\n        \n\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">0.2.3</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\"><a href=\"Library-FLCLiquidTemplates.html\">FLC Liquid Templates</a></td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Experimental: </b></th>\n            <td style=\"padding-left: 4px;\">true</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Type: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <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>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>logic-library</span>\n                        </p>\n                        \n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Date: </b></th>\n            <td style=\"padding-left: 4px;\">2025-07-14 07:00:22+0100</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">Service Well AB</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Description: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>This library includes the LIQUID-templates and source sampledata used in this FLC-IG</p>\n</div></td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Topic: </b></th>\n                <td style=\"padding-left: 4px;\"/>\n            </tr>\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Approval Date: </b></th>\n            <td style=\"padding-left: 4px;\">2025-07-14</td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n                      \n                        \n            \n            \n            <tr>\n            <td colspan=\"2\">\n                <table>\n                \n                    <tr><th><b>Content: </b> </th></tr>\n                    <tr><td><pre><code>{\n    "resourceType": "Patient",\n    "id": "{{ msg.PatientId  | to_json_string | generate_uuid  }}",\n    "identifier": [\n        {\n            "use": "usual",\n            "type": {\n                "coding": [\n                    {\n                        "system": "http://terminology.hl7.org/CodeSystem/v2-0203",\n                        "code": "MR"\n                    }\n                ]\n            },\n            "system": "urn:oid:2.16.840.1.113883.19.5",\n            "value": "{{ msg.MRN }}"\n        },\n        {\n            "system": "http://fhir.purified.link/example/identifierSystem/ehr-source-system-demo",\n            "value": "{{ msg.PatientId }}"\n        },\n\n    ],\n    "active": true,\n    "name": [\n        {\n            "family": "{{ msg.LastName }}",\n            "given": [\n                "{{ msg.FirstName }}"\n            ]\n        }\n    ],\n    "telecom": [\n        {% comment -%} use "[]" to access value if the key contains spaces or other special characters {% endcomment -%}\n        {% for p in msg["Phone Number"] -%}\n        {\n            "system": "phone",\n            "value": "{{ p }}",\n            },\n        {% endfor -%}\n    ],\n    "gender": "{{ msg.Gender | get_property: 'CodeSystem/administrativegender', 'code' -}}",\n    "birthDate": "{{ msg.DOB | add_hyphens_date }}",\n    "deceasedDateTime": "{{ msg.TimeOfDeath }}"\n}</code></pre></td></tr>\n                 \n                \n                </table>\n            </td>\n            </tr>\n        \n                      \n                        \n            \n            \n            <tr>\n            <td colspan=\"2\">\n                <table>\n                <tr><th><b>Content: </b> </th></tr>\n                <tr><td><pre><code>Encoded data ( characters)</code></pre></td></tr>\n                </table>\n            </td>\n            </tr>\n        \n                      \n                        \n            \n            \n            <tr>\n            <td colspan=\"2\">\n                <table>\n                \n                    <tr><th><b>Content: </b> application/json</th></tr>\n                    <tr><td><pre><code>{\n    "PatientId": 12434,\n    "MRN": "M0R1N2",\n    "FirstName": "Jerry",\n    "LastName": "Smith",\n    "Phone Number": [\n        "0707-123456",\n        "0708-123456"\n    ],\n    "Gender": "M",\n    "DOB": "19180110",\n    "TimeOfDeath": "2025-07-28T01:59:23.388+01:00",\n    "Email": "jerry.smith@fhir.link"\n}</code></pre></td></tr>\n                 \n                \n                </table>\n            </td>\n            </tr>\n        \n                      \n                        \n            \n            \n            <tr>\n            <td colspan=\"2\">\n                <table>\n                \n                    <tr><th><b>Content: </b> application/json</th></tr>\n                    <tr><td><pre><code>{\n\t"type": "json"\n}</code></pre></td></tr>\n                 \n                \n                </table>\n            </td>\n            </tr>\n        \n        \n    </table>\n</div>\n</div>"
  },
  "url" : "http://puri.fhir.link/flc/Library/FLCLiquidTemplates",
  "version" : "0.2.3",
  "name" : "FLCLiquidTemplates",
  "title" : "FLC Liquid Templates",
  "status" : "active",
  "experimental" : true,
  "type" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/library-type",
        "code" : "logic-library"
      }
    ]
  },
  "date" : "2025-07-14T07:00:22+01:00",
  "publisher" : "Service Well AB",
  "contact" : [
    {
      "name" : "Service Well AB",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://servicewell.se"
        }
      ]
    }
  ],
  "description" : "This library includes the LIQUID-templates and source sampledata used in this FLC-IG",
  "approvalDate" : "2025-07-14",
  "lastReviewDate" : "2025-07-14",
  "topic" : [
    {
      "text" : "FHIR"
    },
    {
      "text" : "LIQUID"
    }
  ],
  "content" : [
    {
      "extension" : [
        {
          "extension" : [
            {
              "url" : "folder-path",
              "valueString" : "templates"
            },
            {
              "url" : "logical-filename",
              "valueString" : "ExamplePatient.liquid"
            }
          ],
          "url" : "http://puri.fhir.link/flc/StructureDefinition/attachment-folder-structure"
        }
      ],
      "data" : "ewogICAgInJlc291cmNlVHlwZSI6ICJQYXRpZW50IiwKICAgICJpZCI6ICJ7eyBtc2cuUGF0aWVudElkICB8IHRvX2pzb25fc3RyaW5nIHwgZ2VuZXJhdGVfdXVpZCAgfX0iLAogICAgImlkZW50aWZpZXIiOiBbCiAgICAgICAgewogICAgICAgICAgICAidXNlIjogInVzdWFsIiwKICAgICAgICAgICAgInR5cGUiOiB7CiAgICAgICAgICAgICAgICAiY29kaW5nIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInN5c3RlbSI6ICJodHRwOi8vdGVybWlub2xvZ3kuaGw3Lm9yZy9Db2RlU3lzdGVtL3YyLTAyMDMiLAogICAgICAgICAgICAgICAgICAgICAgICAiY29kZSI6ICJNUiIKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJzeXN0ZW0iOiAidXJuOm9pZDoyLjE2Ljg0MC4xLjExMzg4My4xOS41IiwKICAgICAgICAgICAgInZhbHVlIjogInt7IG1zZy5NUk4gfX0iCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAgICJzeXN0ZW0iOiAiaHR0cDovL2ZoaXIucHVyaWZpZWQubGluay9leGFtcGxlL2lkZW50aWZpZXJTeXN0ZW0vZWhyLXNvdXJjZS1zeXN0ZW0tZGVtbyIsCiAgICAgICAgICAgICJ2YWx1ZSI6ICJ7eyBtc2cuUGF0aWVudElkIH19IgogICAgICAgIH0sCgogICAgXSwKICAgICJhY3RpdmUiOiB0cnVlLAogICAgIm5hbWUiOiBbCiAgICAgICAgewogICAgICAgICAgICAiZmFtaWx5IjogInt7IG1zZy5MYXN0TmFtZSB9fSIsCiAgICAgICAgICAgICJnaXZlbiI6IFsKICAgICAgICAgICAgICAgICJ7eyBtc2cuRmlyc3ROYW1lIH19IgogICAgICAgICAgICBdCiAgICAgICAgfQogICAgXSwKICAgICJ0ZWxlY29tIjogWwogICAgICAgIHslIGNvbW1lbnQgLSV9IHVzZSAiW10iIHRvIGFjY2VzcyB2YWx1ZSBpZiB0aGUga2V5IGNvbnRhaW5zIHNwYWNlcyBvciBvdGhlciBzcGVjaWFsIGNoYXJhY3RlcnMgeyUgZW5kY29tbWVudCAtJX0KICAgICAgICB7JSBmb3IgcCBpbiBtc2dbIlBob25lIE51bWJlciJdIC0lfQogICAgICAgIHsKICAgICAgICAgICAgInN5c3RlbSI6ICJwaG9uZSIsCiAgICAgICAgICAgICJ2YWx1ZSI6ICJ7eyBwIH19IiwKICAgICAgICAgICAgfSwKICAgICAgICB7JSBlbmRmb3IgLSV9CiAgICBdLAogICAgImdlbmRlciI6ICJ7eyBtc2cuR2VuZGVyIHwgZ2V0X3Byb3BlcnR5OiAnQ29kZVN5c3RlbS9hZG1pbmlzdHJhdGl2ZWdlbmRlcicsICdjb2RlJyAtfX0iLAogICAgImJpcnRoRGF0ZSI6ICJ7eyBtc2cuRE9CIHwgYWRkX2h5cGhlbnNfZGF0ZSB9fSIsCiAgICAiZGVjZWFzZWREYXRlVGltZSI6ICJ7eyBtc2cuVGltZU9mRGVhdGggfX0iCn0="
    },
    {
      "extension" : [
        {
          "extension" : [
            {
              "url" : "folder-path",
              "valueString" : "templates/codesystem"
            },
            {
              "url" : "logical-filename",
              "valueString" : "codesystem.json"
            }
          ],
          "url" : "http://puri.fhir.link/flc/StructureDefinition/attachment-folder-structure"
        }
      ]
    },
    {
      "extension" : [
        {
          "extension" : [
            {
              "url" : "folder-path",
              "valueString" : "sampledata"
            },
            {
              "url" : "logical-filename",
              "valueString" : "ExamplePatient.json"
            }
          ],
          "url" : "http://puri.fhir.link/flc/StructureDefinition/attachment-folder-structure"
        }
      ],
      "contentType" : "application/json",
      "data" : "ewogICAgIlBhdGllbnRJZCI6IDEyNDM0LAogICAgIk1STiI6ICJNMFIxTjIiLAogICAgIkZpcnN0TmFtZSI6ICJKZXJyeSIsCiAgICAiTGFzdE5hbWUiOiAiU21pdGgiLAogICAgIlBob25lIE51bWJlciI6IFsKICAgICAgICAiMDcwNy0xMjM0NTYiLAogICAgICAgICIwNzA4LTEyMzQ1NiIKICAgIF0sCiAgICAiR2VuZGVyIjogIk0iLAogICAgIkRPQiI6ICIxOTE4MDExMCIsCiAgICAiVGltZU9mRGVhdGgiOiAiMjAyNS0wNy0yOFQwMTo1OToyMy4zODgrMDE6MDAiLAogICAgIkVtYWlsIjogImplcnJ5LnNtaXRoQGZoaXIubGluayIKfQ=="
    },
    {
      "extension" : [
        {
          "extension" : [
            {
              "url" : "folder-path",
              "valueString" : "templates"
            },
            {
              "url" : "logical-filename",
              "valueString" : "metadata.json"
            }
          ],
          "url" : "http://puri.fhir.link/flc/StructureDefinition/attachment-folder-structure"
        }
      ],
      "contentType" : "application/json",
      "data" : "ewoJInR5cGUiOiAianNvbiIKfQ=="
    }
  ]
}