description: This profile represents personal health goals, preferences, and priorities for medical treatments or interventions in the event of a future health scenario where a person is unable to make medical decisions because of a serious illness or injury. To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch for a patient's treatment intervention preferences. This profile 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: hl7.fhir.us.core derivation: constraint name: USCoreTreatmentInterventionPreferenceProfile type: Observation elements: category: mustSupport: true index: 1 slicing: rules: open discriminator: - {path: $this, type: pattern} min: null slices: us-core: match: coding: - {code: treatment-intervention-preference, system: 'http://hl7.org/fhir/us/core/CodeSystem/us-core-category'} schema: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: treatment-intervention-preference, system: 'http://hl7.org/fhir/us/core/CodeSystem/us-core-category'} index: 2 min: 0 max: 1 valueTime: {type: time, mustSupport: true, choiceOf: value, index: 21} valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 15} value: mustSupport: true choices: [valueString, valueCodeableConcept, valueQuantity, valueBoolean, valueInteger, valueRange, valueRatio, valueSampledData, valueTime, valueDateTime, valuePeriod] index: 12 valueString: {type: string, mustSupport: true, choiceOf: value, index: 13} valueRatio: {type: Ratio, mustSupport: true, choiceOf: value, index: 19} valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 16} valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 22} valueSampledData: {type: SampledData, mustSupport: true, choiceOf: value, index: 20} effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 7} status: {mustSupport: true, index: 0} effective: mustSupport: true choices: [effectiveDateTime, effectivePeriod, effectiveTiming, effectiveInstant] index: 6 code: type: CodeableConcept short: Treatment intervention preferences code mustSupport: true pattern: type: CodeableConcept value: coding: - {code: treatment-intervention-preference, system: 'http://hl7.org/fhir/us/core/CodeSystem/us-core-category'} index: 3 effectiveTiming: {type: Timing, mustSupport: true, choiceOf: effective, index: 9} valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 14} valuePeriod: {type: Period, mustSupport: true, choiceOf: value, index: 23} effectiveInstant: {type: instant, mustSupport: true, choiceOf: effective, index: 10} valueRange: {type: Range, mustSupport: true, choiceOf: value, index: 18} valueInteger: {type: integer, mustSupport: true, choiceOf: value, index: 17} subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient'] index: 4 effectivePeriod: {type: Period, mustSupport: true, choiceOf: effective, index: 8} package_version: 7.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference base: http://hl7.org/fhir/StructureDefinition/Observation version: 7.0.0-ballot required: [subject]