@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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://fhir.developer.gene.com/Consent/5d238136-7d86-460c-a737-227077a52689> a fhir:Consent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "5d238136-7d86-460c-a737-227077a52689"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.developer.gene.com/StructureDefinition/uapi-consent"^^xsd:anyURI ;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-consent>
     ] )
  ] ; # 
  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: Consent 5d238136-7d86-460c-a737-227077a52689</b></p><a name=\"5d238136-7d86-460c-a737-227077a52689\"> </a><a name=\"hc5d238136-7d86-460c-a737-227077a52689\"> </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-uapi-consent.html\">UAPI Consent</a></p></div><p><b>status</b>: Active</p><p><b>scope</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentscope patient-privacy}\">Privacy Consent</span></p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 59284-0}\">Patient Authorization Signature</span></p><p><b>patient</b>: <a href=\"Bundle-13778a5c-73de-46e4-bb5a-3781a5c93b5e.html#urn-uuid-fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">Bundle: identifier = Resource identifier: da5e1572-cc88-4e4d-9899-e3553f680d87; type = message; timestamp = 2020-03-11 08:10:13-0500</a></p><p><b>dateTime</b>: 2018-07-19 12:24:45+0000</p><p><b>performer</b>: <a href=\"Bundle-13778a5c-73de-46e4-bb5a-3781a5c93b5e.html#urn-uuid-4db51d32-65c3-4f8c-959e-0155c6d14545\">Bundle: identifier = Resource identifier: da5e1572-cc88-4e4d-9899-e3553f680d87; type = message; timestamp = 2020-03-11 08:10:13-0500</a></p><p><b>policyRule</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentpolicycodes hipaa-auth}\">HIPAA Authorization</span></p><h3>Provisions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>Opt In</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:scope [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentscope"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "patient-privacy" ] ;
       fhir:display [ fhir:v "Privacy Consent" ]
     ] )
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       a loinc:59284-0 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "59284-0" ] ;
       fhir:display [ fhir:v "Patient Authorization Signature" ]
     ] )
  ] ) ; # 
  fhir:patient [
     fhir:reference [ fhir:v "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ] ;
     fhir:type [ fhir:v "Patient"^^xsd:anyURI ]
  ] ; # 
  fhir:dateTime [ fhir:v "2018-07-19T12:24:45Z"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "urn:uuid:4db51d32-65c3-4f8c-959e-0155c6d14545" ] ;
     fhir:type [ fhir:v "RelatedPerson"^^xsd:anyURI ]
  ] ) ; # 
  fhir:policyRule [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentpolicycodes"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "hipaa-auth" ] ;
       fhir:display [ fhir:v "HIPAA Authorization" ]
     ] )
  ] ; # 
  fhir:provision [
     fhir:type [ fhir:v "permit" ]
  ] . # 

# -------------------------------------------------------------------------------------

