description: This extension provides a history of error actions performed e.g. document misfile proposed then accepted. package_name: fhir.r4.wales derivation: constraint name: ExtensionDataStandardsWalesDocumentErrorAction type: Extension elements: extension: array: true min: 2 index: 0 slicing: slices: actionType: match: {} schema: short: misfile-proposed | misfile-accepted | misfile-rejected | revoked _required: true index: 1 extensions: {} elements: extension: {index: 2} url: pattern: {type: Uri, value: actionType} index: 3 value: short: misfile-proposed | misfile-accepted | misfile-rejected | revoked choices: [valueCode] index: 5 valueCode: {type: code, short: misfile-proposed | misfile-accepted | misfile-rejected | revoked, choiceOf: value, index: 6} actionDateTime: match: {} schema: short: The date and time of the document error action. _required: true index: 7 extensions: {} elements: extension: {index: 8} url: pattern: {type: Uri, value: actionDateTime} index: 9 value: choices: [valueInstant] index: 11 valueInstant: {type: instant, choiceOf: value, index: 12} actionedBy: match: {} schema: short: The user that performed the document error action. index: 13 extensions: {} elements: extension: {index: 14} url: pattern: {type: Uri, value: actionedBy} index: 15 value: short: The user that performed the document error action. choices: [valueReference] index: 17 valueReference: type: Reference short: The user that performed the document error action. choiceOf: value refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-RelatedPerson'] index: 18 actionReason: match: {} schema: short: The reason provided for the error action. index: 19 extensions: {} elements: extension: {index: 20} url: pattern: {type: Uri, value: actionReason} index: 21 value: short: The reason provided for the error action. choices: [valueCodeableConcept] index: 23 valueCodeableConcept: {type: CodeableConcept, short: The reason provided for the error action., choiceOf: value, index: 24} url: pattern: {type: Uri, value: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-DocumentErrorAction'} index: 25 value: choices: [] index: 27 package_version: 2.3.0 extensions: actionType: url: null short: misfile-proposed | misfile-accepted | misfile-rejected | revoked _required: true index: 1 extensions: {} elements: extension: {index: 2} url: pattern: {type: Uri, value: actionType} index: 3 value: short: misfile-proposed | misfile-accepted | misfile-rejected | revoked choices: [valueCode] index: 5 valueCode: {type: code, short: misfile-proposed | misfile-accepted | misfile-rejected | revoked, choiceOf: value, index: 6} actionDateTime: url: null short: The date and time of the document error action. _required: true index: 7 extensions: {} elements: extension: {index: 8} url: pattern: {type: Uri, value: actionDateTime} index: 9 value: choices: [valueInstant] index: 11 valueInstant: {type: instant, choiceOf: value, index: 12} actionedBy: url: null short: The user that performed the document error action. index: 13 extensions: {} elements: extension: {index: 14} url: pattern: {type: Uri, value: actionedBy} index: 15 value: short: The user that performed the document error action. choices: [valueReference] index: 17 valueReference: type: Reference short: The user that performed the document error action. choiceOf: value refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-RelatedPerson'] index: 18 actionReason: url: null short: The reason provided for the error action. index: 19 extensions: {} elements: extension: {index: 20} url: pattern: {type: Uri, value: actionReason} index: 21 value: short: The reason provided for the error action. choices: [valueCodeableConcept] index: 23 valueCodeableConcept: {type: CodeableConcept, short: The reason provided for the error action., choiceOf: value, index: 24} class: extension kind: complex-type url: https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-DocumentErrorAction base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.0.1