{
  "resourceType": "StructureDefinition",
  "id": "70d18821-9238-4ea0-bf2e-b1ac86909342",
  "meta": {
    "lastUpdated": "2021-09-28T08:35:47.012+00:00"
  },
  "url": "https://fhir.cambio.se/StructureDefinition/BasicUnitBedOverviewSe/v1",
  "name": "BasicUnitBedOverviewSe",
  "status": "draft",
  "date": "2021-09-28T08:23:01.5389385Z",
  "description": "The number of patients ready to be discharged.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Basic",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Basic.extension",
        "path": "Basic.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Basic.extension:numberOfPatients",
        "path": "Basic.extension",
        "sliceName": "numberOfPatients",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.cambio.se/StructureDefinition/bedOverview-numberOfPatients/v1"
            ]
          }
        ]
      },
      {
        "id": "Basic.extension:freeBeds",
        "path": "Basic.extension",
        "sliceName": "freeBeds",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.cambio.se/StructureDefinition/bedOverview-freeBeds/v1"
            ]
          }
        ]
      },
      {
        "id": "Basic.extension:prognosis",
        "path": "Basic.extension",
        "sliceName": "prognosis",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.cambio.se/StructureDefinition/bedOverview-prognosis/v1"
            ]
          }
        ]
      },
      {
        "id": "Basic.extension:readyForDischarge",
        "path": "Basic.extension",
        "sliceName": "readyForDischarge",
        "definition": "The number of patients ready to be discharged.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.cambio.se/StructureDefinition/bedOverview-readyForDischarge/v1"
            ]
          }
        ]
      },
      {
        "id": "Basic.extension:availableBedsPeriod",
        "path": "Basic.extension",
        "sliceName": "availableBedsPeriod",
        "definition": "An available bed period is a cohesive time with a start-date-and-time and an end-date-and-time during which a specified number of available beds is defined. Different periods will not overlap, but gaps between periods can exist.",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.cambio.se/StructureDefinition/bedOverview-availableBeds/v1"
            ]
          }
        ]
      },
      {
        "id": "Basic.extension:atTechnicalUnit",
        "path": "Basic.extension",
        "sliceName": "atTechnicalUnit",
        "definition": "The number of patients, currently at each technical unit.",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.cambio.se/StructureDefinition/bedOverview-atTechnicalUnit/v1"
            ]
          }
        ]
      },
      {
        "id": "Basic.extension:bedSituationComment",
        "path": "Basic.extension",
        "sliceName": "bedSituationComment",
        "definition": "Latest created comment describing the current bed situation at the care unit.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.cambio.se/StructureDefinition/bedOverview-bedSituationComment/v1"
            ]
          }
        ]
      },
      {
        "id": "Basic.extension:contagionComment",
        "path": "Basic.extension",
        "sliceName": "contagionComment",
        "definition": "Latest created comment to raise awareness regarding any known contagions at the unit.",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.cambio.se/StructureDefinition/bedOverview-contagionComment/v1"
            ]
          }
        ]
      },
      {
        "id": "Basic.extension:probableDischarge",
        "path": "Basic.extension",
        "sliceName": "probableDischarge",
        "definition": "The number of patients whom are currently likely to be discharged from the care unit.",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.cambio.se/StructureDefinition/bedOverview-probableDischarge/v1"
            ]
          }
        ]
      },
      {
        "id": "Basic.extension:absences",
        "path": "Basic.extension",
        "sliceName": "absences",
        "definition": "Statistics of the patients who are absent.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://example.org/fhir/StructureDefinition/bedOverview-absences/v1"
            ]
          }
        ]
      },
      {
        "id": "Basic.extension:outliers",
        "path": "Basic.extension",
        "sliceName": "outliers",
        "definition": "An outlier is a patient placed on ward that is not the serving unit of the medical responsible unit of the patient.\r\nA reason for outlying patients can be that the wards that serves a specific medical responsibility is full\r\nor crowded.E.g., A patient whose responsibility is with unit X is placed in ward Y. If ward Y is not a serving unit of unit X\r\nthen;\r\n\r\nThe patient is outlying from the unit X\r\nThe patient is outlying to (inlier to) the ward Y.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.cambio.se/StructureDefinition/bedOverview-outliers/v1"
            ]
          }
        ]
      },
      {
        "id": "Basic.extension:transferable",
        "path": "Basic.extension",
        "sliceName": "transferable",
        "definition": "Statistics of the transferable patients.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.cambio.se/StructureDefinition/bedOverview-transferable/v1"
            ]
          }
        ]
      },
      {
        "id": "Basic.identifier",
        "path": "Basic.identifier",
        "max": "0"
      },
      {
        "id": "Basic.code.coding",
        "path": "Basic.code.coding",
        "max": "1"
      },
      {
        "id": "Basic.code.text",
        "path": "Basic.code.text",
        "min": 1,
        "fixedString": "Unit Bed Overview"
      },
      {
        "id": "Basic.subject",
        "path": "Basic.subject",
        "definition": "The Unit that the Bed overview represent",
        "min": 1
      },
      {
        "id": "Basic.subject.identifier",
        "path": "Basic.subject.identifier",
        "min": 1
      },
      {
        "id": "Basic.subject.identifier.system",
        "path": "Basic.subject.identifier.system",
        "definition": "The URN of the HSA-ID catalogue",
        "min": 1,
        "fixedUri": "urn:oid:1.2.752.129.2.1.4.1"
      },
      {
        "id": "Basic.subject.identifier.value",
        "path": "Basic.subject.identifier.value",
        "min": 1
      },
      {
        "id": "Basic.author",
        "path": "Basic.author",
        "max": "0"
      }
    ]
  }
}