You are here:
InsClaimItemService:getInsuranceCodes
Use this service to get a list of insurance codes that correspond to the coverages associated with claims.
This service is designed to be used before the InsClaimItemService:add or InsClaimItemService:update services to get the insurance codes these services need.
Method: getInsuranceCodes
How It Works
-
Takes the
codeSystemTypeoption and any of the other filter options. -
Returns a filtered list of insurance codes that can be passed to other services.
Remote Options
Option |
Description |
|---|---|
|
Required. Filters the list of insurance codes this service returns as results. |
|
Filters the list of insurance codes this service returns as results. |
|
Filters the list of insurance codes this service returns as results. |
|
Filters the list of insurance codes by effective start date and effective end date, inclusive. |
Output JSON
The service returns a JSON that includes all the claim coverages that fit the options entered and their codes.
[
{
"CodeSubType__c": "CMS+PCS",
"Category__c": "Auto",
"CodeSystemType__c": null,
"LongDescription__c": "Auto Code Test",
"ShortDescription__c": "ACode",
"DisplayName__c": "Auto Code",
"Name": "AutoCode",
"Id": "a551U00000021XsQAI"
},
{
"CodeSubType__c": "PCS",
"Category__c": "Life",
"CodeSystemType__c": null,
"LongDescription__c": "Life Code Test",
"ShortDescription__c": "LCode",
"DisplayName__c": "Life Code",
"Name": "LifeCode",
"Id": "a551U00000021XnQAI"
},
{ ... }
]
