description: null package_name: 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: 11 addresses: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition'] index: 16 supportingInfo: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 17 goal: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal'] index: 18 note: elements: author: choices: [authorString] index: 39 slicing: slices: authorString: match: {} schema: choices: [authorString] index: 39 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: 37 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: 37 min: 0 max: 1 authorString: type: string choiceOf: author index: 40 slicing: slices: authorString: match: {} schema: {type: string, choiceOf: author, index: 40} 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: 14 activity: elements: outcomeReference: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 19 progress: elements: author: choices: [authorString] index: 26 slicing: slices: authorString: match: {} schema: choices: [authorString] index: 26 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: 24 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: 24 min: 0 max: 1 authorString: type: string choiceOf: author index: 27 slicing: slices: authorString: match: {} schema: {type: string, choiceOf: author, index: 27} min: 0 max: 1 reference: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest'] index: 28 detail: elements: reasonReference: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition'] index: 29 goal: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Goal'] index: 30 location: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Location'] index: 31 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: 32 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 participant: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-participant', index: 6} min: 0 status: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/request-status'} index: 10 replaces: {index: 8} period: {index: 13} basedOn: {index: 7} partOf: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan'] index: 9 subject: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient'] index: 12 careTeam: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam'] index: 15 package_version: 3.5.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} participant: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-participant', min: 0, type: Extension, index: 6} class: profile kind: resource url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan base: http://hl7.org/fhir/StructureDefinition/CarePlan version: 3.5.0 required: [extension, addresses, period]