Australian Base Implementation Guide

This page is part of AU Base v4.0.0 based on FHIR R4. For a full list of available versions, see the Directory of published versions

Example: RelatedPerson-example1

Formats: Narrative, XML, JSON, Turtle

Raw ttl


@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:RelatedPerson;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example1"];
  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</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 \"example1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-relatedperson.html\">AU Base Related Person</a></p></div><p><b>active</b>: true</p><p><b>patient</b>: <a href=\"Patient-example1.html\">Patient/example1</a> \" DAN\"</p><p><b>relationship</b>: Caregiver <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#133932002)</span></p><p><b>name</b>: Mary Smith </p><p><b>telecom</b>: <a href=\"mailto:msmith@amail.example.com\">msmith@amail.example.com</a>, ph: (02)55501234(HOME)</p><p><b>gender</b>: female</p><p><b>address</b>: 255 Gadsby Street Blacktown NSW 2148 AU </p></div>"
  ];
  fhir:RelatedPerson.active [ fhir:value "true"^^xsd:boolean];
  fhir:RelatedPerson.patient [
     fhir:Reference.reference [ fhir:value "Patient/example1" ]
  ];
  fhir:RelatedPerson.relationship [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:133932002;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "133932002" ];
       fhir:Coding.display [ fhir:value "Caregiver" ]     ]
  ];
  fhir:RelatedPerson.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Smith" ];
     fhir:HumanName.given [
       fhir:value "Mary";
       fhir:index 0     ]
  ];
  fhir:RelatedPerson.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "msmith@amail.example.com" ];
     fhir:ContactPoint.use [ fhir:value "home" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(02)55501234" ];
     fhir:ContactPoint.use [ fhir:value "home" ]
  ];
  fhir:RelatedPerson.gender [ fhir:value "female"];
  fhir:RelatedPerson.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "255 Gadsby Street";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Blacktown" ];
     fhir:Address.state [ fhir:value "NSW" ];
     fhir:Address.postalCode [ fhir:value "2148" ];
     fhir:Address.country [ fhir:value "AU" ]
  ].

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

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

Issues & Feedback