@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://br-core.saude.gov.br/fhir/RelatedPerson/f48ffa19-7af8-4377-aab8-2c98ca1ce07b> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "f48ffa19-7af8-4377-aab8-2c98ca1ce07b"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Narrativa gerada: RelatedPerson f48ffa19-7af8-4377-aab8-2c98ca1ce07b</b></p><a name=\"f48ffa19-7af8-4377-aab8-2c98ca1ce07b\"> </a><a name=\"hcf48ffa19-7af8-4377-aab8-2c98ca1ce07b\"> </a><p><b>identifier</b>: <a href=\"https://terminologia.saude.gov.br/fhir/v1.0.0/NamingSystem-cns.html\" title=\"CARTÃO NACIONAL DE SAÚDE\">NamingSystemCNS</a>/123456789012345 (utilização: official, )</p><p><b>active</b>: true</p><p><b>patient</b>: <a href=\"Patient-b2f63a4c-ddaa-4652-8481-ac1ff473104e.html\">José da Silva</a></p><p><b>relationship</b>: <span title=\"Códigos:{http://terminology.hl7.org/CodeSystem/v3-RoleCode SPS}\">Cônjuge</span></p><p><b>name</b>: Maria de Souza(Official)</p><p><b>telecom</b>: <a href=\"tel:+55-11-98765-4321\">+55-11-98765-4321</a>, <a href=\"mailto:maria.souza@example.com\">maria.souza@example.com</a></p><p><b>gender</b>: Female</p><p><b>birthDate</b>: 1985-06-15</p><p><b>address</b>: Rua das Flores, 123 São Paulo SP 01234-567 BR (home)</p><h3>Communications</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Preferred</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Códigos:{urn:ietf:bcp:47 pt-BR}\">Portuguese (Brazil)</span></td><td>true</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [ fhir:v "https://saude.gov.br/fhir/sid/cns"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "123456789012345" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:patient [
     fhir:link <https://br-core.saude.gov.br/fhir/Patient/b2f63a4c-ddaa-4652-8481-ac1ff473104e> ;
     fhir:reference [ fhir:v "Patient/b2f63a4c-ddaa-4652-8481-ac1ff473104e" ] ;
     fhir:display [ fhir:v "José da Silva" ]
  ] ; # 
  fhir:relationship ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "SPS" ] ;
       fhir:display [ fhir:v "Spouse" ]
     ] ) ;
     fhir:text [ fhir:v "Cônjuge" ]
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:text [ fhir:v "Maria de Souza" ] ;
     fhir:family [ fhir:v "Souza" ] ;
     fhir:given ( [ fhir:v "Maria" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+55-11-98765-4321" ] ;
     fhir:use [ fhir:v "mobile" ]
  ] [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "maria.souza@example.com" ] ;
     fhir:use [ fhir:v "home" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1985-06-15"^^xsd:date] ; # 
  fhir:address ( [
     fhir:use [ fhir:v "home" ] ;
     fhir:type [ fhir:v "both" ] ;
     fhir:line ( [ fhir:v "Rua das Flores, 123" ] ) ;
     fhir:city [ fhir:v "São Paulo" ] ;
     fhir:district [ fhir:v "Jardim Paulista" ] ;
     fhir:state [ fhir:v "SP" ] ;
     fhir:postalCode [ fhir:v "01234-567" ] ;
     fhir:country [ fhir:v "BR" ]
  ] ) ; # 
  fhir:communication ( [
     fhir:language [
       fhir:coding ( [
         fhir:system [ fhir:v "urn:ietf:bcp:47"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "pt-BR" ] ;
         fhir:display [ fhir:v "Portuguese (Brazil)" ]
       ] )
     ] ;
     fhir:preferred [ fhir:v true ]
  ] ) . # 

# -------------------------------------------------------------------------------------

