This page is part of the Quality Improvement Core Framework (v1.6.0: STU 2 Ballot 1) based on FHIR v1.6.0. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/qicore/StructureDefinition/qicore-encounter
This profile was published on Fri Feb 27 00:00:00 AEDT 2015 as a draft by Health Level Seven International (Clinical Quality Information - QICore).
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Encounter
Summary
Mandatory: 0 element (+3 nested mandatory elements)
Must-Support: 12 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
This structure is derived from Encounter
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Encounter | I | 0..* | An interaction during which services are provided to the patient dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource | |
id | ∑ | 0..1 | id | Logical id of this artifact |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
encounter-relatedCondition | I | 0..* | Reference(Condition) | Extension URL: http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..1 | Extension | A condition related to this encounter | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
url | 1..1 | uri | "condition" | |
valueReference | 1..1 | Reference(Condition) | Detailed information about conditions, problems or diagnoses | |
extension | 0..1 | Extension | The role of the condition | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
url | 1..1 | uri | "role" | |
valueCodeableConcept | 1..1 | CodeableConcept | Value of extension | |
condition | 1..1 | Reference(Condition) | Extension URL: condition | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..1 | Extension | A condition related to this encounter | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
url | 1..1 | uri | "condition" | |
valueReference | 1..1 | Reference(Condition) | Detailed information about conditions, problems or diagnoses | |
extension | 0..1 | Extension | The role of the condition | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
url | 1..1 | uri | "role" | |
valueCodeableConcept | 1..1 | CodeableConcept | Value of extension | |
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition" | |
valueReference | 1..1 | Reference(Profile qicore-condition) | Detailed information about conditions, problems or diagnoses | |
role | 1..1 | CodeableConcept | Extension URL: role Binding: SNOMED CT Qualifier For Type of Diagnosis Codes (preferred) | |
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition" | |
valueReference | 0..1 | Reference(Condition) | Detailed information about conditions, problems or diagnoses | |
encounter-reasonCancelled | I | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled Binding: Reasons for canceled or refused encounter codes (example) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | ∑ | 0..* | Identifier | Identifier(s) by which this encounter is known |
status | ?!S | 1..1 | code | planned | arrived | in-progress | onleave | finished | cancelled | entered-in-error Binding: EncounterStatus (required) |
statusHistory | 0..* | BackboneElement | List of past encounter statuses | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
status | 1..1 | code | planned | arrived | in-progress | onleave | finished | cancelled | entered-in-error Binding: EncounterStatus (required) | |
period | 1..1 | Period | The time that the episode was in the specified status | |
class | S | 0..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: ActEncounterCode (extensible) |
type | S | 0..* | CodeableConcept | Specific type of encounter Binding: 7.org/fhir/daf/ValueSet/daf-encounter-type (preferred) |
priority | 0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: SNOMED CT Priorities Codes (preferred) | |
patient | S | 0..1 | Reference(Profile qicore-patient) | The patient present at the encounter |
episodeOfCare | ∑ | 0..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against |
incomingReferral | 0..* | Reference(Profile qicore-referralrequest) | The ReferralRequest that initiated this encounter | |
participant | 0..* | BackboneElement | List of participants involved in the encounter | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
type | ∑ | 0..* | CodeableConcept | Role of participant in encounter Binding: ParticipantType (extensible) |
period | 0..1 | Period | Period of time during the encounter participant was present | |
individual | 0..1 | Reference(Profile qicore-practitioner | Profile qicore-relatedperson) | Persons involved in the encounter other than the patient | |
appointment | ∑ | 0..1 | Reference(Appointment) | The appointment that scheduled this encounter |
period | S | 0..1 | Period | The start and end time of the encounter |
length | S | 0..1 | Duration | Quantity of time the encounter lasted (less time absent) |
reason | S | 0..* | CodeableConcept | Reason the encounter takes place (code) Binding: 7.org/fhir/daf/ValueSet/daf-encounter-reason (preferred) |
indication | 0..* | Reference(Condition | Procedure) | Reason the encounter takes place (resource) | |
account | 0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter | |
hospitalization | 0..1 | BackboneElement | Details about the admission to a healthcare service | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
preAdmissionIdentifier | 0..1 | Identifier | Pre-admission identifier | |
origin | 0..1 | Reference(Profile qicore-location) | The location from which the patient came before admission | |
admitSource | S | 0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred) |
admittingDiagnosis | 0..* | Reference(Condition) | The admitting diagnosis as reported by admitting practitioner | |
reAdmission | S | 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 | 0..* | CodeableConcept | Diet preferences reported by the patient Binding: Diet (example) | |
specialCourtesy | 0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred) | |
specialArrangement | 0..* | CodeableConcept | Wheelchair, translator, stretcher, etc. Binding: SpecialArrangements (preferred) | |
destination | 0..1 | Reference(Profile qicore-location) | Location to which the patient is discharged | |
dischargeDisposition | S | 0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (example) |
dischargeDiagnosis | S | 0..* | Reference(Condition) | The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete |
location | 0..* | BackboneElement | List of locations where the patient has been | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
location | 1..1 | Reference(Profile qicore-location) | Location the encounter takes place | |
status | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required) | |
period | 0..1 | Period | Time period during which the patient was present at the location | |
serviceProvider | S | 0..1 | Reference(Profile qicore-organization) | The custodian organization of this Encounter record |
partOf | 0..1 | Reference(Profile qicore-encounter) | Another Encounter this encounter is part of | |
Documentation for this format |
yet to be done: Xml template
yet to be done: Json template
This structure is derived from StructureDefinition.
Summary
Mandatory: 0 element (+3 nested mandatory elements)
Must-Support: 12 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Differential View
This structure is derived from StructureDefinition.
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Encounter | I | 0..* | An interaction during which services are provided to the patient dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource | |
id | ∑ | 0..1 | id | Logical id of this artifact |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
encounter-relatedCondition | I | 0..* | Reference(Condition) | Extension URL: http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..1 | Extension | A condition related to this encounter | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
url | 1..1 | uri | "condition" | |
valueReference | 1..1 | Reference(Condition) | Detailed information about conditions, problems or diagnoses | |
extension | 0..1 | Extension | The role of the condition | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
url | 1..1 | uri | "role" | |
valueCodeableConcept | 1..1 | CodeableConcept | Value of extension | |
condition | 1..1 | Reference(Condition) | Extension URL: condition | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..1 | Extension | A condition related to this encounter | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
url | 1..1 | uri | "condition" | |
valueReference | 1..1 | Reference(Condition) | Detailed information about conditions, problems or diagnoses | |
extension | 0..1 | Extension | The role of the condition | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
url | 1..1 | uri | "role" | |
valueCodeableConcept | 1..1 | CodeableConcept | Value of extension | |
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition" | |
valueReference | 1..1 | Reference(Profile qicore-condition) | Detailed information about conditions, problems or diagnoses | |
role | 1..1 | CodeableConcept | Extension URL: role Binding: SNOMED CT Qualifier For Type of Diagnosis Codes (preferred) | |
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition" | |
valueReference | 0..1 | Reference(Condition) | Detailed information about conditions, problems or diagnoses | |
encounter-reasonCancelled | I | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled Binding: Reasons for canceled or refused encounter codes (example) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | ∑ | 0..* | Identifier | Identifier(s) by which this encounter is known |
status | ?!S | 1..1 | code | planned | arrived | in-progress | onleave | finished | cancelled | entered-in-error Binding: EncounterStatus (required) |
statusHistory | 0..* | BackboneElement | List of past encounter statuses | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
status | 1..1 | code | planned | arrived | in-progress | onleave | finished | cancelled | entered-in-error Binding: EncounterStatus (required) | |
period | 1..1 | Period | The time that the episode was in the specified status | |
class | S | 0..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: ActEncounterCode (extensible) |
type | S | 0..* | CodeableConcept | Specific type of encounter Binding: 7.org/fhir/daf/ValueSet/daf-encounter-type (preferred) |
priority | 0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: SNOMED CT Priorities Codes (preferred) | |
patient | S | 0..1 | Reference(Profile qicore-patient) | The patient present at the encounter |
episodeOfCare | ∑ | 0..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against |
incomingReferral | 0..* | Reference(Profile qicore-referralrequest) | The ReferralRequest that initiated this encounter | |
participant | 0..* | BackboneElement | List of participants involved in the encounter | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
type | ∑ | 0..* | CodeableConcept | Role of participant in encounter Binding: ParticipantType (extensible) |
period | 0..1 | Period | Period of time during the encounter participant was present | |
individual | 0..1 | Reference(Profile qicore-practitioner | Profile qicore-relatedperson) | Persons involved in the encounter other than the patient | |
appointment | ∑ | 0..1 | Reference(Appointment) | The appointment that scheduled this encounter |
period | S | 0..1 | Period | The start and end time of the encounter |
length | S | 0..1 | Duration | Quantity of time the encounter lasted (less time absent) |
reason | S | 0..* | CodeableConcept | Reason the encounter takes place (code) Binding: 7.org/fhir/daf/ValueSet/daf-encounter-reason (preferred) |
indication | 0..* | Reference(Condition | Procedure) | Reason the encounter takes place (resource) | |
account | 0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter | |
hospitalization | 0..1 | BackboneElement | Details about the admission to a healthcare service | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
preAdmissionIdentifier | 0..1 | Identifier | Pre-admission identifier | |
origin | 0..1 | Reference(Profile qicore-location) | The location from which the patient came before admission | |
admitSource | S | 0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred) |
admittingDiagnosis | 0..* | Reference(Condition) | The admitting diagnosis as reported by admitting practitioner | |
reAdmission | S | 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 | 0..* | CodeableConcept | Diet preferences reported by the patient Binding: Diet (example) | |
specialCourtesy | 0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred) | |
specialArrangement | 0..* | CodeableConcept | Wheelchair, translator, stretcher, etc. Binding: SpecialArrangements (preferred) | |
destination | 0..1 | Reference(Profile qicore-location) | Location to which the patient is discharged | |
dischargeDisposition | S | 0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (example) |
dischargeDiagnosis | S | 0..* | Reference(Condition) | The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete |
location | 0..* | BackboneElement | List of locations where the patient has been | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
location | 1..1 | Reference(Profile qicore-location) | Location the encounter takes place | |
status | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required) | |
period | 0..1 | Period | Time period during which the patient was present at the location | |
serviceProvider | S | 0..1 | Reference(Profile qicore-organization) | The custodian organization of this Encounter record |
partOf | 0..1 | Reference(Profile qicore-encounter) | Another Encounter this encounter is part of | |
Documentation for this format |
XML Template
yet to be done: Xml template
JSON Template
yet to be done: Json template
Path | Name | Conformance | ValueSet |
Encounter.language | Common Languages | extensible | Common Languages |
Encounter.extension.extension http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition#role | SNOMED CT Qualifier For Type of Diagnosis Codes | preferred | SNOMED CT Qualifier For Type of Diagnosis Codes |
Encounter.extension http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled | Reasons for canceled or refused encounter codes | example | Reasons for canceled or refused encounter codes |
Encounter.status | EncounterStatus | required | EncounterStatus |
Encounter.statusHistory.status | EncounterStatus | required | EncounterStatus |
Encounter.class | ActEncounterCode | extensible | ActEncounterCode |
Encounter.type | ?ext | preferred | http://hl7.org/fhir/daf/ValueSet/daf-encounter-type |
Encounter.priority | SNOMED CT Priorities Codes | preferred | SNOMED CT Priorities Codes |
Encounter.participant.type | ParticipantType | extensible | ParticipantType |
Encounter.reason | ?ext | preferred | http://hl7.org/fhir/daf/ValueSet/daf-encounter-reason |
Encounter.hospitalization.admitSource | AdmitSource | preferred | AdmitSource |
Encounter.hospitalization.reAdmission | v2 Re-Admission Indicator | example | v2 Re-Admission Indicator |
Encounter.hospitalization.dietPreference | Diet | example | Diet |
Encounter.hospitalization.specialCourtesy | SpecialCourtesy | preferred | SpecialCourtesy |
Encounter.hospitalization.specialArrangement | SpecialArrangements | preferred | SpecialArrangements |
Encounter.hospitalization.dischargeDisposition | DischargeDisposition | example | DischargeDisposition |
Encounter.location.status | EncounterLocationStatus | required | EncounterLocationStatus |
Id | Path | Details | Requirements |
dom-2 | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources XPath: not(parent::f:contained and f:contained) | |
dom-1 | Encounter | If the resource is contained in another resource, it SHALL NOT contain any narrative XPath: not(parent::f:contained and f:text) | |
dom-4 | Encounter | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated XPath: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated)) | |
dom-3 | Encounter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource XPath: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))])) | |
ele-1 | Encounter.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | Encounter.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | Encounter.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | Encounter.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | Encounter.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | Encounter.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) |