Virtually Healthcare HL7 FHIR R4 Implementation Guide
0.1.0-current - ci-build United Kingdom flag

Virtually Healthcare HL7 FHIR R4 Implementation Guide, published by Virtually Healthcare. This guide is not an authorized publication; it is the continuous build for version 0.1.0-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Virtually-Healthcare/HL7-FHIR-Implementation-Guide/ and changes regularly. See the Directory of published versions

: 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 "CE234750"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://fhir.virtually.healthcare/StructureDefinition/RelatedPerson"^^xsd:anyURI ;
fhir:link <https://fhir.virtually.healthcare/StructureDefinition/RelatedPerson>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson CE234750</b></p><a name=\"CE234750\"> </a><a name=\"hcCE234750\"> </a><a name=\"CE234750-en-GB\"> </a><p><b>identifier</b>: <code>https://fhir.nhs.uk/Id/nhs-number</code>/9730906203</p><p><b>active</b>: true</p><p><b>patient</b>: Identifier: <code>https://fhir.nhs.uk/Id/nhs-number</code>/9730906181</p><p><b>relationship</b>: <span title=\"Codes:{https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalPersonRelationshipRole Carer}, {https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalPersonRelationshipRole Agent}, {http://terminology.hl7.org/CodeSystem/v3-RoleCode NOK}\">Carer of patient</span></p><p><b>name</b>: Mathew Gerard LALLY </p><p><b>period</b>: 2024-02-21 --&gt; (ongoing)</p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "https://fhir.nhs.uk/Id/nhs-number"^^xsd:anyURI ] ;
fhir:value [ fhir:v "9730906203" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:patient [
fhir:identifier [
fhir:system [ fhir:v "https://fhir.nhs.uk/Id/nhs-number"^^xsd:anyURI ] ;
fhir:value [ fhir:v "9730906181" ]     ]
  ] ; # 
  fhir:relationship ( [
    ( fhir:coding [
fhir:system [ fhir:v "https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalPersonRelationshipRole"^^xsd:anyURI ] ;
fhir:code [ fhir:v "Carer" ] ;
fhir:display [ fhir:v "Carer of patient" ]     ] [
fhir:system [ fhir:v "https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalPersonRelationshipRole"^^xsd:anyURI ] ;
fhir:code [ fhir:v "Agent" ] ;
fhir:display [ fhir:v "Agent of patient" ]     ] [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NOK" ] ;
fhir:display [ fhir:v "next of kin" ]     ] )
  ] ) ; # 
  fhir:name ( [
fhir:use [ fhir:v "usual" ] ;
fhir:family [ fhir:v "LALLY" ] ;
    ( fhir:given [ fhir:v "Mathew" ] [ fhir:v "Gerard" ] ) ;
    ( fhir:prefix [ fhir:v "Mr" ] ) ;
fhir:period [
fhir:start [ fhir:v "2024-02-21"^^xsd:date ]     ]
  ] ) ; # 
  fhir:period [
fhir:start [ fhir:v "2024-02-21"^^xsd:date ]
  ] . #