PackagesCanonicalsLogsProblems
    Packages
    vzvz.fhir.aof@2.0.0-beta.2
    http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-TaskNotifiedPull
description: Task profile for Notified Pull
package_name: vzvz.fhir.aof
derivation: constraint
name: NLVZVZNotifiedPull
type: Task
elements:
  restriction: {short: Period to execute the task, index: 10}
  instantiatesUri: {index: 0}
  for:
    short: Patient
    index: 6
    elements:
      identifier:
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.nl/fhir/NamingSystem/bsn'}
            index: 7
  requester:
    type: Reference
    refers: ['http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-Device']
    index: 8
  status:
    pattern: {type: Code, value: requested}
    index: 1
  code:
    index: 3
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://vzvz.nl/fhir/CodeSystem/aorta-taskcode'}
            index: 4
          code:
            pattern: {type: Code, value: notified_pull}
            index: 5
  intent:
    pattern: {type: Code, value: proposal}
    index: 2
  input:
    index: 11
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: 1
      slices:
        consentToken:
          match:
            type:
              coding:
              - {code: consent_token, system: 'http://vzvz.nl/fhir/CodeSystem/TaskParameterType'}
          schema:
            short: consent Token
            _required: true
            index: 12
            elements:
              type:
                binding: {strength: preferred, valueSet: 'http://vzvz.nl/fhir/ValueSet/nl-vzvz-TaskParameterType'}
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: consent_token, system: 'http://vzvz.nl/fhir/CodeSystem/TaskParameterType'}
                index: 13
              value:
                short: base64 encoded consent token
                choices: [valueString]
                index: 15
              valueString: {type: string, short: base64 encoded consent token, choiceOf: value, index: 16}
        queryString:
          match:
            type:
              coding:
              - {code: query_string, system: 'http://vzvz.nl/fhir/CodeSystem/TaskParameterType'}
          schema:
            short: query string to execute
            array: true
            index: 17
            elements:
              type:
                binding: {strength: preferred, valueSet: 'http://vzvz.nl/fhir/ValueSet/nl-vzvz-TaskParameterType'}
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: query_string, system: 'http://vzvz.nl/fhir/CodeSystem/TaskParameterType'}
                index: 18
              value:
                short: query string to execute
                choices: [valueString]
                index: 20
              valueString: {type: string, short: query string to execute, choiceOf: value, index: 21}
  owner:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/HealthcareService', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization']
    index: 9
package_version: 2.0.0-beta.2
class: profile
kind: resource
url: http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-TaskNotifiedPull
base: http://hl7.org/fhir/StructureDefinition/Task
version: 2.0.0-beta.2
required: [owner, requester, for, input, code]