FLC Implementation Guide
0.2.4 - stable [WIP]
This page is part of the FLC Implementation Guide (v0.2.4: Pre-Release Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
| Draft as of 2025-10-02 |
{
"resourceType" : "StructureMap",
"id" : "flc-patient-to-fhir",
"meta" : {
"profile" : [
🔗 "http://canonical.fhir.link/flc/base/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\"> "</span>http://canonical.fhir.link/flc/base/StructureMap/flc-patient-to-fhir<span style=\"color: navy\">" = "</span>flc-patient-to-fhir<span style=\"color: navy\">"\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\"> "</span><a href=\"StructureDefinition-flc-source-patient.html\" title=\"FLC Source Patient\">http://canonical.fhir.link/flc/base/StructureDefinition/flc-source-patient</a><span style=\"color: navy\">" </span><b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/patient.html\" title=\"Patient\">http://hl7.org/fhir/StructureDefinition/Patient</a><span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">test -> 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> -> </b></span>Destination <i>"liquid"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"url" : "http://canonical.fhir.link/flc/base/StructureMap/flc-patient-to-fhir",
"version" : "0.2.4",
"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://canonical.fhir.link/flc/base/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://canonical.fhir.link/flc/base/StructureDefinition/flc-library|0.2.3"
},
{
"url" : "liquidTemplate",
"valueString" : "ExamplePatient.liquid"
}
],
"url" : "http://canonical.fhir.link/flc/base/StructureDefinition/fhir-liquid-map"
}
],
"context" : "Destination",
"contextType" : "variable",
"parameter" : [
{
"valueString" : "liquid"
}
]
}
]
}
]
}
]
}