{
  "resourceType" : "Bundle",
  "id" : "ImmSmartScheduler-Book-001",
  "meta" : {
    "profile" : ["https://fhir-ig.digitalhealth.gov.ng/StructureDefinition/ng-imm-smart-scheduler-bundle"]
  },
  "type" : "transaction",
  "entry" : [{
    "fullUrl" : "urn:uuid:992211bb-e5f6-4789-a123-456789abcdef",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "NgPatient-IMMSS-001",
      "meta" : {
        "lastUpdated" : "2025-11-06T08:10: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-IMMSS-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient NgPatient-IMMSS-001</b></p><a name=\"NgPatient-IMMSS-001\"> </a><a name=\"hcNgPatient-IMMSS-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: 2025-11-06 08:10: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;\">Terfa Dooshima  Male, DoB: 1988-06-01 ( mobile: 08031234567)</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=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">Wadata PHC Road Makurdi BE </td></tr></table></div>"
      },
      "identifier" : [{
        "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" : "08031234567"
      }],
      "active" : true,
      "name" : [{
        "family" : "Dooshima",
        "given" : ["Terfa"]
      }],
      "gender" : "male",
      "birthDate" : "1988-06-01",
      "address" : [{
        "line" : ["Wadata PHC Road"],
        "city" : "Makurdi",
        "district" : "be-makurdi",
        "state" : "BE"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Patient"
    }
  },
  {
    "fullUrl" : "urn:uuid:9922aabb-e5f6-4789-a123-456789abcdef",
    "resource" : {
      "resourceType" : "Organization",
      "id" : "NgOrganization-IMMSS-001",
      "meta" : {
        "profile" : ["https://fhir-ig.digitalhealth.gov.ng/StructureDefinition/ng-organization"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_NgOrganization-IMMSS-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization NgOrganization-IMMSS-001</b></p><a name=\"NgOrganization-IMMSS-001\"> </a><a name=\"hcNgOrganization-IMMSS-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-organization.html\">NG Organization</a></p></div><p><b>identifier</b>: <code>https://fhir-ig.digitalhealth.gov.ng/CodeSystem/nigeria-facility-registry</code>/HCF-12346</p><p><b>active</b>: true</p><p><b>type</b>: <span title=\"Codes:{https://fhir-ig.digitalhealth.gov.ng/CodeSystem/nigeria-facility-type phc-center-l1}\">PHC Center Level 1</span></p><p><b>name</b>: Apo PHC</p><p><b>telecom</b>: ph: 09-222-7788</p><p><b>address</b>: Wadata Makurdi BE </p></div>"
      },
      "identifier" : [{
        "system" : "https://fhir-ig.digitalhealth.gov.ng/CodeSystem/nigeria-facility-registry",
        "value" : "HCF-12346"
      }],
      "active" : true,
      "type" : [{
        "coding" : [{
          "system" : "https://fhir-ig.digitalhealth.gov.ng/CodeSystem/nigeria-facility-type",
          "code" : "phc-center-l1",
          "display" : "PHC Center Level 1"
        }]
      }],
      "name" : "Apo PHC",
      "telecom" : [{
        "system" : "phone",
        "value" : "09-222-7788"
      }],
      "address" : [{
        "line" : ["Wadata"],
        "city" : "Makurdi",
        "district" : "be-makurdi",
        "state" : "BE"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Organization"
    }
  },
  {
    "fullUrl" : "urn:uuid:99ee11bb-e5f6-4789-a123-456789abcdef",
    "resource" : {
      "resourceType" : "Location",
      "id" : "NgLocation-IMMSS-001",
      "meta" : {
        "profile" : ["https://fhir-ig.digitalhealth.gov.ng/StructureDefinition/ng-location"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Location_NgLocation-IMMSS-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Location NgLocation-IMMSS-001</b></p><a name=\"NgLocation-IMMSS-001\"> </a><a name=\"hcNgLocation-IMMSS-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-location.html\">NG Location</a></p></div><p><b>status</b>: Active</p><p><b>name</b>: Immunization Room 1</p><p><b>type</b>: <span title=\"Codes:\">Clinic Room</span></p><p><b>address</b>: Wadata Makurdi BE NG </p><h3>Positions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Longitude</b></td><td><b>Latitude</b></td></tr><tr><td style=\"display: none\">*</td><td>7.4974</td><td>9.0223</td></tr></table><p><b>managingOrganization</b>: <a href=\"Bundle-ImmSmartScheduler-Book-001.html#urn-uuid-9922aabb-e5f6-4789-a123-456789abcdef\">Organization Apo PHC</a></p></div>"
      },
      "status" : "active",
      "name" : "Immunization Room 1",
      "type" : [{
        "text" : "Clinic Room"
      }],
      "address" : {
        "line" : ["Wadata"],
        "city" : "Makurdi",
        "district" : "be-makurdi",
        "state" : "BE",
        "country" : "NG"
      },
      "position" : {
        "longitude" : 7.4974,
        "latitude" : 9.0223
      },
      "managingOrganization" : {
        "reference" : "urn:uuid:9922aabb-e5f6-4789-a123-456789abcdef"
      }
    },
    "request" : {
      "method" : "POST",
      "url" : "Location"
    }
  },
  {
    "fullUrl" : "urn:uuid:ff2211bb-e5f6-4789-a123-456789abcdef",
    "resource" : {
      "resourceType" : "Appointment",
      "id" : "Appointment-IMMSS-001",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Appointment_Appointment-IMMSS-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Appointment Appointment-IMMSS-001</b></p><a name=\"Appointment-IMMSS-001\"> </a><a name=\"hcAppointment-IMMSS-001\"> </a><p><b>status</b>: Booked</p><p><b>serviceCategory</b>: <span title=\"Codes:\">Immunization</span></p><p><b>serviceType</b>: <span title=\"Codes:\">Childhood vaccine visit</span></p><p><b>priority</b>: 5</p><p><b>description</b>: BCG / OPV0 visit</p><p><b>start</b>: 2025-11-08 09:00:00+0100</p><p><b>end</b>: 2025-11-08 09:15:00+0100</p><p><b>minutesDuration</b>: 15</p><p><b>created</b>: 2025-11-06 08:12:00+0100</p><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PART}\">Participation</span></p><p><b>actor</b>: <a href=\"Bundle-ImmSmartScheduler-Book-001.html#urn-uuid-992211bb-e5f6-4789-a123-456789abcdef\">Terfa Dooshima  Male, DoB: 1988-06-01 ( mobile: 08031234567)</a></p><p><b>status</b>: Accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType BBY}\">baby</span></p><p><b>actor</b>: <a href=\"Bundle-ImmSmartScheduler-Book-001.html#urn-uuid-99ee11bb-e5f6-4789-a123-456789abcdef\">Location Immunization Room 1</a></p><p><b>status</b>: Accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType CST}\">custodian</span></p><p><b>actor</b>: <a href=\"Bundle-ImmSmartScheduler-Book-001.html#urn-uuid-992211bb-e5f6-4789-a123-456789abcdef\">Terfa Dooshima  Male, DoB: 1988-06-01 ( mobile: 08031234567)</a></p><p><b>status</b>: Accepted</p></blockquote></div>"
      },
      "status" : "booked",
      "serviceCategory" : [{
        "text" : "Immunization"
      }],
      "serviceType" : [{
        "text" : "Childhood vaccine visit"
      }],
      "priority" : 5,
      "description" : "BCG / OPV0 visit",
      "start" : "2025-11-08T09:00:00+01:00",
      "end" : "2025-11-08T09:15:00+01:00",
      "minutesDuration" : 15,
      "created" : "2025-11-06T08:12:00+01:00",
      "participant" : [{
        "type" : [{
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PART"
          }]
        }],
        "actor" : {
          "reference" : "urn:uuid:992211bb-e5f6-4789-a123-456789abcdef"
        },
        "status" : "accepted"
      },
      {
        "type" : [{
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "BBY"
          }]
        }],
        "actor" : {
          "reference" : "urn:uuid:99ee11bb-e5f6-4789-a123-456789abcdef"
        },
        "status" : "accepted"
      },
      {
        "type" : [{
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "CST"
          }]
        }],
        "actor" : {
          "reference" : "urn:uuid:992211bb-e5f6-4789-a123-456789abcdef"
        },
        "status" : "accepted"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Appointment"
    }
  },
  {
    "fullUrl" : "urn:uuid:ddd211bb-e5f6-4789-a123-456789abcdef",
    "resource" : {
      "resourceType" : "ImmunizationRecommendation",
      "id" : "ImmRec-IMMSS-001",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ImmunizationRecommendation_ImmRec-IMMSS-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ImmunizationRecommendation ImmRec-IMMSS-001</b></p><a name=\"ImmRec-IMMSS-001\"> </a><a name=\"hcImmRec-IMMSS-001\"> </a><p><b>patient</b>: <a href=\"Bundle-ImmSmartScheduler-Book-001.html#urn-uuid-992211bb-e5f6-4789-a123-456789abcdef\">Terfa Dooshima  Male, DoB: 1988-06-01 ( mobile: 08031234567)</a></p><p><b>date</b>: 2025-11-06</p><blockquote><p><b>recommendation</b></p><p><b>vaccineCode</b>: <span title=\"Codes:\">Measles-containing vaccine (MCV2)</span></p><p><b>targetDisease</b>: <span title=\"Codes:\">Measles</span></p><p><b>forecastStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/immunization-recommendation-status due}\">Dose due</span></p><h3>DateCriterions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">recommended</span></td><td>2025-12-06</td></tr></table><p><b>description</b>: Schedule measles-containing vaccine (MCV2) at 15 months.</p><p><b>supportingPatientInformation</b>: Birth date: 2025-06-01</p></blockquote></div>"
      },
      "patient" : {
        "reference" : "urn:uuid:992211bb-e5f6-4789-a123-456789abcdef"
      },
      "date" : "2025-11-06",
      "recommendation" : [{
        "vaccineCode" : [{
          "text" : "Measles-containing vaccine (MCV2)"
        }],
        "targetDisease" : {
          "text" : "Measles"
        },
        "forecastStatus" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/immunization-recommendation-status",
            "code" : "due"
          }],
          "text" : "Dose due"
        },
        "dateCriterion" : [{
          "code" : {
            "text" : "recommended"
          },
          "value" : "2025-12-06"
        }],
        "description" : "Schedule measles-containing vaccine (MCV2) at 15 months.",
        "supportingPatientInformation" : [{
          "display" : "Birth date: 2025-06-01"
        }]
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "ImmunizationRecommendation"
    }
  }]
}