FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureMap/Slot3to2

Packagehl7.fhir.uv.xver
TypeStructureMap
IdSlot3to2
FHIR VersionR5
Sourcehttp://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Slot3to2.html
URLhttp://hl7.org/fhir/StructureMap/Slot3to2
Version0.1.0
Statusactive
Date2024-02-22T03:16:50+00:00
NameSlot3to2
TitleSlot Transforms: R3 to R2
Realmuv
Authorityhl7
DescriptionSlotTransformsR3toR2

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

/// url = 'http://hl7.org/fhir/StructureMap/Slot3to2'
/// name = 'Slot3to2'
/// title = 'Slot Transforms: R3 to R2'
/// status = 'active'

uses "http://hl7.org/fhir/3.0/Slot" alias Slot as source
uses "http://hl7.org/fhir/1.0/Slot" alias SlotR2 as target

imports "http://hl7.org/fhir/StructureMap/*3to2"

group Slot(source src : Slot, target tgt : SlotR2) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier "Slot-identifier";
  src.serviceType -> tgt.type "Slot-type";
  src.schedule -> tgt.schedule "Slot-schedule";
  src.status check src.status != 'entered-in-error' -> tgt.freeBusyType "Slot-freeBusyType";
  src.start -> tgt.start "Slot-start";
  src.end -> tgt.end "Slot-end";
  src.overbooked -> tgt.overbooked "Slot-overbooked";
  src.comment -> tgt.comment "Slot-comment";
}


Source

{
  "resourceType": "StructureMap",
  "id": "Slot3to2",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "draft",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/StructureMap/Slot3to2",
  "version": "0.1.0",
  "name": "Slot3to2",
  "title": "Slot Transforms: R3 to R2",
  "status": "active",
  "date": "2024-02-22T03:16:50+00:00",
  "publisher": "HL7 International / FHIR Infrastructure",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "SlotTransformsR3toR2",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/3.0/Slot",
      "mode": "source",
      "alias": "Slot"
    },
    {
      "url": "http://hl7.org/fhir/1.0/Slot",
      "mode": "target",
      "alias": "SlotR2"
    }
  ],
  "import": [
    "http://hl7.org/fhir/StructureMap/*3to2"
  ],
  "group": [
    {
      "name": "Slot",
      "extends": "DomainResource",
      "typeMode": "type-and-types",
      "input": [
        {
          "name": "src",
          "type": "Slot",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "SlotR2",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "Slot-identifier",
          "source": [
            {
              "context": "src",
              "element": "identifier",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "identifier",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "Slot-type",
          "source": [
            {
              "context": "src",
              "element": "serviceType",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "type",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "Slot-schedule",
          "source": [
            {
              "context": "src",
              "element": "schedule",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "schedule",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "Slot-freeBusyType",
          "source": [
            {
              "context": "src",
              "element": "status",
              "variable": "vvv",
              "check": "src.status != 'entered-in-error'"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "freeBusyType",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "Slot-start",
          "source": [
            {
              "context": "src",
              "element": "start",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "start",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "Slot-end",
          "source": [
            {
              "context": "src",
              "element": "end",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "end",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "Slot-overbooked",
          "source": [
            {
              "context": "src",
              "element": "overbooked",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "overbooked",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "Slot-comment",
          "source": [
            {
              "context": "src",
              "element": "comment",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "comment",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}