QI-Core Implementation Guide
5.0.0-ballot - STU Ballot US

This page is part of the Quality Improvement Core Framework (v5.0.0-ballot: STU 5 Ballot 1) based on FHIR R4. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

: RelatedPerson example - TTL Representation

Raw ttl | Download


@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 "example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson>     ]
  ];
  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></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 \"example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-relatedperson.html\">QICoreRelatedPerson</a></p></div><p><b>active</b>: true</p><p><b>patient</b>: <a href=\"Patient-example.html\">Patient/example</a> \" CHALMERS\"</p><p><b>relationship</b>: Emergency Contact <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v2-0131.html\">contactRole2</a>#C)</span></p><p><b>name</b>: Peter James Chalmers (OFFICIAL)</p><p><b>telecom</b>: ph: (03) 5555 6473(WORK)</p><p><b>gender</b>: male</p><p><b>address</b>: 534 Erewhon St PleasantVille UT 84414 (HOME)</p><p><b>period</b>: 2012-03-11 --&gt; (ongoing)</p></div>"
  ];
  fhir:RelatedPerson.active [ fhir:value "true"^^xsd:boolean];
  fhir:RelatedPerson.patient [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:RelatedPerson.relationship [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/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 "UT" ];
     fhir:Address.postalCode [ fhir:value "84414" ]
  ];
  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.