Encounters and cohort selection
Querying encounters is the basis for cohort selection for ICU discharge models. Both historic and live encounters can be queried, the former for extracting a batch of data for model training and the latter for generating predictions for relevant patients that are currently in the ICU.
Profile on encounter: zib2020_based_icu_encounter
For the impelementation of Pacmed Critical, a specific profile on the encounter resource should be used (zib2020_based_icu_encounter).
Relevant points in this profile
- This profile is designed to contain only encounters of class
inpatient encounter
. - Start and end of hospitalizations should be represented by
encounter.period.start
andencounter.period.end
- The encounter should contain one or more instances of the
location
element- One of these locations should reflect an ICU department
- The locations should have a start and end timestamp, where the end timestamp of the previous location should coincide with the start timestamp of the following location
- Surgical procedures (operating room stay) is not modeled as a location under the encounter resource, but separately under the procedure resource
- the start of the first location should coincide with the
encounter.period.start
. The end of the last location should coincide with theencounter.period.end
.
- The specialty of the main responsible physician should be represented under
encounter.participant.individual.display
(preferred valueset: https://simplifier.net/pacmed-critical-fhir-profiles/icu_specialty_valueset) - Hospital admission source and hosptial discharge destination should be represented under
encounter.hospitalization.admitSource
andencounter.hospitalization.dischargeDisposition
with required or extensible value sets, respectively.
ZIB2020_based_ICU_encounter (Encounter) | I | ZibEncounter | |
id | Σ | 1..1 | string |
meta | Σ | 0..1 | Meta |
implicitRules | Σ ?! | 0..1 | uri |
language | 0..1 | codeBinding | |
text | 0..1 | Narrative | |
contained | 0..* | Resource | |
extension | I | 0..* | Extension |
modifierExtension | ?! I | 0..* | Extension |
identifier | Σ | 0..* | Identifier |
status | Σ ?! | 1..1 | codeBinding |
statusHistory | 0..* | BackboneElement | |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
status | 1..1 | codeBinding | |
period | I | 1..1 | Period |
class | Σ | 1..1 | CodingBindingFixed Value |
classHistory | 0..* | BackboneElement | |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
class | 1..1 | CodingBinding | |
period | I | 1..1 | Period |
type | Σ | 0..* | CodeableConcept |
serviceType | Σ | 0..1 | CodeableConcept |
priority | 0..1 | CodeableConcept | |
subject | Σ I | 1..1 | Reference(Patient | Group) |
episodeOfCare | Σ I | 0..* | Reference(EpisodeOfCare) |
basedOn | I | 0..* | Reference(ServiceRequest) |
participant | Σ | 1..* | BackboneElement |
(All Slices) | |||
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
type | Σ | 0..* | CodeableConceptBinding |
period | I | 0..1 | Period |
individual | Σ I | 0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson) |
healthProfessional | Σ | 1..1 | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
type | Σ | 0..1 | CodeableConceptBindingFixed Value |
period | I | 1..1 | Period |
individual | Σ I | 1..1 | PatternZibHealthProfessionalReference(ZibHealthProfessionalPractitionerRole) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
display | Σ | 1..1 | stringBinding |
appointment | Σ I | 0..* | Reference(Appointment) |
period | I | 1..1 | Period |
id | 0..1 | string | |
extension | I | 0..* | Extension |
start | Σ I | 1..1 | dateTime |
end | Σ I | 1..1 | dateTime |
length | I | 0..1 | Duration |
reasonCode | Σ | 0..* | CodeableConceptBinding |
deviatingResult | Σ | 0..* | CodeableConceptBinding |
id | 0..1 | string | |
extension | I | 0..* | Extension |
commentContactReason | I | 0..1 | Extension(string) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
url | 1..1 | uriFixed Value | |
value[x] | 0..1 | ||
valueString | string | ||
coding | Σ | 0..0 | Coding |
text | Σ | 0..1 | string |
reasonReference | Σ I | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) |
(All Slices) | |||
id | 0..1 | string | |
extension | I | 0..* | Extension |
commentContactReason | I | 0..1 | Extension(string) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
url | 1..1 | uriFixed Value | |
value[x] | 0..1 | ||
valueString | string | ||
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
display | Σ | 0..1 | string |
problem | Σ I | 0..* | Reference(ZibProblem) |
procedure | Σ I | 0..* | Reference(ZibProcedureevent) |
diagnosis | Σ | 0..* | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
condition | Σ I | 1..1 | Reference(Condition | Procedure) |
use | 0..1 | CodeableConceptBinding | |
rank | 0..1 | positiveInt | |
account | I | 0..* | Reference(Account) |
hospitalization | 1..1 | BackboneElement | |
id | 1..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
preAdmissionIdentifier | 0..1 | Identifier | |
origin | I | 0..1 | Reference(Location | Organization) |
admitSource | 1..1 | CodeableConceptBinding | |
id | 0..1 | string | |
extension | I | 0..* | Extension |
coding | Σ | 1..* | CodingBinding |
text | Σ | 0..1 | string |
reAdmission | 0..1 | CodeableConcept | |
dietPreference | 0..* | CodeableConcept | |
specialCourtesy | 0..* | CodeableConceptBinding | |
specialArrangement | 0..* | CodeableConceptBinding | |
destination | I | 0..1 | Reference(Location | Organization) |
dischargeDisposition | 1..1 | CodeableConceptBinding | |
location | 0..1 | BackboneElement | |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
location | I | 1..1 | Reference(Location | ZibHealthcareProvider) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBindingFixed Value |
identifier | Σ | 0..1 | Identifier |
display | Σ | 1..1 | string |
status | 0..1 | codeBinding | |
physicalType | 1..1 | CodeableConceptBinding | |
period | I | 1..1 | Period |
serviceProvider | I | 0..1 | Reference(Organization) |
partOf | I | 0..1 | Reference(Encounter) |
ZIB2020_based_ICU_encounter (Encounter) | I | ZibEncounter | |
id | Σ | 1..1 | string |
meta | Σ | 0..1 | Meta |
implicitRules | Σ ?! | 0..1 | uri |
language | 0..1 | codeBinding | |
text | 0..1 | Narrative | |
contained | 0..* | Resource | |
extension | I | 0..* | Extension |
modifierExtension | ?! I | 0..* | Extension |
identifier | Σ | 0..* | Identifier |
status | Σ ?! | 1..1 | codeBinding |
statusHistory | 0..* | BackboneElement | |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
status | 1..1 | codeBinding | |
period | I | 1..1 | Period |
class | Σ | 1..1 | CodingBindingFixed Value |
classHistory | 0..* | BackboneElement | |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
class | 1..1 | CodingBinding | |
period | I | 1..1 | Period |
type | Σ | 0..* | CodeableConcept |
serviceType | Σ | 0..1 | CodeableConcept |
priority | 0..1 | CodeableConcept | |
subject | Σ I | 1..1 | Reference(Patient | Group) |
episodeOfCare | Σ I | 0..* | Reference(EpisodeOfCare) |
basedOn | I | 0..* | Reference(ServiceRequest) |
participant | Σ | 1..* | BackboneElement |
(All Slices) | |||
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
type | Σ | 0..* | CodeableConceptBinding |
period | I | 0..1 | Period |
individual | Σ I | 0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson) |
healthProfessional | Σ | 1..1 | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
type | Σ | 0..1 | CodeableConceptBindingFixed Value |
period | I | 1..1 | Period |
individual | Σ I | 1..1 | PatternZibHealthProfessionalReference(ZibHealthProfessionalPractitionerRole) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
display | Σ | 1..1 | stringBinding |
appointment | Σ I | 0..* | Reference(Appointment) |
period | I | 1..1 | Period |
id | 0..1 | string | |
extension | I | 0..* | Extension |
start | Σ I | 1..1 | dateTime |
end | Σ I | 1..1 | dateTime |
length | I | 0..1 | Duration |
reasonCode | Σ | 0..* | CodeableConceptBinding |
deviatingResult | Σ | 0..* | CodeableConceptBinding |
id | 0..1 | string | |
extension | I | 0..* | Extension |
commentContactReason | I | 0..1 | Extension(string) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
url | 1..1 | uriFixed Value | |
value[x] | 0..1 | ||
valueString | string | ||
coding | Σ | 0..0 | Coding |
text | Σ | 0..1 | string |
reasonReference | Σ I | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) |
(All Slices) | |||
id | 0..1 | string | |
extension | I | 0..* | Extension |
commentContactReason | I | 0..1 | Extension(string) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
url | 1..1 | uriFixed Value | |
value[x] | 0..1 | ||
valueString | string | ||
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
display | Σ | 0..1 | string |
problem | Σ I | 0..* | Reference(ZibProblem) |
procedure | Σ I | 0..* | Reference(ZibProcedureevent) |
diagnosis | Σ | 0..* | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
condition | Σ I | 1..1 | Reference(Condition | Procedure) |
use | 0..1 | CodeableConceptBinding | |
rank | 0..1 | positiveInt | |
account | I | 0..* | Reference(Account) |
hospitalization | 1..1 | BackboneElement | |
id | 1..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
preAdmissionIdentifier | 0..1 | Identifier | |
origin | I | 0..1 | Reference(Location | Organization) |
admitSource | 1..1 | CodeableConceptBinding | |
id | 0..1 | string | |
extension | I | 0..* | Extension |
coding | Σ | 1..* | CodingBinding |
text | Σ | 0..1 | string |
reAdmission | 0..1 | CodeableConcept | |
dietPreference | 0..* | CodeableConcept | |
specialCourtesy | 0..* | CodeableConceptBinding | |
specialArrangement | 0..* | CodeableConceptBinding | |
destination | I | 0..1 | Reference(Location | Organization) |
dischargeDisposition | 1..1 | CodeableConceptBinding | |
location | 0..1 | BackboneElement | |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
location | I | 1..1 | Reference(Location | ZibHealthcareProvider) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBindingFixed Value |
identifier | Σ | 0..1 | Identifier |
display | Σ | 1..1 | string |
status | 0..1 | codeBinding | |
physicalType | 1..1 | CodeableConceptBinding | |
period | I | 1..1 | Period |
serviceProvider | I | 0..1 | Reference(Organization) |
partOf | I | 0..1 | Reference(Encounter) |
Encounter | |
Definition | An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. |
Cardinality | 0...* |
Alias | Visit, Contact |
Invariants |
|
Mappings |
|
Encounter.id | |
Definition | The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. |
Cardinality | 1...1 |
Type | string |
Summary | True |
Comments | The only time that a resource does not have an id is when it is being submitted to the server using a create operation. |
Encounter.meta | |
Definition | The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource. |
Cardinality | 0...1 |
Type | Meta |
Summary | True |
Invariants |
|
Mappings |
|
Encounter.implicitRules | |
Definition | A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. |
Cardinality | 0...1 |
Type | uri |
Modifier | True |
Summary | True |
Comments | Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc. |
Invariants |
|
Mappings |
|
Encounter.language | |
Definition | The base language in which the resource is written. |
Cardinality | 0...1 |
Type | code |
Binding | A human language. |
Comments | Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute). |
Invariants |
|
Mappings |
|
Encounter.text | |
Definition | A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. |
Cardinality | 0...1 |
Type | Narrative |
Alias | narrative, html, xhtml, display |
Comments | Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later. |
Invariants |
|
Mappings |
|
Encounter.contained | |
Definition | These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. |
Cardinality | 0...* |
Type | Resource |
Alias | inline resources, anonymous resources, contained resources |
Comments | This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels. |
Mappings |
|
Encounter.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
Cardinality | 0...* |
Type | Extension |
Modifier | True |
Alias | extensions, user content |
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.identifier | |
Definition | Identifier(s) by which this encounter is known. |
Cardinality | 0...* |
Type | Identifier |
Summary | True |
Invariants |
|
Mappings |
|
Encounter.status | |
Definition | planned | arrived | triaged | in-progress | onleave | finished | cancelled +. |
Cardinality | 1...1 |
Type | code |
Binding | Current state of the encounter. |
Modifier | True |
Summary | True |
Comments | This element is implictly mapped to the zib concepts NL-CM:15.1.3 (StartDateTime) and NL-CM:15.1.4 (EndDateTime). Unless the status is explicitly recorded, the following guidance applies:
The unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the procedure. This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid. |
Invariants |
|
Mappings |
|
Encounter.statusHistory | |
Definition | The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them. |
Cardinality | 0...* |
Type | BackboneElement |
Comments | The current status is always found in the current version of the resource, not the status history. |
Invariants |
|
Mappings |
|
Encounter.statusHistory.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.statusHistory.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.statusHistory.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
Cardinality | 0...* |
Type | Extension |
Modifier | True |
Summary | True |
Alias | extensions, user content, modifiers |
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
Encounter.statusHistory.status | |
Definition | planned | arrived | triaged | in-progress | onleave | finished | cancelled +. |
Cardinality | 1...1 |
Type | code |
Binding | Current state of the encounter. |
Comments | Note that FHIR strings SHALL NOT exceed 1MB in size |
Invariants |
|
Mappings |
|
Encounter.statusHistory.period | |
Definition | The time that the episode was in the specified status. |
Cardinality | 1...1 |
Type | Period |
Comments | A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). Period is not used for a duration (a measure of elapsed time). See Duration. |
Invariants |
|
Mappings |
|
Encounter.class | |
Definition | The type of contact. |
Cardinality | 1...1 |
Type | Coding |
Binding | Use ConceptMap ContactTypeCodeLijst-to-ActEncounterCode to translate terminology from the functional model to profile terminology in ValueSet ActEncounterCode. Permitted Values |
Summary | True |
Alias | ContactType |
Comments | Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. |
Invariants |
|
Fixed Value | { "system": "http://terminology.hl7.org/ValueSet/encounter-class", "version": "2.0.1", "code": "IMP", "display": "inpatient encounter", "userSelected": false } |
Mappings |
|
Encounter.classHistory | |
Definition | The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient. |
Cardinality | 0...* |
Type | BackboneElement |
Invariants |
|
Mappings |
|
Encounter.classHistory.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.classHistory.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.classHistory.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
Cardinality | 0...* |
Type | Extension |
Modifier | True |
Summary | True |
Alias | extensions, user content, modifiers |
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
Encounter.classHistory.class | |
Definition | inpatient | outpatient | ambulatory | emergency +. |
Cardinality | 1...1 |
Type | Coding |
Binding | Classification of the encounter. |
Comments | Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. |
Invariants |
|
Mappings |
|
Encounter.classHistory.period | |
Definition | The time that the episode was in the specified class. |
Cardinality | 1...1 |
Type | Period |
Comments | A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). Period is not used for a duration (a measure of elapsed time). See Duration. |
Invariants |
|
Mappings |
|
Encounter.type | |
Definition | Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation). |
Cardinality | 0...* |
Type | CodeableConcept |
Binding | The type of encounter. |
Summary | True |
Comments | Since there are many ways to further classify encounters, this element is 0..*. |
Invariants |
|
Mappings |
|
Encounter.serviceType | |
Definition | Broad categorization of the service that is to be provided (e.g. cardiology). |
Cardinality | 0...1 |
Type | CodeableConcept |
Binding | Broad categorization of the service that is to be provided. |
Summary | True |
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. |
Invariants |
|
Mappings |
|
Encounter.priority | |
Definition | Indicates the urgency of the encounter. |
Cardinality | 0...1 |
Type | CodeableConcept |
Binding | Indicates the urgency of the encounter. |
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. |
Invariants |
|
Mappings |
|
Encounter.subject | |
Definition | The patient or group present at the encounter. |
Cardinality | 1...1 |
Type | Reference(Patient | Group) |
Summary | True |
Alias | patient |
Comments | While the encounter is always about the patient, the patient might not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked). |
Invariants |
|
Mappings |
|
Encounter.episodeOfCare | |
Definition | Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years). |
Cardinality | 0...* |
Type | Reference(EpisodeOfCare) |
Summary | True |
Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. |
Invariants |
|
Mappings |
|
Encounter.basedOn | |
Definition | The request this encounter satisfies (e.g. incoming referral or procedure request). |
Cardinality | 0...* |
Type | Reference(ServiceRequest) |
Alias | incomingReferral |
Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. |
Invariants |
|
Mappings |
|
Encounter.participant | |
Definition | The list of people responsible for providing the service. |
Cardinality | 1...* |
Type | BackboneElement |
Summary | True |
Slicing | Unordered, Open, by individual.resolve()(Profile) |
Invariants |
|
Mappings |
|
Encounter.participant.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.participant.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.participant.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
Cardinality | 0...* |
Type | Extension |
Modifier | True |
Summary | True |
Alias | extensions, user content, modifiers |
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
Encounter.participant.type | |
Definition | Role of participant in encounter. |
Cardinality | 0...* |
Type | CodeableConcept |
Binding | Role of participant in encounter. |
Summary | True |
Comments | The participant type indicates how an individual participates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc. |
Invariants |
|
Mappings |
|
Encounter.participant.period | |
Definition | The period of time that the specified participant participated in the encounter. These can overlap or be sub-sets of the overall encounter's period. |
Cardinality | 0...1 |
Type | Period |
Comments | A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). Period is not used for a duration (a measure of elapsed time). See Duration. |
Invariants |
|
Mappings |
|
Encounter.participant.individual | |
Definition | Persons involved in the encounter other than the patient. |
Cardinality | 0...1 |
Type | Reference(Practitioner | PractitionerRole | RelatedPerson) |
Summary | True |
Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. |
Invariants |
|
Mappings |
|
Encounter.participant:healthProfessional | |
Definition | The list of people responsible for providing the service. |
Cardinality | 1...1 |
Type | BackboneElement |
Summary | True |
Invariants |
|
Mappings |
|
Encounter.participant:healthProfessional.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.participant:healthProfessional.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.participant:healthProfessional.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
Cardinality | 0...* |
Type | Extension |
Modifier | True |
Summary | True |
Alias | extensions, user content, modifiers |
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
Encounter.participant:healthProfessional.type | |
Definition | The role the health professional fulfils in the healthcare process. For health professionals, this could be for example attender, referrer or performer. |
Cardinality | 0...1 |
Type | CodeableConcept |
Binding | Role of participant in encounter. |
Summary | True |
Alias | ZorgverlenerRol |
Comments | The participant type indicates how an individual participates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc. |
Invariants |
|
Fixed Value | { "text": "End-responsible physician" } |
Mappings |
|
Encounter.participant:healthProfessional.period | |
Definition | The period of time that the specified participant participated in the encounter. These can overlap or be sub-sets of the overall encounter's period. |
Cardinality | 1...1 |
Type | Period |
Comments | A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). Period is not used for a duration (a measure of elapsed time). See Duration. |
Invariants |
|
Mappings |
|
Encounter.participant:healthProfessional.individual | |
Definition | The health professional with whom the contact took or will take place. The specialty and role of the health professional can be entered in the HealthProfessional information model. |
Cardinality | 1...1 |
Type | PatternZibHealthProfessionalReference(ZibHealthProfessionalPractitionerRole) |
Summary | True |
Alias | ContactMet |
Comments | Each occurrence of the zib HealthProfessional is normally represented by two FHIR resources: a PractitionerRole resource (instance of zib-HealthProfessional-PractitionerRole) and a Practitioner resource (instance of zib-HealthProfessional-Practitioner). The Practitioner resource is referenced from the PractitionerRole instance. For this reason, sending systems should fill the reference to the PractitionerRole instance here, and not the Practitioner resource. Receiving systems can then retrieve the reference to the Practitioner resource from that PractitionerRole instance. In rare circumstances, there is only a Practitioner instance, in which case it is that instance which can be referenced on the |
Invariants |
|
Mappings |
|
Encounter.participant:healthProfessional.individual.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.participant:healthProfessional.individual.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.participant:healthProfessional.individual.reference | |
Definition | A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. |
Cardinality | 0...1 |
Type | string |
Summary | True |
Comments | Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server. |
Invariants |
|
Mappings |
|
Encounter.participant:healthProfessional.individual.type | |
Definition | The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent. The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources). |
Cardinality | 0...1 |
Type | uri |
Binding | Aa resource (or, for logical models, the URI of the logical model). |
Summary | True |
Comments | This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified. |
Invariants |
|
Mappings |
|
Encounter.participant:healthProfessional.individual.identifier | |
Definition | An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference. |
Cardinality | 0...1 |
Type | Identifier |
Summary | True |
Comments | When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any). |
Invariants |
|
Mappings |
|
Encounter.participant:healthProfessional.individual.display | |
Definition | Plain text narrative that identifies the resource in addition to the resource reference. |
Cardinality | 1...1 |
Type | string |
Binding | https://simplifier.net/pacmed-critical-fhir-profiles/icu_specialty_valueset (preferred) |
Summary | True |
Comments | This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it. |
Invariants |
|
Mappings |
|
Encounter.appointment | |
Definition | The appointment that scheduled this encounter. |
Cardinality | 0...* |
Type | Reference(Appointment) |
Summary | True |
Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. |
Invariants |
|
Mappings |
|
Encounter.period | |
Definition | The start and end time of the encounter. This should coincide with the start and end of the hospitalization. |
Cardinality | 1...1 |
Type | Period |
Comments | If not (yet) known, the end of the Period may be omitted. |
Invariants |
|
Mappings |
|
Encounter.period.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.period.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.period.start | |
Definition | The date and time at which the contact took or will take place. |
Cardinality | 1...1 |
Type | dateTime |
Summary | True |
Alias | BeginDatumTijd |
Comments | If only a single moment in time is known for the encounter rather than a period, both |
Invariants |
|
Mappings |
|
Encounter.period.end | |
Definition | The date and time at which the contact ended or will end. If the contact takes place over a period of time, this indicates the end of the period, in the case of an admission, for example. |
Cardinality | 1...1 |
Type | dateTime |
Summary | True |
Alias | EindDatumTijd |
Comments | If only a single moment in time is known for the encounter rather than a period, both |
Invariants |
|
Mappings |
|
Encounter.length | |
Definition | Quantity of time the encounter lasted. This excludes the time during leaves of absence. |
Cardinality | 0...1 |
Type | Duration |
Comments | May differ from the time the Encounter.period lasted because of leave of absence. |
Invariants |
|
Mappings |
|
Encounter.reasonCode | |
Definition | Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis. |
Cardinality | 0...* |
Type | CodeableConcept |
Binding | Reason why the encounter takes place. |
Summary | True |
Alias | Indication, Admission diagnosis |
Comments | For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis). |
Slicing | Unordered, Open, by coding(Exists) |
Invariants |
|
Mappings |
|
Encounter.reasonCode:deviatingResult | |
Definition | Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis. |
Cardinality | 0...* |
Type | CodeableConcept |
Binding | Reason why the encounter takes place. |
Summary | True |
Alias | Indication, Admission diagnosis |
Comments | For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis). |
Invariants |
|
Mappings |
|
Encounter.reasonCode:deviatingResult.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.reasonCode:deviatingResult.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.reasonCode:deviatingResult.extension:commentContactReason | |
Definition | Optional Extension Element - found in all resources. |
Cardinality | 0...1 |
Type | Extension(string) |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
Encounter.reasonCode:deviatingResult.extension:commentContactReason.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.reasonCode:deviatingResult.extension:commentContactReason.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.reasonCode:deviatingResult.extension:commentContactReason.url | |
Definition | Source of the definition for the extension code - a logical name or a URL. |
Cardinality | 1...1 |
Type | uri |
Comments | The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. |
Fixed Value | http://nictiz.nl/fhir/StructureDefinition/ext-Comment |
Mappings |
|
Encounter.reasonCode:deviatingResult.extension:commentContactReason.value[x] | |
Definition | Explanation of the reason for the contact |
Cardinality | 0...1 |
Type | string |
Alias | ToelichtingRedenContact |
Invariants |
|
Mappings |
|
Encounter.reasonCode:deviatingResult.coding | |
Definition | A reference to a code defined by a terminology system. |
Cardinality | 0...0 |
Type | Coding |
Summary | True |
Requirements | Allows for alternative encodings within a code system, and translations to other code systems. |
Comments | Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true. |
Invariants |
|
Mappings |
|
Encounter.reasonCode:deviatingResult.text | |
Definition | A deviating result or other textual explanation which serves as the reason for the contact. |
Cardinality | 0...1 |
Type | string |
Summary | True |
Alias | AfwijkendeUitslag |
Requirements | The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source. |
Comments | Note that this definition is wider than the zib concept DeviatingResult (NL-CM:15.1.12); although the zib concept deals only with deviating results as reason for the encounter, this element could be populated with any reason for the encounter, including but not limited to deviating results. Implementers should be aware of the usage context of this profile to understand if this element is limited to a deviating result. |
Invariants |
|
Mappings |
|
Encounter.reasonReference | |
Definition | Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis. |
Cardinality | 0...* |
Type | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) |
Summary | True |
Alias | Indication, Admission diagnosis |
Comments | For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis). |
Slicing | Unordered, Open, by resolve()(Profile) |
Invariants |
|
Mappings |
|
Encounter.reasonReference.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.reasonReference.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.reasonReference.extension:commentContactReason | |
Definition | Optional Extension Element - found in all resources. |
Cardinality | 0...1 |
Type | Extension(string) |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
Encounter.reasonReference.extension:commentContactReason.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.reasonReference.extension:commentContactReason.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.reasonReference.extension:commentContactReason.url | |
Definition | Source of the definition for the extension code - a logical name or a URL. |
Cardinality | 1...1 |
Type | uri |
Comments | The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. |
Fixed Value | http://nictiz.nl/fhir/StructureDefinition/ext-Comment |
Mappings |
|
Encounter.reasonReference.extension:commentContactReason.value[x] | |
Definition | Explanation of the reason for the contact |
Cardinality | 0...1 |
Type | string |
Alias | ToelichtingRedenContact |
Invariants |
|
Mappings |
|
Encounter.reasonReference.reference | |
Definition | A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. |
Cardinality | 0...1 |
Type | string |
Summary | True |
Comments | Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server. |
Invariants |
|
Mappings |
|
Encounter.reasonReference.type | |
Definition | The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent. The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources). |
Cardinality | 0...1 |
Type | uri |
Binding | Aa resource (or, for logical models, the URI of the logical model). |
Summary | True |
Comments | This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified. |
Invariants |
|
Mappings |
|
Encounter.reasonReference.identifier | |
Definition | An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference. |
Cardinality | 0...1 |
Type | Identifier |
Summary | True |
Comments | When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any). |
Invariants |
|
Mappings |
|
Encounter.reasonReference.display | |
Definition | Plain text narrative that identifies the resource in addition to the resource reference. |
Cardinality | 0...1 |
Type | string |
Summary | True |
Comments | This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it. |
Invariants |
|
Mappings |
|
Encounter.reasonReference:problem | |
Definition | The problem that is the reason for the contact. |
Cardinality | 0...* |
Type | Reference(ZibProblem) |
Summary | True |
Alias | Indication, Admission diagnosis, Probleem |
Comments | For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis). |
Invariants |
|
Mappings |
|
Encounter.reasonReference:procedure | |
Definition | The procedure carried out or will be carried out during the contact. |
Cardinality | 0...* |
Type | Reference(ZibProcedureevent) |
Summary | True |
Alias | Indication, Admission diagnosis, Verrichting |
Comments | For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis). |
Invariants |
|
Mappings |
|
Encounter.diagnosis | |
Definition | The list of diagnosis relevant to this encounter. |
Cardinality | 0...* |
Type | BackboneElement |
Summary | True |
Invariants |
|
Mappings |
|
Encounter.diagnosis.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.diagnosis.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.diagnosis.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
Cardinality | 0...* |
Type | Extension |
Modifier | True |
Summary | True |
Alias | extensions, user content, modifiers |
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
Encounter.diagnosis.condition | |
Definition | Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure. |
Cardinality | 1...1 |
Type | Reference(Condition | Procedure) |
Summary | True |
Alias | Admission diagnosis, discharge diagnosis, indication |
Comments | For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis). |
Invariants |
|
Mappings |
|
Encounter.diagnosis.use | |
Definition | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …). |
Cardinality | 0...1 |
Type | CodeableConcept |
Binding | The type of diagnosis this condition represents. |
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. |
Invariants |
|
Mappings |
|
Encounter.diagnosis.rank | |
Definition | Ranking of the diagnosis (for each role type). |
Cardinality | 0...1 |
Type | positiveInt |
Comments | 32 bit number; for values larger than this, use decimal |
Invariants |
|
Mappings |
|
Encounter.account | |
Definition | The set of accounts that may be used for billing for this Encounter. |
Cardinality | 0...* |
Type | Reference(Account) |
Comments | The billing system may choose to allocate billable items associated with the Encounter to different referenced Accounts based on internal business rules. |
Invariants |
|
Mappings |
|
Encounter.hospitalization | |
Definition | Unique hospitalization ID |
Cardinality | 1...1 |
Type | BackboneElement |
Comments | An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included. The duration recorded in the period of this encounter covers the entire scope of this hospitalization record. |
Invariants |
|
Mappings |
|
Encounter.hospitalization.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 1...1 |
Type | string |
Mappings |
|
Encounter.hospitalization.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.hospitalization.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
Cardinality | 0...* |
Type | Extension |
Modifier | True |
Summary | True |
Alias | extensions, user content, modifiers |
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
Encounter.hospitalization.preAdmissionIdentifier | |
Definition | Pre-admission identifier. |
Cardinality | 0...1 |
Type | Identifier |
Invariants |
|
Mappings |
|
Encounter.hospitalization.origin | |
Definition | The location/organization from which the patient came before admission. |
Cardinality | 0...1 |
Type | Reference(Location | Organization) |
Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. |
Invariants |
|
Mappings |
|
Encounter.hospitalization.admitSource | |
Definition | Location from which the patient comes before the encounter. In most cases this will only be used when the patient is admitted. |
Cardinality | 1...1 |
Type | CodeableConcept |
Binding | From where the patient was admitted. |
Alias | Herkomst |
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. |
Invariants |
|
Mappings |
|
Encounter.hospitalization.admitSource.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.hospitalization.admitSource.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.hospitalization.admitSource.coding | |
Definition | A reference to a code defined by a terminology system. |
Cardinality | 1...* |
Type | Coding |
Binding | AdmitSource (required) |
Summary | True |
Requirements | Allows for alternative encodings within a code system, and translations to other code systems. |
Comments | Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true. |
Invariants |
|
Mappings |
|
Encounter.hospitalization.admitSource.text | |
Definition | A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. |
Cardinality | 0...1 |
Type | string |
Summary | True |
Requirements | The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source. |
Comments | Very often the text is the same as a displayName of one of the codings. |
Invariants |
|
Mappings |
|
Encounter.hospitalization.reAdmission | |
Definition | Whether this hospitalization is a readmission and why if known. |
Cardinality | 0...1 |
Type | CodeableConcept |
Binding | The reason for re-admission of this hospitalization encounter. |
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. |
Invariants |
|
Mappings |
|
Encounter.hospitalization.dietPreference | |
Definition | Diet preferences reported by the patient. |
Cardinality | 0...* |
Type | CodeableConcept |
Binding | Medical, cultural or ethical food preferences to help with catering requirements. |
Requirements | Used to track patient's diet restrictions and/or preference. For a complete description of the nutrition needs of a patient during their stay, one should use the nutritionOrder resource which links to Encounter. |
Comments | For example, a patient may request both a dairy-free and nut-free diet preference (not mutually exclusive). |
Invariants |
|
Mappings |
|
Encounter.hospitalization.specialCourtesy | |
Definition | Special courtesies (VIP, board member). |
Cardinality | 0...* |
Type | CodeableConcept |
Binding | Special courtesies. |
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. |
Invariants |
|
Mappings |
|
Encounter.hospitalization.specialArrangement | |
Definition | Any special requests that have been made for this hospitalization encounter, such as the provision of specific equipment or other things. |
Cardinality | 0...* |
Type | CodeableConcept |
Binding | Special arrangements. |
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. |
Invariants |
|
Mappings |
|
Encounter.hospitalization.destination | |
Definition | Location/organization to which the patient is discharged. |
Cardinality | 0...1 |
Type | Reference(Location | Organization) |
Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. |
Invariants |
|
Mappings |
|
Encounter.hospitalization.dischargeDisposition | |
Definition | Location to which the patient will go after the encounter. In most cases this will only be used when the patient is discharged. |
Cardinality | 1...1 |
Type | CodeableConcept |
Binding | Discharge Disposition. |
Alias | Bestemming |
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. |
Invariants |
|
Mappings |
|
Encounter.location | |
Definition | List of locations where the patient has been during this encounter. |
Cardinality | 0...1 |
Type | BackboneElement |
Comments | Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type "kind" such as "client's home" and an encounter.class = "virtual". |
Invariants |
|
Mappings |
|
Encounter.location.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.location.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.location.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
Cardinality | 0...* |
Type | Extension |
Modifier | True |
Summary | True |
Alias | extensions, user content, modifiers |
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
Encounter.location.location | |
Definition | The physical location at which the contact took or is taking place. This should include at least one location corresponding to an ICU department. |
Cardinality | 1...1 |
Type | Reference(Location | ZibHealthcareProvider) |
Alias | Locatie |
Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. |
Invariants |
|
Mappings |
|
Encounter.location.location.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
Encounter.location.location.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
Encounter.location.location.reference | |
Definition | A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. |
Cardinality | 0...1 |
Type | string |
Summary | True |
Comments | Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server. |
Invariants |
|
Mappings |
|
Encounter.location.location.type | |
Definition | The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent. The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources). |
Cardinality | 0...1 |
Type | uri |
Binding | Aa resource (or, for logical models, the URI of the logical model). |
Summary | True |
Comments | This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified. |
Invariants |
|
Fixed Value | Location |
Mappings |
|
Encounter.location.location.identifier | |
Definition | An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference. |
Cardinality | 0...1 |
Type | Identifier |
Summary | True |
Comments | When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any). |
Invariants |
|
Mappings |
|
Encounter.location.location.display | |
Definition | Plain text narrative that identifies the resource in addition to the resource reference. |
Cardinality | 1...1 |
Type | string |
Summary | True |
Comments | This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it. |
Invariants |
|
Mappings |
|
Encounter.location.status | |
Definition | The status of the participants' presence at the specified location during the period specified. If the participant is no longer at the location, then the period will have an end date/time. |
Cardinality | 0...1 |
Type | code |
Binding | The status of the location. |
Comments | When the patient is no longer active at a location, then the period end date is entered, and the status may be changed to completed. |
Invariants |
|
Mappings |
|
Encounter.location.physicalType | |
Definition | This will be used to specify the required levels (bed/ward/room/etc.) desired to be recorded to simplify either messaging or query. |
Cardinality | 1...1 |
Type | CodeableConcept |
Binding | Physical form of the location. |
Comments | This information is de-normalized from the Location resource to support the easier understanding of the encounter resource and processing in messaging or query. There may be many levels in the hierachy, and this may only pic specific levels that are required for a specific usage scenario. |
Invariants |
|
Mappings |
|
Encounter.location.period | |
Definition | Time period during which the patient was present at the location. |
Cardinality | 1...1 |
Type | Period |
Comments | A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). Period is not used for a duration (a measure of elapsed time). See Duration. |
Invariants |
|
Mappings |
|
Encounter.serviceProvider | |
Definition | The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy. |
Cardinality | 0...1 |
Type | Reference(Organization) |
Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. |
Invariants |
|
Mappings |
|
Encounter.partOf | |
Definition | Another Encounter of which this encounter is a part of (administratively or in time). |
Cardinality | 0...1 |
Type | Reference(Encounter) |
Comments | This is also used for associating a child's encounter back to the mother's encounter. Refer to the Notes section in the Patient resource for further details. |
Invariants |
|
Mappings |
|
<StructureDefinition xmlns="http://hl7.org/fhir"> <url value="https://www.pacmed.nl/fhir/StructureDefinition/ZIB2020_based_ICU_encounter" /> <version value="0.0.1" /> <name value="ZIB2020_based_ICU_encounter" /> <status value="draft" /> <description value="FHIR profile based on Encounter Zib (2020)\nUsage: to specify ICU admissions and necessary hospitalization context" /> <fhirVersion value="4.0.1" /> <kind value="resource" /> <abstract value="false" /> <type value="Encounter" /> <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-Encounter" /> <derivation value="constraint" /> <differential> <element id="Encounter"> <path value="Encounter" /> <short value="Zib2020_based_hospitalization" /> </element> <element id="Encounter.id"> <path value="Encounter.id" /> <min value="1" /> </element> <element id="Encounter.class"> <path value="Encounter.class" /> <fixedCoding> <system value="http://terminology.hl7.org/ValueSet/encounter-class" /> <version value="2.0.1" /> <code value="IMP" /> <display value="inpatient encounter" /> <userSelected value="false" /> </fixedCoding> </element> <element id="Encounter.subject"> <path value="Encounter.subject" /> <min value="1" /> <constraint> <key value="enc-subject-patient" /> <severity value="error" /> <human value="The subject of the encounter SHALL be a patient" /> <expression value="subject.resolve().is(Patient)" /> </constraint> </element> <element id="Encounter.participant"> <path value="Encounter.participant" /> <min value="1" /> </element> <element id="Encounter.participant:healthProfessional"> <path value="Encounter.participant" /> <sliceName value="healthProfessional" /> <min value="1" /> <max value="1" /> </element> <element id="Encounter.participant:healthProfessional.type"> <path value="Encounter.participant.type" /> <fixedCodeableConcept> <text value="End-responsible physician" /> </fixedCodeableConcept> </element> <element id="Encounter.participant:healthProfessional.period"> <path value="Encounter.participant.period" /> <min value="1" /> </element> <element id="Encounter.participant:healthProfessional.individual"> <path value="Encounter.participant.individual" /> <min value="1" /> </element> <element id="Encounter.participant:healthProfessional.individual.display"> <path value="Encounter.participant.individual.display" /> <short value="Medical specialty of the physician" /> <min value="1" /> <binding> <strength value="preferred" /> <valueSet value="https://simplifier.net/pacmed-critical-fhir-profiles/icu_specialty_valueset" /> </binding> </element> <element id="Encounter.period"> <path value="Encounter.period" /> <short value="The start and end time of the encounter. This should coincide with the start and end of the hospitalization." /> <definition value="The start and end time of the encounter. This should coincide with the start and end of the hospitalization." /> <min value="1" /> </element> <element id="Encounter.period.start"> <path value="Encounter.period.start" /> <min value="1" /> </element> <element id="Encounter.period.end"> <path value="Encounter.period.end" /> <min value="1" /> </element> <element id="Encounter.hospitalization"> <path value="Encounter.hospitalization" /> <short value="Unique hospitalization ID" /> <definition value="Unique hospitalization ID" /> <min value="1" /> </element> <element id="Encounter.hospitalization.id"> <path value="Encounter.hospitalization.id" /> <min value="1" /> </element> <element id="Encounter.hospitalization.admitSource"> <path value="Encounter.hospitalization.admitSource" /> <min value="1" /> <binding> <strength value="extensible" /> <valueSet value="http://hl7.org/fhir/ValueSet/encounter-admit-source" /> </binding> </element> <element id="Encounter.hospitalization.admitSource.coding"> <path value="Encounter.hospitalization.admitSource.coding" /> <min value="1" /> <binding> <strength value="required" /> <valueSet value="http://hl7.org/fhir/ValueSet/encounter-admit-source" /> </binding> </element> <element id="Encounter.hospitalization.dischargeDisposition"> <path value="Encounter.hospitalization.dischargeDisposition" /> <min value="1" /> </element> <element id="Encounter.location.location"> <path value="Encounter.location.location" /> <definition value="The physical location at which the contact took or is taking place. This should include at least one location corresponding to an ICU department." /> </element> <element id="Encounter.location.location.type"> <path value="Encounter.location.location.type" /> <fixedUri value="Location" /> </element> <element id="Encounter.location.location.display"> <path value="Encounter.location.location.display" /> <min value="1" /> </element> <element id="Encounter.location.physicalType"> <path value="Encounter.location.physicalType" /> <min value="1" /> <binding> <strength value="preferred" /> <valueSet value="https://hl7.org/fhir/R4/valueset-location-physical-type.html" /> </binding> </element> <element id="Encounter.location.period"> <path value="Encounter.location.period" /> <min value="1" /> </element> </differential> </StructureDefinition>
{ "resourceType": "StructureDefinition", "url": "https://www.pacmed.nl/fhir/StructureDefinition/ZIB2020_based_ICU_encounter", "version": "0.0.1", "name": "ZIB2020_based_ICU_encounter", "status": "draft", "description": "FHIR profile based on Encounter Zib (2020)\nUsage: to specify ICU admissions and necessary hospitalization context", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, "type": "Encounter", "baseDefinition": "http://nictiz.nl/fhir/StructureDefinition/zib-Encounter", "derivation": "constraint", "differential": { "element": [ { "id": "Encounter", "path": "Encounter", "short": "Zib2020_based_hospitalization" }, { "id": "Encounter.id", "path": "Encounter.id", "min": 1 }, { "id": "Encounter.class", "path": "Encounter.class", "fixedCoding": { "system": "http://terminology.hl7.org/ValueSet/encounter-class", "version": "2.0.1", "code": "IMP", "display": "inpatient encounter", "userSelected": false } }, { "id": "Encounter.subject", "path": "Encounter.subject", "min": 1, "constraint": [ { "key": "enc-subject-patient", "severity": "error", "human": "The subject of the encounter SHALL be a patient", "expression": "subject.resolve().is(Patient)" } ] }, { "id": "Encounter.participant", "path": "Encounter.participant", "min": 1 }, { "id": "Encounter.participant:healthProfessional", "path": "Encounter.participant", "sliceName": "healthProfessional", "min": 1, "max": "1" }, { "id": "Encounter.participant:healthProfessional.type", "path": "Encounter.participant.type", "fixedCodeableConcept": { "text": "End-responsible physician" } }, { "id": "Encounter.participant:healthProfessional.period", "path": "Encounter.participant.period", "min": 1 }, { "id": "Encounter.participant:healthProfessional.individual", "path": "Encounter.participant.individual", "min": 1 }, { "id": "Encounter.participant:healthProfessional.individual.display", "path": "Encounter.participant.individual.display", "short": "Medical specialty of the physician", "min": 1, "binding": { "strength": "preferred", "valueSet": "https://simplifier.net/pacmed-critical-fhir-profiles/icu_specialty_valueset" } }, { "id": "Encounter.period", "path": "Encounter.period", "short": "The start and end time of the encounter. This should coincide with the start and end of the hospitalization.", "definition": "The start and end time of the encounter. This should coincide with the start and end of the hospitalization.", "min": 1 }, { "id": "Encounter.period.start", "path": "Encounter.period.start", "min": 1 }, { "id": "Encounter.period.end", "path": "Encounter.period.end", "min": 1 }, { "id": "Encounter.hospitalization", "path": "Encounter.hospitalization", "short": "Unique hospitalization ID", "definition": "Unique hospitalization ID", "min": 1 }, { "id": "Encounter.hospitalization.id", "path": "Encounter.hospitalization.id", "min": 1 }, { "id": "Encounter.hospitalization.admitSource", "path": "Encounter.hospitalization.admitSource", "min": 1, "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/ValueSet/encounter-admit-source" } }, { "id": "Encounter.hospitalization.admitSource.coding", "path": "Encounter.hospitalization.admitSource.coding", "min": 1, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/encounter-admit-source" } }, { "id": "Encounter.hospitalization.dischargeDisposition", "path": "Encounter.hospitalization.dischargeDisposition", "min": 1 }, { "id": "Encounter.location.location", "path": "Encounter.location.location", "definition": "The physical location at which the contact took or is taking place. This should include at least one location corresponding to an ICU department." }, { "id": "Encounter.location.location.type", "path": "Encounter.location.location.type", "fixedUri": "Location" }, { "id": "Encounter.location.location.display", "path": "Encounter.location.location.display", "min": 1 }, { "id": "Encounter.location.physicalType", "path": "Encounter.location.physicalType", "min": 1, "binding": { "strength": "preferred", "valueSet": "https://hl7.org/fhir/R4/valueset-location-physical-type.html" } }, { "id": "Encounter.location.period", "path": "Encounter.location.period", "min": 1 } ] } }
Historic data (for model training)
For historic data for model training, historic encounters with an ICU stay can be queried using the following query. Note that encounter.subject should refer to a hashed patient ID.
GET [baseUrl]/Encounter?_has:Encounter.location:location.display=ICU
The response can be as follows:
Bundle |
type : collection |
entry |
fullUrl : https://simplifier.net/pacmed-critical-fhir-profiles/encounter1 |
resource |
id : encounter1 |
status : finished |
class |
system : http://terminology.hl7.org/ValueSet/encounter-class |
version : 2.0.1 |
code : IMP |
display : inpatient encounter |
userSelected : False |
subject |
reference : Patient/patient1 |
display : John Doe |
participant |
type |
text : End-responsible physician |
period |
start : 2023-12-01T07:00:00Z |
end : 2023-12-02T12:00:00Z |
individual |
reference : Practitioner/practitioner1 |
display : Internal Medicine Specialist |
period |
start : 2023-12-01T07:00:00Z |
end : 2023-12-05T18:00:00Z |
location |
location |
reference : Location/internal1 |
display : Internal Medicine Ward |
physicalType |
coding |
system : http://terminology.hl7.org/CodeSystem/location-physical-type |
code : wi |
display : Ward |
period |
start : 2023-12-01T07:00:00Z |
end : 2023-12-02T12:00:00Z |
entry |
fullUrl : https://simplifier.net/pacmed-critical-fhir-profiles/encounter2 |
resource |
id : encounter2 |
status : finished |
class |
system : http://terminology.hl7.org/ValueSet/encounter-class |
version : 2.0.1 |
code : IMP |
display : inpatient encounter |
userSelected : False |
subject |
reference : Patient/patient2 |
display : Jane Smith |
participant |
type |
text : End-responsible physician |
period |
start : 2023-12-02T08:00:00Z |
end : 2023-12-03T15:00:00Z |
individual |
reference : Practitioner/practitioner2 |
display : Intensive Care Specialist |
period |
start : 2023-12-02T08:00:00Z |
end : 2023-12-05T12:00:00Z |
location |
location |
reference : Location/icu1 |
display : ICU |
physicalType |
coding |
system : http://terminology.hl7.org/CodeSystem/location-physical-type |
code : wi |
display : Ward |
period |
start : 2023-12-02T08:00:00Z |
end : 2023-12-03T15:00:00Z |
entry |
fullUrl : https://simplifier.net/pacmed-critical-fhir-profiles/encounter3 |
resource |
id : encounter3 |
status : finished |
class |
system : http://terminology.hl7.org/ValueSet/encounter-class |
version : 2.0.1 |
code : IMP |
display : inpatient encounter |
userSelected : False |
subject |
reference : Patient/patient3 |
display : Alice Johnson |
participant |
type |
text : End-responsible physician |
period |
start : 2023-12-03T09:00:00Z |
end : 2023-12-04T14:00:00Z |
individual |
reference : Practitioner/practitioner3 |
display : Internal Medicine Specialist |
period |
start : 2023-12-03T09:00:00Z |
end : 2023-12-06T10:00:00Z |
location |
location |
reference : Location/internal2 |
display : Internal Medicine Ward |
physicalType |
coding |
system : http://terminology.hl7.org/CodeSystem/location-physical-type |
code : wi |
display : Ward |
period |
start : 2023-12-03T09:00:00Z |
end : 2023-12-04T14:00:00Z |
<Bundle xmlns="http://hl7.org/fhir"> <type value="collection" /> <entry> <fullUrl value="https://simplifier.net/pacmed-critical-fhir-profiles/encounter1" /> <resource> <Encounter> <id value="encounter1" /> <status value="finished" /> <class> <system value="http://terminology.hl7.org/ValueSet/encounter-class" /> <version value="2.0.1" /> <code value="IMP" /> <display value="inpatient encounter" /> <userSelected value="false" /> </class> <subject> <reference value="Patient/patient1" /> <display value="John Doe" /> </subject> <participant> <type> <text value="End-responsible physician" /> </type> <period> <start value="2023-12-01T07:00:00Z" /> <end value="2023-12-02T12:00:00Z" /> </period> <individual> <reference value="Practitioner/practitioner1" /> <display value="Internal Medicine Specialist" /> </individual> </participant> <period> <start value="2023-12-01T07:00:00Z" /> <end value="2023-12-05T18:00:00Z" /> </period> <location> <location> <reference value="Location/internal1" /> <display value="Internal Medicine Ward" /> </location> <physicalType> <coding> <system value="http://terminology.hl7.org/CodeSystem/location-physical-type" /> <code value="wi" /> <display value="Ward" /> </coding> </physicalType> <period> <start value="2023-12-01T07:00:00Z" /> <end value="2023-12-02T12:00:00Z" /> </period> </location> </Encounter> </resource> </entry> <entry> <fullUrl value="https://simplifier.net/pacmed-critical-fhir-profiles/encounter2" /> <resource> <Encounter> <id value="encounter2" /> <status value="finished" /> <class> <system value="http://terminology.hl7.org/ValueSet/encounter-class" /> <version value="2.0.1" /> <code value="IMP" /> <display value="inpatient encounter" /> <userSelected value="false" /> </class> <subject> <reference value="Patient/patient2" /> <display value="Jane Smith" /> </subject> <participant> <type> <text value="End-responsible physician" /> </type> <period> <start value="2023-12-02T08:00:00Z" /> <end value="2023-12-03T15:00:00Z" /> </period> <individual> <reference value="Practitioner/practitioner2" /> <display value="Intensive Care Specialist" /> </individual> </participant> <period> <start value="2023-12-02T08:00:00Z" /> <end value="2023-12-05T12:00:00Z" /> </period> <location> <location> <reference value="Location/icu1" /> <display value="ICU" /> </location> <physicalType> <coding> <system value="http://terminology.hl7.org/CodeSystem/location-physical-type" /> <code value="wi" /> <display value="Ward" /> </coding> </physicalType> <period> <start value="2023-12-02T08:00:00Z" /> <end value="2023-12-03T15:00:00Z" /> </period> </location> </Encounter> </resource> </entry> <entry> <fullUrl value="https://simplifier.net/pacmed-critical-fhir-profiles/encounter3" /> <resource> <Encounter> <id value="encounter3" /> <status value="finished" /> <class> <system value="http://terminology.hl7.org/ValueSet/encounter-class" /> <version value="2.0.1" /> <code value="IMP" /> <display value="inpatient encounter" /> <userSelected value="false" /> </class> <subject> <reference value="Patient/patient3" /> <display value="Alice Johnson" /> </subject> <participant> <type> <text value="End-responsible physician" /> </type> <period> <start value="2023-12-03T09:00:00Z" /> <end value="2023-12-04T14:00:00Z" /> </period> <individual> <reference value="Practitioner/practitioner3" /> <display value="Internal Medicine Specialist" /> </individual> </participant> <period> <start value="2023-12-03T09:00:00Z" /> <end value="2023-12-06T10:00:00Z" /> </period> <location> <location> <reference value="Location/internal2" /> <display value="Internal Medicine Ward" /> </location> <physicalType> <coding> <system value="http://terminology.hl7.org/CodeSystem/location-physical-type" /> <code value="wi" /> <display value="Ward" /> </coding> </physicalType> <period> <start value="2023-12-03T09:00:00Z" /> <end value="2023-12-04T14:00:00Z" /> </period> </location> </Encounter> </resource> </entry> </Bundle>
{ "resourceType": "Bundle", "type": "collection", "entry": [ { "fullUrl": "https://simplifier.net/pacmed-critical-fhir-profiles/encounter1", "resource": { "resourceType": "Encounter", "id": "encounter1", "status": "finished", "class": { "system": "http://terminology.hl7.org/ValueSet/encounter-class", "version": "2.0.1", "code": "IMP", "display": "inpatient encounter", "userSelected": false }, "subject": { "reference": "Patient/patient1", "display": "John Doe" }, "participant": [ { "type": [ { "text": "End-responsible physician" } ], "period": { "start": "2023-12-01T07:00:00Z", "end": "2023-12-02T12:00:00Z" }, "individual": { "reference": "Practitioner/practitioner1", "display": "Internal Medicine Specialist" } } ], "period": { "start": "2023-12-01T07:00:00Z", "end": "2023-12-05T18:00:00Z" }, "location": [ { "location": { "reference": "Location/internal1", "display": "Internal Medicine Ward" }, "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", "code": "wi", "display": "Ward" } ] }, "period": { "start": "2023-12-01T07:00:00Z", "end": "2023-12-02T12:00:00Z" } } ] } }, { "fullUrl": "https://simplifier.net/pacmed-critical-fhir-profiles/encounter2", "resource": { "resourceType": "Encounter", "id": "encounter2", "status": "finished", "class": { "system": "http://terminology.hl7.org/ValueSet/encounter-class", "version": "2.0.1", "code": "IMP", "display": "inpatient encounter", "userSelected": false }, "subject": { "reference": "Patient/patient2", "display": "Jane Smith" }, "participant": [ { "type": [ { "text": "End-responsible physician" } ], "period": { "start": "2023-12-02T08:00:00Z", "end": "2023-12-03T15:00:00Z" }, "individual": { "reference": "Practitioner/practitioner2", "display": "Intensive Care Specialist" } } ], "period": { "start": "2023-12-02T08:00:00Z", "end": "2023-12-05T12:00:00Z" }, "location": [ { "location": { "reference": "Location/icu1", "display": "ICU" }, "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", "code": "wi", "display": "Ward" } ] }, "period": { "start": "2023-12-02T08:00:00Z", "end": "2023-12-03T15:00:00Z" } } ] } }, { "fullUrl": "https://simplifier.net/pacmed-critical-fhir-profiles/encounter3", "resource": { "resourceType": "Encounter", "id": "encounter3", "status": "finished", "class": { "system": "http://terminology.hl7.org/ValueSet/encounter-class", "version": "2.0.1", "code": "IMP", "display": "inpatient encounter", "userSelected": false }, "subject": { "reference": "Patient/patient3", "display": "Alice Johnson" }, "participant": [ { "type": [ { "text": "End-responsible physician" } ], "period": { "start": "2023-12-03T09:00:00Z", "end": "2023-12-04T14:00:00Z" }, "individual": { "reference": "Practitioner/practitioner3", "display": "Internal Medicine Specialist" } } ], "period": { "start": "2023-12-03T09:00:00Z", "end": "2023-12-06T10:00:00Z" }, "location": [ { "location": { "reference": "Location/internal2", "display": "Internal Medicine Ward" }, "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", "code": "wi", "display": "Ward" } ] }, "period": { "start": "2023-12-03T09:00:00Z", "end": "2023-12-04T14:00:00Z" } } ] } } ] }
Live patient data (software in production)
To query data for the software in production, a query like this could be used, where the 2025-01-03T14:30:00Z
should be replaced by the current date and time:
GET [baseUrl]/Encounter?_has:Encounter.location:location.display=ICU&_has:Encounter.location:period.start=le2025-01-03T14:30:00Z&_has:Encounter.location:period.end=ge2025-01-03T14:30:00Z
The response can look like this:
Bundle |
type : collection |
entry |
fullUrl : https://simplifier.net/pacmed-critical-fhir-profiles/encounter1 |
resource |
id : encounter1 |
status : in-progress |
class |
system : http://terminology.hl7.org/ValueSet/encounter-class |
version : 2.0.1 |
code : IMP |
display : inpatient encounter |
userSelected : False |
subject |
reference : Patient/patient1 |
display : John Doe |
participant |
type |
text : End-responsible physician |
period |
start : 2024-01-01T08:00:00Z |
individual |
reference : Practitioner/practitioner1 |
display : Intensive Care Specialist |
period |
start : 2024-01-01T08:00:00Z |
hospitalization |
id : hospitalization1 |
admitSource |
coding |
system : http://hl7.org/fhir/ValueSet/encounter-admit-source |
code : emergency |
display : Emergency Room |
location |
location |
reference : Location/icu1 |
display : ICU |
physicalType |
coding |
system : http://terminology.hl7.org/CodeSystem/location-physical-type |
code : wi |
display : Ward |
period |
start : 2024-01-01T08:00:00Z |
entry |
fullUrl : https://simplifier.net/pacmed-critical-fhir-profiles/encounter2 |
resource |
id : encounter2 |
status : in-progress |
class |
system : http://terminology.hl7.org/ValueSet/encounter-class |
version : 2.0.1 |
code : IMP |
display : inpatient encounter |
userSelected : False |
subject |
reference : Patient/patient2 |
display : Jane Smith |
participant |
type |
text : End-responsible physician |
period |
start : 2024-01-02T10:00:00Z |
individual |
reference : Practitioner/practitioner2 |
display : Intensive Care Specialist |
period |
start : 2024-01-02T10:00:00Z |
hospitalization |
id : hospitalization2 |
admitSource |
coding |
system : http://hl7.org/fhir/ValueSet/encounter-admit-source |
code : transfer |
display : Transfer from another facility |
location |
location |
reference : Location/icu1 |
display : ICU |
physicalType |
coding |
system : http://terminology.hl7.org/CodeSystem/location-physical-type |
code : wi |
display : Ward |
period |
start : 2024-01-02T10:00:00Z |
entry |
fullUrl : https://simplifier.net/pacmed-critical-fhir-profiles/encounter3 |
resource |
id : encounter3 |
status : in-progress |
class |
system : http://terminology.hl7.org/ValueSet/encounter-class |
version : 2.0.1 |
code : IMP |
display : inpatient encounter |
userSelected : False |
subject |
reference : Patient/patient3 |
display : Alice Johnson |
participant |
type |
text : End-responsible physician |
period |
start : 2024-01-03T12:00:00Z |
individual |
reference : Practitioner/practitioner3 |
display : Intensive Care Specialist |
period |
start : 2024-01-03T12:00:00Z |
hospitalization |
id : hospitalization3 |
admitSource |
coding |
system : http://hl7.org/fhir/ValueSet/encounter-admit-source |
code : direct |
display : Direct admission |
location |
location |
reference : Location/icu1 |
display : ICU |
physicalType |
coding |
system : http://terminology.hl7.org/CodeSystem/location-physical-type |
code : wi |
display : Ward |
period |
start : 2024-01-03T12:00:00Z |
The resource cannot be rendered.
<Bundle xmlns="http://hl7.org/fhir"> <type value="collection" /> <entry> <fullUrl value="https://simplifier.net/pacmed-critical-fhir-profiles/encounter1" /> <resource> <Encounter> <id value="encounter1" /> <status value="in-progress" /> <class> <system value="http://terminology.hl7.org/ValueSet/encounter-class" /> <version value="2.0.1" /> <code value="IMP" /> <display value="inpatient encounter" /> <userSelected value="false" /> </class> <subject> <reference value="Patient/patient1" /> <display value="John Doe" /> </subject> <participant> <type> <text value="End-responsible physician" /> </type> <period> <start value="2024-01-01T08:00:00Z" /> </period> <individual> <reference value="Practitioner/practitioner1" /> <display value="Intensive Care Specialist" /> </individual> </participant> <period> <start value="2024-01-01T08:00:00Z" /> </period> <hospitalization id="hospitalization1"> <admitSource> <coding> <system value="http://hl7.org/fhir/ValueSet/encounter-admit-source" /> <code value="emergency" /> <display value="Emergency Room" /> </coding> </admitSource> </hospitalization> <location> <location> <reference value="Location/icu1" /> <display value="ICU" /> </location> <physicalType> <coding> <system value="http://terminology.hl7.org/CodeSystem/location-physical-type" /> <code value="wi" /> <display value="Ward" /> </coding> </physicalType> <period> <start value="2024-01-01T08:00:00Z" /> </period> </location> </Encounter> </resource> </entry> <entry> <fullUrl value="https://simplifier.net/pacmed-critical-fhir-profiles/encounter2" /> <resource> <Encounter> <id value="encounter2" /> <status value="in-progress" /> <class> <system value="http://terminology.hl7.org/ValueSet/encounter-class" /> <version value="2.0.1" /> <code value="IMP" /> <display value="inpatient encounter" /> <userSelected value="false" /> </class> <subject> <reference value="Patient/patient2" /> <display value="Jane Smith" /> </subject> <participant> <type> <text value="End-responsible physician" /> </type> <period> <start value="2024-01-02T10:00:00Z" /> </period> <individual> <reference value="Practitioner/practitioner2" /> <display value="Intensive Care Specialist" /> </individual> </participant> <period> <start value="2024-01-02T10:00:00Z" /> </period> <hospitalization id="hospitalization2"> <admitSource> <coding> <system value="http://hl7.org/fhir/ValueSet/encounter-admit-source" /> <code value="transfer" /> <display value="Transfer from another facility" /> </coding> </admitSource> </hospitalization> <location> <location> <reference value="Location/icu1" /> <display value="ICU" /> </location> <physicalType> <coding> <system value="http://terminology.hl7.org/CodeSystem/location-physical-type" /> <code value="wi" /> <display value="Ward" /> </coding> </physicalType> <period> <start value="2024-01-02T10:00:00Z" /> </period> </location> </Encounter> </resource> </entry> <entry> <fullUrl value="https://simplifier.net/pacmed-critical-fhir-profiles/encounter3" /> <resource> <Encounter> <id value="encounter3" /> <status value="in-progress" /> <class> <system value="http://terminology.hl7.org/ValueSet/encounter-class" /> <version value="2.0.1" /> <code value="IMP" /> <display value="inpatient encounter" /> <userSelected value="false" /> </class> <subject> <reference value="Patient/patient3" /> <display value="Alice Johnson" /> </subject> <participant> <type> <text value="End-responsible physician" /> </type> <period> <start value="2024-01-03T12:00:00Z" /> </period> <individual> <reference value="Practitioner/practitioner3" /> <display value="Intensive Care Specialist" /> </individual> </participant> <period> <start value="2024-01-03T12:00:00Z" /> </period> <hospitalization id="hospitalization3"> <admitSource> <coding> <system value="http://hl7.org/fhir/ValueSet/encounter-admit-source" /> <code value="direct" /> <display value="Direct admission" /> </coding> </admitSource> </hospitalization> <location> <location> <reference value="Location/icu1" /> <display value="ICU" /> </location> <physicalType> <coding> <system value="http://terminology.hl7.org/CodeSystem/location-physical-type" /> <code value="wi" /> <display value="Ward" /> </coding> </physicalType> <period> <start value="2024-01-03T12:00:00Z" /> </period> </location> </Encounter> </resource> </entry> </Bundle>
{ "resourceType": "Bundle", "type": "collection", "entry": [ { "fullUrl": "https://simplifier.net/pacmed-critical-fhir-profiles/encounter1", "resource": { "resourceType": "Encounter", "id": "encounter1", "status": "in-progress", "class": { "system": "http://terminology.hl7.org/ValueSet/encounter-class", "version": "2.0.1", "code": "IMP", "display": "inpatient encounter", "userSelected": false }, "subject": { "reference": "Patient/patient1", "display": "John Doe" }, "participant": [ { "type": [ { "text": "End-responsible physician" } ], "period": { "start": "2024-01-01T08:00:00Z" }, "individual": { "reference": "Practitioner/practitioner1", "display": "Intensive Care Specialist" } } ], "period": { "start": "2024-01-01T08:00:00Z" }, "hospitalization": { "id": "hospitalization1", "admitSource": { "coding": [ { "system": "http://hl7.org/fhir/ValueSet/encounter-admit-source", "code": "emergency", "display": "Emergency Room" } ] } }, "location": [ { "location": { "reference": "Location/icu1", "display": "ICU" }, "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", "code": "wi", "display": "Ward" } ] }, "period": { "start": "2024-01-01T08:00:00Z" } } ] } }, { "fullUrl": "https://simplifier.net/pacmed-critical-fhir-profiles/encounter2", "resource": { "resourceType": "Encounter", "id": "encounter2", "status": "in-progress", "class": { "system": "http://terminology.hl7.org/ValueSet/encounter-class", "version": "2.0.1", "code": "IMP", "display": "inpatient encounter", "userSelected": false }, "subject": { "reference": "Patient/patient2", "display": "Jane Smith" }, "participant": [ { "type": [ { "text": "End-responsible physician" } ], "period": { "start": "2024-01-02T10:00:00Z" }, "individual": { "reference": "Practitioner/practitioner2", "display": "Intensive Care Specialist" } } ], "period": { "start": "2024-01-02T10:00:00Z" }, "hospitalization": { "id": "hospitalization2", "admitSource": { "coding": [ { "system": "http://hl7.org/fhir/ValueSet/encounter-admit-source", "code": "transfer", "display": "Transfer from another facility" } ] } }, "location": [ { "location": { "reference": "Location/icu1", "display": "ICU" }, "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", "code": "wi", "display": "Ward" } ] }, "period": { "start": "2024-01-02T10:00:00Z" } } ] } }, { "fullUrl": "https://simplifier.net/pacmed-critical-fhir-profiles/encounter3", "resource": { "resourceType": "Encounter", "id": "encounter3", "status": "in-progress", "class": { "system": "http://terminology.hl7.org/ValueSet/encounter-class", "version": "2.0.1", "code": "IMP", "display": "inpatient encounter", "userSelected": false }, "subject": { "reference": "Patient/patient3", "display": "Alice Johnson" }, "participant": [ { "type": [ { "text": "End-responsible physician" } ], "period": { "start": "2024-01-03T12:00:00Z" }, "individual": { "reference": "Practitioner/practitioner3", "display": "Intensive Care Specialist" } } ], "period": { "start": "2024-01-03T12:00:00Z" }, "hospitalization": { "id": "hospitalization3", "admitSource": { "coding": [ { "system": "http://hl7.org/fhir/ValueSet/encounter-admit-source", "code": "direct", "display": "Direct admission" } ] } }, "location": [ { "location": { "reference": "Location/icu1", "display": "ICU" }, "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", "code": "wi", "display": "Ward" } ] }, "period": { "start": "2024-01-03T12:00:00Z" } } ] } } ] }
Querying of other resources
Other resources relevant for an encounter can be queried using (a subset of) the following elements
- encounter.id
- encounter.subject.reference
- encounter.location.period.start (where encounter.location.location.display = ICU)
- encounter.location.period.end (where encounter.location.location.display = ICU)
- encounter.participant.period.start (where encounter.participant.individual.display = Intensive care medicine)
- encounter.participant.period.end (where location.location.display = Intensive care medicine)