Example Invoice/example (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example of invoice
@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:Invoice;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "example"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example of Invoice</div>"
]; #
fhir:Invoice.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://myHospital.org/Invoices" ];
fhir:Identifier.value [ fhir:value "654321" ]
]; #
fhir:Invoice.status [ fhir:value "issued"]; #
fhir:Invoice.subject [
fhir:Reference.reference [ fhir:value "Patient/example" ]
]; #
fhir:Invoice.creation [ fhir:value "2017-01-25T08:00:00+01:00"^^xsd:dateTime]; #
fhir:Invoice.periodDate [ fhir:value "2017-01-25"^^xsd:date]; #
fhir:Invoice.participant [
fhir:index 0;
fhir:Invoice.participant.role [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:17561000;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "17561000" ];
fhir:Coding.display [ fhir:value "Cardiologist" ]
]
];
fhir:Invoice.participant.actor [
fhir:Reference.reference [ fhir:value "Practitioner/example" ]
]
]; #
fhir:Invoice.issuer [
fhir:Reference.identifier [
fhir:Identifier.system [ fhir:value "http://myhospital/NamingSystem/departments" ];
fhir:Identifier.value [ fhir:value "CARD_INTERMEDIATE_CARE" ]
]
]; #
fhir:Invoice.account [
fhir:Reference.reference [ fhir:value "Account/example" ]
]; #
fhir:Invoice.totalNet [
fhir:Money.value [ fhir:value "40"^^xsd:decimal ];
fhir:Money.currency [ fhir:value "EUR" ]
]; #
fhir:Invoice.totalGross [
fhir:Money.value [ fhir:value "48"^^xsd:decimal ];
fhir:Money.currency [ fhir:value "EUR" ]
]] . #
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.