PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@1.3.3
    http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective
description: 'TreatmentDirective as defined by the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) version 3.1. A treatment instruction includes an agreed constraint in the treatment based on the oral or written living will of the patient.'
package_name: nictiz.fhir.nl.stu3.zib2017
derivation: constraint
name: Zib TreatmentDirective
type: Consent
elements:
  patient:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient']
    index: 29
  category:
    index: 23
    elements:
      coding:
        index: 24
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          min: 1
          slices:
            treatmentDirective:
              match: {code: '11291000146105'}
              schema:
                _required: true
                index: 25
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 26
                  code:
                    pattern: {type: Code, value: '11291000146105'}
                    index: 27
                  display: {defaultValueString: Treatment instructions (record artifact), index: 28}
                required: [system, code]
    required: [coding]
  except:
    index: 49
    extensions:
      restrictions: {url: h, type: Extension, short: Restrictions, index: 51}
    elements:
      extension:
        index: 50
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            restrictions:
              match: {url: null}
              schema: {type: Extension, short: Restrictions, url: h, index: 51}
      type: {index: 52}
      actor:
        elements:
          reference:
            type: Reference
            refers: ['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', 'http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group']
            index: 53
            extensions:
              practitionerRole: {url: h, max: 1, type: Extension, index: 55}
            elements:
              extension:
                index: 54
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    practitionerRole:
                      match: {url: null}
                      schema: {type: Extension, url: h, index: 55}
                      max: 1
  sourceAttachment: {short: AdvanceDirective, type: Attachment, choiceOf: source, index: 42}
  organization:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization']
    index: 39
  source:
    short: AdvanceDirective
    choices: [sourceAttachment, sourceIdentifier, sourceReference, sourceReference, sourceReference, sourceReference]
    index: 41
  policy:
    elements:
      uri: {index: 48}
  sourceReference:
    short: AdvanceDirective
    refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective']
    type: Reference
    choiceOf: source
    index: 44
  dateTime: {index: 32}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        verification:
          match: {url: null}
          schema:
            type: Extension
            url: h
            index: 1
            extensions:
              Verified: {url: null, min: 1, max: 1, short: Verified, _required: true, index: 2}
              VerifiedWith:
                url: null
                short: VerifiedWith
                index: 3
                elements:
                  valueCodeableConcept:
                    index: 4
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {index: 4}
              VerificationDate: {url: null, max: 1, short: VerificationDate, index: 5}
            elements:
              extension:
                short: Verified
                index: 2
                slicing:
                  slices:
                    Verified:
                      match: {}
                      schema: {short: Verified, _required: true, index: 2}
                      min: 1
                      max: 1
                    VerifiedWith:
                      match: {}
                      schema:
                        short: VerifiedWith
                        index: 3
                        elements:
                          valueCodeableConcept:
                            index: 4
                            slicing:
                              slices:
                                valueCodeableConcept:
                                  match: {}
                                  schema: {index: 4}
                    VerificationDate:
                      match: {}
                      schema: {short: VerificationDate, index: 5}
                      max: 1
            required: [extension]
        comment:
          match: {url: null}
          schema: {type: Extension, url: h, index: 6}
          max: 1
        treatment:
          match: {url: null}
          schema:
            type: Extension
            short: Treatment
            url: h
            index: 7
            elements:
              valueCodeableConcept:
                index: 8
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {index: 8}
        additionalSources:
          match: {url: null}
          schema:
            type: Extension
            url: h
            index: 9
            elements:
              value:
                short: AdvanceDirective
                choices: [valueAttachment, valueIdentifier, valueReference, valueReference, valueReference, valueReference]
                index: 11
              valueAttachment: {type: Attachment, short: AdvanceDirective, choiceOf: value, index: 12}
              valueIdentifier: {type: Identifier, short: AdvanceDirective, choiceOf: value, index: 13}
              valueReference:
                type: Reference
                short: AdvanceDirective
                choiceOf: value
                refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective']
                index: 14
  consentingParty:
    type: Reference
    refers: ['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: 33
    extensions:
      practitionerRole: {url: h, max: 1, type: Extension, index: 35}
    elements:
      extension:
        index: 34
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            practitionerRole:
              match: {url: null}
              schema: {type: Extension, url: h, index: 35}
              max: 1
  status: {index: 22}
  sourceIdentifier: {short: AdvanceDirective, type: Identifier, choiceOf: source, index: 43}
  identifier: {index: 21}
  period:
    elements:
      start: {short: StartDate, index: 30}
      end: {short: EndDate, index: 31}
  modifierExtension:
    index: 18
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        treatmentPermitted:
          match: {url: null}
          schema:
            short: TreatmentPermitted
            type: Extension
            url: h
            index: 19
            elements:
              valueCodeableConcept:
                index: 20
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {index: 20}
  actor:
    elements:
      reference:
        type: Reference
        refers: ['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', 'http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group']
        index: 36
        extensions:
          practitionerRole: {url: h, max: 1, type: Extension, index: 38}
        elements:
          extension:
            index: 37
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                practitionerRole:
                  match: {url: null}
                  schema: {type: Extension, url: h, index: 38}
                  max: 1
package_version: 1.3.3
extensions:
  verification:
    url: h
    type: Extension
    index: 1
    extensions:
      Verified: {url: null, min: 1, max: 1, short: Verified, _required: true, index: 2}
      VerifiedWith:
        url: null
        short: VerifiedWith
        index: 3
        elements:
          valueCodeableConcept:
            index: 4
            slicing:
              slices:
                valueCodeableConcept:
                  match: {}
                  schema: {index: 4}
      VerificationDate: {url: null, max: 1, short: VerificationDate, index: 5}
    elements:
      extension:
        short: Verified
        index: 2
        slicing:
          slices:
            Verified:
              match: {}
              schema: {short: Verified, _required: true, index: 2}
              min: 1
              max: 1
            VerifiedWith:
              match: {}
              schema:
                short: VerifiedWith
                index: 3
                elements:
                  valueCodeableConcept:
                    index: 4
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {index: 4}
            VerificationDate:
              match: {}
              schema: {short: VerificationDate, index: 5}
              max: 1
    required: [extension]
  comment: {url: h, max: 1, type: Extension, index: 6}
  treatment:
    url: h
    type: Extension
    short: Treatment
    index: 7
    elements:
      valueCodeableConcept:
        index: 8
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {index: 8}
  additionalSources:
    url: h
    type: Extension
    index: 9
    elements:
      value:
        short: AdvanceDirective
        choices: [valueAttachment, valueIdentifier, valueReference, valueReference, valueReference, valueReference]
        index: 11
      valueAttachment: {type: Attachment, short: AdvanceDirective, choiceOf: value, index: 12}
      valueIdentifier: {type: Identifier, short: AdvanceDirective, choiceOf: value, index: 13}
      valueReference:
        type: Reference
        short: AdvanceDirective
        choiceOf: value
        refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective']
        index: 14
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 2.2.0
required: [category]