{
    "resourceType": "Bundle",
    "id": "deaea949-12a9-4b42-8eeb-c33ce9acc329",
    "identifier": {
        "system": "https://thims/pharmacy-invoice-record-bundles",
        "value": "PHARMACY-INVOICE-6923"
    },
    "type": "document",
    "timestamp": "2026-08-23T18:30:00+00:00",
    "entry": [
        {
            "fullUrl": "urn:uuid:5f928bb6-67f7-45d6-aaa3-0d8bc5d168ae",
            "resource": {
                "resourceType": "Composition",
                "id": "5f928bb6-67f7-45d6-aaa3-0d8bc5d168ae",
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/InvoiceRecord"
                    ]
                },
                "language": "en-IN",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>Pharmacy Invoice Record - I/2627/20</p></div>"
                },
                "status": "final",
                "type": {
                    "text": "Invoice Record"
                },
                "subject": {
                    "reference": "urn:uuid:3a75efd2-a4d5-4a88-bdc2-6ede02837d93",
                    "display": "Patient"
                },
                "encounter": {
                    "reference": "urn:uuid:ef041160-570b-4fa0-8863-8b645215bcb6",
                    "display": "Encounter"
                },
                "date": "2026-08-23T18:30:00+00:00",
                "author": [
                    {
                        "reference": "urn:uuid:d0e9560c-771e-4be4-b1f6-917579c33a49",
                        "display": "DR. New Docotr  PANDYA"
                    }
                ],
                "title": "Pharmacy Invoice Record - I/2627/20",
                "custodian": {
                    "reference": "urn:uuid:23a9801a-ca79-470c-b2f0-14edc92267ae",
                    "display": "Organization"
                },
                "section": [
                    {
                        "title": "Pharmacy Invoice Details",
                        "text": {
                            "status": "generated",
                            "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>Bill Number: I/2627/20<br />\nBill Date: 24/08/2026 12:00 AM<br />\nPatient: MEHTA NIDHI MUKESHBHAI<br />\nDoctor: DR. New Docotr  PANDYA<br />\nInvoice Type: Pharmacy<br />\nGross Amount: INR 253.00<br />\nDiscount Total: INR 0.00<br />\nGST Total: INR 0.00<br />\nInvoice Amount: INR 253.00<br />\nTotal Amount: INR 253.00</p></div>"
                        },
                        "entry": [
                            {
                                "reference": "urn:uuid:3a091d92-0e69-4006-bb1c-7c32a8e8c5d2",
                                "type": "Invoice"
                            }
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:3a75efd2-a4d5-4a88-bdc2-6ede02837d93",
            "resource": {
                "resourceType": "Patient",
                "id": "3a75efd2-a4d5-4a88-bdc2-6ede02837d93",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>MEHTA NIDHI MUKESHBHAI, Female, DoB: 1996-02-25, Medical record number: 1001</p></div>"
                },
                "identifier": [
                    {
                        "type": {
                            "coding": [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                    "code": "MR",
                                    "display": "Medical record number"
                                }
                            ],
                            "text": "Medical record number"
                        },
                        "system": "https://thims/patient-id",
                        "value": "1001"
                    }
                ],
                "name": [
                    {
                        "text": "MEHTA NIDHI MUKESHBHAI"
                    }
                ],
                "gender": "female",
                "birthDate": "1996-02-25",
                "telecom": [
                    {
                        "system": "phone",
                        "value": "+918154500000",
                        "use": "mobile"
                    }
                ],
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:d0e9560c-771e-4be4-b1f6-917579c33a49",
            "resource": {
                "resourceType": "Practitioner",
                "id": "d0e9560c-771e-4be4-b1f6-917579c33a49",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>DR. New Docotr  PANDYA</p></div>"
                },
                "identifier": [
                    {
                        "type": {
                            "coding": [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                    "code": "MD",
                                    "display": "Medical License number"
                                }
                            ],
                            "text": "Medical License number"
                        },
                        "system": "https://thims/doctor-id",
                        "value": "44"
                    }
                ],
                "name": [
                    {
                        "text": "DR. New Docotr  PANDYA"
                    }
                ],
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Practitioner"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:23a9801a-ca79-470c-b2f0-14edc92267ae",
            "resource": {
                "resourceType": "Organization",
                "id": "23a9801a-ca79-470c-b2f0-14edc92267ae",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>DEMO SAVE LIFE HOSPITAL</p></div>"
                },
                "identifier": [
                    {
                        "type": {
                            "coding": [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                    "code": "PRN",
                                    "display": "Provider number"
                                }
                            ],
                            "text": "Provider number"
                        },
                        "system": "https://thims/facility",
                        "value": "0-0"
                    }
                ],
                "name": "DEMO SAVE LIFE HOSPITAL",
                "address": [
                    {
                        "text": "A 501 Titanium Square,, Thaltej,, Ahmedabad, 380054"
                    }
                ],
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:ef041160-570b-4fa0-8863-8b645215bcb6",
            "resource": {
                "resourceType": "Encounter",
                "id": "ef041160-570b-4fa0-8863-8b645215bcb6",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>Encounter for visit 9420</p></div>"
                },
                "identifier": [
                    {
                        "system": "https://thims/visit-id",
                        "value": "9420"
                    },
                    {
                        "system": "https://thims/opd-reg-id",
                        "value": "5959"
                    }
                ],
                "status": "finished",
                "class": {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
                    "code": "AMB",
                    "display": "ambulatory"
                },
                "subject": {
                    "reference": "urn:uuid:3a75efd2-a4d5-4a88-bdc2-6ede02837d93",
                    "display": "Patient"
                },
                "participant": [
                    {
                        "individual": {
                            "reference": "urn:uuid:d0e9560c-771e-4be4-b1f6-917579c33a49",
                            "display": "DR. New Docotr  PANDYA"
                        }
                    }
                ],
                "period": {
                    "start": "2026-08-02T18:30:00+00:00",
                    "end": "2026-08-02T18:30:00+00:00"
                },
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Encounter"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:3a091d92-0e69-4006-bb1c-7c32a8e8c5d2",
            "resource": {
                "resourceType": "Invoice",
                "id": "3a091d92-0e69-4006-bb1c-7c32a8e8c5d2",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>I/2627/20</p></div>"
                },
                "identifier": [
                    {
                        "system": "https://thims/pharmacy-sales-bill",
                        "value": "I/2627/20"
                    }
                ],
                "status": "issued",
                "type": {
                    "coding": [
                        {
                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-billing-codes",
                            "code": "01",
                            "display": "Pharmacy"
                        }
                    ],
                    "text": "Pharmacy"
                },
                "subject": {
                    "reference": "urn:uuid:3a75efd2-a4d5-4a88-bdc2-6ede02837d93",
                    "display": "Patient"
                },
                "recipient": {
                    "reference": "urn:uuid:3a75efd2-a4d5-4a88-bdc2-6ede02837d93",
                    "display": "Patient"
                },
                "date": "2026-08-23T18:30:00+00:00",
                "participant": [
                    {
                        "actor": {
                            "reference": "urn:uuid:d0e9560c-771e-4be4-b1f6-917579c33a49",
                            "display": "DR. New Docotr  PANDYA"
                        }
                    }
                ],
                "issuer": {
                    "reference": "urn:uuid:23a9801a-ca79-470c-b2f0-14edc92267ae",
                    "display": "DEMO SAVE LIFE HOSPITAL"
                },
                "lineItem": [
                    {
                        "sequence": 1,
                        "chargeItemReference": {
                            "reference": "urn:uuid:1b957ce5-dc31-4fe2-82f3-bdd2bcfe3a3a",
                            "display": "#MANIX TAB.  10'"
                        },
                        "priceComponent": [
                            {
                                "type": "base",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components",
                                            "code": "01",
                                            "display": "Rate"
                                        }
                                    ],
                                    "text": "Rate"
                                },
                                "amount": {
                                    "value": 3.3,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "informational",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://thims/pharmacy-invoice-price-components",
                                            "code": "GROSS_TOTAL",
                                            "display": "Gross Total"
                                        }
                                    ],
                                    "text": "Gross Total"
                                },
                                "amount": {
                                    "value": 33,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "discount",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components",
                                            "code": "02",
                                            "display": "Discount Amount"
                                        }
                                    ],
                                    "text": "Discount Amount"
                                },
                                "amount": {
                                    "value": 0,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "informational",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://thims/pharmacy-invoice-price-components",
                                            "code": "NET_TOTAL",
                                            "display": "Net Total"
                                        }
                                    ],
                                    "text": "Net Total"
                                },
                                "amount": {
                                    "value": 33,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "tax",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components",
                                            "code": "03",
                                            "display": "CGST"
                                        }
                                    ],
                                    "text": "CGST"
                                },
                                "amount": {
                                    "value": 0,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "tax",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components",
                                            "code": "04",
                                            "display": "SGST"
                                        }
                                    ],
                                    "text": "SGST"
                                },
                                "amount": {
                                    "value": 0,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "informational",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://thims/pharmacy-invoice-price-components",
                                            "code": "TOTAL",
                                            "display": "Total"
                                        }
                                    ],
                                    "text": "Total"
                                },
                                "amount": {
                                    "value": 33,
                                    "currency": "INR"
                                }
                            }
                        ]
                    },
                    {
                        "sequence": 2,
                        "chargeItemReference": {
                            "reference": "urn:uuid:2da791ac-5273-4bd8-ac9e-3ef68cabf3c9",
                            "display": "ADOLOR AQ INJ / L ARGININE,VITAMIN C & VITAMIN E GRANULES.,"
                        },
                        "priceComponent": [
                            {
                                "type": "base",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components",
                                            "code": "01",
                                            "display": "Rate"
                                        }
                                    ],
                                    "text": "Rate"
                                },
                                "amount": {
                                    "value": 110,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "informational",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://thims/pharmacy-invoice-price-components",
                                            "code": "GROSS_TOTAL",
                                            "display": "Gross Total"
                                        }
                                    ],
                                    "text": "Gross Total"
                                },
                                "amount": {
                                    "value": 220,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "discount",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components",
                                            "code": "02",
                                            "display": "Discount Amount"
                                        }
                                    ],
                                    "text": "Discount Amount"
                                },
                                "amount": {
                                    "value": 0,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "informational",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://thims/pharmacy-invoice-price-components",
                                            "code": "NET_TOTAL",
                                            "display": "Net Total"
                                        }
                                    ],
                                    "text": "Net Total"
                                },
                                "amount": {
                                    "value": 220,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "tax",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components",
                                            "code": "03",
                                            "display": "CGST"
                                        }
                                    ],
                                    "text": "CGST"
                                },
                                "amount": {
                                    "value": 0,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "tax",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components",
                                            "code": "04",
                                            "display": "SGST"
                                        }
                                    ],
                                    "text": "SGST"
                                },
                                "amount": {
                                    "value": 0,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "informational",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://thims/pharmacy-invoice-price-components",
                                            "code": "TOTAL",
                                            "display": "Total"
                                        }
                                    ],
                                    "text": "Total"
                                },
                                "amount": {
                                    "value": 220,
                                    "currency": "INR"
                                }
                            }
                        ]
                    }
                ],
                "totalPriceComponent": [
                    {
                        "type": "discount",
                        "code": {
                            "coding": [
                                {
                                    "system": "https://thims/pharmacy-invoice-price-components",
                                    "code": "DISCOUNT_TOTAL",
                                    "display": "Discount Total"
                                }
                            ],
                            "text": "Discount Total"
                        },
                        "amount": {
                            "value": 0,
                            "currency": "INR"
                        }
                    },
                    {
                        "type": "tax",
                        "code": {
                            "coding": [
                                {
                                    "system": "https://thims/pharmacy-invoice-price-components",
                                    "code": "GST_TOTAL",
                                    "display": "GST Total"
                                }
                            ],
                            "text": "GST Total"
                        },
                        "amount": {
                            "value": 0,
                            "currency": "INR"
                        }
                    }
                ],
                "totalNet": {
                    "value": 253,
                    "currency": "INR"
                },
                "totalGross": {
                    "value": 253,
                    "currency": "INR"
                },
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Invoice"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:022cc750-1e37-41ff-bb25-dc5be81ee0fd",
            "resource": {
                "resourceType": "Medication",
                "id": "022cc750-1e37-41ff-bb25-dc5be81ee0fd",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>#MANIX TAB.  10&#039;</p></div>"
                },
                "status": "active",
                "code": {
                    "coding": [
                        {
                            "system": "https://thims/products",
                            "code": "44274",
                            "display": "#MANIX TAB.  10'"
                        }
                    ],
                    "text": "#MANIX TAB.  10'"
                },
                "identifier": [
                    {
                        "type": {
                            "text": "Harmonized System of Nomenclature"
                        },
                        "system": "https://thims/product-hsn",
                        "value": "0"
                    }
                ],
                "batch": {
                    "lotNumber": "788",
                    "expirationDate": "2026-08-31"
                },
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Medication"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:df7be1ad-7a26-45fa-91a5-f8f8c73ec29a",
            "resource": {
                "resourceType": "Medication",
                "id": "df7be1ad-7a26-45fa-91a5-f8f8c73ec29a",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>ADOLOR AQ INJ / L ARGININE,VITAMIN C &amp; VITAMIN E GRANULES.,</p></div>"
                },
                "status": "active",
                "code": {
                    "coding": [
                        {
                            "system": "https://thims/products",
                            "code": "44855",
                            "display": "ADOLOR AQ INJ / L ARGININE,VITAMIN C & VITAMIN E GRANULES.,"
                        }
                    ],
                    "text": "ADOLOR AQ INJ / L ARGININE,VITAMIN C & VITAMIN E GRANULES.,"
                },
                "identifier": [
                    {
                        "type": {
                            "text": "Harmonized System of Nomenclature"
                        },
                        "system": "https://thims/product-hsn",
                        "value": "0"
                    }
                ],
                "batch": {
                    "lotNumber": "4846",
                    "expirationDate": "2031-12-31"
                },
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Medication"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:1b957ce5-dc31-4fe2-82f3-bdd2bcfe3a3a",
            "resource": {
                "resourceType": "ChargeItem",
                "id": "1b957ce5-dc31-4fe2-82f3-bdd2bcfe3a3a",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>#MANIX TAB.  10&#039;<br />\nQty: 10 STRP<br />\nRate: INR 3.30<br />\nTotal: INR 33.00</p></div>"
                },
                "status": "billed",
                "code": {
                    "coding": [
                        {
                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-billing-codes",
                            "code": "05",
                            "display": "Medicines"
                        }
                    ],
                    "text": "#MANIX TAB.  10'"
                },
                "subject": {
                    "reference": "urn:uuid:3a75efd2-a4d5-4a88-bdc2-6ede02837d93",
                    "display": "Patient"
                },
                "context": {
                    "reference": "urn:uuid:ef041160-570b-4fa0-8863-8b645215bcb6",
                    "display": "Encounter"
                },
                "performer": [
                    {
                        "actor": {
                            "reference": "urn:uuid:d0e9560c-771e-4be4-b1f6-917579c33a49",
                            "display": "DR. New Docotr  PANDYA"
                        }
                    }
                ],
                "occurrenceDateTime": "2026-08-23T18:30:00+00:00",
                "productReference": {
                    "reference": "urn:uuid:022cc750-1e37-41ff-bb25-dc5be81ee0fd",
                    "display": "#MANIX TAB.  10'"
                },
                "quantity": {
                    "value": 10,
                    "unit": "STRP"
                },
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/ChargeItem"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:2da791ac-5273-4bd8-ac9e-3ef68cabf3c9",
            "resource": {
                "resourceType": "ChargeItem",
                "id": "2da791ac-5273-4bd8-ac9e-3ef68cabf3c9",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>ADOLOR AQ INJ / L ARGININE,VITAMIN C &amp; VITAMIN E GRANULES.,<br />\nQty: 2 BT<br />\nRate: INR 110.00<br />\nTotal: INR 220.00</p></div>"
                },
                "status": "billed",
                "code": {
                    "coding": [
                        {
                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-billing-codes",
                            "code": "05",
                            "display": "Medicines"
                        }
                    ],
                    "text": "ADOLOR AQ INJ / L ARGININE,VITAMIN C & VITAMIN E GRANULES.,"
                },
                "subject": {
                    "reference": "urn:uuid:3a75efd2-a4d5-4a88-bdc2-6ede02837d93",
                    "display": "Patient"
                },
                "context": {
                    "reference": "urn:uuid:ef041160-570b-4fa0-8863-8b645215bcb6",
                    "display": "Encounter"
                },
                "performer": [
                    {
                        "actor": {
                            "reference": "urn:uuid:d0e9560c-771e-4be4-b1f6-917579c33a49",
                            "display": "DR. New Docotr  PANDYA"
                        }
                    }
                ],
                "occurrenceDateTime": "2026-08-23T18:30:00+00:00",
                "productReference": {
                    "reference": "urn:uuid:df7be1ad-7a26-45fa-91a5-f8f8c73ec29a",
                    "display": "ADOLOR AQ INJ / L ARGININE,VITAMIN C & VITAMIN E GRANULES.,"
                },
                "quantity": {
                    "value": 2,
                    "unit": "BT"
                },
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/ChargeItem"
                    ]
                }
            }
        }
    ],
    "meta": {
        "versionId": "1",
        "lastUpdated": "2026-08-23T18:30:00+00:00",
        "profile": [
            "https://nrces.in/ndhm/fhir/r4/StructureDefinition/DocumentBundle"
        ]
    }
}