PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.core@7.0.0
    http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis
description: The US Core Condition Encounter Diagnosis Profile inherits from the FHIR [Condition](https://hl7.org/fhir/R4/condition.html) resource; refer to it for scope and usage definitions. US Core version 5.0.0 split the US Core Condition Profile into this profile and the US Core Condition Problems and Health Concerns Profile. This profile meets the requirements of the U.S. Core Data for Interoperability (USCDI)  *Encounter Diagnosis* Data Element. It sets minimum expectations for the Condition resource to record, search, and fetch information about an encounter diagnosis. It specifies which core elements, extensions,  vocabularies, and value sets **SHALL** be present in the resource and constrains how the elements are used. Providing the floor for standards development for specific use cases promotes interoperability and adoption.
package_name: hl7.fhir.us.core
derivation: constraint
name: USCoreConditionEncounterDiagnosisProfile
type: Condition
elements:
  onset:
    mustSupport: true
    choices: [onsetDateTime, onsetAge, onsetPeriod, onsetRange, onsetString]
    index: 9
  category:
    short: category codes
    mustSupport: true
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        us-core:
          match:
            coding:
            - {code: encounter-diagnosis, system: 'http://terminology.hl7.org/CodeSystem/condition-category'}
          schema:
            short: encounter-diagnosis
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: encounter-diagnosis, system: 'http://terminology.hl7.org/CodeSystem/condition-category'}
            _required: true
            index: 4
          min: 1
          max: 1
  clinicalStatus:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/condition-clinical'}
    mustSupport: true
    index: 1
  abatementAge: {type: Age, mustSupport: true, choiceOf: abatement, index: 18}
  onsetRange: {type: Range, mustSupport: true, choiceOf: onset, index: 13}
  onsetAge: {type: Age, mustSupport: true, choiceOf: onset, index: 11}
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter']
    index: 7
  onsetPeriod: {type: Period, mustSupport: true, choiceOf: onset, index: 12}
  abatement:
    mustSupport: true
    choices: [abatementDateTime, abatementAge, abatementPeriod, abatementRange, abatementString]
    index: 16
  abatementPeriod: {type: Period, mustSupport: true, choiceOf: abatement, index: 19}
  abatementString: {type: string, mustSupport: true, choiceOf: abatement, index: 21}
  abatementRange: {type: Range, mustSupport: true, choiceOf: abatement, index: 20}
  extension:
    type: Extension
    short: Date the condition was first asserted
    mustSupport: true
    url: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
    index: 0
    slicing:
      slices:
        assertedDate:
          match: {}
          schema: {type: Extension, short: Date the condition was first asserted, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/condition-assertedDate', index: 0}
          max: 1
  recordedDate: {mustSupport: true, index: 22}
  onsetString: {type: string, mustSupport: true, choiceOf: onset, index: 14}
  code:
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code'}
    mustSupport: true
    index: 5
  onsetDateTime: {type: dateTime, mustSupport: true, choiceOf: onset, index: 10}
  abatementDateTime: {type: dateTime, mustSupport: true, choiceOf: abatement, index: 17}
  verificationStatus:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/condition-ver-status'}
    mustSupport: true
    index: 2
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
    index: 6
package_version: 7.0.0
extensions:
  assertedDate: {url: 'http://hl7.org/fhir/StructureDefinition/condition-assertedDate', max: 1, type: Extension, short: Date the condition was first asserted, mustSupport: true, index: 0}
class: profile
kind: resource
url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis
base: http://hl7.org/fhir/StructureDefinition/Condition
version: 7.0.0
required: [category, code]