SGHI FHIR Profile Implementation Guide
0.1.0 - ci-build

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

## : Example SGHI Consent - TTL Representation

Raw ttl | Download

    @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 -------------------------------------------------------------------

     a fhir:Consent ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "ExampleSGHIConsent"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://fhir.slade360.co.ke/fhir/StructureDefinition/consent"^^xsd:anyURI ;
    fhir:l <https://fhir.slade360.co.ke/fhir/StructureDefinition/consent>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent ExampleSGHIConsent</b></p><a name=\"ExampleSGHIConsent\"> </a><a name=\"hcExampleSGHIConsent\"> </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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-consent.html\">SGHI Consent</a></p></div><h2>Participants</h2><table class=\"grid\"><tr><td><b>Role</b></td><td><b>Details</b></td></tr><tr><td title=\"Who the consent applies to\">Patient</td><td><a href=\"Patient-ExampleSGHIPatient.html\">James Pond(official) Male, DoB: 1990-07-15 ( Medical Record Number: 12345)</a></td></tr><tr><td title=\"Who is granting rights according to the policy and rules\">Grantor</td><td><a href=\"Organization-ExampleSGHIOrganization.html\">Organization SGHI Healthcare Organization</a></td></tr><tr><td title=\"Who is agreeing to the policy and rules\">Grantee</td><td><a href=\"Patient-ExampleSGHIPatient.html\">James Pond(official) Male, DoB: 1990-07-15 ( Medical Record Number: 12345)</a></td></tr><tr><td title=\"Who manages the consent through its lifecycle.\">Manager</td><td><a href=\"Organization-ExampleSGHIOrganization.html\">Organization SGHI Healthcare Organization</a></td></tr><tr><td title=\"Who controls/enforces the access according to the consent.\">Controller</td><td><a href=\"Organization-ExampleSGHIOrganization.html\">Organization SGHI Healthcare Organization</a></td></tr></table><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 2px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://hl7.org/fhir/R5/formats.html#table\" title=\"Applicable Rule\">Rule</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://hl7.org/fhir/R5/formats.html#table\" title=\"Applicable Parties\">Who</a><span style=\"float: right\"><a href=\"https://hl7.org/fhir/R5/formats.html#table\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_extension.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Consent Provision\" class=\"hierarchy\"/> permit</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"></td></tr>#xD;\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-qi-hidden.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Consent Provision\" class=\"hierarchy\"/> deny</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><ul><li>Actor:: <a href=\"Organization-ExampleSGHIOrganization.html\">Organization</a></li></ul></td></tr>#xD;\n<tr><td colspan=\"2\" class=\"hierarchy\"><br/><a href=\"https://hl7.org/fhir/R5/formats.html#table\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:identifier ( [
    fhir:use [ fhir:v "official" ] ;
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>         ] ;
    fhir:code [ fhir:v "MR" ] ;
    fhir:display [ fhir:v "Medical Record Number" ]       ] )     ] ;
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>     ] ;
    fhir:value [ fhir:v "550e8400-e29b-41d4-a716-446655440000" ] ;
    fhir:assigner [
    fhir:l fhir:Organization/ExampleSGHIOrganization ;
    fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]     ]
      ] ) ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:category ( [
        ( fhir:coding [
    fhir:code [ fhir:v "59284-0" ] ;
    fhir:display [ fhir:v "Patient Consent" ]     ] )
      ] ) ; #
      fhir:subject [
    fhir:l fhir:Patient/ExampleSGHIPatient ;
    fhir:reference [ fhir:v "Patient/ExampleSGHIPatient" ]
      ] ; #
      fhir:date [ fhir:v "2025-01-27"^^xsd:date] ; #
      fhir:grantor ( [
    fhir:l fhir:Organization/ExampleSGHIOrganization ;
    fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]
      ] ) ; #
      fhir:grantee ( [
    fhir:l fhir:Patient/ExampleSGHIPatient ;
    fhir:reference [ fhir:v "Patient/ExampleSGHIPatient" ]
      ] ) ; #
      fhir:manager ( [
    fhir:l fhir:Organization/ExampleSGHIOrganization ;
    fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]
      ] ) ; #
      fhir:controller ( [
    fhir:l fhir:Organization/ExampleSGHIOrganization ;
    fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]
      ] ) ; #
      fhir:verification ( [
    fhir:verified [ fhir:v true ] ;
    fhir:verifiedBy [
    fhir:l fhir:Organization/ExampleSGHIOrganization ;
    fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]     ] ;
    fhir:verifiedWith [
    fhir:l fhir:Patient/ExampleSGHIPatient ;
    fhir:reference [ fhir:v "Patient/ExampleSGHIPatient" ]     ] ;
        ( fhir:verificationDate [ fhir:v "2025-01-27"^^xsd:date ] )
      ] ) ; #
      fhir:decision [ fhir:v "permit"] ; #
      fhir:provision ( [
        ( fhir:actor [
    fhir:reference [
    fhir:l fhir:Organization/ExampleSGHIOrganization ;
    fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ] ;
    fhir:display [ fhir:v "Organization" ]       ]     ] )
      ] ) . #