NHDR Implementation Guide Release 1.0
0.1.0 - ci-build
NHDR Implementation Guide Release 1.0, published by NHDR. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/UP-Manila-SILab/PhilHealth-NHDR-IG-Review/ and changes regularly. See the Directory of published versions
| Official URL: https://nhdr.gov.ph/fhir/StructureDefinition/PH-Encounter | Version: 0.1.0 | |||
| Standards status: Draft | Computable Name: PH_Encounter | |||
Copyright/Legal: Used by permission of HL7 International, all rights reserved Creative Commons License |
||||
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. Encounter is primarily used to record information about the actual activities that occurred, where Appointment is used to record planned activities.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Encounter | An interaction during which services are provided to the patient | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | integer | Age in Years URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeYears | |
![]() ![]() ![]() |
0..* | integer | Age in Months URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeMonths | |
![]() ![]() ![]() |
0..* | integer | Age in Days URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeDays | |
![]() ![]() ![]() |
0..* | string | Patient Classification URL: https://nhdr.gov.ph/fhir/StructureDefinition/PatientClassification | |
![]() ![]() ![]() |
0..* | HumanName | Interviewer URL: https://nhdr.gov.ph/fhir/StructureDefinition/Interviewer | |
![]() ![]() ![]() |
0..* | HumanName | Investigator URL: https://nhdr.gov.ph/fhir/StructureDefinition/InvestigatorName | |
![]() ![]() ![]() |
0..* | dateTime | Date of Interview URL: https://nhdr.gov.ph/fhir/StructureDefinition/DateInterview | |
![]() ![]() ![]() |
0..* | dateTime | Date of Investigation URL: https://nhdr.gov.ph/fhir/StructureDefinition/DateInvestigation | |
![]() ![]() ![]() |
0..* | HumanName | Reporter URL: https://nhdr.gov.ph/fhir/StructureDefinition/ReporterName | |
![]() ![]() |
Σ | 0..* | Identifier | Identifier(s) by which this encounter is known Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Identifier(s) by which this encounter is known |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/philhealth-id |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Identifier(s) by which this encounter is known |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/coviddata-id |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Identifier(s) by which this encounter is known |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/covidpatient-id |
![]() ![]() |
?!Σ | 1..1 | code | NHDR will only use "triaged", "in-progress", "cancelled", and "finished". Binding: EncounterStatus (required): Current state of the encounter. |
![]() ![]() |
Σ | 1..1 | Coding | Classification of patient encounter Binding: ActEncounterCode (extensible): Classification of the encounter. |
![]() ![]() |
Σ | 0..1 | CodeableConcept | Specific type of service Binding: Service Type (required) |
![]() ![]() |
Σ | 0..1 | Reference(PH Patient) | The patient or group present at the encounter |
![]() ![]() |
0..1 | Reference(PH Organization) | The organization (facility) responsible for this encounter | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.identifier:PhilHealthID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:COVIDDataID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:COVIDPatientID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.statusHistory.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.serviceType | Base | required | Service Type | 📦0.1.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Encounter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Encounter | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Encounter | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Encounter
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Encounter | An interaction during which services are provided to the patient | |
![]() ![]() |
||||
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | dateTime | The recorded date indicating when the record was uploaded by the health facility. URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFRecordedDate | |
![]() ![]() ![]() ![]() |
0..* | dateTime | The date indicating when the record was last updated by the health facility. URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFLastUpdated | |
![]() ![]() ![]() |
0..1 | instant | When the resource was uploaded to the NHDR. | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | integer | Age in Years URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeYears | |
![]() ![]() ![]() |
0..* | integer | Age in Months URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeMonths | |
![]() ![]() ![]() |
0..* | integer | Age in Days URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeDays | |
![]() ![]() ![]() |
0..* | string | Patient Classification URL: https://nhdr.gov.ph/fhir/StructureDefinition/PatientClassification | |
![]() ![]() ![]() |
0..* | HumanName | Interviewer URL: https://nhdr.gov.ph/fhir/StructureDefinition/Interviewer | |
![]() ![]() ![]() |
0..* | HumanName | Investigator URL: https://nhdr.gov.ph/fhir/StructureDefinition/InvestigatorName | |
![]() ![]() ![]() |
0..* | dateTime | Date of Interview URL: https://nhdr.gov.ph/fhir/StructureDefinition/DateInterview | |
![]() ![]() ![]() |
0..* | dateTime | Date of Investigation URL: https://nhdr.gov.ph/fhir/StructureDefinition/DateInvestigation | |
![]() ![]() ![]() |
0..* | HumanName | Reporter URL: https://nhdr.gov.ph/fhir/StructureDefinition/ReporterName | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..* | Identifier | Identifier(s) by which this encounter is known Slice: Unordered, Open by value:system | |
![]() ![]() ![]() |
0..1 | Identifier | Identifier(s) by which this encounter is known | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: NIIP | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/philhealth-id | |
![]() ![]() ![]() |
0..1 | Identifier | Identifier(s) by which this encounter is known | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: placeholder | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/coviddata-id | |
![]() ![]() ![]() |
0..1 | Identifier | Identifier(s) by which this encounter is known | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: COVID | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/covidpatient-id | |
![]() ![]() |
1..1 | code | NHDR will only use "triaged", "in-progress", "cancelled", and "finished". | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | CodeableConcept | Specific type of service Binding: Service Type (required) | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | Reference(PH Patient) | The patient or group present at the encounter | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Reference(PH Condition | PH Procedure) | The diagnosis or procedure relevant to the encounter | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | Reference(Location | PH Organization) | Location/organization to which the patient is discharged | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (required) | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: LocationType (required) | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | Reference(PH Organization) | The organization (facility) responsible for this encounter | |
![]() ![]() |
0..0 | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.serviceType | Base | required | Service Type | 📦0.1.0 | This IG |
| Encounter.hospitalization.dischargeDisposition | Base | required | Discharge disposition | 📦4.0.1 | FHIR Std. |
| Encounter.location.physicalType | Base | required | Location type | 📦4.0.1 | FHIR Std. |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Encounter | An interaction during which services are provided to the patient | |
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | dateTime | The recorded date indicating when the record was uploaded by the health facility. URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFRecordedDate | |
![]() ![]() ![]() ![]() |
0..* | dateTime | The date indicating when the record was last updated by the health facility. URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFLastUpdated | |
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource was uploaded to the NHDR. |
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from |
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | integer | Age in Years URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeYears | |
![]() ![]() ![]() |
0..* | integer | Age in Months URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeMonths | |
![]() ![]() ![]() |
0..* | integer | Age in Days URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeDays | |
![]() ![]() ![]() |
0..* | string | Patient Classification URL: https://nhdr.gov.ph/fhir/StructureDefinition/PatientClassification | |
![]() ![]() ![]() |
0..* | HumanName | Interviewer URL: https://nhdr.gov.ph/fhir/StructureDefinition/Interviewer | |
![]() ![]() ![]() |
0..* | HumanName | Investigator URL: https://nhdr.gov.ph/fhir/StructureDefinition/InvestigatorName | |
![]() ![]() ![]() |
0..* | dateTime | Date of Interview URL: https://nhdr.gov.ph/fhir/StructureDefinition/DateInterview | |
![]() ![]() ![]() |
0..* | dateTime | Date of Investigation URL: https://nhdr.gov.ph/fhir/StructureDefinition/DateInvestigation | |
![]() ![]() ![]() |
0..* | HumanName | Reporter URL: https://nhdr.gov.ph/fhir/StructureDefinition/ReporterName | |
![]() ![]() |
Σ | 0..* | Identifier | Identifier(s) by which this encounter is known Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Identifier(s) by which this encounter is known |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: NIIP | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/philhealth-id |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Identifier(s) by which this encounter is known |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: placeholder | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/coviddata-id |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Identifier(s) by which this encounter is known |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: COVID | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/covidpatient-id |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() |
?!Σ | 1..1 | code | NHDR will only use "triaged", "in-progress", "cancelled", and "finished". Binding: EncounterStatus (required): Current state of the encounter. |
![]() ![]() |
Σ | 1..1 | Coding | Classification of patient encounter Binding: ActEncounterCode (extensible): Classification of the encounter. |
![]() ![]() |
Σ | 0..1 | CodeableConcept | Specific type of service Binding: Service Type (required) |
![]() ![]() |
Σ | 0..1 | Reference(PH Patient) | The patient or group present at the encounter |
![]() ![]() |
0..1 | Period | The start and end time of the encounter | |
![]() ![]() |
0..1 | Duration | Quantity of time the encounter lasted (less time absent) | |
![]() ![]() |
Σ | 0..* | CodeableConcept | Coded reason the encounter takes place Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place. |
![]() ![]() |
Σ | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) | Reason the encounter takes place (reference) |
![]() ![]() |
Σ | 0..* | BackboneElement | The list of diagnosis relevant to this encounter |
![]() ![]() ![]() |
Σ | 1..1 | Reference(PH Condition | PH Procedure) | The diagnosis or procedure relevant to the encounter |
![]() ![]() |
0..1 | BackboneElement | Details about the admission to a healthcare service | |
![]() ![]() ![]() |
0..1 | Reference(Location | Organization) | The location/organization from which the patient came before admission | |
![]() ![]() ![]() |
0..1 | Reference(Location | PH Organization) | Location/organization to which the patient is discharged | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (required) | |
![]() ![]() |
0..* | BackboneElement | List of locations where the patient has been | |
![]() ![]() ![]() |
1..1 | Reference(Location) | Location the encounter takes place | |
![]() ![]() ![]() |
0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: LocationType (required) | |
![]() ![]() |
0..1 | Reference(PH Organization) | The organization (facility) responsible for this encounter | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Encounter.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:PhilHealthID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:PhilHealthID.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:COVIDDataID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:COVIDDataID.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:COVIDPatientID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:COVIDPatientID.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Encounter.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.statusHistory.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.serviceType | Base | required | Service Type | 📦0.1.0 | This IG |
| Encounter.participant.type | Base | extensible | Participant type | 📍4.0.1 | FHIR Std. |
| Encounter.reasonCode | Base | preferred | Encounter Reason Codes | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.dischargeDisposition | Base | required | Discharge disposition | 📦4.0.1 | FHIR Std. |
| Encounter.location.physicalType | Base | required | Location type | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Encounter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Encounter | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Encounter | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Encounter
Summary
Mandatory: 0 element(3 nested mandatory elements)
Prohibited: 34 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Encounter | An interaction during which services are provided to the patient | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | integer | Age in Years URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeYears | |
![]() ![]() ![]() |
0..* | integer | Age in Months URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeMonths | |
![]() ![]() ![]() |
0..* | integer | Age in Days URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeDays | |
![]() ![]() ![]() |
0..* | string | Patient Classification URL: https://nhdr.gov.ph/fhir/StructureDefinition/PatientClassification | |
![]() ![]() ![]() |
0..* | HumanName | Interviewer URL: https://nhdr.gov.ph/fhir/StructureDefinition/Interviewer | |
![]() ![]() ![]() |
0..* | HumanName | Investigator URL: https://nhdr.gov.ph/fhir/StructureDefinition/InvestigatorName | |
![]() ![]() ![]() |
0..* | dateTime | Date of Interview URL: https://nhdr.gov.ph/fhir/StructureDefinition/DateInterview | |
![]() ![]() ![]() |
0..* | dateTime | Date of Investigation URL: https://nhdr.gov.ph/fhir/StructureDefinition/DateInvestigation | |
![]() ![]() ![]() |
0..* | HumanName | Reporter URL: https://nhdr.gov.ph/fhir/StructureDefinition/ReporterName | |
![]() ![]() |
Σ | 0..* | Identifier | Identifier(s) by which this encounter is known Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Identifier(s) by which this encounter is known |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/philhealth-id |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Identifier(s) by which this encounter is known |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/coviddata-id |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Identifier(s) by which this encounter is known |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/covidpatient-id |
![]() ![]() |
?!Σ | 1..1 | code | NHDR will only use "triaged", "in-progress", "cancelled", and "finished". Binding: EncounterStatus (required): Current state of the encounter. |
![]() ![]() |
Σ | 1..1 | Coding | Classification of patient encounter Binding: ActEncounterCode (extensible): Classification of the encounter. |
![]() ![]() |
Σ | 0..1 | CodeableConcept | Specific type of service Binding: Service Type (required) |
![]() ![]() |
Σ | 0..1 | Reference(PH Patient) | The patient or group present at the encounter |
![]() ![]() |
0..1 | Reference(PH Organization) | The organization (facility) responsible for this encounter | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.identifier:PhilHealthID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:COVIDDataID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:COVIDPatientID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.statusHistory.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.serviceType | Base | required | Service Type | 📦0.1.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Encounter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Encounter | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Encounter | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from Encounter
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Encounter | An interaction during which services are provided to the patient | |
![]() ![]() |
||||
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | dateTime | The recorded date indicating when the record was uploaded by the health facility. URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFRecordedDate | |
![]() ![]() ![]() ![]() |
0..* | dateTime | The date indicating when the record was last updated by the health facility. URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFLastUpdated | |
![]() ![]() ![]() |
0..1 | instant | When the resource was uploaded to the NHDR. | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | integer | Age in Years URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeYears | |
![]() ![]() ![]() |
0..* | integer | Age in Months URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeMonths | |
![]() ![]() ![]() |
0..* | integer | Age in Days URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeDays | |
![]() ![]() ![]() |
0..* | string | Patient Classification URL: https://nhdr.gov.ph/fhir/StructureDefinition/PatientClassification | |
![]() ![]() ![]() |
0..* | HumanName | Interviewer URL: https://nhdr.gov.ph/fhir/StructureDefinition/Interviewer | |
![]() ![]() ![]() |
0..* | HumanName | Investigator URL: https://nhdr.gov.ph/fhir/StructureDefinition/InvestigatorName | |
![]() ![]() ![]() |
0..* | dateTime | Date of Interview URL: https://nhdr.gov.ph/fhir/StructureDefinition/DateInterview | |
![]() ![]() ![]() |
0..* | dateTime | Date of Investigation URL: https://nhdr.gov.ph/fhir/StructureDefinition/DateInvestigation | |
![]() ![]() ![]() |
0..* | HumanName | Reporter URL: https://nhdr.gov.ph/fhir/StructureDefinition/ReporterName | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..* | Identifier | Identifier(s) by which this encounter is known Slice: Unordered, Open by value:system | |
![]() ![]() ![]() |
0..1 | Identifier | Identifier(s) by which this encounter is known | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: NIIP | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/philhealth-id | |
![]() ![]() ![]() |
0..1 | Identifier | Identifier(s) by which this encounter is known | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: placeholder | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/coviddata-id | |
![]() ![]() ![]() |
0..1 | Identifier | Identifier(s) by which this encounter is known | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: COVID | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/covidpatient-id | |
![]() ![]() |
1..1 | code | NHDR will only use "triaged", "in-progress", "cancelled", and "finished". | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | CodeableConcept | Specific type of service Binding: Service Type (required) | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | Reference(PH Patient) | The patient or group present at the encounter | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Reference(PH Condition | PH Procedure) | The diagnosis or procedure relevant to the encounter | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | Reference(Location | PH Organization) | Location/organization to which the patient is discharged | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (required) | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: LocationType (required) | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | Reference(PH Organization) | The organization (facility) responsible for this encounter | |
![]() ![]() |
0..0 | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.serviceType | Base | required | Service Type | 📦0.1.0 | This IG |
| Encounter.hospitalization.dischargeDisposition | Base | required | Discharge disposition | 📦4.0.1 | FHIR Std. |
| Encounter.location.physicalType | Base | required | Location type | 📦4.0.1 | FHIR Std. |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Encounter | An interaction during which services are provided to the patient | |
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | dateTime | The recorded date indicating when the record was uploaded by the health facility. URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFRecordedDate | |
![]() ![]() ![]() ![]() |
0..* | dateTime | The date indicating when the record was last updated by the health facility. URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFLastUpdated | |
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource was uploaded to the NHDR. |
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from |
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | integer | Age in Years URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeYears | |
![]() ![]() ![]() |
0..* | integer | Age in Months URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeMonths | |
![]() ![]() ![]() |
0..* | integer | Age in Days URL: https://nhdr.gov.ph/fhir/StructureDefinition/AgeDays | |
![]() ![]() ![]() |
0..* | string | Patient Classification URL: https://nhdr.gov.ph/fhir/StructureDefinition/PatientClassification | |
![]() ![]() ![]() |
0..* | HumanName | Interviewer URL: https://nhdr.gov.ph/fhir/StructureDefinition/Interviewer | |
![]() ![]() ![]() |
0..* | HumanName | Investigator URL: https://nhdr.gov.ph/fhir/StructureDefinition/InvestigatorName | |
![]() ![]() ![]() |
0..* | dateTime | Date of Interview URL: https://nhdr.gov.ph/fhir/StructureDefinition/DateInterview | |
![]() ![]() ![]() |
0..* | dateTime | Date of Investigation URL: https://nhdr.gov.ph/fhir/StructureDefinition/DateInvestigation | |
![]() ![]() ![]() |
0..* | HumanName | Reporter URL: https://nhdr.gov.ph/fhir/StructureDefinition/ReporterName | |
![]() ![]() |
Σ | 0..* | Identifier | Identifier(s) by which this encounter is known Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Identifier(s) by which this encounter is known |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: NIIP | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/philhealth-id |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Identifier(s) by which this encounter is known |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: placeholder | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/coviddata-id |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Identifier(s) by which this encounter is known |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: COVID | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://nhdr.gov.ph/fhir/Identifier/covidpatient-id |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() |
?!Σ | 1..1 | code | NHDR will only use "triaged", "in-progress", "cancelled", and "finished". Binding: EncounterStatus (required): Current state of the encounter. |
![]() ![]() |
Σ | 1..1 | Coding | Classification of patient encounter Binding: ActEncounterCode (extensible): Classification of the encounter. |
![]() ![]() |
Σ | 0..1 | CodeableConcept | Specific type of service Binding: Service Type (required) |
![]() ![]() |
Σ | 0..1 | Reference(PH Patient) | The patient or group present at the encounter |
![]() ![]() |
0..1 | Period | The start and end time of the encounter | |
![]() ![]() |
0..1 | Duration | Quantity of time the encounter lasted (less time absent) | |
![]() ![]() |
Σ | 0..* | CodeableConcept | Coded reason the encounter takes place Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place. |
![]() ![]() |
Σ | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) | Reason the encounter takes place (reference) |
![]() ![]() |
Σ | 0..* | BackboneElement | The list of diagnosis relevant to this encounter |
![]() ![]() ![]() |
Σ | 1..1 | Reference(PH Condition | PH Procedure) | The diagnosis or procedure relevant to the encounter |
![]() ![]() |
0..1 | BackboneElement | Details about the admission to a healthcare service | |
![]() ![]() ![]() |
0..1 | Reference(Location | Organization) | The location/organization from which the patient came before admission | |
![]() ![]() ![]() |
0..1 | Reference(Location | PH Organization) | Location/organization to which the patient is discharged | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (required) | |
![]() ![]() |
0..* | BackboneElement | List of locations where the patient has been | |
![]() ![]() ![]() |
1..1 | Reference(Location) | Location the encounter takes place | |
![]() ![]() ![]() |
0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: LocationType (required) | |
![]() ![]() |
0..1 | Reference(PH Organization) | The organization (facility) responsible for this encounter | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Encounter.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:PhilHealthID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:PhilHealthID.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:COVIDDataID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:COVIDDataID.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:COVIDPatientID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:COVIDPatientID.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Encounter.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.statusHistory.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.serviceType | Base | required | Service Type | 📦0.1.0 | This IG |
| Encounter.participant.type | Base | extensible | Participant type | 📍4.0.1 | FHIR Std. |
| Encounter.reasonCode | Base | preferred | Encounter Reason Codes | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.dischargeDisposition | Base | required | Discharge disposition | 📦4.0.1 | FHIR Std. |
| Encounter.location.physicalType | Base | required | Location type | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Encounter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Encounter | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Encounter | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Encounter
Summary
Mandatory: 0 element(3 nested mandatory elements)
Prohibited: 34 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron