description: null package_name: rs/dk.ehealth.sundhed.fhir.ig.core derivation: constraint name: ehealth-careplan type: CarePlan elements: category: binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/careplan-category'} index: 10 addresses: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition'] index: 15 supportingInfo: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 16 goal: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal'] index: 17 note: elements: author: choices: [authorString] index: 38 slicing: slices: authorString: match: {} schema: choices: [authorString] index: 38 min: 0 max: 1 authorReference: type: Reference choiceOf: author refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson'] index: 36 slicing: slices: authorReference: match: {} schema: type: Reference choiceOf: author refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson'] index: 36 min: 0 max: 1 authorString: type: string choiceOf: author index: 39 slicing: slices: authorString: match: {} schema: {type: string, choiceOf: author, index: 39} min: 0 max: 1 author: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson'] index: 13 activity: elements: outcomeReference: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 18 progress: elements: author: choices: [authorString] index: 25 slicing: slices: authorString: match: {} schema: choices: [authorString] index: 25 min: 0 max: 1 authorReference: type: Reference choiceOf: author refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson'] index: 23 slicing: slices: authorReference: match: {} schema: type: Reference choiceOf: author refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson'] index: 23 min: 0 max: 1 authorString: type: string choiceOf: author index: 26 slicing: slices: authorString: match: {} schema: {type: string, choiceOf: author, index: 26} min: 0 max: 1 reference: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest'] index: 27 detail: elements: reasonReference: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition'] index: 28 goal: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Goal'] index: 29 location: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Location'] index: 30 performer: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson'] index: 31 required: [reference] extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: episodeOfCare: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', index: 1} min: 1 max: 1 statusHistory: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory', index: 2} min: 0 teamHistory: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory', index: 3} min: 0 statusSchedule: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusschedule', index: 4} min: 0 teamSchedule: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamschedule', index: 5} min: 0 status: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/request-status'} index: 9 replaces: {index: 7} period: {index: 12} basedOn: {index: 6} partOf: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan'] index: 8 subject: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient'] index: 11 careTeam: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam'] index: 14 package_version: 3.1.0 extensions: episodeOfCare: {url: 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', min: 1, max: 1, type: Extension, index: 1} statusHistory: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory', min: 0, type: Extension, index: 2} teamHistory: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory', min: 0, type: Extension, index: 3} statusSchedule: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusschedule', min: 0, type: Extension, index: 4} teamSchedule: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamschedule', min: 0, type: Extension, index: 5} class: profile kind: resource url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan base: http://hl7.org/fhir/StructureDefinition/CarePlan version: 3.1.0 required: [addresses, extension, period]