Example Patient/genetics-example1 (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Additional Genetics 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:Patient;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "genetics-example1"]; #
fhir:Resource.meta [
fhir:Meta.lastUpdated [ fhir:value "2012-05-29T23:45:32Z"^^xsd:dateTime ]
]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Everywoman, Eve. SSN:\n 444222222</div>"
]; #
fhir:Patient.identifier [
fhir:index 0;
fhir:Identifier.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
fhir:Coding.code [ fhir:value "SS" ]
]
];
fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-ssn" ];
fhir:Identifier.value [ fhir:value "444222222" ]
]; #
fhir:Patient.active [ fhir:value "true"^^xsd:boolean]; #
fhir:Patient.name [
fhir:index 0;
fhir:HumanName.use [ fhir:value "official" ];
fhir:HumanName.family [ fhir:value "Everywoman" ];
fhir:HumanName.given [
fhir:value "Eve";
fhir:index 0
]
]; #
fhir:Patient.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "phone" ];
fhir:ContactPoint.value [ fhir:value "555-555-2003" ];
fhir:ContactPoint.use [ fhir:value "work" ]
]; #
fhir:Patient.gender [ fhir:value "female"]; #
fhir:Patient.birthDate [ fhir:value "1973-05-31"^^xsd:date]; #
fhir:Patient.address [
fhir:index 0;
fhir:Address.use [ fhir:value "home" ];
fhir:Address.line [
fhir:value "2222 Home Street";
fhir:index 0
]
]; #
fhir:Patient.managingOrganization [
fhir:Reference.reference [ fhir:value "Organization/hl7" ]
]] . #
# - 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.