description: The US Core Condition Encounter Diagnosis Profile is based upon the core FHIR Condition Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 *Encounter Diagnosis* requirements. In version 5.0.0, The US Core Condition Profile has been split into the US Core Condition Encounter Diagnosis Profile and US Core Condition Problems and Health Concerns Profile. To promote interoperability and adoption through common implementation, this profile defines constraints and extensions on the Condition resource for the minimal set of data to record, search, and fetch information about an encounter diagnosis. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases. package_name: rs/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 type: CodeableConcept 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: extensible, 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-ballot 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-ballot required: [category, code]