Example RelatedPerson/newborn-mom (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Mother of Newborn Example for Newborn 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:RelatedPerson;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "newborn-mom"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: RelatedPerson</b><a name=\"newborn-mom\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource RelatedPerson "newborn-mom" </p></div><p><b>identifier</b>: Social Security number: 444222222</p><p><b>active</b>: true</p><p><b>patient</b>: <a href=\"patient-example-newborn.html\">Patient/newborn</a></p><p><b>relationship</b>: Natural Mother <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-RoleCode.html\">RoleCode</a>#NMTH "natural mother")</span></p><p><b>name</b>: Eve Everywoman (OFFICIAL)</p><p><b>telecom</b>: ph: 555-555-2003(WORK)</p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1973-05-31</p><p><b>address</b>: 2222 Home Street (HOME)</p></div>"
];
fhir:RelatedPerson.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:RelatedPerson.active [ fhir:value "true"^^xsd:boolean];
fhir:RelatedPerson.patient [
fhir:Reference.reference [ fhir:value "Patient/newborn" ]
];
fhir:RelatedPerson.relationship [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
fhir:Coding.code [ fhir:value "NMTH" ];
fhir:Coding.display [ fhir:value "natural mother" ]
];
fhir:CodeableConcept.text [ fhir:value "Natural Mother" ]
];
fhir:RelatedPerson.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:RelatedPerson.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:RelatedPerson.gender [ fhir:value "female"];
fhir:RelatedPerson.birthDate [ fhir:value "1973-05-31"^^xsd:date];
fhir:RelatedPerson.address [
fhir:index 0;
fhir:Address.use [ fhir:value "home" ];
fhir:Address.line [
fhir:value "2222 Home Street";
fhir:index 0
]
]] .
# - 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.