This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
Coverage-example-selfpay.ttl
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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/Coverage/SP1234> 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.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:link <http://hl7.org/fhir/Patient/5>;
fhir:Reference.reference [ fhir:value "Patient/5" ]
];
fhir:Coverage.beneficiary [
fhir:link <http://hl7.org/fhir/Patient/5>;
fhir:Reference.reference [ fhir:value "Patient/5" ]
];
fhir:Coverage.relationship [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "self" ]
<http://hl7.org/fhir/Coverage/SP1234> a fhir:Coverage ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "SP1234"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">A human-readable rendering of a Self Pay Agreement.</div>"^^rdf:XMLLiteral ]
] ; #
fhir:identifier ( [
fhir:system [
fhir:v "http://hospitalx.com/selfpayagreement"^^xsd:anyURI ;
fhir:l <http://hospitalx.com/selfpayagreement>
] ;
fhir:value [ fhir:v "SP12345678" ]
] ) ; #
fhir:status [ fhir:v "active"] ; #
fhir:kind [ fhir:v "self-pay"] ; #
fhir:paymentBy ( [
fhir:party [
fhir:l <http://hl7.org/fhir/Patient/5> ;
fhir:reference [ fhir:v "Patient/5" ]
]
];
fhir:Coverage.period [
fhir:Period.end [ fhir:value "2012-03-17"^^xsd:date ]
];
fhir:Coverage.payor [
fhir:index 0;
fhir:link <http://hl7.org/fhir/Patient/5>;
fhir:Reference.reference [ fhir:value "Patient/5" ]
] .
] ) ; #
fhir:type [
fhir:coding ( [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/coverage-selfpay"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/coverage-selfpay>
] ;
fhir:code [ fhir:v "pay" ] ;
fhir:display [ fhir:v "PAY" ]
] )
] ; #
fhir:subscriber [
fhir:l <http://hl7.org/fhir/Patient/5> ;
fhir:reference [ fhir:v "Patient/5" ]
] ; #
fhir:beneficiary [
fhir:l <http://hl7.org/fhir/Patient/5> ;
fhir:reference [ fhir:v "Patient/5" ]
] ; #
fhir:relationship [
fhir:coding ( [
fhir:code [ fhir:v "self" ]
] )
] ; #
fhir:period [
fhir:end [ fhir:v "2012-03-17"^^xsd:date ]
] . #
<http://hl7.org/fhir/Patient/5> a fhir:Patient .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Coverage/SP1234.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/Coverage/SP1234.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.