Skip to content

Instantly share code, notes, and snippets.

View aviars's full-sized avatar

Alan Viars aviars

  • Videntity
  • USA, Planet Earth
View GitHub Profile
{
"resourceType": "PractitionerRole",
"meta": {
"lastUpdated": "2022-03-31"
},
"id": "ae5a9a0c-132c-4180-9aed-5c649d66d574",
"text": {
"status": "generated",
"div": "<div xmlns=http://www.w3.org/1999/xhtml><p>ALISON KAVANAUGH </p></div>"
},
@aviars
aviars / IAL-evidence-classifications.md
Last active August 23, 2019 04:42
IAL-evidence-classifications

Here is what we have now as a global list.

IAL_EVIDENCE_CLASSIFICATIONS = [
    ('', 'No Identity Assurance evidence'),
    ('ONE-SUPERIOR-OR-STRONG+','One Superior or Strong+ pieces of identity evidence'),
    ('ONE-STRONG-TWO-FAIR', 'One Strong and Two Fair pieces of identity evidence'),
    ('TWO-STRONG','Two Pieces of Strong identity evidence'),
    ('TRUSTED-REFEREE-VOUCH', 'I am a Trusted Referee Vouching for this person'),

('KBA','Knowledged-Based Identity Verification')]

@aviars
aviars / .env
Last active August 8, 2019 01:17 — forked from whytheplatypus/.env
local smh -> vmi
VMI_KEY="vmi key for use by smh"
VMI_SECRET="vmi secret fro use by smh"
SMH_KEY="smh key for use by smh_app"
SMH_SECRET="smh secret for use by smh_app"
APP_VMI_KEY="vmi key for use by smh_app"
APP_VMI_SECRET="vmi secret for use by smh_app"
@aviars
aviars / madigan.json
Created June 27, 2019 19:54
madigan-trotroy.json
This file has been truncated, but you can view the full file.
{
"resourceType": "Bundle",
"entry": [{
"resource": {
"resourceType": "Composition",
"id": "1",
"identifier": {
"use": "official",
"value": "527fb3b2-1b78-4edd-b682-d785a6f6e76e"
},
{
"resourceType": "Bundle",
"entry": [{
"resource": {
"resourceType": "Practitioner",
"id": "example",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Robert K Smith is a PT </p>\n </div>"
},
{
"resourceType": "Bundle",
"entry": [{
"resource": {
"resourceType": "Composition",
"id": "1",
"identifier": {
"use": "official",
"value": "742c5d00-8b44-4872-845b-738239ba5a7a"
},
@aviars
aviars / vmi-api.md
Last active March 13, 2019 20:20
VMI API for User CRUD

User Create/Modify User Quick Start - Consumer Directed Exchange

The following example illustrates how to create new users in the VerifyMyIdentity, a certified Open ID Connect (OIDC) Identity Provider. The following examples create Community Member accounts for purposes of Consumer Directed Exchange (CDeX). These API calls are designed to be used by trusted 3rd party applications,

The field names and structure of the HTTP request\response bodies mirror and build upon Open ID Connect (OIDC) https://openid.net/specs/openid-connect-core-1_0.html and the iGov Profile for OpenID Connect https://openid.net/specs/openid-igov-openid-connect-1_0-02.html

Create a User (Basic Example)

{
"aud": "kSFVM8R7IATmzj8y7tOC99XFfmjJJ3TISSKiIlWp",
"auth_time": 1552485308.597905,
"email": "aviars@videntity.com",
"exp": 1552488913.222663,
<?xml version="1.0" encoding="UTF-8"?>
<ClinicalDocument xmlns="urn:hl7-org:v3">
<realmCode code="US"/>
<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
<templateId root="2.16.840.1.113883.10.20.22.1.1"/>
<templateId root="2.16.840.1.113883.10.20.22.1.1" extension="2015-08-01"/>
<templateId root="2.16.840.1.113883.10.20.22.1.2"/>
<templateId root="2.16.840.1.113883.10.20.22.1.2" extension="2015-08-01"/>
<id root="742c5d00-8b44-4872-845b-738239ba5a7a"/>
<code code="34133-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LN" displayName="Summarization of Episode Note"/>
@aviars
aviars / patient-search-request-body.json
Created February 4, 2019 15:46
example patient search body
'aud': 'kSFVM8R7IATmzj8y7tOC99XFfmjJJ3TISSKiIlWp',
'auth_time': 1549289740.153844,
'email': 'aviars@videntity.com',
'exp': 1549298609.7416735,
'iat': 1549295009.7416809,
'iss': 'https://alpha.verifymyidentity.com',
'nonce': 'REizxdkeo2QAxil4cKN0MfSq9cqvIvES8GzDYYBwW3MiEdsq9nUcZi5C1RC72UQ2',
'sub': '304685313797962',
'aal': '2',