Appendix
Feature Flags
We allow feature flags to be turned on/off using headers following the pattern of
x-feature-fnol--name
where name is a feature. using the strings on or off to put the feature on or off.
The current available feature flags are:
x-feature-fnol--error-shape
This flag is off by default, and re-shapes the error array in 422 responses for Claim Submission, examples can be seen in the claim submission responses in this documentation
Section Field Types
These are the section field types which are possible in the FNOL
stringreturn a string
emailreturn a string representation of a valid email (eg. "[email protected]")
datereturn a string representation of a date (eg. "2019-03-25")
datetimereturn a string representation of a date and time (eg. "2019-09-09 12:15:31")
numericreturn a number
urlreturn a valid url
booleanreturn true or false (JSON boolean)
enumreturn one of the options for the field (eg: "red")
geolocationreturn a JSON object with latitude and longitude properties
filereturn array of file UUIDs, obtained from the file upload endpoint
setreturn an array of selected options for the field
countryreturn a ISO 3166-2 country code (eg. "AU")
currencyreturn a ISO 4217 currency code (eg. "AUD")
Section Field Validations
These are the validations currently supported for a section field.
lengthhow short/long a
stringfield should beoptions:
min,max
numerichow low/high a
numericfield should beoptions
min,max
multiselecthow many items should be included in an array (used with
setfields)options
min,max
floatnumericfield should include decimal(s)no options
Status Categories / External Statuses
All claim statuses are grouped into a finite set of what we call "external statuses" or "status categories", that are used for easier communicating the status of a claim. The following is the list of these statuses:
Submitted
Under Assessment
Action Required
Payment Processing
Payment Complete
Processing
Declined
Settled
Duplicate Claim
Under Review
Closed
Withdrawn
Typically claims are typically considered completed when they are either in Declined, Settled or Payment Complete status - but in reality, it could be some othe other less common ones such as Closed , Withdrawn or Duplicate Claim.
Whether a claim ends up going through Payment Completeor Settled largely depends on whether it is paid online or offline.
Due to the nature of insurance claims, most claims do not truly become "closed" for a long period of time (ie. while the policy is in effect). Some of these other statuses are there to capture various edge cases.
Last updated