Example
Patient/infant-mom
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Mother
of
infant
twins
and
fetal
infant.
@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 -------------------------------------------------------------------
<http://hl7.org/fhir/Patient/infant-mom> a fhir:Patient;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "infant-mom"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Leia Solo (OFFICIAL)</b> female, DoB: 1995-10-12</p></div>"
];
fhir:Patient.name [
fhir:index 0;
fhir:HumanName.use [ fhir:value "official" ];
fhir:HumanName.family [ fhir:value "Solo" ];
fhir:HumanName.given [
fhir:value "Leia";
fhir:index 0
]
], [
fhir:index 1;
fhir:HumanName.use [ fhir:value "maiden" ];
fhir:HumanName.family [ fhir:value "Organa" ];
fhir:HumanName.given [
fhir:value "Leia";
fhir:index 0
]
];
fhir:Patient.gender [ fhir:value "female"];
fhir:Patient.birthDate [ fhir:value "1995-10-12"^^xsd:date];
fhir:Patient.maritalStatus [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" ];
fhir:Coding.code [ fhir:value "M" ];
fhir:Coding.display [ fhir:value "Married" ]
]
];
fhir:Patient.generalPractitioner [
fhir:index 0;
fhir:link <http://hl7.org/fhir/Practitioner/21B>;
fhir:Reference.reference [ fhir:value "Practitioner/21B" ];
fhir:Reference.display [ fhir:value "Too-Onebee" ]
] .
<http://hl7.org/fhir/Practitioner/21B> a fhir:Practitioner .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Patient/infant-mom.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/Patient/infant-mom.ttl> .
[a fhir:Patient ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "infant-mom"] ; # mother of infant twins and fetal patient
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>Leia Solo (OFFICIAL)</b> female, DoB: 1995-10-12</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Known Marital status of Patient\">Marital Status:</td><td colspan=\"3\"><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-MaritalStatus M}\">Married</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Alternate names (see the one above)\">Alt. Name:</td><td colspan=\"3\">Leia Organa (MAIDEN)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>General Practitioner: <a href=\"practitioner-example-f202-lm.html\">Practitioner/f202: Luigi Maas</a> "Luigi Maas"</li></ul></td></tr></table></div>"
] ; #
fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:family [ fhir:v "Solo" ] ;
fhir:given ( [ fhir:v "Leia" ] )
] [
fhir:use [ fhir:v "maiden" ] ;
fhir:family [ fhir:v "Organa" ] ;
fhir:given ( [ fhir:v "Leia" ] )
] ) ; #
fhir:gender [ fhir:v "female"] ; #
fhir:birthDate [ fhir:v "1995-10-12"^^xsd:date] ; #
fhir:maritalStatus [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"^^xsd:anyURI ] ;
fhir:code [ fhir:v "M" ] ;
fhir:display [ fhir:v "Married" ]
] )
] ; #
fhir:generalPractitioner ( [
fhir:reference [ fhir:v "Practitioner/f202" ] ;
fhir:display [ fhir:v "Luigi Maas" ]
] )] . #
# -------------------------------------------------------------------------------------
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.