PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@2.2.3
    http://fhir.nl/fhir/StructureDefinition/nl-core-careplan
description: 'A nl-core base CarePlan profile, that references to all relating Dutch Health and Care Information models or HCIM (Dutch: Zorginformatiebouwsteen or ZIB) profiles.  This profile is not based on a HCIM, beceause no HCIM exists for a CarePlan concept.'
package_name: nictiz.fhir.nl.stu3.zib2017
derivation: constraint
name: nl-core-careplan
type: CarePlan
elements:
  text: {index: 0}
  identifier: {index: 1}
  subject:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://hl7.org/fhir/StructureDefinition/Group']
    index: 2
  context:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare', 'http://nictiz.nl/fhir/StructureDefinition/zib-Encounter']
    index: 3
  period: {index: 4}
  author:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-careteam', 'http://fhir.nl/fhir/StructureDefinition/nl-core-organization', 'http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner', 'http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson']
    index: 5
    extensions:
      practitionerRole: {url: h, max: 1, type: Extension, index: 7}
    elements:
      extension:
        index: 6
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            practitionerRole:
              match: {url: null}
              schema: {type: Extension, url: h, index: 7}
              max: 1
  goal:
    type: Reference
    refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentObjective']
    index: 8
  activity:
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: detail.category, type: pattern}
      min: null
      slices:
        nursingIntervention:
          match:
            detail:
              category:
                coding:
                - {code: '9632001', system: 'http://snomed.info/sct'}
          schema:
            constraint:
              hicm-outcomeofcare-1: {human: 'Provide a HealthcareResult text or a reference, not both', severity: error, expression: outcomeCodeableConcept.empty() or outcomeReference.empty()}
            index: 10
            extensions:
              comment:
                url: h
                type: Extension
                index: 12
                elements:
                  valueString:
                    index: 13
                    slicing:
                      slices:
                        valueString:
                          match: {}
                          schema: {index: 13}
            elements:
              extension:
                index: 11
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    comment:
                      match: {url: null}
                      schema:
                        type: Extension
                        url: h
                        index: 12
                        elements:
                          valueString:
                            index: 13
                            slicing:
                              slices:
                                valueString:
                                  match: {}
                                  schema: {index: 13}
              outcomeCodeableConcept:
                index: 14
                elements:
                  text: {short: HealthcareResult, index: 15}
              outcomeReference:
                short: MeasurementValue / HealthCondition
                refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-FunctionalOrMentalStatus', 'http://nictiz.nl/fhir/StructureDefinition/zib-GeneralMeasurement']
                type: Reference
                index: 16
              reference:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Appointment', 'http://hl7.org/fhir/StructureDefinition/CommunicationRequest', 'http://hl7.org/fhir/StructureDefinition/DeviceRequest', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/NutritionOrder', 'http://hl7.org/fhir/StructureDefinition/ReferralRequest', 'http://hl7.org/fhir/StructureDefinition/RequestGroup', 'http://hl7.org/fhir/StructureDefinition/Task', 'http://hl7.org/fhir/StructureDefinition/VisionPrescription', 'http://nictiz.nl/fhir/StructureDefinition/zib-ProcedureRequest']
                index: 17
              detail:
                extensions:
                  medicalDevice:
                    url: h
                    type: Extension
                    short: MedicalDevice
                    index: 19
                    elements:
                      valueReference:
                        index: 20
                        slicing:
                          slices:
                            valueReference:
                              match: {}
                              schema: {index: 20}
                elements:
                  description: {short: Instruction, index: 42}
                  category:
                    short: Nursing procedure
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '9632001', system: 'http://snomed.info/sct'}
                    index: 21
                  goal:
                    short: TreatmentObjective
                    refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentObjective']
                    type: Reference
                    index: 31
                  scheduledTiming:
                    type: Timing
                    index: 32
                    slicing:
                      slices:
                        scheduledTiming:
                          match: {}
                          schema:
                            type: Timing
                            index: 32
                            elements:
                              repeat:
                                elements:
                                  boundsPeriod:
                                    type: Period
                                    index: 33
                                    slicing:
                                      slices:
                                        boundsPeriod:
                                          match: {}
                                          schema:
                                            type: Period
                                            index: 33
                                            elements:
                                              start: {short: ProcedureStartDateTime, index: 34}
                                              end: {short: ProcedureEndDateTime, index: 35}
                                  frequency: {short: Frequency, index: 36}
                                  period: {short: Interval, index: 37}
                  extension:
                    index: 18
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        medicalDevice:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: MedicalDevice
                            url: h
                            index: 19
                            elements:
                              valueReference:
                                index: 20
                                slicing:
                                  slices:
                                    valueReference:
                                      match: {}
                                      schema: {index: 20}
                  code:
                    short: Intervention
                    index: 22
                    elements:
                      coding:
                        index: 23
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: value}
                          min: null
                          slices:
                            interventionNICCodelist:
                              match: {}
                              schema:
                                short: interventionNICCodelist
                                index: 24
                                elements:
                                  system: {index: 25}
                                  code: {index: 26}
                                required: [system, code]
                            interventionSnomedCodelist:
                              match: {}
                              schema:
                                short: interventionSnomedCodelist
                                index: 27
                                elements:
                                  system: {index: 28}
                                  code: {index: 29}
                                required: [system, code]
                  location:
                    type: Reference
                    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-location']
                    index: 38
                  performer:
                    type: Reference
                    short: Performer
                    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-careteam', 'http://fhir.nl/fhir/StructureDefinition/nl-core-organization', 'http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner', 'http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson']
                    index: 39
                    extensions:
                      practitionerRole: {url: h, max: 1, type: Extension, index: 41}
                    elements:
                      extension:
                        index: 40
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            practitionerRole:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 41}
                              max: 1
                  reasonReference:
                    short: Indication
                    refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Problem']
                    type: Reference
                    index: 30
                required: [category, code]
package_version: 2.2.3
class: profile
kind: resource
url: http://fhir.nl/fhir/StructureDefinition/nl-core-careplan
base: http://hl7.org/fhir/StructureDefinition/CarePlan
version: 1.0.2