{
    "resourceType": "Bundle",
    "id": "08d6d8bd-b700-4b98-a2a4-687ef1c9d033",
    "identifier": {
        "system": "https://thims/pharmacy-invoice-record-bundles",
        "value": "PHARMACY-INVOICE-6316"
    },
    "type": "document",
    "timestamp": "2026-07-02T18:30:00+00:00",
    "entry": [
        {
            "fullUrl": "urn:uuid:eb00db27-f1c1-4dd2-a685-1c5b452ce693",
            "resource": {
                "resourceType": "Composition",
                "id": "eb00db27-f1c1-4dd2-a685-1c5b452ce693",
                "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 - DC/2627/2</p></div>"
                },
                "status": "final",
                "type": {
                    "text": "Invoice Record"
                },
                "subject": {
                    "reference": "urn:uuid:d3bf5de2-1505-4008-a45e-5f528f2f28e5",
                    "display": "Patient"
                },
                "encounter": {
                    "reference": "urn:uuid:4f3fcaf5-c630-4982-9dbf-c383756bd4bf",
                    "display": "Encounter"
                },
                "date": "2026-07-02T18:30:00+00:00",
                "author": [
                    {
                        "reference": "urn:uuid:83560ca2-06a7-4b21-b7f4-f450e93aa0bd",
                        "display": "DR. GYNEC"
                    }
                ],
                "title": "Pharmacy Invoice Record - DC/2627/2",
                "custodian": {
                    "reference": "urn:uuid:897d3644-fd3e-4772-85ad-2129a6300007",
                    "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: DC/2627/2<br />\nBill Date: 03/07/2026 12:00 AM<br />\nPatient: MANJUBEN BALDEVSINH RATHOD<br />\nDoctor: DR. GYNEC<br />\nInvoice Type: Pharmacy<br />\nGross Amount: INR 193.80<br />\nDiscount Total: INR 2.00<br />\nGST Total: INR 4.46<br />\nInvoice Amount: INR 191.80<br />\nTotal Amount: INR 191.80</p></div>"
                        },
                        "entry": [
                            {
                                "reference": "urn:uuid:fa16afdf-5263-47db-b319-6c02303c5a2e",
                                "type": "Invoice"
                            }
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:d3bf5de2-1505-4008-a45e-5f528f2f28e5",
            "resource": {
                "resourceType": "Patient",
                "id": "d3bf5de2-1505-4008-a45e-5f528f2f28e5",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>MANJUBEN BALDEVSINH RATHOD, Female, DoB: 1975-02-06, Medical record number: 141</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": "141"
                    }
                ],
                "name": [
                    {
                        "text": "MANJUBEN BALDEVSINH RATHOD"
                    }
                ],
                "gender": "female",
                "birthDate": "1975-02-06",
                "telecom": [
                    {
                        "system": "phone",
                        "value": "+911084820000",
                        "use": "mobile"
                    }
                ],
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:83560ca2-06a7-4b21-b7f4-f450e93aa0bd",
            "resource": {
                "resourceType": "Practitioner",
                "id": "83560ca2-06a7-4b21-b7f4-f450e93aa0bd",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>DR. GYNEC</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": "6"
                    }
                ],
                "name": [
                    {
                        "text": "DR. GYNEC"
                    }
                ],
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Practitioner"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:897d3644-fd3e-4772-85ad-2129a6300007",
            "resource": {
                "resourceType": "Organization",
                "id": "897d3644-fd3e-4772-85ad-2129a6300007",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>TECHSMITH SOLUTIONS PVT LTD</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": "TECHSMITH SOLUTIONS PVT LTD",
                "address": [
                    {
                        "text": "A 501 Titanium Square,, Thaltej,, Ahmedabad, 380054"
                    }
                ],
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:4f3fcaf5-c630-4982-9dbf-c383756bd4bf",
            "resource": {
                "resourceType": "Encounter",
                "id": "4f3fcaf5-c630-4982-9dbf-c383756bd4bf",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>Encounter for visit 7842</p></div>"
                },
                "identifier": [
                    {
                        "system": "https://thims/visit-id",
                        "value": "7842"
                    },
                    {
                        "system": "https://thims/opd-reg-id",
                        "value": "0"
                    },
                    {
                        "system": "https://thims/ipd-reg-id",
                        "value": "1134"
                    }
                ],
                "status": "finished",
                "class": {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
                    "code": "IMP",
                    "display": "inpatient encounter"
                },
                "subject": {
                    "reference": "urn:uuid:d3bf5de2-1505-4008-a45e-5f528f2f28e5",
                    "display": "Patient"
                },
                "participant": [
                    {
                        "individual": {
                            "reference": "urn:uuid:83560ca2-06a7-4b21-b7f4-f450e93aa0bd",
                            "display": "DR. GYNEC"
                        }
                    }
                ],
                "period": {
                    "start": "2026-07-02T18:30:00+00:00",
                    "end": "2026-07-02T18:30:00+00:00"
                },
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Encounter"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:fa16afdf-5263-47db-b319-6c02303c5a2e",
            "resource": {
                "resourceType": "Invoice",
                "id": "fa16afdf-5263-47db-b319-6c02303c5a2e",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>DC/2627/2</p></div>"
                },
                "identifier": [
                    {
                        "system": "https://thims/pharmacy-sales-bill",
                        "value": "DC/2627/2"
                    }
                ],
                "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:d3bf5de2-1505-4008-a45e-5f528f2f28e5",
                    "display": "Patient"
                },
                "recipient": {
                    "reference": "urn:uuid:d3bf5de2-1505-4008-a45e-5f528f2f28e5",
                    "display": "Patient"
                },
                "date": "2026-07-02T18:30:00+00:00",
                "participant": [
                    {
                        "actor": {
                            "reference": "urn:uuid:83560ca2-06a7-4b21-b7f4-f450e93aa0bd",
                            "display": "DR. GYNEC"
                        }
                    }
                ],
                "issuer": {
                    "reference": "urn:uuid:897d3644-fd3e-4772-85ad-2129a6300007",
                    "display": "TECHSMITH SOLUTIONS PVT LTD"
                },
                "lineItem": [
                    {
                        "sequence": 1,
                        "chargeItemReference": {
                            "reference": "urn:uuid:411f59a4-7a3c-42b7-8a09-ea4d44b726ef",
                            "display": "DOLO 600 TEST 16MAR21 / Paracitamol"
                        },
                        "priceComponent": [
                            {
                                "type": "base",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components",
                                            "code": "01",
                                            "display": "Rate"
                                        }
                                    ],
                                    "text": "Rate"
                                },
                                "amount": {
                                    "value": 8.92999999999999971578290569595992565155029296875,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "informational",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://thims/pharmacy-invoice-price-components",
                                            "code": "GROSS_TOTAL",
                                            "display": "Gross Total"
                                        }
                                    ],
                                    "text": "Gross Total"
                                },
                                "amount": {
                                    "value": 89.3299999999999982946974341757595539093017578125,
                                    "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": 89.3299999999999982946974341757595539093017578125,
                                    "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": 2.229999999999999982236431605997495353221893310546875,
                                    "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": 2.229999999999999982236431605997495353221893310546875,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "informational",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://thims/pharmacy-invoice-price-components",
                                            "code": "TOTAL",
                                            "display": "Total"
                                        }
                                    ],
                                    "text": "Total"
                                },
                                "amount": {
                                    "value": 93.7999999999999971578290569595992565155029296875,
                                    "currency": "INR"
                                }
                            }
                        ]
                    },
                    {
                        "sequence": 2,
                        "chargeItemReference": {
                            "reference": "urn:uuid:2c1c2805-c18a-49c8-b680-c7ff008a310d",
                            "display": "#AGGRIFIB INJ.(5MG\\100ML) / TIROFIBAN HYDROCHLORIDE INJ..."
                        },
                        "priceComponent": [
                            {
                                "type": "base",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components",
                                            "code": "01",
                                            "display": "Rate"
                                        }
                                    ],
                                    "text": "Rate"
                                },
                                "amount": {
                                    "value": 100,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "informational",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://thims/pharmacy-invoice-price-components",
                                            "code": "GROSS_TOTAL",
                                            "display": "Gross Total"
                                        }
                                    ],
                                    "text": "Gross Total"
                                },
                                "amount": {
                                    "value": 100,
                                    "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": 2,
                                    "currency": "INR"
                                }
                            },
                            {
                                "type": "informational",
                                "code": {
                                    "coding": [
                                        {
                                            "system": "https://thims/pharmacy-invoice-price-components",
                                            "code": "NET_TOTAL",
                                            "display": "Net Total"
                                        }
                                    ],
                                    "text": "Net Total"
                                },
                                "amount": {
                                    "value": 98,
                                    "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": 100,
                                    "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": 2,
                            "currency": "INR"
                        }
                    },
                    {
                        "type": "tax",
                        "code": {
                            "coding": [
                                {
                                    "system": "https://thims/pharmacy-invoice-price-components",
                                    "code": "GST_TOTAL",
                                    "display": "GST Total"
                                }
                            ],
                            "text": "GST Total"
                        },
                        "amount": {
                            "value": 4.45999999999999996447286321199499070644378662109375,
                            "currency": "INR"
                        }
                    }
                ],
                "totalNet": {
                    "value": 187.330000000000012505552149377763271331787109375,
                    "currency": "INR"
                },
                "totalGross": {
                    "value": 193.80000000000001136868377216160297393798828125,
                    "currency": "INR"
                },
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Invoice"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:02be21be-7053-43f6-b803-ec9d1dc9fda6",
            "resource": {
                "resourceType": "Medication",
                "id": "02be21be-7053-43f6-b803-ec9d1dc9fda6",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>DOLO 600 TEST 16MAR21 / Paracitamol</p></div>"
                },
                "status": "active",
                "code": {
                    "coding": [
                        {
                            "system": "https://thims/products",
                            "code": "45405",
                            "display": "DOLO 600 TEST 16MAR21 / Paracitamol"
                        }
                    ],
                    "text": "DOLO 600 TEST 16MAR21 / Paracitamol"
                },
                "batch": {
                    "lotNumber": "MAYB2",
                    "expirationDate": "2030-10-31"
                },
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Medication"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:515cc8d4-f502-4e48-8739-87d1258d9125",
            "resource": {
                "resourceType": "Medication",
                "id": "515cc8d4-f502-4e48-8739-87d1258d9125",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>#AGGRIFIB INJ.(5MG\\100ML) / TIROFIBAN HYDROCHLORIDE INJ...</p></div>"
                },
                "status": "active",
                "code": {
                    "coding": [
                        {
                            "system": "https://thims/products",
                            "code": "4683",
                            "display": "#AGGRIFIB INJ.(5MG\\100ML) / TIROFIBAN HYDROCHLORIDE INJ..."
                        }
                    ],
                    "text": "#AGGRIFIB INJ.(5MG\\100ML) / TIROFIBAN HYDROCHLORIDE INJ..."
                },
                "identifier": [
                    {
                        "type": {
                            "text": "Harmonized System of Nomenclature"
                        },
                        "system": "https://thims/product-hsn",
                        "value": "0"
                    }
                ],
                "batch": {
                    "lotNumber": "EFGH",
                    "expirationDate": "2030-02-28"
                },
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Medication"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:411f59a4-7a3c-42b7-8a09-ea4d44b726ef",
            "resource": {
                "resourceType": "ChargeItem",
                "id": "411f59a4-7a3c-42b7-8a09-ea4d44b726ef",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>DOLO 600 TEST 16MAR21 / Paracitamol<br />\nQty: 10 STRP<br />\nRate: INR 8.93<br />\nTotal: INR 93.80</p></div>"
                },
                "status": "billed",
                "code": {
                    "coding": [
                        {
                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-billing-codes",
                            "code": "05",
                            "display": "Medicines"
                        }
                    ],
                    "text": "DOLO 600 TEST 16MAR21 / Paracitamol"
                },
                "subject": {
                    "reference": "urn:uuid:d3bf5de2-1505-4008-a45e-5f528f2f28e5",
                    "display": "Patient"
                },
                "context": {
                    "reference": "urn:uuid:4f3fcaf5-c630-4982-9dbf-c383756bd4bf",
                    "display": "Encounter"
                },
                "performer": [
                    {
                        "actor": {
                            "reference": "urn:uuid:83560ca2-06a7-4b21-b7f4-f450e93aa0bd",
                            "display": "DR. GYNEC"
                        }
                    }
                ],
                "occurrenceDateTime": "2026-07-02T18:30:00+00:00",
                "productReference": {
                    "reference": "urn:uuid:02be21be-7053-43f6-b803-ec9d1dc9fda6",
                    "display": "DOLO 600 TEST 16MAR21 / Paracitamol"
                },
                "quantity": {
                    "value": 10,
                    "unit": "STRP"
                },
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/ChargeItem"
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:2c1c2805-c18a-49c8-b680-c7ff008a310d",
            "resource": {
                "resourceType": "ChargeItem",
                "id": "2c1c2805-c18a-49c8-b680-c7ff008a310d",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-IN\" xml:lang=\"en-IN\"><p>#AGGRIFIB INJ.(5MG\\100ML) / TIROFIBAN HYDROCHLORIDE INJ...<br />\nQty: 1 BT<br />\nRate: INR 100.00<br />\nTotal: INR 100.00</p></div>"
                },
                "status": "billed",
                "code": {
                    "coding": [
                        {
                            "system": "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-billing-codes",
                            "code": "05",
                            "display": "Medicines"
                        }
                    ],
                    "text": "#AGGRIFIB INJ.(5MG\\100ML) / TIROFIBAN HYDROCHLORIDE INJ..."
                },
                "subject": {
                    "reference": "urn:uuid:d3bf5de2-1505-4008-a45e-5f528f2f28e5",
                    "display": "Patient"
                },
                "context": {
                    "reference": "urn:uuid:4f3fcaf5-c630-4982-9dbf-c383756bd4bf",
                    "display": "Encounter"
                },
                "performer": [
                    {
                        "actor": {
                            "reference": "urn:uuid:83560ca2-06a7-4b21-b7f4-f450e93aa0bd",
                            "display": "DR. GYNEC"
                        }
                    }
                ],
                "occurrenceDateTime": "2026-07-02T18:30:00+00:00",
                "productReference": {
                    "reference": "urn:uuid:515cc8d4-f502-4e48-8739-87d1258d9125",
                    "display": "#AGGRIFIB INJ.(5MG\\100ML) / TIROFIBAN HYDROCHLORIDE INJ..."
                },
                "quantity": {
                    "value": 1,
                    "unit": "BT"
                },
                "meta": {
                    "profile": [
                        "https://nrces.in/ndhm/fhir/r4/StructureDefinition/ChargeItem"
                    ]
                }
            }
        }
    ],
    "meta": {
        "versionId": "1",
        "lastUpdated": "2026-07-02T18:30:00+00:00",
        "profile": [
            "https://nrces.in/ndhm/fhir/r4/StructureDefinition/DocumentBundle"
        ]
    }
}