EHI Export Implementation Guide
0.1.0 - ci-build

EHI Export Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

Resource Profile: Census

Official URL: https://ehi-export.pointclickcare.com//StructureDefinition/Census Version: 0.1.0
Draft as of 2024-02-05 Computable Name: EHICensus

Patient census

Usage:

  • This Resource is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from DomainResource

NameFlagsCard.TypeDescription & Constraintsdoco
.. Census 0..*DomainResourceCensus
... action Σ1..1stringThe census event action type, like Create
... admissionSource 0..1Reference(Location | Organization)Source of admission
... admissionType 0..1Reference()Admission type
... adtToFromType 0..1Reference(Location | Organization)Admit Discharge Transfer To From Type
... assessmentRefDateTime 0..1dateTimeAssessment Reference Date (ADR)
... careLevel Σ0..1stringRUGS code
... comments 0..1stringAdditional textual comments
... dischargeStatus 0..1Reference()Status of discharge
... effectiveDateTime Σ0..1dateTimeCensus effective from this timestamp
... hipps 0..1stringHIPPS value
... identifier Σ1..1IdentifierIdentification key
... payer Σ0..1Reference(Location | Organization)Payer information if available
... payerOptions Σ0..1stringN - Create new Payer Setup file | Y - Use Last Known Payer Setup file
... qualifyingHospitalStay 0..1PeriodQualifying Hospital Stay Period
... room Σ0..1stringRoom where patient is located
... roomRate Σ0..1stringRate for the room
... status Σ0..1stringA - Active | HP - Hospital Leave | TP - Therapeutic Leave
... subject Σ1..1Reference(Patient)Patient subject reference

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Census 0..*DomainResourceCensus
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... action Σ1..1stringThe census event action type, like Create
... admissionType 0..1Reference()Admission type
... adtToFromLocation 0..1stringAdmit Discharge Transfer To From Location
... adtToFromType 0..1Reference(Location | Organization)Admit Discharge Transfer To From Type
... assessmentRefDateTime 0..1dateTimeAssessment Reference Date (ADR)
... careLevel Σ0..1stringRUGS code
... comments 0..1stringAdditional textual comments
... dischargeStatus 0..1Reference()Status of discharge
... effectiveDateTime Σ0..1dateTimeCensus effective from this timestamp
... hipps 0..1stringHIPPS value
... identifier Σ1..1IdentifierIdentification key
... payer Σ0..1Reference(Location | Organization)Payer information if available
... payerOptions Σ0..1stringN - Create new Payer Setup file | Y - Use Last Known Payer Setup file
... qualifyingHospitalStay 0..1PeriodQualifying Hospital Stay Period
... room Σ0..1stringRoom where patient is located
... roomRate Σ0..1stringRate for the room
... status Σ0..1stringA - Active | HP - Hospital Leave | TP - Therapeutic Leave
... subject Σ1..1Reference(Patient)Patient subject reference

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorCensusIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCensusIf 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-4errorCensusIf 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-5errorCensusIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCensusA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Census 0..*DomainResourceCensus
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... action Σ1..1stringThe census event action type, like Create
... admissionSource 0..1Reference(Location | Organization)Source of admission
... admissionType 0..1Reference()Admission type
... adtToFromLocation 0..1stringAdmit Discharge Transfer To From Location
... adtToFromType 0..1Reference(Location | Organization)Admit Discharge Transfer To From Type
... assessmentRefDateTime 0..1dateTimeAssessment Reference Date (ADR)
... careLevel Σ0..1stringRUGS code
... comments 0..1stringAdditional textual comments
... dischargeStatus 0..1Reference()Status of discharge
... effectiveDateTime Σ0..1dateTimeCensus effective from this timestamp
... hipps 0..1stringHIPPS value
... identifier Σ1..1IdentifierIdentification key
... payer Σ0..1Reference(Location | Organization)Payer information if available
... payerOptions Σ0..1stringN - Create new Payer Setup file | Y - Use Last Known Payer Setup file
... qualifyingHospitalStay 0..1PeriodQualifying Hospital Stay Period
... room Σ0..1stringRoom where patient is located
... roomRate Σ0..1stringRate for the room
... status Σ0..1stringA - Active | HP - Hospital Leave | TP - Therapeutic Leave
... subject Σ1..1Reference(Patient)Patient subject reference

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Census.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorCensusIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCensusIf 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-4errorCensusIf 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-5errorCensusIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCensusA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from DomainResource

