POCP Prescription Enrollment
0.1.0 - CI Build US

POCP Prescription Enrollment - Local Development build (v0.1.0). See the Directory of published versions

: Rx Enroll Consent 1 - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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:Consent;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "rx-enroll-consent-1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-consent";
       fhir:index 0;
       fhir:link <http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-consent>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"rx-enroll-consent-1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-rx-enroll-consent.html\">Rx Enroll Consent</a></p></div><p><b>identifier</b>: id: tim-doe-signed-consent</p><p><b>status</b>: active</p><p><b>scope</b>: Privacy Consent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-consentscope.html\">Consent Scope Codes</a>#patient-privacy)</span></p><p><b>category</b>: Consent Document <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#59284-0)</span></p><p><b>patient</b>: <a href=\"Patient-specialty-rx-patient-1.html\">Patient/specialty-rx-patient-1: Timothy Doe</a> \" DOE\"</p><p><b>dateTime</b>: 2021-12-01 04:34:28-0500</p><p><b>performer</b>: <a href=\"Patient-specialty-rx-patient-1.html\">Patient/specialty-rx-patient-1: Timothy Doe</a> \" DOE\"</p><p><b>organization</b>: <a href=\"Organization-us-core-organization-clinic-1.html\">Organization/us-core-organization-clinic-1: Acme Clinic</a> \"Acme Clinic\"</p><p><b>source</b>: </p><p><b>policyRule</b>: opt-in <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ActCode.html\">ActCode</a>#OPTIN)</span></p></div>"
  ];
  fhir:Consent.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://www.example.org/ids" ];
     fhir:Identifier.value [ fhir:value "tim-doe-signed-consent" ]
  ];
  fhir:Consent.status [ fhir:value "active"];
  fhir:Consent.scope [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentscope" ];
       fhir:Coding.code [ fhir:value "patient-privacy" ]     ]
  ];
  fhir:Consent.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:59284-0;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "59284-0" ];
       fhir:Coding.display [ fhir:value "Consent Document" ]     ]
  ];
  fhir:Consent.patient [
     fhir:Reference.reference [ fhir:value "Patient/specialty-rx-patient-1" ];
     fhir:Reference.display [ fhir:value "Timothy Doe" ]
  ];
  fhir:Consent.dateTime [ fhir:value "2021-12-01T16:34:28.000-05:00"^^xsd:dateTime];
  fhir:Consent.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Patient/specialty-rx-patient-1" ];
     fhir:Reference.display [ fhir:value "Timothy Doe" ]
  ];
  fhir:Consent.organization [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/us-core-organization-clinic-1" ];
     fhir:Reference.display [ fhir:value "Acme Clinic" ]
  ];
  fhir:Consent.sourceAttachment [
     fhir:Attachment.contentType [ fhir:value "application/fhir+json" ];
     fhir:Attachment.data [ fhir:value "QSBzaWduZWQgY29uc2VudCBmb3JtIGluIGEgUERG"^^xsd:base64Binary ];
     fhir:Attachment.creation [ fhir:value "2021-12-01T16:35:00.000-05:00"^^xsd:dateTime ]
  ];
  fhir:Consent.policyRule [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
       fhir:Coding.code [ fhir:value "OPTIN" ];
       fhir:Coding.display [ fhir:value "opt-in" ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.