us-quality-core-diagnosis-present-on-admission
type: StructureDefinition
node role: treeRoot
resource.id:
  value: us-quality-core-diagnosis-present-on-admission
resource.language:
  value: en
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Generated Narrative: StructureDefinition us-quality-core-diagnosis-present-on-admission Name Flags Card. Type Description & Constraints Extension 1..1 Extension onAdmission #xD; extension 0..0 Extension #xD; url 1..1 uri "http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-diagnosis-present-on-admission" #xD; value[x] 0..1 CodeableConcept Value of extension Binding: US Quality Core Present On Admission Codes (required): Indicator of whether the Encounter diagnosis was present at the time of admission #xD; Documentation for this format
domain resource.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
  extension.value code:
    value: cqi
domain resource.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
  extension.value integer:
    value: 4
    element.extension:
      index: -1
      extension.url:
        value: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
      extension.value canonical:
        value: http://hl7.org/fhir/us/quality-core/ImplementationGuide/hl7.fhir.us.quality-core
        link: http://hl7.org/fhir/us/quality-core/ImplementationGuide/hl7.fhir.us.quality-core
domain resource.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
  extension.value code:
    value: trial-use
    element.extension:
      index: -1
      extension.url:
        value: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
      extension.value canonical:
        value: http://hl7.org/fhir/us/quality-core/ImplementationGuide/hl7.fhir.us.quality-core
        link: http://hl7.org/fhir/us/quality-core/ImplementationGuide/hl7.fhir.us.quality-core
structure definition.url:
  value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-diagnosis-present-on-admission
structure definition.identifier:
  index: -1
  identifier.system:
    value: urn:ietf:rfc:3986
  identifier.value:
    value: urn:oid:2.16.840.1.113883.4.642.40.78.42.14
structure definition.version:
  value: 1.0.0-ballot
structure definition.name:
  value: USQualityCoreDiagnosisPresentOnAdmission
structure definition.title:
  value: US Quality Core Diagnosis Present on Admission
structure definition.status:
  value: active
structure definition.experimental:
  value: false
structure definition.date:
  value: 2026-06-30
structure definition.publisher:
  value: HL7 International / Clinical Quality Information
structure definition.contact:
  index: -1
  contact detail.name:
    value: HL7 International / Clinical Quality Information
  contact detail.telecom:
    index: -1
    contact point.system:
      value: url
    contact point.value:
      value: http://www.hl7.org/Special/committees/cqi
structure definition.contact:
  index: -1
  contact detail.name:
    value: Clinical Quality Information WG
  contact detail.telecom:
    index: -1
    contact point.system:
      value: url
    contact point.value:
      value: http://www.hl7.org/Special/committees/cqi
structure definition.description:
  value: Indicator of whether the Encounter diagnosis was present at the time of admission.
structure definition.jurisdiction:
  index: -1
  codeable concept.coding:
    index: -1
    coding.system:
      value: urn:iso:std:iso:3166
    coding.code:
      value: US
structure definition.fhir version:
  value: 4.0.1
structure definition.mapping:
  index: -1
  structure definition.mapping.identity:
    value: rim
  structure definition.mapping.uri:
    value: http://hl7.org/v3
  structure definition.mapping.name:
    value: RIM Mapping
structure definition.kind:
  value: complex-type
structure definition.abstract:
  value: false
structure definition.context:
  index: -1
  structure definition.context.type:
    value: element
  structure definition.context.expression:
    value: Encounter.diagnosis
structure definition.type:
  value: Extension
structure definition.base definition:
  value: http://hl7.org/fhir/StructureDefinition/Extension
  link: http://hl7.org/fhir/StructureDefinition/Extension
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    extension.value string:
      value: 4.0.1
  structure definition.snapshot.element:
    index: -1
    element.id:
      value: Extension
    element definition.path:
      value: Extension
    element definition.short:
      value: onAdmission
    element definition.definition:
      value: Indicator of whether the Encounter diagnosis was present at the time of admission.
    element definition.min:
      value: 1
    element definition.max:
      value: 1
    element definition.base:
      element definition.base.path:
        value: Extension
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.condition:
      value: ele-1
      index: -1
    element definition.constraint:
      index: -1
      element definition.constraint.key:
        value: ele-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: All FHIR elements must have a @value or children
      element definition.constraint.expression:
        value: hasValue() or (children().count() > id.count())
      element definition.constraint.xpath:
        value: @value|f:*|h:div
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/Element
        link: http://hl7.org/fhir/StructureDefinition/Element
    element definition.constraint:
      index: -1
      element definition.constraint.key:
        value: ext-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: Must have either extensions or value[x], not both
      element definition.constraint.expression:
        value: extension.exists() != value.exists()
      element definition.constraint.xpath:
        value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/Extension
        link: http://hl7.org/fhir/StructureDefinition/Extension
    element definition.is modifier:
      value: false
  structure definition.snapshot.element:
    index: -1
    element.id:
      value: Extension.id
    element definition.path:
      value: Extension.id
    element definition.representation:
      value: xmlAttr
      index: -1
    element definition.short:
      value: Unique id for inter-element referencing
    element definition.definition:
      value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    element definition.min:
      value: 0
    element definition.max:
      value: 1
    element definition.base:
      element definition.base.path:
        value: Element.id

value: 0

value: 1

index: -1
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
  extension.value url:
    value: string
element definition.type.code:
  value: http://hl7.org/fhirpath/System.String

value: false

value: false

index: -1
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: n/a

index: -1
element.id:
  value: Extension.extension
element definition.path:
  value: Extension.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: -1
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: -1
element.id:
  value: Extension.url
element definition.path:
  value: Extension.url
element definition.representation:
  value: xmlAttr
  index: -1
element definition.short:
  value: identifies the meaning of the extension
element definition.definition:
  value: Source of the definition for the extension code - a logical name or a URL.
element definition.comment:
  value: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.url
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: uri
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.fixed uri:
  value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-diagnosis-present-on-admission
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: -1
element.id:
  value: Extension.value[x]
element definition.path:
  value: Extension.value[x]
element definition.short:
  value: Value of extension
element definition.definition:
  value: Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.value[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Indicator of whether the Encounter diagnosis was present at the time of admission
  element definition.binding.value set:
    value: http://hl7.org/fhir/us/quality-core/ValueSet/us-quality-core-present-on-admission
    link: http://hl7.org/fhir/us/quality-core/ValueSet/us-quality-core-present-on-admission
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

structure definition.differential.element:
  index: -1
  element.id:
    value: Extension
  element definition.path:
    value: Extension
  element definition.short:
    value: onAdmission
  element definition.definition:
    value: Indicator of whether the Encounter diagnosis was present at the time of admission.
  element definition.min:
    value: 1
  element definition.max:
    value: 1
structure definition.differential.element:
  index: -1
  element.id:
    value: Extension.extension
  element definition.path:
    value: Extension.extension
  element definition.max:
    value: 0
structure definition.differential.element:
  index: -1
  element.id:
    value: Extension.url
  element definition.path:
    value: Extension.url
  element definition.fixed uri:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-diagnosis-present-on-admission
structure definition.differential.element:
  index: -1
  element.id:
    value: Extension.value[x]
  element definition.path:
    value: Extension.value[x]
  element definition.type:
    index: -1
    element definition.type.code:
      value: CodeableConcept
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.description:
      value: Indicator of whether the Encounter diagnosis was present at the time of admission
    element definition.binding.value set:
      value: http://hl7.org/fhir/us/quality-core/ValueSet/us-quality-core-present-on-admission
      link: http://hl7.org/fhir/us/quality-core/ValueSet/us-quality-core-present-on-admission