AU Base Implementation Guide
4.2.1-preview - Preview Australia flag

This page is part of the Australian Base IG (v4.2.1-preview: QA Preview) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 4.1.0. For a full list of available versions, see the Directory of published versions

: RelatedPerson - as family member, for use in sex and gender - TTL Representation

Page standards status: Informative

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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:id [ fhir:v "example-sex-and-gender"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-relatedperson"^^xsd:anyURI ;
fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-relatedperson>     ] )
  ] ; #    This purpose of this example is to demonstrate the use of sex and gender elements:
#    - Gender Harmony Gender Identity (Individual Gender Identity extension)
#    - Gender Harmony Pronouns (Individual Pronouns extension)
#    - Gender Harmony Recorded Sex or Gender (Person Recorded Sex Or Gender extension)
#    
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: RelatedPerson </b><a name=\"example-sex-and-gender\"> </a><a name=\"hcexample-sex-and-gender\"> </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\">ResourceRelatedPerson &quot;example-sex-and-gender&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-relatedperson.html\">AU Base Related Person</a></p></div><blockquote><p><b>Individual Gender Identity</b></p><blockquote><p><b>url</b></p><code>value</code></blockquote><p><b>value</b>: Male <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#446151000124109 &quot;Identifies as male gender&quot;)</span></p><blockquote><p><b>url</b></p><code>period</code></blockquote><p><b>value</b>: 2018-01-01 --&gt; 2021-12-23</p><blockquote><p><b>url</b></p><code>comment</code></blockquote><p><b>value</b>: Identified as male during this period. Began exploring gender identity more deeply towards the end of this period.</p></blockquote><blockquote><p><b>Individual Gender Identity</b></p><blockquote><p><b>url</b></p><code>value</code></blockquote><p><b>value</b>: Non-binary <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#33791000087105 &quot;Identifies as nonbinary gender&quot;)</span></p><blockquote><p><b>url</b></p><code>period</code></blockquote><p><b>value</b>: 2022-05-06 --&gt; (ongoing)</p><blockquote><p><b>url</b></p><code>comment</code></blockquote><p><b>value</b>: Currently identifies as non-binary and uses 'they/them' pronouns. Open to exploring further gender fluidity.</p></blockquote><blockquote><p><b>Individual Pronouns</b></p><blockquote><p><b>url</b></p><code>value</code></blockquote><p><b>value</b>: they/them/their/theirs/themselves <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA29520-6)</span></p></blockquote><blockquote><p><b>Person Recorded Sex Or Gender</b></p><blockquote><p><b>url</b></p><code>value</code></blockquote><p><b>value</b>: Male <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/codesystem-administrative-gender.html\">AdministrativeGender</a>#male)</span></p><blockquote><p><b>url</b></p><code>type</code></blockquote><p><b>value</b>: Sex Assigned At Birth <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#76689-9)</span></p><blockquote><p><b>url</b></p><code>effectivePeriod</code></blockquote><p><b>value</b>: 2001-10-24 --&gt; (ongoing)</p><blockquote><p><b>url</b></p><code>acquisitionDate</code></blockquote><p><b>value</b>: 2019-11-01</p><blockquote><p><b>url</b></p><code>sourceDocument</code></blockquote><p><b>value</b>: Birth certificate <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#71230-7)</span></p><blockquote><p><b>url</b></p><code>sourceField</code></blockquote><p><b>value</b>: Sex</p><blockquote><p><b>url</b></p><a href=\"http://terminology.hl7.org/5.5.0/ValueSet-jurisdiction.html\">Jurisdiction ValueSet</a></blockquote><p><b>value</b>: VIC <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (#VIC)</span></p></blockquote><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.5.0/CodeSystem-v2-0131.html\">contactRole2</a>#N; <a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-v3-RoleCode.html\">RoleCode</a>#FAMMEMB)</span></p><p><b>name</b>: Alex Baker </p><p><b>telecom</b>: ph: (02) 5550 6767</p><p><b>gender</b>: other</p></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity"^^xsd:anyURI ] ;
    ( fhir:extension [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
a sct:446151000124109 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "446151000124109" ] ;
fhir:display [ fhir:v "Identifies as male gender" ]         ] ) ;
fhir:text [ fhir:v "Male" ]       ]     ] [
fhir:url [ fhir:v "period"^^xsd:anyURI ] ;
fhir:value [
a fhir:Period ;
fhir:start [ fhir:v "2018-01-01"^^xsd:date ] ;
fhir:end [ fhir:v "2021-12-23"^^xsd:date ]       ]     ] [
fhir:url [ fhir:v "comment"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Identified as male during this period. Began exploring gender identity more deeply towards the end of this period." ]     ] )
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity"^^xsd:anyURI ] ;
    ( fhir:extension [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
a sct:33791000087105 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "33791000087105" ] ;
fhir:display [ fhir:v "Identifies as nonbinary gender" ]         ] ) ;
fhir:text [ fhir:v "Non-binary" ]       ]     ] [
fhir:url [ fhir:v "period"^^xsd:anyURI ] ;
fhir:value [
a fhir:Period ;
fhir:start [ fhir:v "2022-05-06"^^xsd:date ]       ]     ] [
fhir:url [ fhir:v "comment"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Currently identifies as non-binary and uses 'they/them' pronouns. Open to exploring further gender fluidity." ]     ] )
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/individual-pronouns"^^xsd:anyURI ] ;
    ( fhir:extension [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
a loinc:LA29520-6 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "LA29520-6" ] ;
fhir:display [ fhir:v "they/them/their/theirs/themselves" ]         ] )       ]     ] )
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender"^^xsd:anyURI ] ;
    ( fhir:extension [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/administrative-gender"^^xsd:anyURI ] ;
fhir:code [ fhir:v "male" ] ;
fhir:display [ fhir:v "Male" ]         ] )       ]     ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
a loinc:76689-9 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "76689-9" ] ;
fhir:display [ fhir:v "Sex Assigned At Birth" ]         ] )       ]     ] [
fhir:url [ fhir:v "effectivePeriod"^^xsd:anyURI ] ;
fhir:value [
a fhir:Period ;
fhir:start [ fhir:v "2001-10-24"^^xsd:date ]       ]     ] [
fhir:url [ fhir:v "acquisitionDate"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2019-11-01"^^xsd:date ]     ] [
fhir:url [ fhir:v "sourceDocument"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
a loinc:71230-7 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "71230-7" ] ;
fhir:display [ fhir:v "Birth certificate" ]         ] )       ] #     Reference to a scan of the birth certificate \n            (adapted from the R5 example to use codeable concept instead of a reference to a broken link in the R5 spec)      ] [
fhir:url [ fhir:v "sourceField"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Sex" ]     ] [
fhir:url [ fhir:v "jurisdiction"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
fhir:system [ fhir:v "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1/"^^xsd:anyURI ] ;
fhir:code [ fhir:v "VIC" ]         ] )       ]     ] )
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/example0" ]
  ] ; # 
  fhir:relationship ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ] ;
fhir:code [ fhir:v "N" ]     ] [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "FAMMEMB" ]     ] )
  ] ) ; # 
  fhir:name ( [
fhir:use [ fhir:v "usual" ] ;
fhir:family [ fhir:v "Baker" ] ;
    ( fhir:given [ fhir:v "Alex" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "(02) 5550 6767" ]
  ] ) ; # 
  fhir:gender [ fhir:v "other"] . #