i-Claim
  1. Policy Management
i-Claim
  • Process Claim
    • Process Claim Indepth
      POST
  • Reports
    • Get Claim Report
      GET
    • Get Claim Reports
      GET
    • Get All Reports
      GET
  • Converse
    • Converse General
      POST
    • Converse Stream
      POST
  • Policy Management
    • Get Schema
      GET
    • Get All Schema
      GET
    • Create Schema
      POST
    • Update Policy
      POST
    • Delete Policy
      DELETE
  • Insights
    • Total Processed Claims
      GET
    • Total Discrepancies Found
      GET
    • Get Error Insights
      POST
  • Tariff Management
    • Update Tariff Pricing
      POST
    • Update Tariff By Percentage
      POST
    • Rebase Tariffs
      POST
    • Get Tariff Types
      GET
    • Get All Tariffs
      GET
    • Check Custom Tariff Use
      GET
    • Use Default Tariffs
      GET
  • Provider Management
    • Add Provider
      POST
    • Add Providers
      POST
    • Get Provider
      GET
    • Get All Providers
      GET
    • Update Provider
      POST
    • Remove Provider
      DELETE
  • Neural Center
    • Add Revision
    • List Revisions
    • Get Revision
    • Remove Revision
    • Create Chronos
    • Astra
    • Create Chronos
    • Astra
    • Create Chronos
    • Astra
  • Index
    GET
  1. Policy Management

Create Schema

POST
/policy/create
This endpoint enables the establishment of rules governing medical aid packages,
offering additional context regarding eligible claims within the package. Note you must provide a unique policy_id
to create a new schema, using an already existing one will return an error.
policy_id creation rules
Must not contain any special characters except for _
Must not start with character _
Must be in lowercase
Users can define specific criteria, restrictions, and allowances for claims, ensuring adherence to
policy guidelines and facilitating efficient processing of medical claims within the package.
This endpoint empowers administrators to configure comprehensive schemas tailored to the requirements
and coverage scope of
each medical aid package, enhancing clarity, transparency, and compliance in claim processing.

Request

Body Params application/json

Example
{
    "policy_id": "string",
    "policy_name": "string",
    "grades": [
        "A"
    ],
    "annual_limit": 0,
    "limits": {
        "hospitalization": 0,
        "pathology": 0,
        "radiology": 0,
        "physiotherapy": 0,
        "dental": 0,
        "optical": 0,
        "drugs": 0,
        "anesthetic": 0,
        "consultation": 0,
        "gynaecology": 0,
        "maternity": 0,
        "hearing_aids": 0
    },
    "rules": [
        "string"
    ],
    "currency": "ZiG"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/policy/create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "policy_id": "string",
    "policy_name": "string",
    "grades": [
        "A"
    ],
    "annual_limit": 0,
    "limits": {
        "hospitalization": 0,
        "pathology": 0,
        "radiology": 0,
        "physiotherapy": 0,
        "dental": 0,
        "optical": 0,
        "drugs": 0,
        "anesthetic": 0,
        "consultation": 0,
        "gynaecology": 0,
        "maternity": 0,
        "hearing_aids": 0
    },
    "rules": [
        "string"
    ],
    "currency": "ZiG"
}'

Responses

🟢200OK
application/json
Successful Response
Body

Example
null
🟠422Parameter Error
Modified at 2024-12-07 17:10:47
Previous
Get All Schema
Next
Update Policy
Built with