{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "http://hl7.org/fhir/json-schema/EnrollmentRequest",
  "$ref": "#/definitions/EnrollmentRequest",
  "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas",
  "definitions": {
    "EnrollmentRequest": {
      "allOf": [
        {
          "$ref": "DomainResource#/definitions/DomainResource"
        },
        {
          "description": "This resource provides the insurance enrollment details to the insurer regarding a specified coverage.",
          "properties": {
            "resourceType": {
              "description": "This is a EnrollmentRequest resource",
              "type": "string",
              "enum": [
                "EnrollmentRequest"
              ]
            },
            "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 this resource was created.",
              "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"
            },
            "insurer": {
              "description": "The Insurer who is target  of the request.",
              "$ref": "Reference.schema.json#/definitions/Reference"
            },
            "provider": {
              "description": "The practitioner who is responsible for the services rendered to the patient.",
              "$ref": "Reference.schema.json#/definitions/Reference"
            },
            "organization": {
              "description": "The organization which is responsible for the services rendered to the patient.",
              "$ref": "Reference.schema.json#/definitions/Reference"
            },
            "subject": {
              "description": "Patient Resource.",
              "$ref": "Reference.schema.json#/definitions/Reference"
            },
            "coverage": {
              "description": "Reference to the program or plan identification, underwriter or payor.",
              "$ref": "Reference.schema.json#/definitions/Reference"
            }
          },
          "required": [
            "resourceType"
          ]
        }
      ]
    }
  }
}