{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://hl7.erp.uno/priv/schema/EnrollmentResponse.schema.json",
  "$ref": "#/definitions/EnrollmentResponse",
  "description": "see https://hl7.org/fhir/R5/json.html for information about the FHIR Json Schemas",
  "definitions": {
    "EnrollmentResponse": {
      "allOf": [
        {
          "$ref": "DomainResource.schema.json#/definitions/DomainResource"
        },
        {
          "description": "This resource provides enrollment and plan details from the processing of an Enrollment resource.",
          "properties": {
            "resourceType": {
              "description": "This is a EnrollmentResponse resource",
              "type": "string",
              "enum": [
                "EnrollmentResponse"
              ]
            },
            "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"
            },
            "request": {
              "description": "Original request resource reference.",
              "$ref": "Reference.schema.json#/definitions/Reference"
            },
            "outcome": {
              "description": "Processing status: error, complete.",
              "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
            },
            "disposition": {
              "description": "A description of the status of the adjudication.",
              "type": "string"
            },
            "_disposition": {
              "description": "Extensions for disposition",
              "$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 Insurer who produced this adjudicated response.",
              "$ref": "Reference.schema.json#/definitions/Reference"
            },
            "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"
            }
          },
          "required": [
            "resourceType"
          ]
        }
      ]
    }
  }
}