1. Home
  2. Docs
  3. Solutions Architecture
  4. Sm8rtHealth – Appli...
  5. Raw response (Json output)

Raw response (Json output)

All the information gathered, questions asked and answered, through the application is provided in its raw Json response. This is a singular end-point for all data to be mapped, or pdf’s to be generated etc.

A sample extract Json response is provided below:

{
  "apiEndPoint": "/api/v1/underwriting/outcome/Vg4Rl8k",
  "date": "2023-01-26T01:31:06.4543743Z",
  "success": true,
  "statusCode": 200,
  "errorMessage": "",
  "firstError": "",
  "message": "Applicant Outcome generated 27 Jan 2023 03:05",
  "result": {
    "outcome": {
      "applicantOutcome": {
        "benefitResults": [
          {
            "benefitCode": "EMC",
            "accepted": null,
            "benefitName": "Existing medical conditions",
            "primaryBenefit": true,
            "pathResults": [
              {
                "disclosureIdentifier": "42000",
                "disclosureFamilyCode": "A42000",
                "disclosureDescription": "Body mass index -male",
                "disclosureFamilyDescription": "BMI",
                "friendlyDescription": "Body mass index -male",
                "code": "FreeCover-GEN-BMI-A42000-B-EMC",
                "outcome": null,
                "path": "B",
                "questionSection": "Bmi",
                "description": "[Body mass index -male-A42000-42000-B-NibHealthProduct-EMC-FreeCover]",
                "loading": null,
                "pathType": "FreeCover",
                "comboReason": null,
                "isComboLogic": false,
                "categoryCode": "BMI",
                "categoryName": "Body Mass Index",
                "parentCategoryCode": "GEN",
                "parentCategoryName": "General rules",
                "benefitCode": "EMC",
                "underwritingRuleSet": "NibHealthRuleSet",
                "pathTypeAliasDescription": "Accept",
                "pathTypeAlias": "FreeCover",
                "pathTypePreSymbol": "",
                "pathTypePostSymbol": ""
              },
              {
                "disclosureIdentifier": "1488",
                "disclosureFamilyCode": "A1119",
                "disclosureDescription": "Upper back (thoracic vertebrae) strains, sprains stiffness or pain",
                "disclosureFamilyDescription": "upper/mid back strains, sprains stiffness or pain",
                "friendlyDescription": "Upper back (thoracic vertebrae) strains, sprains stiffness or pain",
                "code": "FreeCover-BOAM-BACK-A1119-A-EMC",
                "outcome": null,
                "path": "A",
                "questionSection": "BoneAndMuscle",
                "description": "[Upper back (thoracic vertebrae) strains, sprains stiffness or pain-A1119-1488-A-NibHealthProduct-EMC-FreeCover]",
                "loading": null,
                "pathType": "FreeCover",
                "comboReason": null,
                "isComboLogic": false,
                "categoryCode": "BACK",
                "categoryName": "back conditions",
                "parentCategoryCode": "BOAM",
                "parentCategoryName": "BoneAndMuscle",
                "benefitCode": "EMC",
                "underwritingRuleSet": "NibHealthRuleSet",
                "pathTypeAliasDescription": "Accept",
                "pathTypeAlias": "FreeCover",
                "pathTypePreSymbol": "",
                "pathTypePostSymbol": ""
              },
              {
                "disclosureIdentifier": "9221",
                "disclosureFamilyCode": "A9211",
                "disclosureDescription": "Kidney stones",
                "disclosureFamilyDescription": "kidney stones",
                "friendlyDescription": "Kidney stones",
                "code": "Exclude-URO-KIS-A9211-B-EMC-N",
                "outcome": null,
                "path": "B",
                "questionSection": "Kidney",
                "description": "[Kidney stones-A9211-9221-B-NibHealthProduct-EMC-Exclude]",
                "loading": null,
                "pathType": "Exclude",
                "comboReason": null,
                "isComboLogic": false,
                "categoryCode": "KIS",
                "categoryName": "kidney stones",
                "parentCategoryCode": "URO",
                "parentCategoryName": "Urology",
                "benefitCode": "EMC",
                "underwritingRuleSet": "NibHealthRuleSet",
                "pathTypeAliasDescription": "Exclude",
                "pathTypeAlias": "Exclude",
                "pathTypePreSymbol": "",
                "pathTypePostSymbol": "",
                "applicantTexts": [
                  {
                    "text": "Any consultations, investigations, or treatment in connection with renal or urinary calculi and/or any complications thereof.",
                    "textType": "Wording"
                  }

How can we help?