Example Account/example (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
General Account example
@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:Account;
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\">HACC Funded Billing for Peter James Chalmers</div>"
];
fhir:Account.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "urn:oid:0.1.2.3.4.5.6.7" ];
fhir:Identifier.value [ fhir:value "654321" ]
];
fhir:Account.status [ fhir:value "active"];
fhir:Account.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
fhir:Coding.code [ fhir:value "PBILLACCT" ];
fhir:Coding.display [ fhir:value "patient billing account" ]
];
fhir:CodeableConcept.text [ fhir:value "patient" ]
];
fhir:Account.name [ fhir:value "HACC Funded Billing for Peter James Chalmers"];
fhir:Account.subject [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Patient/example" ];
fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
];
fhir:Account.servicePeriod [
fhir:Period.start [ fhir:value "2016-01-01"^^xsd:date ];
fhir:Period.end [ fhir:value "2016-06-30"^^xsd:date ]
];
fhir:Account.coverage [
fhir:index 0;
fhir:Account.coverage.coverage [
fhir:Reference.reference [ fhir:value "Coverage/7546D" ]
];
fhir:Account.coverage.priority [ fhir:value "1"^^xsd:positiveInteger ]
];
fhir:Account.owner [
fhir:Reference.reference [ fhir:value "Organization/hl7" ]
];
fhir:Account.description [ fhir:value "Hospital charges"];
fhir:Account.relatedAccount [
fhir:index 0;
fhir:Account.relatedAccount.relationship [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/account-relationship" ];
fhir:Coding.code [ fhir:value "guarantor" ]
]
];
fhir:Account.relatedAccount.account [
fhir:Reference.reference [ fhir:value "Account/ewg" ]
]
]] .
# - 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.