FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageservicewell.fhir.se.frenda-wof-connect-flc
Resource TypeStructureMap
IdStructureMap-flc-bookappointmentresponse.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/servicewell/servicewell.fhir.se.frenda-wof-connect-flc/StructureMap-flc-bookappointmentresponse.html
URLhttps://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureMap/flc-bookappointmentresponse
Version0.1.2
Statusdraft
Date2025-11-18
Nameflc-bookappointmentresponse
TitleFLC BookAppointmentResponse
DescriptionStructure Map for transforming Frenda BookAppointmentResponse to the IHE Scheduled Appointment Bundle.

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureMap flc-bookappointmentresponse

map "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureMap/flc-bookappointmentresponse" = "flc-bookappointmentresponse"

// Structure Map for transforming Frenda BookAppointmentResponse to the IHE Scheduled Appointment Bundle.

uses "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/book-appointment-response" as source
uses "https://profiles.ihe.net/ITI/Scheduling/StructureDefinition/ihe-sched-avail-bundle" as target

// Frenda BookingResponse to IHE Scheduled Appointment Bundle (searchset Bundle with booked Appointment).
group LiquidTransform(source AppointmentBookOpResult : FrendaAPIBookResponse) {
  source : Message as msg -> Destination "liquid";
}


Source1

{
  "resourceType": "StructureMap",
  "id": "flc-bookappointmentresponse",
  "meta": {
    "profile": [
      "http://canonical.fhir.link/flc/base/StructureDefinition/flc-structuremap"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureMap/flc-bookappointmentresponse",
  "version": "0.1.2",
  "name": "flc-bookappointmentresponse",
  "title": "FLC BookAppointmentResponse",
  "status": "draft",
  "experimental": true,
  "date": "2025-11-18",
  "publisher": "Service Well AB",
  "contact": [
    {
      "name": "Service Well AB",
      "telecom": [
        {
          "system": "url",
          "value": "https://servicewell.se"
        }
      ]
    }
  ],
  "description": "Structure Map for transforming Frenda BookAppointmentResponse to the IHE Scheduled Appointment Bundle.",
  "structure": [
    {
      "url": "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/book-appointment-response",
      "mode": "source"
    },
    {
      "url": "https://profiles.ihe.net/ITI/Scheduling/StructureDefinition/ihe-sched-avail-bundle",
      "mode": "target"
    }
  ],
  "group": [
    {
      "name": "LiquidTransform",
      "typeMode": "none",
      "documentation": "Frenda BookingResponse to IHE Scheduled Appointment Bundle (searchset Bundle with booked Appointment).",
      "input": [
        {
          "name": "AppointmentBookOpResult",
          "type": "FrendaAPIBookResponse",
          "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": "AppointmentBookOpResult.liquid"
                    }
                  ],
                  "url": "http://canonical.fhir.link/flc/base/StructureDefinition/fhir-liquid-map"
                }
              ],
              "context": "Destination",
              "contextType": "variable",
              "parameter": [
                {
                  "valueString": "liquid"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}