| Australian Digital Health Agency FHIR Implementation Guide 1.0.0

Australian Digital Health Agency FHIR Implementation Guide. This is the current published version. It is based on FHIR® version 4.0.1. See the Directory of published versions for a list of available versions.

## Example: RelatedPerson-mhr-smith-bob-oliver

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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

     a fhir:RelatedPerson;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "mhr-smith-bob-oliver"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-relatedperson-core-1";
           fhir:index 0;
           fhir:link <http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-relatedperson-core-1>     ]
      ];
      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=\"mhr-smith-bob-oliver\"> </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;mhr-smith-bob-oliver&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dh-relatedperson-core-1.html\">ADHA Core RelatedPerson</a></p></div><p><b>identifier</b>: National unique individual identifier: 8003608833564727 (use: OFFICIAL)</p><p><b>patient</b>: <a href=\"Patient-mhr-smith-oliver.html\">Patient/mhr-smith-oliver</a> &quot; SMITH&quot;</p><p><b>relationship</b>: father <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-RoleCode.html\">RoleCode</a>#FTH)</span></p><p><b>name</b>: Bob SMITH </p><p><b>telecom</b>: ph: 0491 574 632(MOBILE)</p></div>"
      ];
      fhir:RelatedPerson.identifier [
         fhir:index 0;
         fhir:Identifier.use [ fhir:value "official" ];
         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 "NI" ];
             fhir:Coding.display [ fhir:value "National unique individual identifier" ]       ]     ];
         fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
         fhir:Identifier.value [ fhir:value "8003608833564727" ]
      ];
      fhir:RelatedPerson.patient [
         fhir:Reference.reference [ fhir:value "Patient/mhr-smith-oliver" ];
         fhir:Reference.identifier [
           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 "NI" ];
               fhir:Coding.display [ fhir:value "National unique individual identifier" ]         ]       ];
           fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
           fhir:Identifier.value [ fhir:value "8003608833357361" ]     ]
      ];
      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 "FTH" ];
           fhir:Coding.display [ fhir:value "father" ]     ]
      ];
      fhir:RelatedPerson.name [
         fhir:index 0;
         fhir:HumanName.family [ fhir:value "SMITH" ];
         fhir:HumanName.given [
           fhir:value "Bob";
           fhir:index 0     ];
         fhir:HumanName.prefix [
           fhir:value "Mr.";
           fhir:index 0     ]
      ];
      fhir:RelatedPerson.telecom [
         fhir:index 0;
         fhir:ContactPoint.system [ fhir:value "phone" ];
         fhir:ContactPoint.value [ fhir:value "0491 574 632" ];
         fhir:ContactPoint.use [ fhir:value "mobile" ]
      ].

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

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