description: Defines constraints and extensions on the CarePlan resource for the minimal set of data to query and retrieve a patient's Care Plan. package_name: hl7.fhir.us.qicore derivation: constraint name: QICoreCarePlan type: CarePlan elements: category: constraint: ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())} min: 1 isModifier: false short: Type of plan index: 0 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: AssessPlan: match: coding: - {code: assess-plan, system: 'http://hl7.org/fhir/us/core/CodeSystem/careplan-category'} schema: constraint: ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())} isModifier: false short: Type of plan index: 1 type: CodeableConcept mustSupport: true _required: true binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/care-plan-category'} base: {max: '*', min: 0, path: CarePlan.category} isSummary: true pattern: type: CodeableConcept value: coding: - {code: assess-plan, system: 'http://hl7.org/fhir/us/core/CodeSystem/careplan-category'} min: 1 max: 1 type: CodeableConcept mustSupport: true array: true binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/care-plan-category'} base: {max: '*', min: 0, path: CarePlan.category} isSummary: true subject: refers: ['http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient'] type: Reference mustSupport: true index: 2 package_version: 5.0.0 class: profile kind: resource url: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careplan base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan version: 5.0.0 required: [subject, category]