Frenda Wof-Connect FLC
0.1.2 - ci-build [WIP]

Frenda Wof-Connect FLC, published by Service Well AB. This guide is not an authorized publication; it is the continuous build for version 0.1.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/servicewell/servicewell.fhir.se.frenda-wof-connect-flc/ and changes regularly. See the Directory of published versions

: FLC GetScheduleContext - JSON Representation

Draft as of 2025-12-17

Raw json | Download

{
  "resourceType" : "StructureMap",
  "id" : "flc-getschedule-context",
  "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-getschedule-context</b></p><a name=\"flc-getschedule-context\"> </a><a name=\"hcflc-getschedule-context\"> </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=\"http://canonical.fhir.link/flc/base/0.2.3/StructureDefinition-flc-structuremap.html\">FLCStructureMap</a></p></div><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> &quot;</span>https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureMap/flc-getschedule-context<span style=\"color: navy\">&quot; = &quot;</span>flc-getschedule-context<span style=\"color: navy\">&quot;\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">StructureMap for transforming GetScheduleContext to a context Bundle.</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-get-clinic-treatments.html\" title=\"GetClinicTreatments (Extract Model)\">https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/get-clinic-treatments</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://canonical.fhir.link/servicewell/wof-connect/0.1.3/StructureDefinition-wof-connect-schedule-context-operation-response.html\" title=\"WOF Connect GetScheduleContext Operation Response\">http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-schedule-context-operation-response</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\">Frenda schedule context to WOF Connect ScheduleContext Bundle</span>\r\n<b>group </b>LiquidTransform<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">GetScheduleContext</span><span style=\"color: navy\"> : </span>FrendaAPIScheduleContext<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" : "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureMap/flc-getschedule-context",
  "version" : "0.1.2",
  "name" : "flc-getschedule-context",
  "title" : "FLC GetScheduleContext",
  "status" : "draft",
  "experimental" : true,
  "date" : "2025-12-17",
  "publisher" : "Service Well AB",
  "contact" : [
    {
      "name" : "Service Well AB",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://servicewell.se"
        }
      ]
    }
  ],
  "description" : "StructureMap for transforming GetScheduleContext to a context Bundle.",
  "structure" : [
    {
      "url" : "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/get-clinic-treatments",
      "mode" : "source"
    },
    {
      "url" : "http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-schedule-context-operation-response",
      "mode" : "target"
    }
  ],
  "group" : [
    {
      "name" : "LiquidTransform",
      "typeMode" : "none",
      "documentation" : "Frenda schedule context to WOF Connect ScheduleContext Bundle",
      "input" : [
        {
          "name" : "GetScheduleContext",
          "type" : "FrendaAPIScheduleContext",
          "mode" : "source"
        }
      ],
      "rule" : [
        {
          "name" : "liquid",
          "source" : [
            {
              "context" : "source",
              "type" : "Message",
              "variable" : "msg"
            }
          ],
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "flcPackage",
                      "valueString" : "servicewell.se.fhir.wof-connect-frenda"
                    },
                    {
                      "url" : "flcPackageVersion",
                      "valueString" : "0.1.1"
                    },
                    {
                      "url" : "flcLibrary",
                      "valueCanonical" : "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/Library/FLCLiquidTemplates"
                    },
                    {
                      "url" : "liquidTemplate",
                      "valueString" : "GetScheduleContextOp.liquid"
                    }
                  ],
                  "url" : "http://canonical.fhir.link/flc/base/StructureDefinition/fhir-liquid-map"
                }
              ],
              "context" : "Destination",
              "contextType" : "variable",
              "parameter" : [
                {
                  "valueString" : "liquid"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}