@prefix fhir: . @prefix owl: . @prefix rdfs: . @prefix xsd: . # - resource ------------------------------------------------------------------- a fhir:Invoice ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "Pharmacy-example-01"] ; # fhir:meta [ fhir:versionId [ fhir:v "1" ] ; fhir:lastUpdated [ fhir:v "2023-08-23T17:02:00.181+05:30"^^xsd:dateTime ] ; fhir:profile ( [ fhir:v "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Invoice"^^xsd:anyURI ; fhir:link ] ) ] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "

Generated Narrative: Invoice

Resource Invoice "Pharmacy-example-01" Version "1" Updated "2023-08-23 17:02:00+0530"

Profile: Invoice

identifier: id: CA/5842

status: issued

type: Pharmacy (Billing Codes#01)

subject: Patient/example-01 ""

date: 2023-05-01 10:00:00+0530

Participants

-Actor
*Practitioner/example-01 ""

lineItem

sequence: 1

chargeItem: ChargeItem/Medication-Paracetamol-example-01

priceComponent

type: base

code: Rate (Price Component#01)

Amounts

-ValueCurrency
*80.00INR

priceComponent

type: informational

code: MRP (Price Component#00)

Amounts

-ValueCurrency
*100.00INR

priceComponent

type: discount

code: Discount (Price Component#02)

Amounts

-ValueCurrency
*0.00INR

priceComponent

type: tax

code: CGST (Price Component#03)

Amounts

-ValueCurrency
*6.00INR

priceComponent

type: tax

code: SGST (Price Component#04)

Amounts

-ValueCurrency
*6.00INR

lineItem

sequence: 2

chargeItem: ChargeItem/Medication-Sulfalene-example-01

priceComponent

type: base

code: Rate (Price Component#01)

Amounts

-ValueCurrency
*120.00INR

priceComponent

type: informational

code: MRP (Price Component#00)

Amounts

-ValueCurrency
*150.00INR

priceComponent

type: discount

code: Discount (Price Component#02)

Amounts

-ValueCurrency
*10.00INR

priceComponent

type: tax

code: CGST (Price Component#03)

Amounts

-ValueCurrency
*8.40INR

priceComponent

type: tax

code: SGST (Price Component#04)

Amounts

-ValueCurrency
*8.40INR

lineItem

sequence: 3

chargeItem: ChargeItem/Medication-Aspirin-example-01

priceComponent

type: base

code: Rate (Price Component#01)

Amounts

-ValueCurrency
*30.00INR

priceComponent

type: informational

code: MRP (Price Component#00)

Amounts

-ValueCurrency
*50.00INR

priceComponent

type: discount

code: Discount (Price Component#02)

Amounts

-ValueCurrency
*5.00INR

priceComponent

type: tax

code: CGST (Price Component#03)

Amounts

-ValueCurrency
*2.70INR

priceComponent

type: tax

code: SGST (Price Component#04)

Amounts

-ValueCurrency
*2.70INR

lineItem

sequence: 4

chargeItem: ChargeItem/Medication-Eye-Gel-example-01

priceComponent

type: base

code: Rate (Price Component#01)

Amounts

-ValueCurrency
*350.00INR

priceComponent

type: informational

code: MRP (Price Component#00)

Amounts

-ValueCurrency
*410.00INR

priceComponent

type: discount

code: Discount (Price Component#02)

Amounts

-ValueCurrency
*10.00INR

priceComponent

type: tax

code: CGST (Price Component#03)

Amounts

-ValueCurrency
*24.00INR

priceComponent

type: tax

code: SGST (Price Component#04)

Amounts

-ValueCurrency
*24.00INR

TotalNets

-ValueCurrency
*2752.2INR

TotalGrosses

-ValueCurrency
*2575.00INR
" ] ; # fhir:identifier ( [ fhir:value [ fhir:v "CA/5842" ] ] ) ; # fhir:status [ fhir:v "issued"] ; # fhir:type [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-billing-codes"^^xsd:anyURI ] ; fhir:code [ fhir:v "01" ] ; fhir:display [ fhir:v "Pharmacy" ] ] ) ] ; # fhir:subject [ fhir:link ; fhir:reference [ fhir:v "Patient/example-01" ] ] ; # fhir:date [ fhir:v "2023-05-01T10:00:00.181+05:30"^^xsd:dateTime] ; # fhir:participant ( [ fhir:actor [ fhir:link ; fhir:reference [ fhir:v "Practitioner/example-01" ] ] ] ) ; # fhir:lineItem ( [ fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ; fhir:chargeItem [ a fhir:Reference ; fhir:link ; fhir:reference [ fhir:v "ChargeItem/Medication-Paracetamol-example-01" ] ] ; fhir:priceComponent ( [ fhir:type [ fhir:v "base" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "01" ] ; fhir:display [ fhir:v "Rate" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "80.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "informational" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "00" ] ; fhir:display [ fhir:v "MRP" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "100.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "discount" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "02" ] ; fhir:display [ fhir:v "Discount" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "0.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "tax" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "03" ] ; fhir:display [ fhir:v "CGST" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "6.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "tax" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "04" ] ; fhir:display [ fhir:v "SGST" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "6.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] ) ] [ fhir:sequence [ fhir:v "2"^^xsd:positiveInteger ] ; fhir:chargeItem [ a fhir:Reference ; fhir:link ; fhir:reference [ fhir:v "ChargeItem/Medication-Sulfalene-example-01" ] ] ; fhir:priceComponent ( [ fhir:type [ fhir:v "base" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "01" ] ; fhir:display [ fhir:v "Rate" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "120.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "informational" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "00" ] ; fhir:display [ fhir:v "MRP" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "150.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "discount" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "02" ] ; fhir:display [ fhir:v "Discount" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "10.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "tax" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "03" ] ; fhir:display [ fhir:v "CGST" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "8.40"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "tax" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "04" ] ; fhir:display [ fhir:v "SGST" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "8.40"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] ) ] [ fhir:sequence [ fhir:v "3"^^xsd:positiveInteger ] ; fhir:chargeItem [ a fhir:Reference ; fhir:link ; fhir:reference [ fhir:v "ChargeItem/Medication-Aspirin-example-01" ] ] ; fhir:priceComponent ( [ fhir:type [ fhir:v "base" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "01" ] ; fhir:display [ fhir:v "Rate" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "30.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "informational" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "00" ] ; fhir:display [ fhir:v "MRP" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "50.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "discount" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "02" ] ; fhir:display [ fhir:v "Discount" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "5.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "tax" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "03" ] ; fhir:display [ fhir:v "CGST" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "2.70"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "tax" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "04" ] ; fhir:display [ fhir:v "SGST" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "2.70"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] ) ] [ fhir:sequence [ fhir:v "4"^^xsd:positiveInteger ] ; fhir:chargeItem [ a fhir:Reference ; fhir:link ; fhir:reference [ fhir:v "ChargeItem/Medication-Eye-Gel-example-01" ] ] ; fhir:priceComponent ( [ fhir:type [ fhir:v "base" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "01" ] ; fhir:display [ fhir:v "Rate" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "350.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "informational" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "00" ] ; fhir:display [ fhir:v "MRP" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "410.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "discount" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "02" ] ; fhir:display [ fhir:v "Discount" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "10.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "tax" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "03" ] ; fhir:display [ fhir:v "CGST" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "24.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] [ fhir:type [ fhir:v "tax" ] ; fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components"^^xsd:anyURI ] ; fhir:code [ fhir:v "04" ] ; fhir:display [ fhir:v "SGST" ] ] ) ] ; fhir:amount [ fhir:value [ fhir:v "24.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] ) ] ) ; # fhir:totalNet [ fhir:value [ fhir:v "2752.2"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ; # fhir:totalGross [ fhir:value [ fhir:v "2575.00"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] . # # -------------------------------------------------------------------------------------