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: 14 addresses: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition'] index: 19 supportingInfo: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 20 goal: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal'] index: 21 note: elements: author: choices: [authorString] index: 42 slicing: slices: authorString: match: {} schema: choices: [authorString] index: 42 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: 40 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: 40 min: 0 max: 1 authorString: type: string choiceOf: author index: 43 slicing: slices: authorString: match: {} schema: {type: string, choiceOf: author, index: 43} 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: 17 activity: elements: outcomeReference: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 22 progress: elements: author: choices: [authorString] index: 29 slicing: slices: authorString: match: {} schema: choices: [authorString] index: 29 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: 27 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: 27 min: 0 max: 1 authorString: type: string choiceOf: author index: 30 slicing: slices: authorString: match: {} schema: {type: string, choiceOf: author, index: 30} min: 0 max: 1 reference: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest'] index: 31 detail: elements: reasonReference: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition'] index: 32 goal: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Goal'] index: 33 location: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Location'] index: 34 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: 35 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 elements: value: choices: [valueReference] index: 3 valueReference: type: Reference choiceOf: value refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare'] index: 4 statusHistory: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory', index: 5} min: 0 teamHistory: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory', index: 6} min: 0 statusSchedule: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusschedule', index: 7} min: 0 teamSchedule: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamschedule', index: 8} min: 0 participant: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-participant', index: 9} min: 0 status: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/request-status'} index: 13 replaces: {index: 11} period: {index: 16} basedOn: {index: 10} partOf: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan'] index: 12 subject: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient'] index: 15 careTeam: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam'] index: 18 package_version: 5.0.0 extensions: episodeOfCare: url: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare type: Extension index: 1 elements: value: choices: [valueReference] index: 3 valueReference: type: Reference choiceOf: value refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare'] index: 4 statusHistory: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory', min: 0, type: Extension, index: 5} teamHistory: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory', min: 0, type: Extension, index: 6} statusSchedule: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusschedule', min: 0, type: Extension, index: 7} teamSchedule: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamschedule', min: 0, type: Extension, index: 8} participant: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-participant', min: 0, type: Extension, index: 9} class: profile kind: resource url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan base: http://hl7.org/fhir/StructureDefinition/CarePlan version: 5.0.0 required: [addresses, extension, period]