{
  "openapi": "3.0.1",
  "info": {
    "title": "LucyWebAPI",
    "version": "1.0"
  },
  "paths": {
    "/claim/history": {
      "get": {
        "tags": [
          "Claim"
        ],
        "parameters": [
          {
            "name": "MemberId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CarrierId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AccountId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "GroupId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FillDateFrom",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FillDateThru",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Personcode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/claim/v2/history": {
      "post": {
        "tags": [
          "Claim"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClaimHistoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClaimHistoryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClaimHistoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/claim/v2/test": {
      "post": {
        "tags": [
          "Claim"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClaimTestRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClaimTestRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClaimTestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/claim/Test": {
      "get": {
        "tags": [
          "Claim"
        ],
        "parameters": [
          {
            "name": "MemberId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CarrierId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AccountId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "GroupId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "RelationshipCode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FirstName",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LastName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DOB",
            "in": "query",
            "required": true,
            "schema": {
              "pattern": "^\\d{2}-\\d{2}-\\d{4}$",
              "type": "string"
            }
          },
          {
            "name": "PharmacyId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PharmacyIDQualifier",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PharmacyType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProductID",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProductIDQualifier",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PrescriberID",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PrescriberIDQualifier",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DawCode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FillDate",
            "in": "query",
            "required": true,
            "schema": {
              "pattern": "^\\d{2}-\\d{2}-\\d{4}$",
              "type": "string"
            }
          },
          {
            "name": "SubmittedDaysSupply",
            "in": "query",
            "required": true,
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SubmittedQuantityDispensed",
            "in": "query",
            "required": true,
            "schema": {
              "minimum": 0,
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "personcode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/claim/v2/search/extended": {
      "post": {
        "tags": [
          "ClaimSearchExtended"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClaimSearchExtendedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClaimSearchExtendedRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClaimSearchExtendedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/eoc/casestatus": {
      "post": {
        "tags": [
          "EOCCaseStatus"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EOCCaseStatusRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EOCCaseStatusRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EOCCaseStatusRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/member/authorization": {
      "post": {
        "tags": [
          "PriorAuth"
        ],
        "parameters": [
          {
            "name": "MemberId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "carrierid",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "groupid",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProductID",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProductIDQualifier",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "RequestFromDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "RequestThruDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "MultiSourceCode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PriorAuthReasonCode",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FirstName",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DOB",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AccountId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PtdFromDate",
            "in": "query",
            "schema": {
              "pattern": "^\\d{2}-\\d{2}-\\d{4}$",
              "type": "string"
            }
          },
          {
            "name": "VendorPANumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ClientAuthNumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "GenericIndicator",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompoundCode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DeaClassCode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "RxOtcIndicator",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "MonySet",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "MonyForCopay",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "MaxScriptQuantity",
            "in": "query",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "MaxScriptDays",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "MaxScriptDollars",
            "in": "query",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "MaxScripts",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "MaxPaScripts",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "MaxDailyDose",
            "in": "query",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "MaxDollarsPerUnit",
            "in": "query",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "MinScriptDays",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "MinScriptQuantity",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ForceDailyDoseDecimal",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Refills",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "DaysOld",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PaymentType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CopayModifierName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "BrandFlatCopay",
            "in": "query",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "GenericFlatCopay",
            "in": "query",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "CostModifierId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "DispFeeModifierId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "MiscModifierId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PharmacyNumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PharmacyPanelName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PharmacyPanelSetId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PrescriberNumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PrescriberPanelSetId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "CatalogCode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Message",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AuthorizedBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Notes",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CalledInBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Appeal",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Timeframe",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CobName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ForceRejectCode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AdcId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "WorkersCompDateOfInjury",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "WorkersCompClaimNumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "OverrideAllExcludeBenefitListItem",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "OverrideGroupPhysicianChecking",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "OverrideRefillTooSoon",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "OriginalMonyForCopay",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "DisregardAgeModifier",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "DisregardAllAdc",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "DisregardGroupAgeCutoff",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "DisregardGroupCap",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "DisregardGroupDeductible",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "DisregardMaintenance",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "DisregardMiscModifier",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "DisregardedMiscModifierName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DisregardPreferred",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "DisregardThisMiscModifier",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "AllowDiscontinuedDrugs",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "AllowDurDdi",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "AllowOtc",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "AllowOutOfPharmacyPanel",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "AllowOutOfPrescriberPanel",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "AllowPrimaryToPayZero",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "AllowRepackaged",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "ProcessAsPreferred",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "AllowDurDuplicateTherapy",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "ProcessAsGenericCopay",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "ProcessAsMaintenance",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "PermitPrimary",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "AllowDurQtyEquivalency",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "BenefitList",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/PriorAuthBenefitListItem"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/member/v2/authorization": {
      "patch": {
        "tags": [
          "PriorAuth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchPriorAuthRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchPriorAuthRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PatchPriorAuthRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "post": {
        "tags": [
          "V2PriorAuth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/V2PriorAuthRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/V2PriorAuthRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/V2PriorAuthRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/member/search/memberid": {
      "get": {
        "tags": [
          "Subscriber"
        ],
        "parameters": [
          {
            "name": "memberid",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/member/search": {
      "get": {
        "tags": [
          "Subscriber"
        ],
        "parameters": [
          {
            "name": "MemberId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FirstName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LastName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DateOfBirth",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zipcode",
            "in": "query",
            "schema": {
              "maxLength": 9,
              "minLength": 0,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/Authorization": {
      "post": {
        "tags": [
          "Token"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TokenRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/member/v2/UpsertMember": {
      "post": {
        "tags": [
          "UpsertMember"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertMemberRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertMemberRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertMemberRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AddressItem": {
        "type": "object",
        "properties": {
          "patient_address_list_type": {
            "maxLength": 1,
            "pattern": "^[1-4]$",
            "type": "string",
            "nullable": true
          },
          "patient_address_list_address_line1": {
            "maxLength": 55,
            "type": "string",
            "nullable": true
          },
          "patient_address_list_address_line2": {
            "maxLength": 55,
            "type": "string",
            "nullable": true
          },
          "patient_address_list_city": {
            "maxLength": 35,
            "type": "string",
            "nullable": true
          },
          "patient_address_list_state": {
            "maxLength": 2,
            "type": "string",
            "nullable": true
          },
          "patient_address_list_zipcode": {
            "maxLength": 9,
            "type": "string",
            "nullable": true
          },
          "patient_address_list_countrycode": {
            "maxLength": 2,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClaimHistoryRequest": {
        "type": "object",
        "properties": {
          "memberId": {
            "type": "string",
            "nullable": true
          },
          "carrierId": {
            "type": "string",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "nullable": true
          },
          "groupId": {
            "type": "string",
            "nullable": true
          },
          "fillDateFrom": {
            "type": "string",
            "nullable": true
          },
          "fillDateThru": {
            "type": "string",
            "nullable": true
          },
          "personcode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClaimSearchExtendedRequest": {
        "required": [
          "carrierid",
          "dob",
          "endDate",
          "firstName",
          "groupid",
          "memberId",
          "personcode",
          "startDate"
        ],
        "type": "object",
        "properties": {
          "carrierid": {
            "minLength": 1,
            "type": "string"
          },
          "groupid": {
            "minLength": 1,
            "type": "string"
          },
          "memberId": {
            "minLength": 1,
            "type": "string"
          },
          "firstName": {
            "minLength": 1,
            "type": "string"
          },
          "dob": {
            "minLength": 1,
            "type": "string"
          },
          "personcode": {
            "minLength": 1,
            "type": "string"
          },
          "allClaims": {
            "type": "boolean",
            "nullable": true
          },
          "testClaims": {
            "type": "boolean",
            "nullable": true
          },
          "productionOrTrialClaims": {
            "type": "boolean",
            "nullable": true
          },
          "production": {
            "type": "boolean",
            "nullable": true
          },
          "trialClaims": {
            "type": "boolean",
            "nullable": true
          },
          "startDate": {
            "minLength": 1,
            "type": "string"
          },
          "endDate": {
            "minLength": 1,
            "type": "string"
          },
          "dateOfService": {
            "type": "string",
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "page": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "orderBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClaimTestRequest": {
        "required": [
          "dob",
          "fillDate",
          "firstName",
          "groupId",
          "memberId",
          "pharmacyId",
          "pharmacyIDQualifier",
          "prescriberID",
          "prescriberIDQualifier",
          "productID",
          "productIDQualifier",
          "submittedDaysSupply",
          "submittedQuantityDispensed"
        ],
        "type": "object",
        "properties": {
          "memberId": {
            "minLength": 1,
            "type": "string"
          },
          "carrierId": {
            "type": "string",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "nullable": true
          },
          "groupId": {
            "minLength": 1,
            "type": "string"
          },
          "relationshipCode": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "minLength": 1,
            "type": "string"
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "dob": {
            "minLength": 1,
            "pattern": "^\\d{2}-\\d{2}-\\d{4}$",
            "type": "string"
          },
          "pharmacyId": {
            "minLength": 1,
            "type": "string"
          },
          "pharmacyIDQualifier": {
            "minLength": 1,
            "type": "string"
          },
          "pharmacyType": {
            "type": "string",
            "nullable": true
          },
          "productID": {
            "minLength": 1,
            "type": "string"
          },
          "productIDQualifier": {
            "minLength": 1,
            "type": "string"
          },
          "prescriberID": {
            "minLength": 1,
            "type": "string"
          },
          "prescriberIDQualifier": {
            "minLength": 1,
            "type": "string"
          },
          "dawCode": {
            "type": "string",
            "nullable": true
          },
          "fillDate": {
            "minLength": 1,
            "pattern": "^\\d{2}-\\d{2}-\\d{4}$",
            "type": "string"
          },
          "submittedDaysSupply": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32"
          },
          "submittedQuantityDispensed": {
            "minimum": 0,
            "type": "number",
            "format": "double"
          },
          "personcode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommunicationItem": {
        "type": "object",
        "properties": {
          "patient_communication_list_type": {
            "maxLength": 2,
            "pattern": "^(HP|WP|EM|CP)$",
            "type": "string",
            "nullable": true
          },
          "patient_communication_list_value": {
            "maxLength": 55,
            "type": "string",
            "nullable": true
          },
          "patient_communication_list_ext": {
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "patient_communication_list_support_sms": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EOCCaseHistory": {
        "type": "object",
        "properties": {
          "seqId": {
            "type": "integer",
            "format": "int32"
          },
          "statusType": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EOCCaseStatusRequest": {
        "required": [
          "drugName",
          "eocId",
          "gpI14",
          "latestStatus",
          "memberId",
          "patientDOB",
          "patientFirstName",
          "patientLastName",
          "patientPersonCode"
        ],
        "type": "object",
        "properties": {
          "eocId": {
            "minLength": 1,
            "type": "string"
          },
          "hcsEventId": {
            "type": "string",
            "nullable": true
          },
          "memberId": {
            "minLength": 1,
            "type": "string"
          },
          "patientFirstName": {
            "minLength": 1,
            "type": "string"
          },
          "patientMiddleName": {
            "type": "string",
            "nullable": true
          },
          "patientLastName": {
            "minLength": 1,
            "type": "string"
          },
          "patientDOB": {
            "minLength": 1,
            "type": "string"
          },
          "patientPersonCode": {
            "minLength": 1,
            "type": "string"
          },
          "latestStatus": {
            "minLength": 1,
            "type": "string"
          },
          "drugName": {
            "minLength": 1,
            "type": "string"
          },
          "gpI14": {
            "maxLength": 14,
            "minLength": 0,
            "type": "string"
          },
          "caseHistory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EOCCaseHistory"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EligibilityItem": {
        "required": [
          "patient_eligibility_list_coverage_type",
          "patient_eligibility_list_end_date",
          "patient_eligibility_list_groups_group_num",
          "patient_eligibility_list_start_date"
        ],
        "type": "object",
        "properties": {
          "patient_eligibility_list_coverage_type": {
            "minLength": 1,
            "type": "string"
          },
          "patient_eligibility_list_start_date": {
            "minLength": 1,
            "type": "string"
          },
          "patient_eligibility_list_end_date": {
            "minLength": 1,
            "type": "string"
          },
          "patient_eligibility_list_groups_group_num": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PatchPriorAuthRequest": {
        "required": [
          "carrierid",
          "dob",
          "effectiveThruDate",
          "firstName",
          "groupid",
          "memberId",
          "vendorPANumber"
        ],
        "type": "object",
        "properties": {
          "vendorPANumber": {
            "minLength": 1,
            "type": "string"
          },
          "memberId": {
            "minLength": 1,
            "type": "string"
          },
          "carrierid": {
            "minLength": 1,
            "type": "string"
          },
          "groupid": {
            "minLength": 1,
            "type": "string"
          },
          "firstName": {
            "minLength": 1,
            "type": "string"
          },
          "dob": {
            "minLength": 1,
            "type": "string"
          },
          "effectiveThruDate": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PriorAuthBenefitListItem": {
        "type": "object",
        "properties": {
          "prior_auth_benefit_list_list_inc_type": {
            "type": "string",
            "nullable": true
          },
          "prior_auth_benefit_list_list_benefit_list_benefit_list_name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TokenRequest": {
        "type": "object",
        "properties": {
          "client_id": {
            "type": "string",
            "nullable": true
          },
          "client_secret": {
            "type": "string",
            "nullable": true
          },
          "grant_type": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpsertMemberRequest": {
        "required": [
          "patient_carrier_code",
          "patient_date_of_birth",
          "patient_first_name",
          "patient_last_name",
          "patient_patient_eligibility_list",
          "patient_patient_num",
          "patient_person_code"
        ],
        "type": "object",
        "properties": {
          "patient_patient_num": {
            "minLength": 1,
            "type": "string"
          },
          "patient_person_code": {
            "minLength": 1,
            "type": "string"
          },
          "patient_carrier_code": {
            "minLength": 1,
            "type": "string"
          },
          "patient_first_name": {
            "minLength": 1,
            "type": "string"
          },
          "patient_last_name": {
            "minLength": 1,
            "type": "string"
          },
          "patient_date_of_birth": {
            "minLength": 1,
            "type": "string"
          },
          "patient_gender": {
            "type": "string",
            "nullable": true
          },
          "patient_relationship_code": {
            "maxLength": 1,
            "pattern": "^[0-8]$",
            "type": "string",
            "nullable": true
          },
          "patient_old_patient_num": {
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "patient_patient_eligibility_list": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EligibilityItem"
            }
          },
          "patient_patient_address_list": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AddressItem"
            },
            "nullable": true
          },
          "patient_patient_communication_list": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommunicationItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "V2PriorAuthRequest": {
        "required": [
          "carrierid",
          "dob",
          "firstName",
          "groupid",
          "memberId",
          "personcode",
          "priorAuthReasonCode",
          "productID",
          "productIDQualifier",
          "requestFromDate",
          "requestThruDate"
        ],
        "type": "object",
        "properties": {
          "memberId": {
            "minLength": 1,
            "type": "string"
          },
          "carrierid": {
            "minLength": 1,
            "type": "string"
          },
          "groupid": {
            "minLength": 1,
            "type": "string"
          },
          "productID": {
            "minLength": 1,
            "type": "string"
          },
          "productIDQualifier": {
            "minLength": 1,
            "type": "string"
          },
          "requestFromDate": {
            "minLength": 1,
            "type": "string"
          },
          "requestThruDate": {
            "minLength": 1,
            "type": "string"
          },
          "priorAuthReasonCode": {
            "minLength": 1,
            "type": "string"
          },
          "firstName": {
            "minLength": 1,
            "type": "string"
          },
          "dob": {
            "minLength": 1,
            "type": "string"
          },
          "personcode": {
            "minLength": 1,
            "type": "string"
          },
          "accountId": {
            "type": "string",
            "nullable": true
          },
          "ptdFromDate": {
            "pattern": "^\\d{2}-\\d{2}-\\d{4}$",
            "type": "string",
            "nullable": true
          },
          "vendorPANumber": {
            "type": "string",
            "nullable": true
          },
          "clientAuthNumber": {
            "type": "string",
            "nullable": true
          },
          "multiSourceCode": {
            "type": "string",
            "nullable": true
          },
          "genericIndicator": {
            "type": "string",
            "nullable": true
          },
          "compoundCode": {
            "type": "string",
            "nullable": true
          },
          "deaClassCode": {
            "type": "string",
            "nullable": true
          },
          "rxOtcIndicator": {
            "type": "string",
            "nullable": true
          },
          "monySet": {
            "type": "string",
            "nullable": true
          },
          "monyForCopay": {
            "type": "string",
            "nullable": true
          },
          "maxScriptQuantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxScriptDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "maxScriptDollars": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxScripts": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "maxPaScripts": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "maxDailyDose": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxDollarsPerUnit": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minScriptDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "minScriptQuantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "forceDailyDoseDecimal": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "refills": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "daysOld": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "paymentType": {
            "type": "string",
            "nullable": true
          },
          "copayModifierName": {
            "type": "string",
            "nullable": true
          },
          "brandFlatCopay": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "genericFlatCopay": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "costModifierId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dispFeeModifierId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "miscModifierId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pharmacyNumber": {
            "type": "string",
            "nullable": true
          },
          "pharmacyPanelName": {
            "type": "string",
            "nullable": true
          },
          "pharmacyPanelSetId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "prescriberNumber": {
            "type": "string",
            "nullable": true
          },
          "prescriberPanelSetId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "catalogCode": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "authorizedBy": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "calledInBy": {
            "type": "string",
            "nullable": true
          },
          "appeal": {
            "type": "string",
            "nullable": true
          },
          "timeframe": {
            "type": "string",
            "nullable": true
          },
          "cobName": {
            "type": "string",
            "nullable": true
          },
          "forceRejectCode": {
            "type": "string",
            "nullable": true
          },
          "adcId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "workersCompDateOfInjury": {
            "type": "string",
            "nullable": true
          },
          "workersCompClaimNumber": {
            "type": "string",
            "nullable": true
          },
          "overrideGroupPhysicianChecking": {
            "type": "boolean",
            "nullable": true
          },
          "overrideRefillTooSoon": {
            "type": "boolean",
            "nullable": true
          },
          "originalMonyForCopay": {
            "type": "boolean",
            "nullable": true
          },
          "disregardAgeModifier": {
            "type": "boolean",
            "nullable": true
          },
          "disregardAllAdc": {
            "type": "boolean",
            "nullable": true
          },
          "disregardGroupAgeCutoff": {
            "type": "boolean",
            "nullable": true
          },
          "disregardGroupCap": {
            "type": "boolean",
            "nullable": true
          },
          "disregardGroupDeductible": {
            "type": "boolean",
            "nullable": true
          },
          "disregardMaintenance": {
            "type": "boolean",
            "nullable": true
          },
          "disregardMiscModifier": {
            "type": "boolean",
            "nullable": true
          },
          "disregardedMiscModifierName": {
            "type": "string",
            "nullable": true
          },
          "disregardPreferred": {
            "type": "boolean",
            "nullable": true
          },
          "disregardThisMiscModifier": {
            "type": "boolean",
            "nullable": true
          },
          "allowDiscontinuedDrugs": {
            "type": "boolean",
            "nullable": true
          },
          "allowDurDdi": {
            "type": "boolean",
            "nullable": true
          },
          "allowOtc": {
            "type": "boolean",
            "nullable": true
          },
          "allowOutOfPharmacyPanel": {
            "type": "boolean",
            "nullable": true
          },
          "allowOutOfPrescriberPanel": {
            "type": "boolean",
            "nullable": true
          },
          "allowPrimaryToPayZero": {
            "type": "boolean",
            "nullable": true
          },
          "allowRepackaged": {
            "type": "boolean",
            "nullable": true
          },
          "processAsPreferred": {
            "type": "boolean",
            "nullable": true
          },
          "allowDurDuplicateTherapy": {
            "type": "boolean",
            "nullable": true
          },
          "processAsGenericCopay": {
            "type": "boolean",
            "nullable": true
          },
          "processAsMaintenance": {
            "type": "boolean",
            "nullable": true
          },
          "permitPrimary": {
            "type": "boolean",
            "nullable": true
          },
          "allowDurQtyEquivalency": {
            "type": "boolean",
            "nullable": true
          },
          "benefitList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PriorAuthBenefitListItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Enter 'Bearer' [space] and then your token.",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    }
  ]
}