PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@6.0.2
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan
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: 18
  addresses:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']
    index: 23
  instantiatesCanonical: {type: canonical, index: 13}
  supportingInfo:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    index: 24
  goal:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal']
    index: 25
  note:
    elements:
      author:
        choices: [authorString]
        index: 46
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 46
              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: 44
        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: 44
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 47
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 47}
              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: 21
  activity:
    elements:
      outcomeReference:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
        index: 26
      progress:
        elements:
          author:
            choices: [authorString]
            index: 33
            slicing:
              slices:
                authorString:
                  match: {}
                  schema:
                    choices: [authorString]
                    index: 33
                  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: 31
            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: 31
                  min: 0
                  max: 1
          authorString:
            type: string
            choiceOf: author
            index: 34
            slicing:
              slices:
                authorString:
                  match: {}
                  schema: {type: string, choiceOf: author, index: 34}
                  min: 0
                  max: 1
      reference:
        type: Reference
        refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
        index: 35
      detail:
        elements:
          reasonReference:
            type: Reference
            refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']
            index: 36
          goal:
            type: Reference
            refers: ['http://hl7.org/fhir/StructureDefinition/Goal']
            index: 37
          location:
            type: Reference
            refers: ['http://hl7.org/fhir/StructureDefinition/Location']
            index: 38
          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: 39
    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
            extensions:
              function:
                url: null
                index: 10
                elements:
                  value:
                    choices: []
                    index: 12
            elements:
              extension:
                index: 10
                slicing:
                  slices:
                    function:
                      match: {}
                      schema:
                        index: 10
                        elements:
                          value:
                            choices: []
                            index: 12
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/request-status'}
    index: 17
  replaces: {index: 15}
  period: {index: 20}
  basedOn: {index: 14}
  partOf:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
    index: 16
  subject:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient']
    index: 19
  careTeam:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
    index: 22
package_version: 6.0.2
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
    type: Extension
    index: 9
    extensions:
      function:
        url: null
        index: 10
        elements:
          value:
            choices: []
            index: 12
    elements:
      extension:
        index: 10
        slicing:
          slices:
            function:
              match: {}
              schema:
                index: 10
                elements:
                  value:
                    choices: []
                    index: 12
class: profile
kind: resource
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan
base: http://hl7.org/fhir/StructureDefinition/CarePlan
version: 6.0.2
required: [extension, addresses, instantiatesCanonical, period]