description: Task profile for Notified Pull package_name: vzvz.fhir.aof derivation: constraint name: NLVZVZNotifiedPull type: Task elements: status: pattern: {type: Code, value: requested} index: 0 intent: pattern: {type: Code, value: proposal} index: 1 code: index: 2 elements: coding: elements: system: pattern: {type: Uri, value: 'http://vzvz.nl/fhir/CodeSystem/aorta-taskcode'} index: 3 code: pattern: {type: Code, value: notified_pull} index: 4 for: short: Patient index: 5 elements: identifier: elements: system: pattern: {type: Uri, value: 'http://fhir.nl/fhir/NamingSystem/bsn'} index: 6 requester: type: Reference refers: ['http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-Device'] index: 7 owner: type: Reference refers: ['http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization'] index: 8 restriction: short: Period to execute the task constraint: np-1: {human: Restriction should have an end date when status is 'requested', severity: error, expression: Task.status ='requested' implies Task.restriction.period.end.exists()} index: 9 input: index: 10 slicing: rules: open discriminator: - {path: type, type: pattern} min: 1 slices: consentToken: match: type: coding: - {code: consent_token, system: 'http://vzvz.nl/fhir/CodeSystem/TaskParameterType'} schema: short: consent Token _required: true index: 11 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: 12 value: short: base64 encoded consent token choices: [valueString] index: 14 valueString: {type: string, short: base64 encoded consent token, choiceOf: value, index: 15} queryString: match: type: coding: - {code: query_string, system: 'http://vzvz.nl/fhir/CodeSystem/TaskParameterType'} schema: short: query string to execute index: 16 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: 17 value: short: query string to execute choices: [valueString] index: 19 valueString: {type: string, short: query string to execute, choiceOf: value, index: 20} package_version: 0.9.0-beta class: profile kind: resource url: http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-TaskNotifiedPull base: http://hl7.org/fhir/StructureDefinition/Task version: null required: [owner, requester, for, input, code]