PackagesCanonicalsLogsProblems
    Packages
    rs/nictiz.fhir.nl.stu3.eoverdracht@1.0.0-rc.21
    http://nictiz.nl/fhir/StructureDefinition/eOverdracht-Task
description: The use cases within eOverdracht form a workflow that may include the negotiation of the transfer of the patient, and ends with the transfer of the medical record. This Task resource is used to track the worflow and acts as the entry point for all data exchanges within eOverdracht.
package_name: rs/nictiz.fhir.nl.stu3.eoverdracht
derivation: constraint
name: eOverdrachtTask
type: Task
elements:
  statusReason:
    elements:
      text: {index: 1}
  output:
    index: 32
    slicing:
      rules: open
      discriminator:
      - {path: type.coding.code, type: value}
      min: null
      slices:
        alternativeDate:
          match:
            type:
              coding: {code: null}
          schema:
            index: 33
            elements:
              type:
                elements:
                  coding:
                    index: 34
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      - {path: code, type: value}
                      min: 1
                      slices:
                        alternativeDateCode:
                          match: {system: 'http://snomed.info/sct', code: '146851000146105'}
                          schema:
                            _required: true
                            index: 35
                            elements:
                              system:
                                pattern: {type: uri, value: 'http://snomed.info/sct'}
                                type: uri
                                index: 36
                              code:
                                pattern: {type: code, value: '146851000146105'}
                                type: code
                                index: 37
                              display: {defaultValueString: Alternative date for transfer of care (waarneembare entiteit), index: 38}
                            required: [code, system]
                required: [coding]
              valueDateTime:
                type: dateTime
                index: 39
                slicing:
                  slices:
                    valueDateTime:
                      match: {}
                      schema: {type: dateTime, index: 39}
  for:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient']
    index: 8
  requester:
    index: 9
    elements:
      agent:
        type: Reference
        refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization', 'http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner']
        index: 10
        extensions:
          practitionerRole: {url: h, min: 0, max: 1, type: Extension, index: 12}
        elements:
          extension:
            index: 11
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                practitionerRole:
                  match: {url: null}
                  schema: {type: Extension, url: h, index: 12}
                  min: 0
                  max: 1
      onBehalfOf:
        type: Reference
        refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner', 'http://hl7.org/fhir/StructureDefinition/Organization']
        index: 13
  status: {index: 0}
  code:
    index: 3
    elements:
      coding:
        index: 4
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          - {path: system, type: value}
          min: 1
          slices:
            taskCode:
              match: {code: '308292007', system: 'http://snomed.info/sct'}
              schema:
                _required: true
                index: 5
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 6
                  code:
                    pattern: {type: code, value: '308292007'}
                    type: code
                    index: 7
                required: [code, system]
    required: [coding]
  intent: {index: 2}
  input:
    index: 15
    slicing:
      rules: open
      discriminator:
      - {path: type.coding.code, type: value}
      min: null
      slices:
        advanceNotice:
          match:
            type:
              coding: {code: null}
          schema:
            index: 16
            elements:
              type:
                elements:
                  coding:
                    index: 17
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      - {path: code, type: value}
                      min: 1
                      slices:
                        advanceNoticeCode:
                          match: {system: 'http://snomed.info/sct', code: '721915006'}
                          schema:
                            _required: true
                            index: 18
                            elements:
                              system:
                                pattern: {type: uri, value: 'http://snomed.info/sct'}
                                type: uri
                                index: 19
                              code:
                                pattern: {type: code, value: '721915006'}
                                type: code
                                index: 20
                            required: [code, system]
                required: [coding]
              valueReference:
                type: Reference
                refers: ['http://nictiz.nl/fhir/StructureDefinition/eOverdracht-AdvanceNotice']
                index: 21
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://nictiz.nl/fhir/StructureDefinition/eOverdracht-AdvanceNotice']
                        index: 21
        nursingHandoff:
          match:
            type:
              coding: {code: null}
          schema:
            index: 22
            elements:
              type:
                elements:
                  coding:
                    index: 23
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      - {path: code, type: value}
                      min: 1
                      slices:
                        nursingHandoffCode:
                          match: {system: 'http://snomed.info/sct', code: '11171000146100'}
                          schema:
                            _required: true
                            index: 24
                            elements:
                              system:
                                pattern: {type: uri, value: 'http://snomed.info/sct'}
                                type: uri
                                index: 25
                              code:
                                pattern: {type: code, value: '11171000146100'}
                                type: code
                                index: 26
                            required: [code, system]
                required: [coding]
              value:
                choices: [valueReference, valueReference, valueReference]
                index: 28
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        choices: [valueReference, valueReference, valueReference]
                        index: 28
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://nictiz.nl/fhir/StructureDefinition/eOverdracht-NursingHandoff-Childcare-0-1yo']
                index: 29
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        type: Reference
                        choiceOf: value
                        refers: ['http://nictiz.nl/fhir/StructureDefinition/eOverdracht-NursingHandoff-Childcare-0-1yo']
                        index: 29
  owner:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization']
    index: 14
package_version: 1.0.0-rc.21
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/eOverdracht-Task
base: http://hl7.org/fhir/StructureDefinition/Task
version: 1.0.0-rc15
required: [code, for, requester]