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

Library: FLC Liquid Templates (Experimental)

Official URL: http://puri.fhir.link/flc/Library/FLCLiquidTemplates Version: 0.2.3
Active as of 2025-07-14 Computable Name: FLCLiquidTemplates

This library includes the LIQUID-templates and source sampledata used in this FLC-IG

Title: FLC Liquid Templates
Id: FLCLiquidTemplates
Version: 0.2.3
Url: FLC Liquid Templates
Experimental: true
Type:

system: http://terminology.hl7.org/CodeSystem/library-type

code: logic-library

Date: 2025-07-14 07:00:22+0100
Publisher: Service Well AB
Description:

This library includes the LIQUID-templates and source sampledata used in this FLC-IG

Topic:
Approval Date: 2025-07-14
Content:
{
    "resourceType": "Patient",
    "id": "{{ msg.PatientId  | to_json_string | generate_uuid  }}",
    "identifier": [
        {
            "use": "usual",
            "type": {
                "coding": [
                    {
                        "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code": "MR"
                    }
                ]
            },
            "system": "urn:oid:2.16.840.1.113883.19.5",
            "value": "{{ msg.MRN }}"
        },
        {
            "system": "http://fhir.purified.link/example/identifierSystem/ehr-source-system-demo",
            "value": "{{ msg.PatientId }}"
        },

    ],
    "active": true,
    "name": [
        {
            "family": "{{ msg.LastName }}",
            "given": [
                "{{ msg.FirstName }}"
            ]
        }
    ],
    "telecom": [
        {% comment -%} use "[]" to access value if the key contains spaces or other special characters {% endcomment -%}
        {% for p in msg["Phone Number"] -%}
        {
            "system": "phone",
            "value": "{{ p }}",
            },
        {% endfor -%}
    ],
    "gender": "{{ msg.Gender | get_property: 'CodeSystem/administrativegender', 'code' -}}",
    "birthDate": "{{ msg.DOB | add_hyphens_date }}",
    "deceasedDateTime": "{{ msg.TimeOfDeath }}"
}
Content:
Encoded data ( characters)
Content: application/json
{
    "PatientId": 12434,
    "MRN": "M0R1N2",
    "FirstName": "Jerry",
    "LastName": "Smith",
    "Phone Number": [
        "0707-123456",
        "0708-123456"
    ],
    "Gender": "M",
    "DOB": "19180110",
    "TimeOfDeath": "2025-07-28T01:59:23.388+01:00",
    "Email": "jerry.smith@fhir.link"
}
Content: application/json
{
	"type": "json"
}