PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales@2.3.0
    https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-DocumentErrorAction
{
  "description": "This extension provides a history of error actions performed e.g. document misfile proposed then accepted.",
  "_filename": "Extension-DataStandardsWales-DocumentErrorAction.json",
  "package_name": "fhir.r4.wales",
  "date": "2025-09-24",
  "derivation": "constraint",
  "publisher": "NHS Wales",
  "fhirVersion": "4.0.1",
  "purpose": "To support the document error workflow in NHS Wales, including the specific action performed, when, bu whom and any reason provided.",
  "name": "ExtensionDataStandardsWalesDocumentErrorAction",
  "abstract": false,
  "copyright": "2025 NHS Wales",
  "type": "Extension",
  "experimental": "true",
  "resourceType": "StructureDefinition",
  "title": "Extension Data Standards Wales Document Error Action",
  "package_version": "2.3.0",
  "status": "draft",
  "id": "d2ec9481-eac2-4082-ad17-d192140ca56c",
  "kind": "complex-type",
  "url": "https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-DocumentErrorAction",
  "context": [ {
    "type": "element",
    "expression": "DocumentReference"
  } ],
  "version": "0.0.1",
  "differential": {
    "element": [ {
      "id": "Extension",
      "path": "Extension",
      "short": "Document error action metadata.",
      "definition": "This extension provides outline data for an action performed as part of a document error workflow e.g. document misfile proposed."
    }, {
      "id": "Extension.extension",
      "min": 2,
      "path": "Extension.extension"
    }, {
      "id": "Extension.extension:actionType",
      "max": "1",
      "min": 1,
      "path": "Extension.extension",
      "short": "misfile-proposed | misfile-accepted | misfile-rejected | revoked",
      "sliceName": "actionType",
      "definition": "A descriptive code for action performed as part of a document error workflow in NHS Wales e.g. document misfile proposed."
    }, {
      "id": "Extension.extension:actionType.extension",
      "max": "0",
      "path": "Extension.extension.extension"
    }, {
      "id": "Extension.extension:actionType.url",
      "path": "Extension.extension.url",
      "fixedUri": "actionType"
    }, {
      "id": "Extension.extension:actionType.value[x]",
      "path": "Extension.extension.value[x]",
      "type": [ {
        "code": "code"
      } ],
      "short": "misfile-proposed | misfile-accepted | misfile-rejected | revoked",
      "binding": {
        "strength": "required",
        "valueSet": "https://fhir.nhs.wales/ValueSet/FHIRStandardsWales-DocumentErrorAction"
      },
      "definition": "A descriptive code for an action performed as part of a document error workflow in NHS Wales e.g. document misfile proposed."
    }, {
      "id": "Extension.extension:actionDateTime",
      "max": "1",
      "min": 1,
      "path": "Extension.extension",
      "short": "The date and time of the document error action.",
      "sliceName": "actionDateTime",
      "definition": "A timestamp for the error workflow action performed by the user e.g. proposing that a document is misfiled."
    }, {
      "id": "Extension.extension:actionDateTime.extension",
      "max": "0",
      "path": "Extension.extension.extension"
    }, {
      "id": "Extension.extension:actionDateTime.url",
      "path": "Extension.extension.url",
      "fixedUri": "actionDateTime"
    }, {
      "id": "Extension.extension:actionDateTime.value[x]",
      "path": "Extension.extension.value[x]",
      "type": [ {
        "code": "instant"
      } ]
    }, {
      "id": "Extension.extension:actionedBy",
      "max": "1",
      "path": "Extension.extension",
      "short": "The user that performed the document error action.",
      "sliceName": "actionedBy",
      "definition": "A reference to the user that performed the error workflow action e.g. proposing that a document is misfiled."
    }, {
      "id": "Extension.extension:actionedBy.extension",
      "max": "0",
      "path": "Extension.extension.extension"
    }, {
      "id": "Extension.extension:actionedBy.url",
      "path": "Extension.extension.url",
      "fixedUri": "actionedBy"
    }, {
      "id": "Extension.extension:actionedBy.value[x]",
      "path": "Extension.extension.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-RelatedPerson" ]
      } ],
      "short": "The user that performed the document error action.",
      "definition": "A reference to the user that performed the error workflow action e.g. proposing that a document is misfiled."
    }, {
      "id": "Extension.extension:actionReason",
      "max": "1",
      "path": "Extension.extension",
      "short": "The reason provided for the error action.",
      "sliceName": "actionReason",
      "definition": "Any coded or free text justification or explanation provided for the error action performed."
    }, {
      "id": "Extension.extension:actionReason.extension",
      "max": "0",
      "path": "Extension.extension.extension"
    }, {
      "id": "Extension.extension:actionReason.url",
      "path": "Extension.extension.url",
      "fixedUri": "actionReason"
    }, {
      "id": "Extension.extension:actionReason.value[x]",
      "path": "Extension.extension.value[x]",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "The reason provided for the error action.",
      "definition": "Any coded or free text justification or explanation provided for the error action performed."
    }, {
      "id": "Extension.url",
      "path": "Extension.url",
      "fixedUri": "https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-DocumentErrorAction"
    }, {
      "id": "Extension.value[x]",
      "max": "0",
      "path": "Extension.value[x]"
    } ]
  },
  "contact": [ {
    "name": "FHIR Standards",
    "telecom": [ {
      "use": "work",
      "rank": 1,
      "value": "fhir.standards@wales.nhs.uk",
      "system": "email"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension"
}