@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 -------------------------------------------------------------------

<http://hl7.org/fhir/uv/admin-incubator/PersonalRelationship/example> a fhir:PersonalRelationship ;
  fhir:resourceDefinition http://hl7.org/fhir/StructureDefinition/PersonalRelationship|0.1.0 ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: PersonalRelationship example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><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\">Language: en</p></div><p><b>source</b>: <a href=\"Patient/example\">Patient/example</a></p><p><b>relationshipType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode WIFE}\">wife</span></p><p><b>target</b>: <a href=\"Patient/example\">Patient/example</a></p><p><b>period</b>: 2022-05-19 --&gt; (ongoing)</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:source [
     fhir:l <http://hl7.org/fhir/uv/admin-incubator/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:relationshipType [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-RoleCode>
       ] ;
       fhir:code [ fhir:v "WIFE" ]
     ] )
  ] ; # 
  fhir:target [
     fhir:l <http://hl7.org/fhir/uv/admin-incubator/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:period ( [
     fhir:start [ fhir:v "2022-05-19"^^xsd:date ]
  ] ) . # 

<http://hl7.org/fhir/uv/admin-incubator/Patient/example> a fhir:Uv .

# -------------------------------------------------------------------------------------

