{
  "resourceType": "StructureDefinition",
  "id": "OperationOutcome",
  "meta": {
    "lastUpdated": "2018-11-08T12:30:35.312+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    }
  ],
  "url": "https://fhir.nhs.uk/STU3/StructureDefinition/ITK-Response-OperationOutcome-1",
  "version": "1.2.0",
  "name": "ITK-Response-OperationOutcome-1",
  "status": "active",
  "date": "2024-01-22T11:39:06.3872207+00:00",
  "publisher": "NHS Digital",
  "contact": [
    {
      "name": "Interoperability Team",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This constrained OperationOutcome resource has one code system containing all the ITK response codes, as part of a single ITK response message.  These ITK response codes can either be positive or negative, where all negative response codes are deemed to be fatal and no further processing will be carried out on the message.",
  "purpose": "There is a requirement to carry ITK response codes, as part of a single ITK response message.",
  "copyright": "Copyright © 2018 NHS Digital",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "OperationOutcome",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/OperationOutcome",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "OperationOutcome",
        "path": "OperationOutcome",
        "definition": "A collection of responses that result from a system action."
      },
      {
        "id": "OperationOutcome.issue",
        "path": "OperationOutcome.issue",
        "definition": "A response that results from a system action."
      },
      {
        "id": "OperationOutcome.issue.details",
        "path": "OperationOutcome.issue.details",
        "short": "Additional details about the response",
        "definition": "Additional details about the response. This may be a text description of the response, or a system code that identifies the response.",
        "comment": "A human readable description of the response issue SHOULD be placed in details.text.",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IssueDetails"
            }
          ],
          "strength": "required",
          "description": "A ValueSet that provides details as to the exact issue.",
          "valueSetReference": {
            "reference": "https://fhir.nhs.uk/STU3/ValueSet/ITK-ResponseCodes-1"
          }
        }
      },
      {
        "id": "OperationOutcome.issue.details.coding",
        "path": "OperationOutcome.issue.details.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "OperationOutcome.issue.details.coding.system",
        "path": "OperationOutcome.issue.details.coding.system",
        "min": 1,
        "fixedUri": "https://fhir.nhs.uk/STU3/CodeSystem/ITK-ResponseCodes-1"
      },
      {
        "id": "OperationOutcome.issue.details.coding.version",
        "path": "OperationOutcome.issue.details.coding.version",
        "max": "0"
      },
      {
        "id": "OperationOutcome.issue.details.coding.code",
        "path": "OperationOutcome.issue.details.coding.code",
        "min": 1
      },
      {
        "id": "OperationOutcome.issue.details.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "OperationOutcome.issue.details.coding.display",
        "min": 1
      },
      {
        "id": "OperationOutcome.issue.details.coding.userSelected",
        "path": "OperationOutcome.issue.details.coding.userSelected",
        "max": "0"
      }
    ]
  }
}