FHIR R6 FM Incubator
0.1.0 - ci-build International flag

FHIR R6 FM Incubator, published by HL7 International / Financial Management. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fm-incubator/ and changes regularly. See the Directory of published versions

: example - TTL Representation

Page standards status: Informative

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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:resourceDefinition http://hl7.org/fhir/StructureDefinition/Invoice|0.1.0 ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example of Invoice</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
fhir:system [
fhir:v "http://myHospital.org/Invoices"^^xsd:anyURI ;
fhir:l <http://myHospital.org/Invoices>     ] ;
fhir:value [ fhir:v "654321" ]
  ] ) ; # 
  fhir:status [ fhir:v "issued"] ; # 
  fhir:subject [
fhir:l fhir:Patient/example ;
fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:creation [ fhir:v "2017-01-25T08:00:00+01:00"^^xsd:dateTime] ; # 
  fhir:period [
a fhir:Date ;
fhir:v "2017-01-25"^^xsd:date
  ] ; # 
  fhir:participant ( [
fhir:role [
      ( fhir:coding [
a sct:17561000 ;
fhir:system [
fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
fhir:l <http://snomed.info/sct>         ] ;
fhir:code [ fhir:v "17561000" ] ;
fhir:display [ fhir:v "Cardiologist" ]       ] )     ] ;
fhir:actor [
fhir:l fhir:Practitioner/example ;
fhir:reference [ fhir:v "Practitioner/example" ]     ]
  ] ) ; # 
  fhir:issuer [
fhir:identifier [
fhir:system [
fhir:v "http://myhospital/NamingSystem/departments"^^xsd:anyURI ;
fhir:l <http://myhospital/NamingSystem/departments>       ] ;
fhir:value [ fhir:v "CARD_INTERMEDIATE_CARE" ]     ]
  ] ; # 
  fhir:account [
fhir:l fhir:Account/example ;
fhir:reference [ fhir:v "Account/example" ]
  ] ; # 
  fhir:totalNet [
fhir:value [ fhir:v "40"^^xsd:decimal ] ;
fhir:currency [ fhir:v "EUR" ]
  ] ; # 
  fhir:totalGross [
fhir:value [ fhir:v "48"^^xsd:decimal ] ;
fhir:currency [ fhir:v "EUR" ]
  ] . #