This page is part of the Quality Improvement Core Framework (v2.0.0: STU 2) based on FHIR R3. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

Example: RelatedPerson-qicore-relatedperson-example

Formats: XML, JSON, Turtle

@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 "qicore-relatedperson-example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>Emergency Contact Example</p>\n            <table>\n                <tbody>\n                    <tr>\n                        <td> Name</td>\n                        <td> Peter Chalmers</td>\n                    </tr>\n                    <tr>\n                        <td> Address</td>\n                        <td> 534 Erewhon, Pleasantville, Vic, 3999</td>\n                    </tr>\n                    <tr>\n                        <td> Contacts</td>\n                        <td> Work: (03) 5555 6473</td>\n                    </tr>\n                </tbody>\n            </table>\n        </div>"
  ];
  fhir:RelatedPerson.patient [
     fhir:Reference.reference [ fhir:value "Patient/qicore-patient-example" ]
  ];
  fhir:RelatedPerson.relationship [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0131" ];
       fhir:Coding.code [ fhir:value "C" ]     ]
  ];
  fhir:RelatedPerson.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "official" ];
     fhir:HumanName.family [ fhir:value "Chalmers" ];
     fhir:HumanName.given [
       fhir:value "Peter";
       fhir:index 0     ], [
       fhir:value "James";
       fhir:index 1     ]
  ];
  fhir:RelatedPerson.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(03) 5555 6473" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ];
  fhir:RelatedPerson.gender [ fhir:value "male"];
  fhir:RelatedPerson.address [
     fhir:index 0;
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.line [
       fhir:value "534 Erewhon St";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "PleasantVille" ];
     fhir:Address.state [ fhir:value "Vic" ];
     fhir:Address.postalCode [ fhir:value "3999" ]
  ];
  fhir:RelatedPerson.photo [
     fhir:index 0;
     fhir:Attachment.contentType [ fhir:value "image/jpeg" ];
     fhir:Attachment.url [ fhir:value "Binary/f012" ]
  ];
  fhir:RelatedPerson.period [
     fhir:Period.start [ fhir:value "2012-03-11"^^xsd:date ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.