{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "http://hl7.org/fhir/json-schema/ProcessResponse",
  "$ref": "#/definitions/ProcessResponse",
  "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas",
  "definitions": {
    "ProcessResponse": {
      "allOf": [
        {
          "$ref": "DomainResource#/definitions/DomainResource"
        },
        {
          "description": "This resource provides processing status, errors and notes from the processing of a resource.",
          "properties": {
            "resourceType": {
              "description": "This is a ProcessResponse resource",
              "type": "string",
              "enum": [
                "ProcessResponse"
              ]
            },
            "identifier": {
              "description": "The Response business identifier.",
              "type": "array",
              "items": {
                "$ref": "Identifier.schema.json#/definitions/Identifier"
              }
            },
            "status": {
              "description": "The status of the resource instance.",
              "type": "string",
              "pattern": "[^\\s]+([\\s]?[^\\s]+)*"
            },
            "_status": {
              "description": "Extensions for status",
              "$ref": "Element.schema.json#/definitions/Element"
            },
            "created": {
              "description": "The date when the enclosed suite of services were performed or completed.",
              "type": "string",
              "pattern": "-?([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
            },
            "_created": {
              "description": "Extensions for created",
              "$ref": "Element.schema.json#/definitions/Element"
            },
            "organization": {
              "description": "The organization who produced this adjudicated response.",
              "$ref": "Reference.schema.json#/definitions/Reference"
            },
            "request": {
              "description": "Original request resource reference.",
              "$ref": "Reference.schema.json#/definitions/Reference"
            },
            "outcome": {
              "description": "Transaction status: error, complete, held.",
              "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
            },
            "disposition": {
              "description": "A description of the status of the adjudication or processing.",
              "type": "string"
            },
            "_disposition": {
              "description": "Extensions for disposition",
              "$ref": "Element.schema.json#/definitions/Element"
            },
            "requestProvider": {
              "description": "The practitioner who is responsible for the services rendered to the patient.",
              "$ref": "Reference.schema.json#/definitions/Reference"
            },
            "requestOrganization": {
              "description": "The organization which is responsible for the services rendered to the patient.",
              "$ref": "Reference.schema.json#/definitions/Reference"
            },
            "form": {
              "description": "The form to be used for printing the content.",
              "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
            },
            "processNote": {
              "description": "Suite of processing notes or additional requirements if the processing has been held.",
              "type": "array",
              "items": {
                "$ref": "#/definitions/ProcessResponse_ProcessNote"
              }
            },
            "error": {
              "description": "Processing errors.",
              "type": "array",
              "items": {
                "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
              }
            },
            "communicationRequest": {
              "description": "Request for additional supporting or authorizing information, such as: documents, images or resources.",
              "type": "array",
              "items": {
                "$ref": "Reference.schema.json#/definitions/Reference"
              }
            }
          },
          "required": [
            "resourceType"
          ]
        }
      ]
    },
    "ProcessResponse_ProcessNote": {
      "allOf": [
        {
          "$ref": "BackboneElement#/definitions/BackboneElement"
        },
        {
          "description": "This resource provides processing status, errors and notes from the processing of a resource.",
          "properties": {
            "type": {
              "description": "The note purpose: Print/Display.",
              "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
            },
            "text": {
              "description": "The note text.",
              "type": "string"
            },
            "_text": {
              "description": "Extensions for text",
              "$ref": "Element.schema.json#/definitions/Element"
            }
          }
        }
      ]
    }
  }
}