Example Coverage/SP1234 (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Self Payment 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:Coverage;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "SP1234"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">A human-readable rendering of a Self Pay Agreement.</div>"
]; #
fhir:Coverage.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://hospitalx.com/selfpayagreement" ];
fhir:Identifier.value [ fhir:value "SP12345678" ]
]; #
fhir:Coverage.status [ fhir:value "active"]; #
fhir:Coverage.kind [ fhir:value "self-pay"]; #
fhir:Coverage.paymentBy [
fhir:index 0;
fhir:Coverage.paymentBy.party [
fhir:Reference.reference [ fhir:value "Patient/5" ]
]
]; #
fhir:Coverage.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/coverage-selfpay" ];
fhir:Coding.code [ fhir:value "pay" ];
fhir:Coding.display [ fhir:value "PAY" ]
]
]; #
fhir:Coverage.subscriber [
fhir:Reference.reference [ fhir:value "Patient/5" ]
]; #
fhir:Coverage.beneficiary [
fhir:Reference.reference [ fhir:value "Patient/5" ]
]; #
fhir:Coverage.relationship [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "self" ]
]
]; #
fhir:Coverage.period [
fhir:Period.end [ fhir:value "2012-03-17"^^xsd:date ]
]] . #
# - 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.