2026 US Quality Core Implementation Guide
0.5.0 - release United States of America flag

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 in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Extension: US Quality Core Diagnosis Present on Admission

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

Usage

See the patterns page for implementation and usage patterns.

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"
    )

Examples

Inpatient Admission for Appendicitis

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 1..1 Extension onAdmission
... url 1..1 uri "http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-encounter-diagnosisPresentOnAdmission"
... value[x] 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

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Extension.value[x] Base required USQualityCore Present On Admission Codes 📦0.5.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 1..1 Extension onAdmission
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1 uri "http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-encounter-diagnosisPresentOnAdmission"

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Extension.value[x] Base required USQualityCore Present On Admission Codes 📦0.5.0 This IG

Constraints

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()

Summary

Simple Extension with the type CodeableConcept: Indicator of whether the Encounter diagnosis was present at the time of admission.

Differential ViewDifferential View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 1..1 Extension onAdmission
... url 1..1 uri "http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-encounter-diagnosisPresentOnAdmission"
... value[x] 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

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Extension.value[x] Base required USQualityCore Present On Admission Codes 📦0.5.0 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 1..1 Extension onAdmission
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1 uri "http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-encounter-diagnosisPresentOnAdmission"

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Extension.value[x] Base required USQualityCore Present On Admission Codes 📦0.5.0 This IG

Constraints

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()

Summary

Simple Extension with the type CodeableConcept: Indicator of whether the Encounter diagnosis was present at the time of admission.

 

Other representations of profile: CSV, Excel, Schematron