This page is part of the US Quality Core (v0.5.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
| Official URL: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-encounter-diagnosisPresentOnAdmission | Version: 0.5.0 | ||||
| Active as of 2026-06-05 | Computable Name: USQualityCoreDiagnosisPresentOnAdmission | ||||
Indicator of whether the Encounter diagnosis was present at the time of admission.
Context of Use
This extension may be used on the following element(s)
Encounter.diagnosis
define "Encounter With Diabetes Diagnosis":
"Non-Elective Inpatient Encounter Less Than 120 Days" IPEncounter
where exists (IPEncounter.diagnosis D
where D.condition.getCondition().code in "Diabetes"
)
| Inpatient Admission for Appendicitis |
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | Extension | onAdmission | |
![]() ![]() |
1..1 | uri | "http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-encounter-diagnosisPresentOnAdmission" | |
![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: USQualityCore Present On Admission Codes (required): Indicator of whether the Encounter diagnosis was present at the time of admission | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Extension.value[x] | Base | required | USQualityCore Present On Admission Codes | 📦0.5.0 | This IG |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | Extension | onAdmission | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
1..1 | uri | "http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-encounter-diagnosisPresentOnAdmission" | |
![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: USQualityCore Present On Admission Codes (required): Indicator of whether the Encounter diagnosis was present at the time of admission | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Extension.value[x] | Base | required | USQualityCore Present On Admission Codes | 📦0.5.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| 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 ViewDifferential View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | Extension | onAdmission | |
![]() ![]() |
1..1 | uri | "http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-encounter-diagnosisPresentOnAdmission" | |
![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: USQualityCore Present On Admission Codes (required): Indicator of whether the Encounter diagnosis was present at the time of admission | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Extension.value[x] | Base | required | USQualityCore Present On Admission Codes | 📦0.5.0 | This IG |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | Extension | onAdmission | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
1..1 | uri | "http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-encounter-diagnosisPresentOnAdmission" | |
![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: USQualityCore Present On Admission Codes (required): Indicator of whether the Encounter diagnosis was present at the time of admission | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Extension.value[x] | Base | required | USQualityCore Present On Admission Codes | 📦0.5.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
Other representations of profile: CSV, Excel, Schematron