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 - JSON Representation

Active as of 2025-07-14

Raw json | Download

{
  "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    &quot;resourceType&quot;: &quot;Patient&quot;,\n    &quot;id&quot;: &quot;{{ msg.PatientId  | to_json_string | generate_uuid  }}&quot;,\n    &quot;identifier&quot;: [\n        {\n            &quot;use&quot;: &quot;usual&quot;,\n            &quot;type&quot;: {\n                &quot;coding&quot;: [\n                    {\n                        &quot;system&quot;: &quot;http://terminology.hl7.org/CodeSystem/v2-0203&quot;,\n                        &quot;code&quot;: &quot;MR&quot;\n                    }\n                ]\n            },\n            &quot;system&quot;: &quot;urn:oid:2.16.840.1.113883.19.5&quot;,\n            &quot;value&quot;: &quot;{{ msg.MRN }}&quot;\n        },\n        {\n            &quot;system&quot;: &quot;http://fhir.purified.link/example/identifierSystem/ehr-source-system-demo&quot;,\n            &quot;value&quot;: &quot;{{ msg.PatientId }}&quot;\n        },\n\n    ],\n    &quot;active&quot;: true,\n    &quot;name&quot;: [\n        {\n            &quot;family&quot;: &quot;{{ msg.LastName }}&quot;,\n            &quot;given&quot;: [\n                &quot;{{ msg.FirstName }}&quot;\n            ]\n        }\n    ],\n    &quot;telecom&quot;: [\n        {% comment -%} use &quot;[]&quot; to access value if the key contains spaces or other special characters {% endcomment -%}\n        {% for p in msg[&quot;Phone Number&quot;] -%}\n        {\n            &quot;system&quot;: &quot;phone&quot;,\n            &quot;value&quot;: &quot;{{ p }}&quot;,\n            },\n        {% endfor -%}\n    ],\n    &quot;gender&quot;: &quot;{{ msg.Gender | get_property: 'CodeSystem/administrativegender', 'code' -}}&quot;,\n    &quot;birthDate&quot;: &quot;{{ msg.DOB | add_hyphens_date }}&quot;,\n    &quot;deceasedDateTime&quot;: &quot;{{ msg.TimeOfDeath }}&quot;\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    &quot;PatientId&quot;: 12434,\n    &quot;MRN&quot;: &quot;M0R1N2&quot;,\n    &quot;FirstName&quot;: &quot;Jerry&quot;,\n    &quot;LastName&quot;: &quot;Smith&quot;,\n    &quot;Phone Number&quot;: [\n        &quot;0707-123456&quot;,\n        &quot;0708-123456&quot;\n    ],\n    &quot;Gender&quot;: &quot;M&quot;,\n    &quot;DOB&quot;: &quot;19180110&quot;,\n    &quot;TimeOfDeath&quot;: &quot;2025-07-28T01:59:23.388+01:00&quot;,\n    &quot;Email&quot;: &quot;jerry.smith@fhir.link&quot;\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&quot;type&quot;: &quot;json&quot;\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=="
    }
  ]
}