Onyx Consent Authorization SAFHIR Implementation and Operations Guide
0.0.2 - ci-build

Onyx Consent Authorization SAFHIR Implementation and Operations Guide - Local Development build (v0.0.2). See the Directory of published versions

: Patient Consent Capability Statement - 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:CapabilityStatement;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "patient-consent-mgmt"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>PatientConsentManagementCapabilityStatement</h2><div><p>This implementation guide allws patients to log in via smart-on-fhir and manage their consent to share data to other patients, related persons, practitioners, and organizations. It also allows payers to record the apps that have been grantred access to APIs.</p>\n</div><table><tr><td>Mode</td><td>SERVER</td></tr><tr><td>Description</td><td><div><h1>Server Capability Statement</h1>\n<p>This capability statement enables a SAFHIR server to record Contracts and Consents used in managing FHIR APIs</p>\n</div></td></tr><tr><td>Transaction</td><td></td></tr><tr><td>System History</td><td></td></tr><tr><td>System Search</td><td></td></tr></table><table><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th><b title=\"GET a resource (read interaction)\">Read</b></th><th><b title=\"GET past versions of resources (vread interaction)\">V-Read</b></th><th><b title=\"GET all set of resources of the type (search interaction)\">Search</b></th><th><b title=\"PUT a new resource version (update interaction)\">Update</b></th><th><b title=\"PATCH a new resource version (patch interaction)\">Patch</b></th><th><b title=\"POST a new resource (create interaction)\">Create</b></th></tr><tr><td>Consent</td><td>y</td><td>y</td><td>y</td><td>y</td><td>y</td><td>y</td></tr><tr><td>Contract</td><td>y</td><td>y</td><td>y</td><td>y</td><td>y</td><td>y</td></tr><tr><td>Device</td><td>y</td><td>y</td><td>y</td><td>y</td><td>y</td><td>y</td></tr></table></div>"
  ];
  fhir:CapabilityStatement.url [ fhir:value "http://hl7.org/fhir/us/core/CapabilityStatement/patient-consent-mgmt"];
  fhir:CapabilityStatement.version [ fhir:value "0.0.2"];
  fhir:CapabilityStatement.name [ fhir:value "PatientConsentManagementCapabilityStatement"];
  fhir:CapabilityStatement.title [ fhir:value "Patient Consent Capability Statement"];
  fhir:CapabilityStatement.status [ fhir:value "active"];
  fhir:CapabilityStatement.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:CapabilityStatement.date [ fhir:value "2021-02-26"^^xsd:date];
  fhir:CapabilityStatement.publisher [ fhir:value "Onyx Technologies, LLC."];
  fhir:CapabilityStatement.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "Mark Scrimshire (mark.scrimshire@onyxhealth.io)" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "mailto:mark.scrimshire@onyxhealth.io" ]     ]
  ], [
     fhir:index 1;
     fhir:ContactDetail.name [ fhir:value "Onyx Technology, LLC" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "https://www.onyxhealth.io" ]     ]
  ];
  fhir:CapabilityStatement.description [ fhir:value "This implementation guide allws patients to log in via smart-on-fhir and manage their consent to share data to other patients, related persons, practitioners, and organizations. It also allows payers to record the apps that have been grantred access to APIs."];
  fhir:CapabilityStatement.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ];
       fhir:Coding.display [ fhir:value "United States of America" ]     ]
  ];
  fhir:CapabilityStatement.kind [ fhir:value "requirements"];
  fhir:CapabilityStatement.fhirVersion [ fhir:value "4.0.1"];
  fhir:CapabilityStatement.format [
     fhir:value "json";
     fhir:index 0
  ];
  fhir:CapabilityStatement.patchFormat [
     fhir:value "application/json-patch+json";
     fhir:index 0
  ];
  fhir:CapabilityStatement.rest [
     fhir:index 0;
     fhir:CapabilityStatement.rest.mode [ fhir:value "server" ];
     fhir:CapabilityStatement.rest.documentation [ fhir:value "# Server Capability Statement\nThis capability statement enables a SAFHIR server to record Contracts and Consents used in managing FHIR APIs " ];
     fhir:CapabilityStatement.rest.security [
       fhir:CapabilityStatement.rest.security.service [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/restful-security-service" ];
           fhir:Coding.code [ fhir:value "SMART-on-FHIR" ];
           fhir:Coding.display [ fhir:value "SMART-on-FHIR" ]         ];
         fhir:CodeableConcept.text [ fhir:value "See http://docs.smarthealthit.org/" ]       ];
       fhir:CapabilityStatement.rest.security.description [ fhir:value "1. See the [General Security Considerations](security.html) section for requirements and recommendations.\n1. A server **SHALL** reject any unauthorized requests by returning an `HTTP 401` unauthorized response code." ]     ];
     fhir:CapabilityStatement.rest.resource [
       fhir:index 0;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Consent" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://safhir.io/ig/safhir-ocasio/StructureDefinition/SafhirAppRegConsent";
         fhir:index 0;
         fhir:link <http://safhir.io/ig/safhir-ocasio/StructureDefinition/SafhirAppRegConsent>       ], [
         fhir:value "http://safhir.io/ig/safhir-ocasio/StructureDefinition/SafhirMemberConsent";
         fhir:index 1;
         fhir:link <http://safhir.io/ig/safhir-ocasio/StructureDefinition/SafhirMemberConsent>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "action" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "actor" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "consentor" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "data" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         fhir:index 6;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 7;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "organization" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 8;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 9;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "device" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 10;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "period" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         fhir:index 11;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "purpose" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 12;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "scope" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 13;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "security-label" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 14;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "source-reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 15;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ]     ], [
       fhir:index 1;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Contract" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://safhir.io/ig/safhir-ocasio/StructureDefinition/SafhirApiContract";
         fhir:index 0;
         fhir:link <http://safhir.io/ig/safhir-ocasio/StructureDefinition/SafhirApiContract>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "action" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "actor" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "consentor" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "data" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         fhir:index 6;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 7;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "organization" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 8;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 9;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "device" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 10;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "period" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         fhir:index 11;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "purpose" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 12;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "scope" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 13;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "security-label" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 14;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "source-reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 15;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ]     ], [
       fhir:index 2;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Device" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://safhir.io/ig/safhir-ocasio/StructureDefinition/SafhirApiDevice";
         fhir:index 0;
         fhir:link <http://safhir.io/ig/safhir-ocasio/StructureDefinition/SafhirApiDevice>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "device-name" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "owner" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "url" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "data" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         fhir:index 6;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 7;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "organization" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 8;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 9;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "device" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 10;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "period" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         fhir:index 11;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "purpose" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 12;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "scope" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 13;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "security-label" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 14;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "source-reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ]     ]
  ].

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

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