DK MedCom HospitalNotification
3.0.0 - Release
This page is part of the DK MedCom HospitalNotification (v3.0.0: Release) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Official URL: http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter | Version: 3.0.0 | |||
Active as of 2023-01-05 | Computable Name: MedComHospitalNotificationEncounter |
Encounter derivation that handles hospital notification when a patient is admitted to a hospital. The hospital notification is always send from a hospital. The receiver of the message is the patients home municipalicy. The hospital notification is send for example when patient is admitted, on leave, returned from leave, finished hospital stay.
This profile is used as the Encounter resource for the HospitalNotification message. The HospitalNotificationEncounter inherits from the MedComCoreEncounter. Besides the references shown on the figure below, the MedComHospitalNotificationEncounter contains an episode of care identifier, a status describing the status of the encounter e.g., if the patient is onleave and the class of the admission, which can be either inpatient or emergency. Both status and class shall be included in all messages and depending on the status of the encounter, the status and class shall be assigned to different codes. Here you the find the combination of codes.
The HospitalNotification message is sent without patient consent, why only a limited data set is allowed to transmit due to Danish legislation. For this reason, is the HospitalNotificationEncounter profile quite narrow. More information about the legal aspects can be found here.
The figure below shows the references from a MedComHospitalNotificationEncounter.
Please refer to the tab “Snapshot Table(Must support)” below for the definition of the required content of a MedComHospitalNotificationEncounter.
The element Encounter.serviceProvider describes the organization or hospital department in charge of the patient’s admission. The element references a MedComMessagingOrganization or MedComCoreOrganization, since MedComMessaigingOrganization inherits properties from MedComCoreOrganization.
The sender of a HospitalNotification (MessageHeader.sender) and the serviceProvider (Encounter.serviceProvider) may be the same hospital department, hence be represented referencing the same instance of a Organization resource, which shall be a MedComMessagingOrganization. However, the sender organisation may be a higher-level department (in the SOR register) than the serviceProvider organisation, and in this case they shall be represented referencing two different instances of a Organization resource.
An example of different serviceProvider and sender organisation can be found here. Other examples will have the same organisation as serviceProvider and sender.
The Encounter profile contains four timestamps each representing a different time during a hospitalisation. Common for the four timestamps is that they represent the time of the event, e.g. the patient’s physical attendance at the hospital (Encounter.period.start) or a patient going on leave from the hospital (Encounter.extension:leavePeriod.start).
FHIR-element | Description | Event | See Encounter example |
---|---|---|---|
Encounter.period.start | Start hospital stay, i.e. the actual beginning of the meeting between the health care professional and patient | Patient’s physical attendance at the hospital | HospitalNotification Encounter - STIN and HospitalNotification Encounter - STAA |
Encounter.period.end | End hospital stay, i.e. the actual end of the meeting between the health care professional and patient | Patient leaves the hospital after discharge or when a patient dies (on arrival or during hospital stay) | HospitalNotification Encounter - SLHJ (inpatient) and HospitalNotification Encounter - MORS (inpatient) |
Encounter.extension:leavePeriod.start | Patient starts leave, i.e. the actual beginning of a leave-period | Patient leaves the hospital to go on leave. | HospitalNotification Encounter - STOR |
Encounter.extension:leavePeriod.end | Patient ends leave, i.e. the actual end of a leave-period | Patient’s physical attendance at the hospital after a period of leave | HospitalNotification Encounter - SLOR |
As described above, the timestamp of start and end of hospital stay are included in the elements Encounter.period.start and Encounter.period.end, respectively. Encounter.period.start shall always be present, also when sending a HospitalNotification describing a period of leave or end or hospital stay.
In cases where a patient is transferred to a hospital in the same region or in another region, or a hospitalisation changes from ‘acute ambulant’ to ‘inpatient’, a new start hospital stay HospitalNotification shall be sent. These three cases shall result in a new instance of the Encounter profile which has a new Encounter.period.start representing the time of the change in the hospitalisation. All cases are described in the Clinical guidelines for application.
To express the timestamps for a period of leave, the MedComHospitalNotificationLeavePeriodExtension shall be used.
When a patient goes on leave the Encounter.extension:leavePeriod.start shall be used, and when the patient returns from leave both Encounter.extension:leavePeriod.start and Encounter.extension:leavePeriod.end shall be present.
The cardinality of MedComHospitalNotificationLeavePeriodExtension is 0..1 meaning that only one period of leave can be included in a HospitalNotification to avoid confusion about which period of leave is the current. In case a patient goes on leave several times during the same hospitalisation, the period shall be described in separate HospitalNotifications, that are being sent when each period of leave occurs.
When a patient dies either on arrival or during hospital stay, the timestamp Encounter.period.end represents the time the encounter ended i.e the time of death. The Encounter.period.start shall also be populated. If a patient dies on arrival Encounter.period.start shall be equal to Encounter.period.end, and if the patient dies during hospital stay Encounter.period.start shall represent the actual beginning of the hospital stay. A HospitalNotification can only be interpreted as describing a deceased patient when the element Patient.deaceased = ‘true’.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from MedComCoreEncounter
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | C | 0..* | MedComCoreEncounter | An interaction during which services are provided to the patient medcom-hospitalNotification-6: When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present. |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | SΣ | 0..1 | Period | MedComHospitalNotificationLeavePeriodExtension URL: http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension |
![]() ![]() ![]() | 1..1 | code | in-progress | onleave | finished | entered-in-error Binding: MedComHospitalNotificationEncounterStatusCodes (required) | |
![]() ![]() ![]() | 1..1 | Coding | inpatient | emergency | other Binding: MedComHospitalNotificationEncounterClassCodes (required) | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 1..1 | Identifier | Logical reference, when literal reference is not known | |
![]() ![]() ![]() | 0..1 | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | SΣ | 1..1 | Lpr3Identifier | An identifier intended for computation |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | S | 1..1 | Period | The start and end time of the encounter |
![]() ![]() ![]() ![]() | S | 1..1 | dateTime | Encounter start time. |
![]() ![]() ![]() ![]() | S | 0..1 | dateTime | Encounter end time. |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | Reference(Account) | ||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | Reference(MedComCoreOrganization) {b} | The organization (facility) responsible for this encounter | |
![]() ![]() ![]() | 0..0 | |||
![]() |
Path | Conformance | ValueSet |
Encounter.status | required | MedComHospitalNotificationEncounterStatus |
Encounter.class | required | MedComHospitalNotificationEncounterClass |
Id | Grade | Path(s) | Details | Requirements |
medcom-hospitalNotification-6 | error | Encounter | When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present. : where(status = 'onleave').extension.value.start.exists() or status != 'onleave' |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | C | 0..* | MedComCoreEncounter | An interaction during which services are provided to the patient medcom-hospitalNotification-6: When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present. |
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | SΣ | 0..1 | Period | MedComHospitalNotificationLeavePeriodExtension URL: http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | ?!SΣ | 1..1 | code | in-progress | onleave | finished | entered-in-error Binding: MedComHospitalNotificationEncounterStatusCodes (required) |
![]() ![]() ![]() | SΣ | 1..1 | Coding | inpatient | emergency | other Binding: MedComHospitalNotificationEncounterClassCodes (required) |
![]() ![]() ![]() | SΣ | 1..1 | Reference(MedComCorePatient) {b} | The patient or group present at the encounter |
![]() ![]() ![]() | SΣ | 1..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against Slice: Unordered, Open by value:identifier.system |
![]() ![]() ![]() ![]() | Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() | SΣ | 0..1 | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against |
![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | Lpr3Identifier | An identifier intended for computation |
![]() ![]() ![]() | S | 1..1 | Period | The start and end time of the encounter |
![]() ![]() ![]() ![]() | SΣC | 1..1 | dateTime | Encounter start time. |
![]() ![]() ![]() ![]() | SΣC | 0..1 | dateTime | Encounter end time. |
![]() ![]() ![]() | S | 1..1 | Reference(MedComCoreOrganization) {b} | The organization (facility) responsible for this encounter |
![]() |
Path | Conformance | ValueSet |
Encounter.status | required | MedComHospitalNotificationEncounterStatus |
Encounter.class | required | MedComHospitalNotificationEncounterClass |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Encounter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Encounter | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Encounter | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
medcom-hospitalNotification-6 | error | Encounter | When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present. : where(status = 'onleave').extension.value.start.exists() or status != 'onleave' |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | C | 0..* | MedComCoreEncounter | An interaction during which services are provided to the patient medcom-hospitalNotification-6: When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present. | ||||
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() | Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() | SΣ | 0..1 | Period | MedComHospitalNotificationLeavePeriodExtension URL: http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension | ||||
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() | Σ | 0..* | Identifier | Identifier(s) by which this encounter is known | ||||
![]() ![]() ![]() | ?!SΣ | 1..1 | code | in-progress | onleave | finished | entered-in-error Binding: MedComHospitalNotificationEncounterStatusCodes (required) | ||||
![]() ![]() ![]() | 0..* | BackboneElement | List of past encounter statuses | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required): Current state of the encounter. | |||||
![]() ![]() ![]() ![]() | 1..1 | Period | The time that the episode was in the specified status | |||||
![]() ![]() ![]() | SΣ | 1..1 | Coding | inpatient | emergency | other Binding: MedComHospitalNotificationEncounterClassCodes (required) | ||||
![]() ![]() ![]() | 0..* | BackboneElement | List of past encounter classes | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: ActEncounterCode (extensible): Classification of the encounter. | |||||
![]() ![]() ![]() ![]() | 1..1 | Period | The time that the episode was in the specified class | |||||
![]() ![]() ![]() | SΣ | 1..1 | Reference(MedComCorePatient) {b} | The patient or group present at the encounter | ||||
![]() ![]() ![]() | SΣ | 1..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against Slice: Unordered, Open by value:identifier.system | ||||
![]() ![]() ![]() ![]() | Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() ![]() | SΣ | 0..1 | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | Lpr3Identifier | An identifier intended for computation | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() | S | 1..1 | Period | The start and end time of the encounter | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | SΣC | 1..1 | dateTime | Encounter start time. | ||||
![]() ![]() ![]() ![]() | SΣC | 0..1 | dateTime | Encounter end time. | ||||
![]() ![]() ![]() | S | 1..1 | Reference(MedComCoreOrganization) {b} | The organization (facility) responsible for this encounter | ||||
![]() |
Path | Conformance | ValueSet | ||||
Encounter.language | preferred | CommonLanguages
| ||||
Encounter.status | required | MedComHospitalNotificationEncounterStatus | ||||
Encounter.statusHistory.status | required | EncounterStatus | ||||
Encounter.class | required | MedComHospitalNotificationEncounterClass | ||||
Encounter.classHistory.class | extensible | ActEncounterCode | ||||
Encounter.episodeOfCare.type | extensible | ResourceType | ||||
Encounter.episodeOfCare:lpr3identifier.type | extensible | ResourceType | ||||
Encounter.participant.type | extensible | ParticipantType | ||||
Encounter.diagnosis.use | preferred | DiagnosisRole | ||||
Encounter.hospitalization.admitSource | preferred | AdmitSource | ||||
Encounter.hospitalization.reAdmission | example | Hl7VSReAdmissionIndicator | ||||
Encounter.hospitalization.dietPreference | example | Diet | ||||
Encounter.hospitalization.specialCourtesy | preferred | SpecialCourtesy | ||||
Encounter.hospitalization.specialArrangement | preferred | SpecialArrangements | ||||
Encounter.hospitalization.dischargeDisposition | example | DischargeDisposition | ||||
Encounter.location.status | required | EncounterLocationStatus | ||||
Encounter.location.physicalType | example | LocationType |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from MedComCoreEncounter
Differential View
This structure is derived from MedComCoreEncounter
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | C | 0..* | MedComCoreEncounter | An interaction during which services are provided to the patient medcom-hospitalNotification-6: When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present. |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | SΣ | 0..1 | Period | MedComHospitalNotificationLeavePeriodExtension URL: http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension |
![]() ![]() ![]() | 1..1 | code | in-progress | onleave | finished | entered-in-error Binding: MedComHospitalNotificationEncounterStatusCodes (required) | |
![]() ![]() ![]() | 1..1 | Coding | inpatient | emergency | other Binding: MedComHospitalNotificationEncounterClassCodes (required) | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 1..1 | Identifier | Logical reference, when literal reference is not known | |
![]() ![]() ![]() | 0..1 | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | SΣ | 1..1 | Lpr3Identifier | An identifier intended for computation |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | S | 1..1 | Period | The start and end time of the encounter |
![]() ![]() ![]() ![]() | S | 1..1 | dateTime | Encounter start time. |
![]() ![]() ![]() ![]() | S | 0..1 | dateTime | Encounter end time. |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | Reference(Account) | ||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | Reference(MedComCoreOrganization) {b} | The organization (facility) responsible for this encounter | |
![]() ![]() ![]() | 0..0 | |||
![]() |
Path | Conformance | ValueSet |
Encounter.status | required | MedComHospitalNotificationEncounterStatus |
Encounter.class | required | MedComHospitalNotificationEncounterClass |
Id | Grade | Path(s) | Details | Requirements |
medcom-hospitalNotification-6 | error | Encounter | When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present. : where(status = 'onleave').extension.value.start.exists() or status != 'onleave' |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | C | 0..* | MedComCoreEncounter | An interaction during which services are provided to the patient medcom-hospitalNotification-6: When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present. |
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | SΣ | 0..1 | Period | MedComHospitalNotificationLeavePeriodExtension URL: http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | ?!SΣ | 1..1 | code | in-progress | onleave | finished | entered-in-error Binding: MedComHospitalNotificationEncounterStatusCodes (required) |
![]() ![]() ![]() | SΣ | 1..1 | Coding | inpatient | emergency | other Binding: MedComHospitalNotificationEncounterClassCodes (required) |
![]() ![]() ![]() | SΣ | 1..1 | Reference(MedComCorePatient) {b} | The patient or group present at the encounter |
![]() ![]() ![]() | SΣ | 1..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against Slice: Unordered, Open by value:identifier.system |
![]() ![]() ![]() ![]() | Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() | SΣ | 0..1 | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against |
![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | Lpr3Identifier | An identifier intended for computation |
![]() ![]() ![]() | S | 1..1 | Period | The start and end time of the encounter |
![]() ![]() ![]() ![]() | SΣC | 1..1 | dateTime | Encounter start time. |
![]() ![]() ![]() ![]() | SΣC | 0..1 | dateTime | Encounter end time. |
![]() ![]() ![]() | S | 1..1 | Reference(MedComCoreOrganization) {b} | The organization (facility) responsible for this encounter |
![]() |
Path | Conformance | ValueSet |
Encounter.status | required | MedComHospitalNotificationEncounterStatus |
Encounter.class | required | MedComHospitalNotificationEncounterClass |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Encounter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Encounter | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Encounter | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
medcom-hospitalNotification-6 | error | Encounter | When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present. : where(status = 'onleave').extension.value.start.exists() or status != 'onleave' |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | C | 0..* | MedComCoreEncounter | An interaction during which services are provided to the patient medcom-hospitalNotification-6: When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present. | ||||
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() | Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() | SΣ | 0..1 | Period | MedComHospitalNotificationLeavePeriodExtension URL: http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension | ||||
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() | Σ | 0..* | Identifier | Identifier(s) by which this encounter is known | ||||
![]() ![]() ![]() | ?!SΣ | 1..1 | code | in-progress | onleave | finished | entered-in-error Binding: MedComHospitalNotificationEncounterStatusCodes (required) | ||||
![]() ![]() ![]() | 0..* | BackboneElement | List of past encounter statuses | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required): Current state of the encounter. | |||||
![]() ![]() ![]() ![]() | 1..1 | Period | The time that the episode was in the specified status | |||||
![]() ![]() ![]() | SΣ | 1..1 | Coding | inpatient | emergency | other Binding: MedComHospitalNotificationEncounterClassCodes (required) | ||||
![]() ![]() ![]() | 0..* | BackboneElement | List of past encounter classes | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: ActEncounterCode (extensible): Classification of the encounter. | |||||
![]() ![]() ![]() ![]() | 1..1 | Period | The time that the episode was in the specified class | |||||
![]() ![]() ![]() | SΣ | 1..1 | Reference(MedComCorePatient) {b} | The patient or group present at the encounter | ||||
![]() ![]() ![]() | SΣ | 1..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against Slice: Unordered, Open by value:identifier.system | ||||
![]() ![]() ![]() ![]() | Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() ![]() | SΣ | 0..1 | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | Lpr3Identifier | An identifier intended for computation | ||||
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() | S | 1..1 | Period | The start and end time of the encounter | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | SΣC | 1..1 | dateTime | Encounter start time. | ||||
![]() ![]() ![]() ![]() | SΣC | 0..1 | dateTime | Encounter end time. | ||||
![]() ![]() ![]() | S | 1..1 | Reference(MedComCoreOrganization) {b} | The organization (facility) responsible for this encounter | ||||
![]() |
Path | Conformance | ValueSet | ||||
Encounter.language | preferred | CommonLanguages
| ||||
Encounter.status | required | MedComHospitalNotificationEncounterStatus | ||||
Encounter.statusHistory.status | required | EncounterStatus | ||||
Encounter.class | required | MedComHospitalNotificationEncounterClass | ||||
Encounter.classHistory.class | extensible | ActEncounterCode | ||||
Encounter.episodeOfCare.type | extensible | ResourceType | ||||
Encounter.episodeOfCare:lpr3identifier.type | extensible | ResourceType | ||||
Encounter.participant.type | extensible | ParticipantType | ||||
Encounter.diagnosis.use | preferred | DiagnosisRole | ||||
Encounter.hospitalization.admitSource | preferred | AdmitSource | ||||
Encounter.hospitalization.reAdmission | example | Hl7VSReAdmissionIndicator | ||||
Encounter.hospitalization.dietPreference | example | Diet | ||||
Encounter.hospitalization.specialCourtesy | preferred | SpecialCourtesy | ||||
Encounter.hospitalization.specialArrangement | preferred | SpecialArrangements | ||||
Encounter.hospitalization.dischargeDisposition | example | DischargeDisposition | ||||
Encounter.location.status | required | EncounterLocationStatus | ||||
Encounter.location.physicalType | example | LocationType |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from MedComCoreEncounter
Other representations of profile: CSV, Excel, Schematron