FHIR Implementation Guide for ABDM
7.0.0 - active India flag

Banner

FHIR Implementation Guide for ABDM - Local Development build (v7.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Invoice/Consultation-example-01 - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Invoice/Consultation-example-01> a fhir:Invoice ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Consultation-example-01"] ;
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "1" ] ;
     fhir:Meta.lastUpdated [ fhir:value "2023-08-23T17:02:00.181+05:30"^^xsd:dateTime ] ;
     fhir:Meta.profile [
       fhir:value "https://nrces.in/ndhm/fhir/r4/StructureDefinition/Invoice" ;
       fhir:index 0 ;
       fhir:link <https://nrces.in/ndhm/fhir/r4/StructureDefinition/Invoice>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Invoice Consultation-example-01</b></p><a name=\"Consultation-example-01\"> </a><a name=\"hcConsultation-example-01\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">version: 1; Last updated: 2023-08-23 17:02:00+0530</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-Invoice.html\">Invoice</a></p></div><p><b>identifier</b>: CA/5842</p><p><b>status</b>: issued</p><p><b>type</b>: <span title=\"Codes:{https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-billing-codes 00}\">Consultation</span></p><p><b>subject</b>: <a href=\"Patient-example-01.html\">ABC Male, DoB: 1981-01-12 ( Medical record number: 22-7225-4829-5255)</a></p><p><b>date</b>: 2023-06-01 10:00:00+0530</p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-example-01.html\">Practitioner Dr. DEF</a></td></tr></table><blockquote><p><b>lineItem</b></p><p><b>sequence</b>: 1</p><p><b>chargeItem</b>: <a href=\"ChargeItem-Consultation-example-01.html\">ChargeItem Consultation</a></p><blockquote><p><b>priceComponent</b></p><p><b>type</b>: base price</p><p><b>code</b>: <span title=\"Codes:{https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components 01}\">Rate</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>550</td><td>Indian rupee</td></tr></table></blockquote><blockquote><p><b>priceComponent</b></p><p><b>type</b>: informational</p><p><b>code</b>: <span title=\"Codes:{https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components 00}\">MRP</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>600</td><td>Indian rupee</td></tr></table></blockquote><blockquote><p><b>priceComponent</b></p><p><b>type</b>: discount</p><p><b>code</b>: <span title=\"Codes:{https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components 02}\">Discount</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>50</td><td>Indian rupee</td></tr></table></blockquote><blockquote><p><b>priceComponent</b></p><p><b>type</b>: tax</p><p><b>code</b>: <span title=\"Codes:{https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components 03}\">CGST</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>30</td><td>Indian rupee</td></tr></table></blockquote><blockquote><p><b>priceComponent</b></p><p><b>type</b>: tax</p><p><b>code</b>: <span title=\"Codes:{https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components 04}\">SGST</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>30</td><td>Indian rupee</td></tr></table></blockquote></blockquote><h3>TotalNets</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>610</td><td>Indian rupee</td></tr></table><h3>TotalGrosses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>500</td><td>Indian rupee</td></tr></table></div>"
  ] ;
  fhir:Invoice.identifier [
     fhir:index 0 ;
     fhir:Identifier.value [ fhir:value "CA/5842" ]
  ] ;
  fhir:Invoice.status [ fhir:value "issued"] ;
  fhir:Invoice.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-billing-codes" ] ;
       fhir:Coding.code [ fhir:value "00" ] ;
       fhir:Coding.display [ fhir:value "Consultation" ]
     ]
  ] ;
  fhir:Invoice.subject [
     fhir:link <http://hl7.org/fhir/Patient/example-01> ;
     fhir:Reference.reference [ fhir:value "Patient/example-01" ]
  ] ;
  fhir:Invoice.date [ fhir:value "2023-06-01T10:00:00.181+05:30"^^xsd:dateTime] ;
  fhir:Invoice.participant [
     fhir:index 0 ;
     fhir:Invoice.participant.actor [
       fhir:link <http://hl7.org/fhir/Practitioner/example-01> ;
       fhir:Reference.reference [ fhir:value "Practitioner/example-01" ]
     ]
  ] ;
  fhir:Invoice.lineItem [
     fhir:index 0 ;
     fhir:Invoice.lineItem.sequence [ fhir:value "1"^^xsd:positiveInteger ] ;
     fhir:Invoice.lineItem.chargeItemReference [
       fhir:link <http://hl7.org/fhir/ChargeItem/Consultation-example-01> ;
       fhir:Reference.reference [ fhir:value "ChargeItem/Consultation-example-01" ]
     ] ;
     fhir:Invoice.lineItem.priceComponent [
       fhir:index 0 ;
       fhir:Invoice.lineItem.priceComponent.type [ fhir:value "base" ] ;
       fhir:Invoice.lineItem.priceComponent.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components" ] ;
           fhir:Coding.code [ fhir:value "01" ] ;
           fhir:Coding.display [ fhir:value "Rate" ]
         ]
       ] ;
       fhir:Invoice.lineItem.priceComponent.amount [
         fhir:Money.value [ fhir:value "550"^^xsd:decimal ] ;
         fhir:Money.currency [ fhir:value "INR" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:Invoice.lineItem.priceComponent.type [ fhir:value "informational" ] ;
       fhir:Invoice.lineItem.priceComponent.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components" ] ;
           fhir:Coding.code [ fhir:value "00" ] ;
           fhir:Coding.display [ fhir:value "MRP" ]
         ]
       ] ;
       fhir:Invoice.lineItem.priceComponent.amount [
         fhir:Money.value [ fhir:value "600"^^xsd:decimal ] ;
         fhir:Money.currency [ fhir:value "INR" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:Invoice.lineItem.priceComponent.type [ fhir:value "discount" ] ;
       fhir:Invoice.lineItem.priceComponent.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components" ] ;
           fhir:Coding.code [ fhir:value "02" ] ;
           fhir:Coding.display [ fhir:value "Discount" ]
         ]
       ] ;
       fhir:Invoice.lineItem.priceComponent.amount [
         fhir:Money.value [ fhir:value "50"^^xsd:decimal ] ;
         fhir:Money.currency [ fhir:value "INR" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:Invoice.lineItem.priceComponent.type [ fhir:value "tax" ] ;
       fhir:Invoice.lineItem.priceComponent.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components" ] ;
           fhir:Coding.code [ fhir:value "03" ] ;
           fhir:Coding.display [ fhir:value "CGST" ]
         ]
       ] ;
       fhir:Invoice.lineItem.priceComponent.amount [
         fhir:Money.value [ fhir:value "30"^^xsd:decimal ] ;
         fhir:Money.currency [ fhir:value "INR" ]
       ]
     ], [
       fhir:index 4 ;
       fhir:Invoice.lineItem.priceComponent.type [ fhir:value "tax" ] ;
       fhir:Invoice.lineItem.priceComponent.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-price-components" ] ;
           fhir:Coding.code [ fhir:value "04" ] ;
           fhir:Coding.display [ fhir:value "SGST" ]
         ]
       ] ;
       fhir:Invoice.lineItem.priceComponent.amount [
         fhir:Money.value [ fhir:value "30"^^xsd:decimal ] ;
         fhir:Money.currency [ fhir:value "INR" ]
       ]
     ]
  ] ;
  fhir:Invoice.totalNet [
     fhir:Money.value [ fhir:value "610"^^xsd:decimal ] ;
     fhir:Money.currency [ fhir:value "INR" ]
  ] ;
  fhir:Invoice.totalGross [
     fhir:Money.value [ fhir:value "500"^^xsd:decimal ] ;
     fhir:Money.currency [ fhir:value "INR" ]
  ] .

<http://hl7.org/fhir/Patient/example-01> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/example-01> a fhir:Practitioner .

<http://hl7.org/fhir/ChargeItem/Consultation-example-01> a fhir:ChargeItem .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Invoice/Consultation-example-01.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Invoice/Consultation-example-01.ttl> .