@prefix fhir: . @prefix owl: . @prefix rdf: . @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 Pharmacy-example-01

version: 1; Last updated: 2023-08-23 17:02:00+0530

Profile: Invoice

identifier: CA/5842

status: issued

type: Pharmacy

subject: ABC Male, DoB: 1981-01-12 ( Medical record number: 22-7225-4829-5255)

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

Participants

-Actor
*Practitioner Dr. DEF

lineItem

sequence: 1

chargeItem: ChargeItem Medicines

priceComponent

type: base price

code: Rate

Amounts

-ValueCurrency
*80Indian rupee

priceComponent

type: informational

code: MRP

Amounts

-ValueCurrency
*100Indian rupee

priceComponent

type: discount

code: Discount

Amounts

-ValueCurrency
*0Indian rupee

priceComponent

type: tax

code: CGST

Amounts

-ValueCurrency
*6Indian rupee

priceComponent

type: tax

code: SGST

Amounts

-ValueCurrency
*6Indian rupee

lineItem

sequence: 2

chargeItem: ChargeItem Medicines

priceComponent

type: base price

code: Rate

Amounts

-ValueCurrency
*120Indian rupee

priceComponent

type: informational

code: MRP

Amounts

-ValueCurrency
*150Indian rupee

priceComponent

type: discount

code: Discount

Amounts

-ValueCurrency
*10Indian rupee

priceComponent

type: tax

code: CGST

Amounts

-ValueCurrency
*8.4Indian rupee

priceComponent

type: tax

code: SGST

Amounts

-ValueCurrency
*8.4Indian rupee

lineItem

sequence: 3

chargeItem: ChargeItem Medicines

priceComponent

type: base price

code: Rate

Amounts

-ValueCurrency
*30Indian rupee

priceComponent

type: informational

code: MRP

Amounts

-ValueCurrency
*50Indian rupee

priceComponent

type: discount

code: Discount

Amounts

-ValueCurrency
*5Indian rupee

priceComponent

type: tax

code: CGST

Amounts

-ValueCurrency
*2.7Indian rupee

priceComponent

type: tax

code: SGST

Amounts

-ValueCurrency
*2.7Indian rupee

lineItem

sequence: 4

chargeItem: ChargeItem Medicines

priceComponent

type: base price

code: Rate

Amounts

-ValueCurrency
*350Indian rupee

priceComponent

type: informational

code: MRP

Amounts

-ValueCurrency
*410Indian rupee

priceComponent

type: discount

code: Discount

Amounts

-ValueCurrency
*10Indian rupee

priceComponent

type: tax

code: CGST

Amounts

-ValueCurrency
*24Indian rupee

priceComponent

type: tax

code: SGST

Amounts

-ValueCurrency
*24Indian rupee

TotalNets

-ValueCurrency
*2752.2Indian rupee

TotalGrosses

-ValueCurrency
*2575Indian rupee
"^^rdf:XMLLiteral ] ; # 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"^^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"^^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"^^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"^^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"^^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"^^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"^^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"^^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.4"^^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.4"^^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"^^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"^^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"^^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.7"^^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.7"^^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"^^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"^^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"^^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"^^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"^^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"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] . # # -------------------------------------------------------------------------------------