MediRecords FHIR Implementation Guide
1.3.0 - release


: MediRecords 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:id [ fhir:v "1e5cae20-85bf-11e8-b401-ffccd711ad9r"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-related-person-core"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-related-person-core>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: RelatedPerson</b><a name=\"1e5cae20-85bf-11e8-b401-ffccd711ad9r\"> </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;1e5cae20-85bf-11e8-b401-ffccd711ad9r&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-related-person-core.html\">MediRecords RelatedPerson</a></p></div><p><b>patient</b>: <a href=\"Patient-1e5cae20-85bf-11e8-b401-ffccd711ad9c.html\">Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c</a> &quot; GREY&quot;</p><p><b>relationship</b>: brother <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-RoleCode.html\">RoleCode</a>#BRO)</span>, Emergency Contact <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v2-0131.html\">contactRole2</a>#C)</span>, Next-of-Kin <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v2-0131.html\">contactRole2</a>#N)</span></p><p><b>name</b>: Sean, Abbot</p><p><b>telecom</b>: ph: 0410999998(MOBILE), <a href=\"mailto:sean@nobody.com\">sean@nobody.com</a></p></div>"
  ] ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c" ]
  ] ; # 
  fhir:relationship ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "BRO" ] ;
fhir:display [ fhir:v "brother" ]     ] )
  ] [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ] ;
fhir:code [ fhir:v "C" ] ;
fhir:display [ fhir:v "Emergency Contact" ]     ] )
  ] [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ] ;
fhir:code [ fhir:v "N" ] ;
fhir:display [ fhir:v "Next-of-Kin" ]     ] )
  ] ) ; # 
  fhir:name ( [
fhir:text [ fhir:v "Sean, Abbot" ]
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0410999998" ] ;
fhir:use [ fhir:v "mobile" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "sean@nobody.com" ] ;
fhir:use [ fhir:v "home" ]
  ] ) . #