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

FHIR IG Statistics: StructureDefinition/InPatientEncounter

Packagehl7.fhir.eu.hdr
TypeStructureDefinition
IdInPatientEncounter
FHIR VersionR4
Sourcehttp://hl7.eu/fhir/hdr/https://build.fhir.org/ig/hl7-eu/hdr/StructureDefinition-InPatientEncounter.html
URLhttp://hl7.eu/fhir/hdr/StructureDefinition/InPatientEncounter
Version0.1.0-ballot
Statusdraft
Date2025-06-01T06:10:09+00:00
NameEncounterEhn
TitleA.2.3 - Encounter (eHN)
Realmeu
Authorityhl7
DescriptionHospital Discharge Report - Encounter - A.2.3 eHN
CopyrightUsed by permission of HL7 Europe, all rights reserved Creative Commons License
Typehttp://hl7.eu/fhir/hdr/StructureDefinition/InPatientEncounter
Kindlogical

Resources that use this resource

ConceptMap
encounter2FHIR-eu-hdreHN Encounter Model to this guide Map
StructureDefinition
HospitalDischargeReportCzA - Hospital Discharge Report (eHN)
HospitalDischargeReportA - Hospital Discharge Report (eHN)

Resources that this resource uses

No resources found


Narrative

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

Generated Narrative: StructureDefinition InPatientEncounter

