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

Draft as of 2025-12-03

Raw json | Download

{
  "resourceType" : "StructureMap",
  "id" : "flc-appointmentbyid",
  "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-appointmentbyid</b></p><a name=\"flc-appointmentbyid\"> </a><a name=\"hcflc-appointmentbyid\"> </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-appointmentbyid<span style=\"color: navy\">&quot; = &quot;</span>flc-appointmentbyid<span style=\"color: navy\">&quot;\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">StructureMap for transforming FrendaBookingResponse from /api/appointment/booking to IHE Appointment.</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-get-appointment-by-id.html\" title=\"GetAppointmentById (Extract Model)\">https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/get-appointment-by-id</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=\"https://profiles.ihe.net/ITI/Scheduling/1.0.0/StructureDefinition-ihe-sched-appt.html\" title=\"IHE ITI Appointment Profile\">https://profiles.ihe.net/ITI/Scheduling/StructureDefinition/ihe-sched-appt</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 BookingResponse to IHE Appointment</span>\r\n<b>group </b>LiquidTransform<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">GetAppointmentById</span><span style=\"color: navy\"> : </span>FrendaAPIBookingById<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-appointmentbyid",
  "version" : "0.1.2",
  "name" : "flc-appointmentbyid",
  "title" : "FLC GetAppointmentById",
  "status" : "draft",
  "experimental" : true,
  "date" : "2025-12-03",
  "publisher" : "Service Well AB",
  "contact" : [
    {
      "name" : "Service Well AB",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://servicewell.se"
        }
      ]
    }
  ],
  "description" : "StructureMap for transforming FrendaBookingResponse from /api/appointment/booking to IHE Appointment.",
  "structure" : [
    {
      "url" : "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/get-appointment-by-id",
      "mode" : "source"
    },
    {
      "url" : "https://profiles.ihe.net/ITI/Scheduling/StructureDefinition/ihe-sched-appt",
      "mode" : "target"
    }
  ],
  "group" : [
    {
      "name" : "LiquidTransform",
      "typeMode" : "none",
      "documentation" : "Frenda BookingResponse to IHE Appointment",
      "input" : [
        {
          "name" : "GetAppointmentById",
          "type" : "FrendaAPIBookingById",
          "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" : "GetAppointmentById.liquid"
                    }
                  ],
                  "url" : "http://canonical.fhir.link/flc/base/StructureDefinition/fhir-liquid-map"
                }
              ],
              "context" : "Destination",
              "contextType" : "variable",
              "parameter" : [
                {
                  "valueString" : "liquid"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}