EHI Export Implementation Guide
0.1.0 - ci-build
EHI Export Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://ehi-export.pointclickcare.com//StructureDefinition/Census | Version: 0.1.0 | |||
| Draft as of 2025-11-27 | Computable Name: EHICensus | |||
Patient census.
The id element is not displayed in the snapshot tables. Refer to the detailed descriptions for the full definition.
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: ![]() Bindings Constraints Obligations ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DomainResource | Census Elements defined in Ancestors:id, meta, implicitRules, language, text, contained, extension, modifierExtension | |||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() |
Σ | 1..1 | Identifier | Identification key | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient subject reference | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Census effective from this timestamp | ||||
![]() ![]() |
Σ | 1..1 | string | The census event action type, like Create | ||||
![]() ![]() |
Σ | 0..1 | Reference(Location | Organization) | Payer information if available | ||||
![]() ![]() |
Σ | 0..1 | string | N - Create new Payer Setup file | Y - Use Last Known Payer Setup file | ||||
![]() ![]() |
Σ | 0..1 | string | A - Active | HP - Hospital Leave | TP - Therapeutic Leave | ||||
![]() ![]() |
Σ | 0..1 | string | RUGS code | ||||
![]() ![]() |
Σ | 0..1 | string | Room where patient is located | ||||
![]() ![]() |
Σ | 0..1 | string | Rate for the room | ||||
![]() ![]() |
0..1 | Reference(Location | Organization) | Admit Discharge Transfer To From Type | |||||
![]() ![]() |
0..1 | string | Admit Discharge Transfer To From Location | |||||
![]() ![]() |
0..1 | string | Additional textual comments | |||||
![]() ![]() |
0..1 | Reference() | Admission type | |||||
![]() ![]() |
0..1 | Reference(Location | Organization) | Source of admission | |||||
![]() ![]() |
0..1 | Reference() | Status of discharge | |||||
![]() ![]() |
0..1 | string | HIPPS value | |||||
![]() ![]() |
0..1 | dateTime | Assessment Reference Date (ADR) | |||||
![]() ![]() |
0..1 | Period | Qualifying Hospital Stay Period | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Census.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Census | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Census | 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 | Census | 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 | Census | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Census | 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 DomainResource
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() Bindings Constraints Obligations ![]() |
|---|---|---|---|---|
![]() |
0..* | DomainResource | Census Elements defined in Ancestors:id, meta, implicitRules, language, text, contained, extension, modifierExtension | |
![]() ![]() |
Σ | 1..1 | Identifier | Identification key |
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient subject reference |
![]() ![]() |
Σ | 0..1 | dateTime | Census effective from this timestamp |
![]() ![]() |
Σ | 1..1 | string | The census event action type, like Create |
![]() ![]() |
Σ | 0..1 | Reference(Location | Organization) | Payer information if available |
![]() ![]() |
Σ | 0..1 | string | N - Create new Payer Setup file | Y - Use Last Known Payer Setup file |
![]() ![]() |
Σ | 0..1 | string | A - Active | HP - Hospital Leave | TP - Therapeutic Leave |
![]() ![]() |
Σ | 0..1 | string | RUGS code |
![]() ![]() |
Σ | 0..1 | string | Room where patient is located |
![]() ![]() |
Σ | 0..1 | string | Rate for the room |
![]() ![]() |
0..1 | Reference(Location | Organization) | Admit Discharge Transfer To From Type | |
![]() ![]() |
0..1 | string | Admit Discharge Transfer To From Location | |
![]() ![]() |
0..1 | string | Additional textual comments | |
![]() ![]() |
0..1 | Reference() | Admission type | |
![]() ![]() |
0..1 | Reference(Location | Organization) | Source of admission | |
![]() ![]() |
0..1 | Reference() | Status of discharge | |
![]() ![]() |
0..1 | string | HIPPS value | |
![]() ![]() |
0..1 | dateTime | Assessment Reference Date (ADR) | |
![]() ![]() |
0..1 | Period | Qualifying Hospital Stay Period | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() Bindings Constraints Obligations ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DomainResource | Census Elements defined in Ancestors:id, meta, implicitRules, language, text, contained, extension, modifierExtension | |||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() |
Σ | 1..1 | Identifier | Identification key | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient subject reference | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Census effective from this timestamp | ||||
![]() ![]() |
Σ | 1..1 | string | The census event action type, like Create | ||||
![]() ![]() |
Σ | 0..1 | Reference(Location | Organization) | Payer information if available | ||||
![]() ![]() |
Σ | 0..1 | string | N - Create new Payer Setup file | Y - Use Last Known Payer Setup file | ||||
![]() ![]() |
Σ | 0..1 | string | A - Active | HP - Hospital Leave | TP - Therapeutic Leave | ||||
![]() ![]() |
Σ | 0..1 | string | RUGS code | ||||
![]() ![]() |
Σ | 0..1 | string | Room where patient is located | ||||
![]() ![]() |
Σ | 0..1 | string | Rate for the room | ||||
![]() ![]() |
0..1 | Reference(Location | Organization) | Admit Discharge Transfer To From Type | |||||
![]() ![]() |
0..1 | string | Admit Discharge Transfer To From Location | |||||
![]() ![]() |
0..1 | string | Additional textual comments | |||||
![]() ![]() |
0..1 | Reference() | Admission type | |||||
![]() ![]() |
0..1 | Reference(Location | Organization) | Source of admission | |||||
![]() ![]() |
0..1 | Reference() | Status of discharge | |||||
![]() ![]() |
0..1 | string | HIPPS value | |||||
![]() ![]() |
0..1 | dateTime | Assessment Reference Date (ADR) | |||||
![]() ![]() |
0..1 | Period | Qualifying Hospital Stay Period | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Census.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Census | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Census | 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 | Census | 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 | Census | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Census | 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 DomainResource
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() Bindings Constraints Obligations ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DomainResource | Census Elements defined in Ancestors:id, meta, implicitRules, language, text, contained, extension, modifierExtension | |||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() |
Σ | 1..1 | Identifier | Identification key | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient subject reference | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Census effective from this timestamp | ||||
![]() ![]() |
Σ | 1..1 | string | The census event action type, like Create | ||||
![]() ![]() |
Σ | 0..1 | Reference(Location | Organization) | Payer information if available | ||||
![]() ![]() |
Σ | 0..1 | string | N - Create new Payer Setup file | Y - Use Last Known Payer Setup file | ||||
![]() ![]() |
Σ | 0..1 | string | A - Active | HP - Hospital Leave | TP - Therapeutic Leave | ||||
![]() ![]() |
Σ | 0..1 | string | RUGS code | ||||
![]() ![]() |
Σ | 0..1 | string | Room where patient is located | ||||
![]() ![]() |
Σ | 0..1 | string | Rate for the room | ||||
![]() ![]() |
0..1 | Reference(Location | Organization) | Admit Discharge Transfer To From Type | |||||
![]() ![]() |
0..1 | string | Admit Discharge Transfer To From Location | |||||
![]() ![]() |
0..1 | string | Additional textual comments | |||||
![]() ![]() |
0..1 | Reference() | Admission type | |||||
![]() ![]() |
0..1 | Reference(Location | Organization) | Source of admission | |||||
![]() ![]() |
0..1 | Reference() | Status of discharge | |||||
![]() ![]() |
0..1 | string | HIPPS value | |||||
![]() ![]() |
0..1 | dateTime | Assessment Reference Date (ADR) | |||||
![]() ![]() |
0..1 | Period | Qualifying Hospital Stay Period | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Census.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Census | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Census | 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 | Census | 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 | Census | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Census | 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 DomainResource
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() Bindings Constraints Obligations ![]() |
|---|---|---|---|---|
![]() |
0..* | DomainResource | Census Elements defined in Ancestors:id, meta, implicitRules, language, text, contained, extension, modifierExtension | |
![]() ![]() |
Σ | 1..1 | Identifier | Identification key |
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient subject reference |
![]() ![]() |
Σ | 0..1 | dateTime | Census effective from this timestamp |
![]() ![]() |
Σ | 1..1 | string | The census event action type, like Create |
![]() ![]() |
Σ | 0..1 | Reference(Location | Organization) | Payer information if available |
![]() ![]() |
Σ | 0..1 | string | N - Create new Payer Setup file | Y - Use Last Known Payer Setup file |
![]() ![]() |
Σ | 0..1 | string | A - Active | HP - Hospital Leave | TP - Therapeutic Leave |
![]() ![]() |
Σ | 0..1 | string | RUGS code |
![]() ![]() |
Σ | 0..1 | string | Room where patient is located |
![]() ![]() |
Σ | 0..1 | string | Rate for the room |
![]() ![]() |
0..1 | Reference(Location | Organization) | Admit Discharge Transfer To From Type | |
![]() ![]() |
0..1 | string | Admit Discharge Transfer To From Location | |
![]() ![]() |
0..1 | string | Additional textual comments | |
![]() ![]() |
0..1 | Reference() | Admission type | |
![]() ![]() |
0..1 | Reference(Location | Organization) | Source of admission | |
![]() ![]() |
0..1 | Reference() | Status of discharge | |
![]() ![]() |
0..1 | string | HIPPS value | |
![]() ![]() |
0..1 | dateTime | Assessment Reference Date (ADR) | |
![]() ![]() |
0..1 | Period | Qualifying Hospital Stay Period | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() Bindings Constraints Obligations ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DomainResource | Census Elements defined in Ancestors:id, meta, implicitRules, language, text, contained, extension, modifierExtension | |||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() |
Σ | 1..1 | Identifier | Identification key | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient subject reference | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Census effective from this timestamp | ||||
![]() ![]() |
Σ | 1..1 | string | The census event action type, like Create | ||||
![]() ![]() |
Σ | 0..1 | Reference(Location | Organization) | Payer information if available | ||||
![]() ![]() |
Σ | 0..1 | string | N - Create new Payer Setup file | Y - Use Last Known Payer Setup file | ||||
![]() ![]() |
Σ | 0..1 | string | A - Active | HP - Hospital Leave | TP - Therapeutic Leave | ||||
![]() ![]() |
Σ | 0..1 | string | RUGS code | ||||
![]() ![]() |
Σ | 0..1 | string | Room where patient is located | ||||
![]() ![]() |
Σ | 0..1 | string | Rate for the room | ||||
![]() ![]() |
0..1 | Reference(Location | Organization) | Admit Discharge Transfer To From Type | |||||
![]() ![]() |
0..1 | string | Admit Discharge Transfer To From Location | |||||
![]() ![]() |
0..1 | string | Additional textual comments | |||||
![]() ![]() |
0..1 | Reference() | Admission type | |||||
![]() ![]() |
0..1 | Reference(Location | Organization) | Source of admission | |||||
![]() ![]() |
0..1 | Reference() | Status of discharge | |||||
![]() ![]() |
0..1 | string | HIPPS value | |||||
![]() ![]() |
0..1 | dateTime | Assessment Reference Date (ADR) | |||||
![]() ![]() |
0..1 | Period | Qualifying Hospital Stay Period | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Census.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Census | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Census | 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 | Census | 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 | Census | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Census | 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 DomainResource
Other representations of profile: CSV, Excel, Schematron
IG © 2023+ PCC. Package ehi-export.pointclickcare.com#0.1.0 based on FHIR 4.0.1. Generated 2025-11-27
Links: Table of Contents |
QA Report