NameFlagsCard.TypeDescription & Constraintsdoco
.. InPatientEncounter 0..*BaseA.2.3 - Encounter (eHN)
... type 1..1CodeableConceptA.2.3.1 - Encounter type
... note 0..1stringA.2.3.2 - Encounter note
... admission 1..1BaseA.2.3.3 - Admission
.... urgency 0..1CodeableConceptA.2.3.3.1 - Admission urgency
.... date 1..1dateTimeA.2.3.3.2 - Admission date
.... admitter 0..1BaseAdmitting professional
..... identifier 0..1IdentifierA.2.3.3.3 - Admitting professional ID
..... name 0..1HumanNameA.2.3.3.4 - Admitting professional name
..... organizationID 0..1IdentifierA.2.3.3.5 - Admitting organisation ID
..... organization 0..1BaseA.2.3.3.6 - Admitting organisation
.... source 0..1CodeableConceptA.2.3.3.7 - Admit Source
.... referringHP 0..1BaseReferring professional
..... identifier 0..1IdentifierA.2.3.3.8 - Referring professional ID
..... name 0..1HumanNameA.2.3.3.9 - Referring professional name
..... organizationID 0..1IdentifierA.2.3.3.10 - Referring organisation ID
..... organization 0..1BaseA.2.3.3.11 - Referring organisation
... admissionReason 1..1BaseA.2.3.4 - Admission reason
.... code 0..*CodeableConceptA.2.3.4.1 - Admission reason
.... comment 0..1stringA.2.3.4.2 - Admission reason comment
.... legalStatus 0..1CodeableConceptA.2.3.4.3 - Admission legal status
... discharge 1..1BaseA.2.3.5 - Discharge
.... date 1..1dateTimeA.2.3.5.1 - Discharge date
.... destinationType 0..1CodeableConceptA.2.3.5.2 - Discharge destination type
.... destinationLocation 0..1CodeableConceptA.2.3.5.3 - Destination location
... location 0..*BaseA.2.3.6 - Location - All locations/departments where the patient stayed (was boarded) within the hospital.
.... period 1..1PeriodA.2.3.6.1 - Period
.... organization 1..1BaseOrganization
..... identifier 0..1IdentifierA.2.3.6.2 - Organisation Part ID
..... name 1..1stringA.2.3.6.3 - Organisation Part Name
..... details 0..1BaseA.2.3.6.4 - Organisation Part Details

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "InPatientEncounter",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://hl7.eu/fhir/hdr/StructureDefinition/InPatientEncounter",
  "version": "0.1.0-ballot",
  "name": "EncounterEhn",
  "title": "A.2.3 - Encounter (eHN)",
  "status": "draft",
  "date": "2025-06-01T06:10:09+00:00",
  "publisher": "HL7 Europe",
  "contact": [
    {
      "name": "HL7 Europe",
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.eu"
        }
      ]
    }
  ],
  "description": "Hospital Discharge Report - Encounter - A.2.3 eHN",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "150",
          "display": "Europe"
        }
      ]
    }
  ],
  "copyright": "Used by permission of HL7 Europe, all rights reserved Creative Commons License",
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.eu/fhir/hdr/StructureDefinition/InPatientEncounter",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "InPatientEncounter",
        "path": "InPatientEncounter",
        "short": "A.2.3 - Encounter (eHN)",
        "definition": "Hospital Discharge Report - Encounter - A.2.3 eHN",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "InPatientEncounter.type",
        "path": "InPatientEncounter.type",
        "short": "A.2.3.1 - Encounter type",
        "definition": "The type of the encounter whether inpatient or short stay encounter.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.note",
        "path": "InPatientEncounter.note",
        "short": "A.2.3.2 - Encounter note",
        "definition": "A narrative description of the encounter course.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.note",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission",
        "path": "InPatientEncounter.admission",
        "short": "A.2.3.3 - Admission",
        "definition": "Admission",
        "min": 1,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.urgency",
        "path": "InPatientEncounter.admission.urgency",
        "short": "A.2.3.3.1 - Admission urgency",
        "definition": "Admission type, either emergency or planned",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.urgency",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.date",
        "path": "InPatientEncounter.admission.date",
        "short": "A.2.3.3.2 - Admission date",
        "definition": "Admission date and time.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.date",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.admitter",
        "path": "InPatientEncounter.admission.admitter",
        "short": "Admitting professional",
        "definition": "Admitting Healthcare Professional",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.admitter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.admitter.identifier",
        "path": "InPatientEncounter.admission.admitter.identifier",
        "short": "A.2.3.3.3 - Admitting professional ID",
        "definition": "The health professional identification number. Either an internal identifier assigned by a healthcare provider institution or (preferably) a national health professional ID such as the licence or registration number.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.admitter.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.admitter.name",
        "path": "InPatientEncounter.admission.admitter.name",
        "short": "A.2.3.3.4 - Admitting professional name",
        "definition": "Person name [the structure of the name will be the same as for the patient (given name, family name / surname)].",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.admitter.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "HumanName"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.admitter.organizationID",
        "path": "InPatientEncounter.admission.admitter.organizationID",
        "short": "A.2.3.3.5 - Admitting organisation ID",
        "definition": "The healthcare provider organisation identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.admitter.organizationID",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.admitter.organization",
        "path": "InPatientEncounter.admission.admitter.organization",
        "short": "A.2.3.3.6 - Admitting organisation",
        "definition": "The healthcare provider organisation information.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.admitter.organization",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.source",
        "path": "InPatientEncounter.admission.source",
        "short": "A.2.3.3.7 - Admit Source",
        "definition": "From where the patient was admitted (e.g. physician referral, transfer).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.source",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.referringHP",
        "path": "InPatientEncounter.admission.referringHP",
        "short": "Referring professional",
        "definition": "Referring Healthcare Professional",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.referringHP",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.referringHP.identifier",
        "path": "InPatientEncounter.admission.referringHP.identifier",
        "short": "A.2.3.3.8 - Referring professional ID",
        "definition": "The health professional identification number. Either an internal identifier assigned by a healthcare provider institution or (preferably) a national health professional ID such as the licence or registration number.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.referringHP.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.referringHP.name",
        "path": "InPatientEncounter.admission.referringHP.name",
        "short": "A.2.3.3.9 - Referring professional name",
        "definition": "Person name [the structure of the name will be the same as for the patient (given name, family name / surname)].",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.referringHP.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "HumanName"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.referringHP.organizationID",
        "path": "InPatientEncounter.admission.referringHP.organizationID",
        "short": "A.2.3.3.10 - Referring organisation ID",
        "definition": "The healthcare provider organisation identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.referringHP.organizationID",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.referringHP.organization",
        "path": "InPatientEncounter.admission.referringHP.organization",
        "short": "A.2.3.3.11 - Referring organisation",
        "definition": "The healthcare provider organisation information.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admission.referringHP.organization",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admissionReason",
        "path": "InPatientEncounter.admissionReason",
        "short": "A.2.3.4 - Admission reason",
        "definition": "Admission reason",
        "min": 1,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admissionReason",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admissionReason.code",
        "path": "InPatientEncounter.admissionReason.code",
        "short": "A.2.3.4.1 - Admission reason",
        "definition": "Reason or reasons for admission, e.g. Problem, procedure or finding.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "InPatientEncounter.admissionReason.code",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admissionReason.comment",
        "path": "InPatientEncounter.admissionReason.comment",
        "short": "A.2.3.4.2 - Admission reason comment",
        "definition": "Explanation of the reason for the encounter.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admissionReason.comment",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admissionReason.legalStatus",
        "path": "InPatientEncounter.admissionReason.legalStatus",
        "short": "A.2.3.4.3 - Admission legal status",
        "definition": "Legal status/situation at admission. The legal status indicates the basis on which the patient is staying in a healthcare organisation. This can be either voluntary or involuntary, however the legal status is always determined by a court. A patient can also receive healthcare based on a forensic status. (voluntary, involuntary, admission by legal authority).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.admissionReason.legalStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.discharge",
        "path": "InPatientEncounter.discharge",
        "short": "A.2.3.5 - Discharge",
        "definition": "Discharge",
        "min": 1,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.discharge",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.discharge.date",
        "path": "InPatientEncounter.discharge.date",
        "short": "A.2.3.5.1 - Discharge date",
        "definition": "Discharge date and time",
        "min": 1,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.discharge.date",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "InPatientEncounter.discharge.destinationType",
        "path": "InPatientEncounter.discharge.destinationType",
        "short": "A.2.3.5.2 - Discharge destination type",
        "definition": "Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.discharge.destinationType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.discharge.destinationLocation",
        "path": "InPatientEncounter.discharge.destinationLocation",
        "short": "A.2.3.5.3 - Destination location",
        "definition": "The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.discharge.destinationLocation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.location",
        "path": "InPatientEncounter.location",
        "short": "A.2.3.6 - Location - All locations/departments where the patient stayed (was boarded) within the hospital.",
        "definition": "Location - All locations/departments where the patient stayed (was boarded) within the hospital.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "InPatientEncounter.location",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.location.period",
        "path": "InPatientEncounter.location.period",
        "short": "A.2.3.6.1 - Period",
        "definition": "Time period during which the patient was present at the location",
        "min": 1,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.location.period",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "InPatientEncounter.location.organization",
        "path": "InPatientEncounter.location.organization",
        "short": "Organization",
        "definition": "Organization or organization part (hospital department) where the patient was present.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.location.organization",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.location.organization.identifier",
        "path": "InPatientEncounter.location.organization.identifier",
        "short": "A.2.3.6.2 - Organisation Part ID",
        "definition": "The organisation’s part identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.location.organization.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "InPatientEncounter.location.organization.name",
        "path": "InPatientEncounter.location.organization.name",
        "short": "A.2.3.6.3 - Organisation Part Name",
        "definition": "Full name of the organisation part, e.g. Name of the department",
        "min": 1,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.location.organization.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "InPatientEncounter.location.organization.details",
        "path": "InPatientEncounter.location.organization.details",
        "short": "A.2.3.6.4 - Organisation Part Details",
        "definition": "Address, contact names and contact details, specialty of the organisation part.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InPatientEncounter.location.organization.details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "InPatientEncounter",
        "path": "InPatientEncounter",
        "short": "A.2.3 - Encounter (eHN)",
        "definition": "Hospital Discharge Report - Encounter - A.2.3 eHN"
      },
      {
        "id": "InPatientEncounter.type",
        "path": "InPatientEncounter.type",
        "short": "A.2.3.1 - Encounter type",
        "definition": "The type of the encounter whether inpatient or short stay encounter.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.note",
        "path": "InPatientEncounter.note",
        "short": "A.2.3.2 - Encounter note",
        "definition": "A narrative description of the encounter course.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission",
        "path": "InPatientEncounter.admission",
        "short": "A.2.3.3 - Admission",
        "definition": "Admission",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.urgency",
        "path": "InPatientEncounter.admission.urgency",
        "short": "A.2.3.3.1 - Admission urgency",
        "definition": "Admission type, either emergency or planned",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.date",
        "path": "InPatientEncounter.admission.date",
        "short": "A.2.3.3.2 - Admission date",
        "definition": "Admission date and time.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.admitter",
        "path": "InPatientEncounter.admission.admitter",
        "short": "Admitting professional",
        "definition": "Admitting Healthcare Professional",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.admitter.identifier",
        "path": "InPatientEncounter.admission.admitter.identifier",
        "short": "A.2.3.3.3 - Admitting professional ID",
        "definition": "The health professional identification number. Either an internal identifier assigned by a healthcare provider institution or (preferably) a national health professional ID such as the licence or registration number.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.admitter.name",
        "path": "InPatientEncounter.admission.admitter.name",
        "short": "A.2.3.3.4 - Admitting professional name",
        "definition": "Person name [the structure of the name will be the same as for the patient (given name, family name / surname)].",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "HumanName"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.admitter.organizationID",
        "path": "InPatientEncounter.admission.admitter.organizationID",
        "short": "A.2.3.3.5 - Admitting organisation ID",
        "definition": "The healthcare provider organisation identifier.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.admitter.organization",
        "path": "InPatientEncounter.admission.admitter.organization",
        "short": "A.2.3.3.6 - Admitting organisation",
        "definition": "The healthcare provider organisation information.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.source",
        "path": "InPatientEncounter.admission.source",
        "short": "A.2.3.3.7 - Admit Source",
        "definition": "From where the patient was admitted (e.g. physician referral, transfer).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.referringHP",
        "path": "InPatientEncounter.admission.referringHP",
        "short": "Referring professional",
        "definition": "Referring Healthcare Professional",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.referringHP.identifier",
        "path": "InPatientEncounter.admission.referringHP.identifier",
        "short": "A.2.3.3.8 - Referring professional ID",
        "definition": "The health professional identification number. Either an internal identifier assigned by a healthcare provider institution or (preferably) a national health professional ID such as the licence or registration number.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.referringHP.name",
        "path": "InPatientEncounter.admission.referringHP.name",
        "short": "A.2.3.3.9 - Referring professional name",
        "definition": "Person name [the structure of the name will be the same as for the patient (given name, family name / surname)].",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "HumanName"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.referringHP.organizationID",
        "path": "InPatientEncounter.admission.referringHP.organizationID",
        "short": "A.2.3.3.10 - Referring organisation ID",
        "definition": "The healthcare provider organisation identifier.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admission.referringHP.organization",
        "path": "InPatientEncounter.admission.referringHP.organization",
        "short": "A.2.3.3.11 - Referring organisation",
        "definition": "The healthcare provider organisation information.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admissionReason",
        "path": "InPatientEncounter.admissionReason",
        "short": "A.2.3.4 - Admission reason",
        "definition": "Admission reason",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admissionReason.code",
        "path": "InPatientEncounter.admissionReason.code",
        "short": "A.2.3.4.1 - Admission reason",
        "definition": "Reason or reasons for admission, e.g. Problem, procedure or finding.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admissionReason.comment",
        "path": "InPatientEncounter.admissionReason.comment",
        "short": "A.2.3.4.2 - Admission reason comment",
        "definition": "Explanation of the reason for the encounter.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "InPatientEncounter.admissionReason.legalStatus",
        "path": "InPatientEncounter.admissionReason.legalStatus",
        "short": "A.2.3.4.3 - Admission legal status",
        "definition": "Legal status/situation at admission. The legal status indicates the basis on which the patient is staying in a healthcare organisation. This can be either voluntary or involuntary, however the legal status is always determined by a court. A patient can also receive healthcare based on a forensic status. (voluntary, involuntary, admission by legal authority).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.discharge",
        "path": "InPatientEncounter.discharge",
        "short": "A.2.3.5 - Discharge",
        "definition": "Discharge",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.discharge.date",
        "path": "InPatientEncounter.discharge.date",
        "short": "A.2.3.5.1 - Discharge date",
        "definition": "Discharge date and time",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "InPatientEncounter.discharge.destinationType",
        "path": "InPatientEncounter.discharge.destinationType",
        "short": "A.2.3.5.2 - Discharge destination type",
        "definition": "Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.discharge.destinationLocation",
        "path": "InPatientEncounter.discharge.destinationLocation",
        "short": "A.2.3.5.3 - Destination location",
        "definition": "The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "InPatientEncounter.location",
        "path": "InPatientEncounter.location",
        "short": "A.2.3.6 - Location - All locations/departments where the patient stayed (was boarded) within the hospital.",
        "definition": "Location - All locations/departments where the patient stayed (was boarded) within the hospital.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.location.period",
        "path": "InPatientEncounter.location.period",
        "short": "A.2.3.6.1 - Period",
        "definition": "Time period during which the patient was present at the location",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "InPatientEncounter.location.organization",
        "path": "InPatientEncounter.location.organization",
        "short": "Organization",
        "definition": "Organization or organization part (hospital department) where the patient was present.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "InPatientEncounter.location.organization.identifier",
        "path": "InPatientEncounter.location.organization.identifier",
        "short": "A.2.3.6.2 - Organisation Part ID",
        "definition": "The organisation’s part identifier.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "InPatientEncounter.location.organization.name",
        "path": "InPatientEncounter.location.organization.name",
        "short": "A.2.3.6.3 - Organisation Part Name",
        "definition": "Full name of the organisation part, e.g. Name of the department",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "InPatientEncounter.location.organization.details",
        "path": "InPatientEncounter.location.organization.details",
        "short": "A.2.3.6.4 - Organisation Part Details",
        "definition": "Address, contact names and contact details, specialty of the organisation part.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      }
    ]
  }
}