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 Patient to FHIR - JSON Representation

Draft as of 2025-10-02

Raw json | Download

{
  "resourceType" : "StructureMap",
  "id" : "flc-patient-to-fhir",
  "meta" : {
    "profile" : [
      🔗 "http://puri.fhir.link/flc/StructureDefinition/flc-structuremap"
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap flc-patient-to-fhir</b></p><a name=\"flc-patient-to-fhir\"> </a><a name=\"hcflc-patient-to-fhir\"> </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=\"StructureDefinition-flc-structuremap.html\">FLCStructureMap</a></p></div><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> &quot;</span>http://puri.fhir.link/flc/StructureMap/flc-patient-to-fhir<span style=\"color: navy\">&quot; = &quot;</span>flc-patient-to-fhir<span style=\"color: navy\">&quot;\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Example Structure Map</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-flc-source-patient.html\" title=\"FLC Source Patient\">http://puri.fhir.link/flc/StructureDefinition/flc-source-patient</a><span style=\"color: navy\">&quot; </span><b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R4/patient.html\" title=\"Patient\">http://hl7.org/fhir/StructureDefinition/Patient</a><span style=\"color: navy\">&quot; </span><b>as </b><b>target</b>\r\n\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">test -&gt; testValue</span>\r\n<b>group </b>Examples<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">msg</span><span style=\"color: navy\"> : </span>FLCSourcePatient<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</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>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "url" : "http://puri.fhir.link/flc/StructureMap/flc-patient-to-fhir",
  "version" : "0.2.3",
  "name" : "flc-patient-to-fhir",
  "title" : "FLC Patient to FHIR",
  "status" : "draft",
  "experimental" : true,
  "date" : "2025-10-02",
  "publisher" : "Service Well AB",
  "contact" : [
    {
      "name" : "Service Well AB",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://servicewell.se"
        }
      ]
    }
  ],
  "description" : "Example Structure Map",
  "structure" : [
    {
      "url" : "http://puri.fhir.link/flc/StructureDefinition/flc-source-patient",
      "mode" : "source"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/Patient",
      "mode" : "target"
    }
  ],
  "group" : [
    {
      "name" : "Examples",
      "typeMode" : "none",
      "documentation" : "test -> testValue",
      "input" : [
        {
          "name" : "msg",
          "type" : "FLCSourcePatient",
          "mode" : "source"
        }
      ],
      "rule" : [
        {
          "name" : "liquid",
          "source" : [
            {
              "context" : "source",
              "type" : "Message",
              "variable" : "msg"
            }
          ],
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "flcPackage",
                      "valueString" : "servicewell.fhir.flc"
                    },
                    {
                      "url" : "flcPackageVersion",
                      "valueString" : "0.2.3"
                    },
                    {
                      "url" : "flcLibrary",
                      "valueCanonical" : "http://puri.fhir.link/flc/StructureDefinition/flc-library|0.2.3"
                    },
                    {
                      "url" : "liquidTemplate",
                      "valueString" : "ExamplePatient.liquid"
                    }
                  ],
                  "url" : "http://puri.fhir.link/flc/StructureDefinition/fhir-liquid-map"
                }
              ],
              "context" : "Destination",
              "contextType" : "variable",
              "parameter" : [
                {
                  "valueString" : "liquid"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}