QI-Core Implementation Guide
5.0.0 - STU5 United States of America flag

This page is part of the Quality Improvement Core Framework (v5.0.0: STU5 (v5.0.0)) based on FHIR R4. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

Extension: QICore Diagnosis Present on Admission

Official URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-diagnosisPresentOnAdmission Version: 5.0.0
Draft as of 2018-08-22 Computable Name: QICoreDiagnosisPresentOnAdmission

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

  • Element ID Encounter.diagnosis
Usage

See the patterns page for implementation and usage patterns.

define "Encounter With Diabetes Diagnosis Present on Admission":
  "Non-Elective Inpatient Encounter Less Than 120 Days" IPEncounter
    where exists (IPEncounter.diagnosis D
      where D.condition.getCondition().code in "Diabetes"
        and D.diagnosisPresentOnAdmission in "Present on Admission or Clinically Undetermined"
    )

Examples

Inpatient Admission for Appendicitis

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

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

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 1..1ExtensiononAdmission
... url 1..1uri"http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-diagnosisPresentOnAdmission"
... value[x] 0..1CodeableConceptValue of extension
Binding: QICore Present On Admission Codes (required): Indicator of whether the Encounter diagnosis was present at the time of admission


doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 1..1ExtensiononAdmission
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1uri"http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-diagnosisPresentOnAdmission"

doco Documentation for this format

This structure is derived from Extension

Summary

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

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 1..1ExtensiononAdmission
... url 1..1uri"http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-diagnosisPresentOnAdmission"
... value[x] 0..1CodeableConceptValue of extension
Binding: QICore Present On Admission Codes (required): Indicator of whether the Encounter diagnosis was present at the time of admission


doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 1..1ExtensiononAdmission
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1uri"http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-diagnosisPresentOnAdmission"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Extension.value[x]requiredQICorePresentOnAdmission

Constraints

IdGradePath(s)DetailsRequirements
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()