Summary

Mandatory: 0 element (3 nested mandatory elements)

Differential View

This structure is derived from DomainResource

NameFlagsCard.TypeDescription & Constraintsdoco
.. Census 0..*DomainResourceCensus
... action Σ1..1stringThe census event action type, like Create
... admissionSource 0..1Reference(Location | Organization)Source of admission
... admissionType 0..1Reference()Admission type
... adtToFromType 0..1Reference(Location | Organization)Admit Discharge Transfer To From Type
... assessmentRefDateTime 0..1dateTimeAssessment Reference Date (ADR)
... careLevel Σ0..1stringRUGS code
... comments 0..1stringAdditional textual comments
... dischargeStatus 0..1Reference()Status of discharge
... effectiveDateTime Σ0..1dateTimeCensus effective from this timestamp
... hipps 0..1stringHIPPS value
... identifier Σ1..1IdentifierIdentification key
... payer Σ0..1Reference(Location | Organization)Payer information if available
... payerOptions Σ0..1stringN - Create new Payer Setup file | Y - Use Last Known Payer Setup file
... qualifyingHospitalStay 0..1PeriodQualifying Hospital Stay Period
... room Σ0..1stringRoom where patient is located
... roomRate Σ0..1stringRate for the room
... status Σ0..1stringA - Active | HP - Hospital Leave | TP - Therapeutic Leave
... subject Σ1..1Reference(Patient)Patient subject reference

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Census 0..*DomainResourceCensus
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... action Σ1..1stringThe census event action type, like Create
... admissionType 0..1Reference()Admission type
... adtToFromLocation 0..1stringAdmit Discharge Transfer To From Location
... adtToFromType 0..1Reference(Location | Organization)Admit Discharge Transfer To From Type
... assessmentRefDateTime 0..1dateTimeAssessment Reference Date (ADR)
... careLevel Σ0..1stringRUGS code
... comments 0..1stringAdditional textual comments
... dischargeStatus 0..1Reference()Status of discharge
... effectiveDateTime Σ0..1dateTimeCensus effective from this timestamp
... hipps 0..1stringHIPPS value
... identifier Σ1..1IdentifierIdentification key
... payer Σ0..1Reference(Location | Organization)Payer information if available
... payerOptions Σ0..1stringN - Create new Payer Setup file | Y - Use Last Known Payer Setup file
... qualifyingHospitalStay 0..1PeriodQualifying Hospital Stay Period
... room Σ0..1stringRoom where patient is located
... roomRate Σ0..1stringRate for the room
... status Σ0..1stringA - Active | HP - Hospital Leave | TP - Therapeutic Leave
... subject Σ1..1Reference(Patient)Patient subject reference

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorCensusIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCensusIf 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-4errorCensusIf 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-5errorCensusIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCensusA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Census 0..*DomainResourceCensus
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... action Σ1..1stringThe census event action type, like Create
... admissionSource 0..1Reference(Location | Organization)Source of admission
... admissionType 0..1Reference()Admission type
... adtToFromLocation 0..1stringAdmit Discharge Transfer To From Location
... adtToFromType 0..1Reference(Location | Organization)Admit Discharge Transfer To From Type
... assessmentRefDateTime 0..1dateTimeAssessment Reference Date (ADR)
... careLevel Σ0..1stringRUGS code
... comments 0..1stringAdditional textual comments
... dischargeStatus 0..1Reference()Status of discharge
... effectiveDateTime Σ0..1dateTimeCensus effective from this timestamp
... hipps 0..1stringHIPPS value
... identifier Σ1..1IdentifierIdentification key
... payer Σ0..1Reference(Location | Organization)Payer information if available
... payerOptions Σ0..1stringN - Create new Payer Setup file | Y - Use Last Known Payer Setup file
... qualifyingHospitalStay 0..1PeriodQualifying Hospital Stay Period
... room Σ0..1stringRoom where patient is located
... roomRate Σ0..1stringRate for the room
... status Σ0..1stringA - Active | HP - Hospital Leave | TP - Therapeutic Leave
... subject Σ1..1Reference(Patient)Patient subject reference

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Census.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorCensusIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCensusIf 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-4errorCensusIf 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-5errorCensusIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCensusA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from DomainResource

Summary

Mandatory: 0 element (3 nested mandatory elements)

 

Other representations of profile: CSV, Excel, Schematron