{
  "resourceType" : "Bundle",
  "id" : "PreAuth-Request",
  "meta" : {
    "profile" : ["https://fhir-ig.digitalhealth.gov.ng/StructureDefinition/ng-preauthorization-bundle"]
  },
  "type" : "transaction",
  "entry" : [{
    "fullUrl" : "urn:uuid:aaabbbc2-e5f6-4789-a123-456789abcdef",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "NgPatient-PreAuth-001",
      "meta" : {
        "lastUpdated" : "2024-10-15T09:00:00+01:00",
        "profile" : ["https://fhir-ig.digitalhealth.gov.ng/StructureDefinition/ng-patient"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_NgPatient-PreAuth-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient NgPatient-PreAuth-001</b></p><a name=\"NgPatient-PreAuth-001\"> </a><a name=\"hcNgPatient-PreAuth-001\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Last updated: 2024-10-15 09:00:00+0100</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ng-patient.html\">NG Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Chika Okafor  Male, DoB: 1990-04-21 ( nin)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\">mobile/08031112233</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">21 Industrial Area Port Harcourt RI </td></tr></table></div>"
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "https://fhir-ig.digitalhealth.gov.ng/CodeSystem/patient-identifier-cs",
            "code" : "NIN"
          }]
        },
        "system" : "https://fhir-ig.digitalhealth.gov.ng/CodeSystem/patient-identifier-cs",
        "value" : "23456565514"
      },
      {
        "type" : {
          "coding" : [{
            "system" : "https://fhir-ig.digitalhealth.gov.ng/CodeSystem/patient-identifier-cs",
            "code" : "MOBILE",
            "display" : "mobile"
          }]
        },
        "system" : "https://fhir-ig.digitalhealth.gov.ng/CodeSystem/patient-identifier-cs",
        "value" : "08031112233"
      }],
      "active" : true,
      "name" : [{
        "family" : "Okafor",
        "given" : ["Chika"]
      }],
      "gender" : "male",
      "birthDate" : "1990-04-21",
      "address" : [{
        "line" : ["21 Industrial Area"],
        "city" : "Port Harcourt",
        "district" : "ri-emohua",
        "state" : "RI"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Patient"
    }
  },
  {
    "fullUrl" : "urn:uuid:bbbcccd2-e5f6-4789-a123-456789abcdef",
    "resource" : {
      "resourceType" : "Practitioner",
      "id" : "NgPractitioner-PreAuth-001",
      "meta" : {
        "profile" : ["https://fhir-ig.digitalhealth.gov.ng/StructureDefinition/ng-practitioner"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_NgPractitioner-PreAuth-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner NgPractitioner-PreAuth-001</b></p><a name=\"NgPractitioner-PreAuth-001\"> </a><a name=\"hcNgPractitioner-PreAuth-001\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ng-practitioner.html\">NG Practitioner</a></p></div><p><b>identifier</b>: <code>https://fhir-ig.digitalhealth.gov.ng/CodeSystem/nigeria-mdcn</code>/MDCN-45231</p><p><b>active</b>: true</p><p><b>name</b>: Elidayo Aderemi </p><p><b>telecom</b>: ph: 08090001111</p><p><b>birthDate</b>: 1985-03-05</p></div>"
      },
      "identifier" : [{
        "system" : "https://fhir-ig.digitalhealth.gov.ng/CodeSystem/nigeria-mdcn",
        "value" : "MDCN-45231"
      }],
      "active" : true,
      "name" : [{
        "family" : "Aderemi",
        "given" : ["Elidayo"]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "08090001111"
      }],
      "birthDate" : "1985-03-05"
    },
    "request" : {
      "method" : "POST",
      "url" : "Practitioner"
    }
  },
  {
    "fullUrl" : "urn:uuid:cccdddee-e5f6-4789-a123-456789abcdef",
    "resource" : {
      "resourceType" : "Organization",
      "id" : "NgOrganization-Hospital-001",
      "meta" : {
        "profile" : ["https://fhir-ig.digitalhealth.gov.ng/StructureDefinition/ng-provider-organization"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_NgOrganization-Hospital-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization NgOrganization-Hospital-001</b></p><a name=\"NgOrganization-Hospital-001\"> </a><a name=\"hcNgOrganization-Hospital-001\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ng-provider-organization.html\">NG Provider Organization</a></p></div><p><b>identifier</b>: <code>https://fhir-ig.digitalhealth.gov.ng/CodeSystem/nigeria-facility-registry</code>/CLM-2025-0001</p><p><b>active</b>: true</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/organization-type prov}\">Healthcare Provider</span></p><p><b>name</b>: City General Hospital</p><p><b>telecom</b>: ph: 01-445-7788</p><p><b>address</b>: 25 Hospital Way Port Harcourt RI </p></div>"
      },
      "identifier" : [{
        "system" : "https://fhir-ig.digitalhealth.gov.ng/CodeSystem/nigeria-facility-registry",
        "value" : "CLM-2025-0001"
      }],
      "active" : true,
      "type" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/organization-type",
          "code" : "prov",
          "display" : "Healthcare Provider"
        }]
      }],
      "name" : "City General Hospital",
      "telecom" : [{
        "system" : "phone",
        "value" : "01-445-7788"
      }],
      "address" : [{
        "line" : ["25 Hospital Way"],
        "city" : "Port Harcourt",
        "district" : "ri-emohua",
        "state" : "RI"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Organization"
    }
  },
  {
    "fullUrl" : "urn:uuid:cccddde3-e5f6-4789-a123-456789abcdef",
    "resource" : {
      "resourceType" : "Organization",
      "id" : "NgOrganization-Insurer-001",
      "meta" : {
        "profile" : ["https://fhir-ig.digitalhealth.gov.ng/StructureDefinition/ng-insurer-organization"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_NgOrganization-Insurer-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization NgOrganization-Insurer-001</b></p><a name=\"NgOrganization-Insurer-001\"> </a><a name=\"hcNgOrganization-Insurer-001\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ng-insurer-organization.html\">NG Insurer Organization</a></p></div><p><b>identifier</b>: <code>https://fhir-ig.digitalhealth.gov.ng/CodeSystem/nigeria-facility-registry</code>/CLM-2025-0001</p><p><b>active</b>: true</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/organization-type ins}\">Insurance Company</span></p><p><b>name</b>: XYZ HMO</p><p><b>telecom</b>: ph: 01-445-7799</p><p><b>address</b>: 25 Hospital Way Port Harcourt RI </p></div>"
      },
      "identifier" : [{
        "system" : "https://fhir-ig.digitalhealth.gov.ng/CodeSystem/nigeria-facility-registry",
        "value" : "CLM-2025-0001"
      }],
      "active" : true,
      "type" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/organization-type",
          "code" : "ins",
          "display" : "Insurance Company"
        }]
      }],
      "name" : "XYZ HMO",
      "telecom" : [{
        "system" : "phone",
        "value" : "01-445-7799"
      }],
      "address" : [{
        "line" : ["25 Hospital Way"],
        "city" : "Port Harcourt",
        "district" : "ri-emohua",
        "state" : "RI"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Organization"
    }
  },
  {
    "fullUrl" : "urn:uuid:dddeeef2-e5f6-4789-a123-456789abcdef",
    "resource" : {
      "resourceType" : "Coverage",
      "id" : "NgCoverage-PreAuth-001",
      "meta" : {
        "profile" : ["https://fhir-ig.digitalhealth.gov.ng/StructureDefinition/ng-coverage"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Coverage_NgCoverage-PreAuth-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Coverage NgCoverage-PreAuth-001</b></p><a name=\"NgCoverage-PreAuth-001\"> </a><a name=\"hcNgCoverage-PreAuth-001\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ng-coverage.html\">NG Claim Coverage</a></p></div><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode EHCPOL}\">extended healthcare</span></p><p><b>beneficiary</b>: <a href=\"Bundle-ClaimSubmission-Request.html#urn-uuid-aaabbbc2-e5f6-4789-a123-456789abcdef\">Amaka Nwosu  Female, DoB: 1992-07-15 ( mobile: 08045678901)</a></p><p><b>period</b>: 2025-01-01 --&gt; 2025-12-31</p><p><b>payor</b>: <a href=\"Bundle-PreAuth-Request.html#urn-uuid-cccddde3-e5f6-4789-a123-456789abcdef\">Organization XYZ HMO</a></p></div>"
      },
      "status" : "active",
      "type" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "EHCPOL",
          "display" : "extended healthcare"
        }]
      },
      "beneficiary" : {
        "reference" : "urn:uuid:aaabbbc2-e5f6-4789-a123-456789abcdef"
      },
      "period" : {
        "start" : "2025-01-01",
        "end" : "2025-12-31"
      },
      "payor" : [{
        "reference" : "urn:uuid:cccddde3-e5f6-4789-a123-456789abcdef"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Coverage"
    }
  },
  {
    "fullUrl" : "urn:uuid:aabbccff-e5f6-4789-a123-456789abcdef",
    "resource" : {
      "resourceType" : "Claim",
      "id" : "NgClaim-PreAuth-001",
      "meta" : {
        "profile" : ["https://fhir-ig.digitalhealth.gov.ng/StructureDefinition/ng-claim"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Claim_NgClaim-PreAuth-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Claim NgClaim-PreAuth-001</b></p><a name=\"NgClaim-PreAuth-001\"> </a><a name=\"hcNgClaim-PreAuth-001\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ng-claim.html\">NG Claim</a></p></div><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/claim-type institutional}\">Institutional</span></p><p><b>use</b>: Preauthorization</p><p><b>patient</b>: <a href=\"Bundle-ClaimSubmission-Request.html#urn-uuid-aaabbbc2-e5f6-4789-a123-456789abcdef\">Amaka Nwosu  Female, DoB: 1992-07-15 ( mobile: 08045678901)</a></p><p><b>created</b>: 2025-10-20 10:20:00+0100</p><p><b>provider</b>: <a href=\"Bundle-NgEligibilityCheck-Request.html#urn-uuid-cccdddee-e5f6-4789-a123-456789abcdef\">Organization City General Hospital</a></p><p><b>priority</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/processpriority normal}\">Normal</span></p><h3>Insurances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Sequence</b></td><td><b>Focal</b></td><td><b>Coverage</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>true</td><td><a href=\"Bundle-PreAuth-Request.html#urn-uuid-dddeeef2-e5f6-4789-a123-456789abcdef\">Coverage: status = active; type = extended healthcare; period = 2025-01-01 --&gt; 2025-12-31</a></td></tr></table><blockquote><p><b>item</b></p><p><b>sequence</b>: 1</p><p><b>productOrService</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/ex-USCLS 99555}\">Expense</span></p><p><b>quantity</b>: 1</p><h3>UnitPrices</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>5000</td><td>Nigerian naira</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>sequence</b>: 2</p><p><b>productOrService</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/ex-USCLS 2101}\">Radiograph, series (12)</span></p><p><b>quantity</b>: 1</p><h3>UnitPrices</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>15000</td><td>Nigerian naira</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>sequence</b>: 3</p><p><b>productOrService</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/ex-USCLS 1102}\">Exam, comp, mixed</span></p><p><b>quantity</b>: 1</p><h3>UnitPrices</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>3000</td><td>Nigerian naira</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>sequence</b>: 4</p><p><b>productOrService</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/ex-USCLS 99555}\">Expense</span></p><p><b>quantity</b>: 1</p><h3>UnitPrices</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>2000</td><td>Nigerian naira</td></tr></table></blockquote></div>"
      },
      "status" : "active",
      "type" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/claim-type",
          "code" : "institutional",
          "display" : "Institutional"
        }]
      },
      "use" : "preauthorization",
      "patient" : {
        "reference" : "urn:uuid:aaabbbc2-e5f6-4789-a123-456789abcdef"
      },
      "created" : "2025-10-20T10:20:00+01:00",
      "provider" : {
        "reference" : "urn:uuid:cccdddee-e5f6-4789-a123-456789abcdef"
      },
      "priority" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/processpriority",
          "code" : "normal"
        }]
      },
      "insurance" : [{
        "sequence" : 1,
        "focal" : true,
        "coverage" : {
          "reference" : "urn:uuid:dddeeef2-e5f6-4789-a123-456789abcdef"
        }
      }],
      "item" : [{
        "sequence" : 1,
        "productOrService" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/ex-USCLS",
            "code" : "99555"
          }]
        },
        "quantity" : {
          "value" : 1
        },
        "unitPrice" : {
          "value" : 5000,
          "currency" : "NGN"
        }
      },
      {
        "sequence" : 2,
        "productOrService" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/ex-USCLS",
            "code" : "2101"
          }]
        },
        "quantity" : {
          "value" : 1
        },
        "unitPrice" : {
          "value" : 15000,
          "currency" : "NGN"
        }
      },
      {
        "sequence" : 3,
        "productOrService" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/ex-USCLS",
            "code" : "1102"
          }]
        },
        "quantity" : {
          "value" : 1
        },
        "unitPrice" : {
          "value" : 3000,
          "currency" : "NGN"
        }
      },
      {
        "sequence" : 4,
        "productOrService" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/ex-USCLS",
            "code" : "99555"
          }]
        },
        "quantity" : {
          "value" : 1
        },
        "unitPrice" : {
          "value" : 2000,
          "currency" : "NGN"
        }
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Claim"
    }
  }]
}