QI-Core Implementation Guide - This is the current published version.. See the Directory of published versions
The following example illustrates an inpatient encounter reference.
define "Inpatient Encounter":
[Encounter: "Encounter Inpatient"] EncounterInpatient
where EncounterInpatient.status = 'finished'
and "LengthInDays"(EncounterInpatient.period) <= 120
and EncounterInpatient.period ends during "Measurement Period"
Inpatient Admission for Appendicitis |
The official URL for this profile is:
http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
Profile of Encounter for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.
This profile builds on USCoreEncounterProfile.
This profile was published on Wed Aug 22 00:00:00 UTC 2018 as a draft by Health Level Seven, Inc. - CQI WG.
Description of Profiles, Differentials, and Snapshots.
Summary
Mandatory: 0 element (1 nested mandatory element)
Must-Support: 22 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Encounter | I | 0..* | USCoreEncounterProfile | An interaction during which services are provided to the patient |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
request-statusReason | SI | 0..1 | CodeableConcept | Reason for current status URL: http://hl7.org/fhir/StructureDefinition/request-statusReason Binding: (unbound) (example) |
qicore-encounter-procedure | SI | 0..* | (Complex) | Encounter Procedure Extension URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-procedure |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | SΣI | 0..* | Identifier | Identifier(s) by which this encounter is known |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!ΣI | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) |
type | ΣI | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible) |
system | SΣI | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | SΣI | 1..1 | string | The value that is unique Example General: 123456 |
period | ΣI | 0..1 | Period | Time period when id is/was valid for use |
assigner | ΣI | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
status | ?!ΣI | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required) |
statusHistory | I | 0..* | BackboneElement | List of past encounter statuses |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
status | I | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required) |
period | I | 1..1 | Period | The time that the episode was in the specified status |
class | SΣI | 1..1 | Coding | Classification of patient encounter Binding: V3 Value SetActEncounterCode (extensible) |
classHistory | I | 0..* | BackboneElement | List of past encounter classes |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
class | I | 1..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: V3 Value SetActEncounterCode (extensible) |
period | I | 1..1 | Period | The time that the episode was in the specified class |
type | SΣI | 1..* | CodeableConcept | Specific type of encounter Binding: US Core Encounter Type (extensible) |
serviceType | ΣI | 0..1 | CodeableConcept | Specific type of service Binding: ServiceType (example) |
priority | I | 0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: SNOMED CT Priorities Codes (preferred) |
subject | SΣI | 1..1 | Reference(QICorePatient) | The patient or group present at the encounter |
episodeOfCare | ΣI | 0..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against |
basedOn | I | 0..* | Reference(QICoreServiceRequest) | The ServiceRequest that initiated this encounter |
participant | SΣI | 0..* | BackboneElement | List of participants involved in the encounter |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | SΣI | 0..* | CodeableConcept | Role of participant in encounter Binding: ParticipantType (extensible) |
period | SI | 0..1 | Period | Period of time during the encounter that the participant participated |
individual | SΣI | 0..1 | Reference(QICorePractitioner) | Persons involved in the encounter other than the patient |
appointment | ΣI | 0..* | Reference(Appointment) | The appointment that scheduled this encounter |
period | SI | 0..1 | Period | The start and end time of the encounter |
length | SI | 0..1 | Duration | Quantity of time the encounter lasted (less time absent) |
reasonCode | SΣI | 0..* | CodeableConcept | Coded reason the encounter takes place Binding: EncounterReasonCodes (preferred) |
reasonReference | ΣI | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) | Reason the encounter takes place (reference) |
diagnosis | SΣI | 0..* | BackboneElement | The list of diagnosis relevant to this encounter |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
qicore-encounter-diagnosisPresentOnAdmission | SI | 1..1 | CodeableConcept | onAdmission URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-diagnosisPresentOnAdmission Binding: ExampleDiagnosisOnAdmissionCodes (required) |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
condition | SΣI | 1..1 | Reference(QICoreCondition | QICoreProcedure) | The diagnosis or procedure relevant to the encounter |
use | SI | 0..1 | CodeableConcept | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …) Binding: DiagnosisRole (preferred) |
rank | SI | 0..1 | positiveInt | Ranking of the diagnosis (for each role type) |
account | I | 0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter |
hospitalization | SI | 0..1 | BackboneElement | Details about the admission to a healthcare service |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
preAdmissionIdentifier | I | 0..1 | Identifier | Pre-admission identifier |
origin | I | 0..1 | Reference(QICoreLocation) | The location/organization from which the patient came before admission |
admitSource | SI | 0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred) |
reAdmission | SI | 0..1 | CodeableConcept | The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission Binding: v2 RE-ADMISSION INDICATOR (example) |
dietPreference | I | 0..* | CodeableConcept | Diet preferences reported by the patient Binding: Diet (example) |
specialCourtesy | I | 0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred) |
specialArrangement | I | 0..* | CodeableConcept | Wheelchair, translator, stretcher, etc. Binding: SpecialArrangements (preferred) |
destination | I | 0..1 | Reference(QICoreLocation) | Location/organization to which the patient is discharged |
dischargeDisposition | SI | 0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (example) |
location | SI | 0..* | BackboneElement | List of locations where the patient has been |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
location | SI | 1..1 | Reference(QICoreLocation) | Location the encounter takes place |
status | I | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required) |
physicalType | I | 0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: LocationType (example) |
period | I | 0..1 | Period | Time period during which the patient was present at the location |
serviceProvider | SI | 0..1 | Reference(QICoreOrganization) | The organization (facility) responsible for this encounter |
partOf | I | 0..1 | Reference(QICoreEncounter) | Another Encounter this encounter is part of |
Documentation for this format |
Summary
Mandatory: 0 element (1 nested mandatory element)
Must-Support: 22 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Differential View
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Encounter | I | 0..* | USCoreEncounterProfile | An interaction during which services are provided to the patient |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
request-statusReason | SI | 0..1 | CodeableConcept | Reason for current status URL: http://hl7.org/fhir/StructureDefinition/request-statusReason Binding: (unbound) (example) |
qicore-encounter-procedure | SI | 0..* | (Complex) | Encounter Procedure Extension URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-procedure |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | SΣI | 0..* | Identifier | Identifier(s) by which this encounter is known |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!ΣI | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) |
type | ΣI | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible) |
system | SΣI | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | SΣI | 1..1 | string | The value that is unique Example General: 123456 |
period | ΣI | 0..1 | Period | Time period when id is/was valid for use |
assigner | ΣI | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
status | ?!ΣI | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required) |
statusHistory | I | 0..* | BackboneElement | List of past encounter statuses |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
status | I | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required) |
period | I | 1..1 | Period | The time that the episode was in the specified status |
class | SΣI | 1..1 | Coding | Classification of patient encounter Binding: V3 Value SetActEncounterCode (extensible) |
classHistory | I | 0..* | BackboneElement | List of past encounter classes |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
class | I | 1..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: V3 Value SetActEncounterCode (extensible) |
period | I | 1..1 | Period | The time that the episode was in the specified class |
type | SΣI | 1..* | CodeableConcept | Specific type of encounter Binding: US Core Encounter Type (extensible) |
serviceType | ΣI | 0..1 | CodeableConcept | Specific type of service Binding: ServiceType (example) |
priority | I | 0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: SNOMED CT Priorities Codes (preferred) |
subject | SΣI | 1..1 | Reference(QICorePatient) | The patient or group present at the encounter |
episodeOfCare | ΣI | 0..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against |
basedOn | I | 0..* | Reference(QICoreServiceRequest) | The ServiceRequest that initiated this encounter |
participant | SΣI | 0..* | BackboneElement | List of participants involved in the encounter |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | SΣI | 0..* | CodeableConcept | Role of participant in encounter Binding: ParticipantType (extensible) |
period | SI | 0..1 | Period | Period of time during the encounter that the participant participated |
individual | SΣI | 0..1 | Reference(QICorePractitioner) | Persons involved in the encounter other than the patient |
appointment | ΣI | 0..* | Reference(Appointment) | The appointment that scheduled this encounter |
period | SI | 0..1 | Period | The start and end time of the encounter |
length | SI | 0..1 | Duration | Quantity of time the encounter lasted (less time absent) |
reasonCode | SΣI | 0..* | CodeableConcept | Coded reason the encounter takes place Binding: EncounterReasonCodes (preferred) |
reasonReference | ΣI | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) | Reason the encounter takes place (reference) |
diagnosis | SΣI | 0..* | BackboneElement | The list of diagnosis relevant to this encounter |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
qicore-encounter-diagnosisPresentOnAdmission | SI | 1..1 | CodeableConcept | onAdmission URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-diagnosisPresentOnAdmission Binding: ExampleDiagnosisOnAdmissionCodes (required) |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
condition | SΣI | 1..1 | Reference(QICoreCondition | QICoreProcedure) | The diagnosis or procedure relevant to the encounter |
use | SI | 0..1 | CodeableConcept | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …) Binding: DiagnosisRole (preferred) |
rank | SI | 0..1 | positiveInt | Ranking of the diagnosis (for each role type) |
account | I | 0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter |
hospitalization | SI | 0..1 | BackboneElement | Details about the admission to a healthcare service |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
preAdmissionIdentifier | I | 0..1 | Identifier | Pre-admission identifier |
origin | I | 0..1 | Reference(QICoreLocation) | The location/organization from which the patient came before admission |
admitSource | SI | 0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred) |
reAdmission | SI | 0..1 | CodeableConcept | The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission Binding: v2 RE-ADMISSION INDICATOR (example) |
dietPreference | I | 0..* | CodeableConcept | Diet preferences reported by the patient Binding: Diet (example) |
specialCourtesy | I | 0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred) |
specialArrangement | I | 0..* | CodeableConcept | Wheelchair, translator, stretcher, etc. Binding: SpecialArrangements (preferred) |
destination | I | 0..1 | Reference(QICoreLocation) | Location/organization to which the patient is discharged |
dischargeDisposition | SI | 0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (example) |
location | SI | 0..* | BackboneElement | List of locations where the patient has been |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
location | SI | 1..1 | Reference(QICoreLocation) | Location the encounter takes place |
status | I | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required) |
physicalType | I | 0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: LocationType (example) |
period | I | 0..1 | Period | Time period during which the patient was present at the location |
serviceProvider | SI | 0..1 | Reference(QICoreOrganization) | The organization (facility) responsible for this encounter |
partOf | I | 0..1 | Reference(QICoreEncounter) | Another Encounter this encounter is part of |
Documentation for this format |
Path | Conformance | ValueSet |
Encounter.language | preferred | CommonLanguages Max Binding: AllLanguages |
Encounter.identifier.use | required | IdentifierUse |
Encounter.identifier.type | extensible | Identifier Type Codes |
Encounter.status | required | EncounterStatus |
Encounter.statusHistory.status | required | EncounterStatus |
Encounter.class | extensible | v3.ActEncounterCode |
Encounter.classHistory.class | extensible | v3.ActEncounterCode |
Encounter.type | extensible | USCoreEncounterType |
Encounter.serviceType | example | ServiceType |
Encounter.priority | preferred | QICorePriority |
Encounter.participant.type | extensible | ParticipantType |
Encounter.reasonCode | preferred | EncounterReasonCodes |
Encounter.diagnosis.use | preferred | DiagnosisRole |
Encounter.hospitalization.admitSource | preferred | AdmitSource |
Encounter.hospitalization.reAdmission | example | v2.0092 |
Encounter.hospitalization.dietPreference | example | Diet |
Encounter.hospitalization.specialCourtesy | preferred | SpecialCourtesy |
Encounter.hospitalization.specialArrangement | preferred | SpecialArrangements |
Encounter.hospitalization.dischargeDisposition | example | DischargeDisposition |
Encounter.location.status | required | EncounterLocationStatus |
Encounter.location.physicalType | example | LocationType |
Id | Path | Details | Requirements |
dom-2 | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | Encounter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | Encounter | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | Encounter | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | Encounter.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.extension:statusReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.extension:statusReason | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.extension:procedure | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.extension:procedure | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.identifier.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.identifier.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.identifier.use | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.identifier.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.identifier.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.identifier.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.identifier.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.identifier.assigner | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.statusHistory | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.statusHistory.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.statusHistory.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.statusHistory.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.statusHistory.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.statusHistory.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.statusHistory.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.class | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.classHistory | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.classHistory.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.classHistory.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.classHistory.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.classHistory.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.classHistory.class | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.classHistory.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.serviceType | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.priority | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.episodeOfCare | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.basedOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.participant | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.participant.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.participant.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.participant.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.participant.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.participant.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.participant.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.participant.individual | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.appointment | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.length | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.reasonCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.reasonReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.diagnosis | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.diagnosis.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.diagnosis.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.diagnosis.extension:diagnosisPresentOnAdmission | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.diagnosis.extension:diagnosisPresentOnAdmission | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.diagnosis.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.diagnosis.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.diagnosis.condition | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.diagnosis.use | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.diagnosis.rank | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.account | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.hospitalization | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.hospitalization.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.hospitalization.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.hospitalization.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.hospitalization.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.hospitalization.preAdmissionIdentifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.hospitalization.origin | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.hospitalization.admitSource | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.hospitalization.reAdmission | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.hospitalization.dietPreference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.hospitalization.specialCourtesy | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.hospitalization.specialArrangement | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.hospitalization.destination | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.hospitalization.dischargeDisposition | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.location | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.location.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.location.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.location.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Encounter.location.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Encounter.location.location | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.location.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.location.physicalType | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.location.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.serviceProvider | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Encounter.partOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |