@prefix fhir: . @prefix owl: . @prefix rdf: . @prefix rdfs: . @prefix xsd: . # - resource ------------------------------------------------------------------- a fhir:Invoice ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "Consultation-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 Consultation-example-01

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

Profile: Invoice

identifier: CA/5842

status: issued

type: Consultation

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

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

Participants

-Actor
*Practitioner Dr. DEF

lineItem

sequence: 1

chargeItem: ChargeItem Consultation

priceComponent

type: base price

code: Rate

Amounts

-ValueCurrency
*550Indian rupee

priceComponent

type: informational

code: MRP

Amounts

-ValueCurrency
*600Indian rupee

priceComponent

type: discount

code: Discount

Amounts

-ValueCurrency
*50Indian rupee

priceComponent

type: tax

code: CGST

Amounts

-ValueCurrency
*30Indian rupee

priceComponent

type: tax

code: SGST

Amounts

-ValueCurrency
*30Indian rupee

TotalNets

-ValueCurrency
*610Indian rupee

TotalGrosses

-ValueCurrency
*500Indian 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 "00" ] ; fhir:display [ fhir:v "Consultation" ] ] ) ] ; # fhir:subject [ fhir:link ; fhir:reference [ fhir:v "Patient/example-01" ] ] ; # fhir:date [ fhir:v "2023-06-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/Consultation-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 "550"^^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 "600"^^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 "50"^^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 "30"^^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 "30"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ] ) ] ) ; # fhir:totalNet [ fhir:value [ fhir:v "610"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] ; # fhir:totalGross [ fhir:value [ fhir:v "500"^^xsd:decimal ] ; fhir:currency [ fhir:v "INR" ] ] . # # -------------------------------------------------------------------------------------