AU Base Implementation Guide
4.1.0 - Trial Use Australia flag

This page is part of the AU Base Implementation Guide 4.1.0. It is based on FHIR R4. For a full list of available versions, see the Directory of published versions

: RelatedPerson - as attester party - TTL Representation

Page standards status: Informative

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 "example0"]; # 
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-relatedperson";
       fhir:index 0;
       fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-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><a name=\"example0\"> </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 &quot;example0&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-relatedperson.html\">AU Base Related Person</a></p></div><p><b>identifier</b>: Medical record number: 767767765FRD</p><p><b>active</b>: true</p><p><b>patient</b>: <a href=\"Patient-example0.html\">Patient/example0</a> &quot; FRANKLIN&quot;</p><p><b>relationship</b>: Next-of-Kin <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v2-0131.html\">contactRole2</a>#N; <a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-RoleCode.html\">RoleCode</a>#WIFE)</span></p><p><b>name</b>: Benedicte du Marche </p><p><b>telecom</b>: <a href=\"tel:+33(237)998327\">+33 (237) 998327</a></p><p><b>gender</b>: female</p><p><b>address</b>: 43, Place du Marche Sainte Catherine Paris 75004 FRA </p><h3>Photos</h3><table class=\"grid\"><tr><td>-</td><td><b>ContentType</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>image/jpeg</td><td><code>Binary/f016</code></td></tr></table></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 "MR" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hpio-scoped/medicalrecord/1.0/8003621566684455" ];
     fhir:Identifier.value [ fhir:value "767767765FRD" ];
     fhir:Identifier.assigner [
       fhir:Reference.reference [ fhir:value "Organization/example0" ];
       fhir:Reference.display [ fhir:value "Downunder Hospital" ]     ]
  ]; # 
  fhir:RelatedPerson.active [ fhir:value "true"^^xsd:boolean]; # 
  fhir:RelatedPerson.patient [
     fhir:Reference.reference [ fhir:value "Patient/example0" ]
  ]; # 
  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 "N" ]     ], [
       fhir:index 1;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
       fhir:Coding.code [ fhir:value "WIFE" ]     ]
  ]; # 
  fhir:RelatedPerson.name [
     fhir:index 0;
     fhir:HumanName.family [
       fhir:value "du Marche";
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix" ];
         fhir:Extension.valueString [ fhir:value "VV" ]       ] #     the \"du\" part is a family name prefix (VV in iso 21090)         ];
     fhir:HumanName.given [
       fhir:value "Benedicte";
       fhir:index 0     ]
  ]; # 
  fhir:RelatedPerson.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "+33 (237) 998327" ]
  ]; # 
  fhir:RelatedPerson.gender [ fhir:value "female"]; # 
  fhir:RelatedPerson.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "43, Place du Marche Sainte Catherine";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Paris" ];
     fhir:Address.postalCode [ fhir:value "75004" ];
     fhir:Address.country [ fhir:value "FRA" ]
  ]; # 
  fhir:RelatedPerson.photo [
     fhir:index 0;
     fhir:Attachment.contentType [ fhir:value "image/jpeg" ];
     fhir:Attachment.url [ fhir:value "Binary/f016" ]
  ]. # 

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

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