openIMIS FHIR R4 Implementation Guide
1.0.0 - ci-build

openIMIS FHIR R4 Implementation Guide - Local Development build (v1.0.0). See the Directory of published versions

: InformalSectorContributionInvoice - 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 -------------------------------------------------------------------

 a fhir:Invoice;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "InformalSectorContributionInvoice"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/openimis-invoice-invoice";
       fhir:index 0;
       fhir:link <https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/openimis-invoice-invoice>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"InformalSectorContributionInvoice\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-openimis-invoice-invoice.html\">openIMIS Invoice</a></p></div><p><b>identifier</b>: Code: IV-BCUL0001-13000001-2021-09, UUID: D33E703F-D10B-43D8-9578-5137C118AD84</p><p><b>status</b>: issued</p><p><b>type</b>: contribution <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#contribution)</span></p><p><b>recipient</b>: <a href=\"Patient-jane-doe.html\">Patient/jane-doe</a> \" DOE\"</p><p><b>date</b>: 2021-01-28</p><p><b>issuer</b>: <a href=\"Organization-openIMIS-Implementation.html\">Organization/openIMIS-Implementation</a> \"openIMIS Implementation\"</p><blockquote><p><b>lineItem</b></p><p><b>chargeItem</b>: Policy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-invoice-charge-item.html\">ChargeItem (Invoice)</a>#policy)</span></p><blockquote><p><b>priceComponent</b></p><p><b>Unit Price (Medication|ActivityDefinition)</b>: </p></blockquote></blockquote><p><b style=\"color: maroon\">Exception generating Narrative: null</b></p></div>"
  ];
  fhir:Invoice.identifier [
     fhir:index 0;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.code [ fhir:value "Code" ]       ]     ];
     fhir:Identifier.value [ fhir:value "IV-BCUL0001-13000001-2021-09" ]
  ], [
     fhir:index 1;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.code [ fhir:value "UUID" ]       ]     ];
     fhir:Identifier.value [ fhir:value "D33E703F-D10B-43D8-9578-5137C118AD84" ]
  ];
  fhir:Invoice.status [ fhir:value "issued"];
  fhir:Invoice.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "contribution" ]     ]
  ];
  fhir:Invoice.recipient [
     fhir:Reference.reference [ fhir:value "Patient/jane-doe" ]
  ];
  fhir:Invoice.date [ fhir:value "2021-01-28"^^xsd:date];
  fhir:Invoice.issuer [
     fhir:Reference.reference [ fhir:value "Organization/openIMIS-Implementation" ]
  ];
  fhir:Invoice.lineItem [
     fhir:index 0;
     fhir:Invoice.lineItem.chargeItemCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/invoice-charge-item" ];
         fhir:Coding.code [ fhir:value "policy" ];
         fhir:Coding.display [ fhir:value "Policy" ]       ]     ];
     fhir:Invoice.lineItem.priceComponent [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/unit-price" ];
         fhir:Extension.valueMoney [
           fhir:Money.value [ fhir:value "10000"^^xsd:decimal ]         ]       ];
       fhir:Invoice.lineItem.priceComponent.type [ fhir:value "base" ];
       fhir:Invoice.lineItem.priceComponent.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.code [ fhir:value "Code" ]         ];
         fhir:CodeableConcept.text [ fhir:value "BCUL0001" ]       ];
       fhir:Invoice.lineItem.priceComponent.factor [ fhir:value "1"^^xsd:decimal ];
       fhir:Invoice.lineItem.priceComponent.amount [
         fhir:Money.value [ fhir:value "10000"^^xsd:decimal ]       ]     ]
  ];
  fhir:Invoice.totalNet [
     fhir:Money.value [ fhir:value "10000"^^xsd:decimal ];
     fhir:Money.currency [ fhir:value "EUR" ]
  ];
  fhir:Invoice.totalGross [
     fhir:Money.value [ fhir:value "10000"^^xsd:decimal ];
     fhir:Money.currency [ fhir:value "EUR" ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.