Download OpenAPI specification:
API for managing patient prospective Gaps
This endpoint authenticates users and provides access tokens for subsequent API calls.
X-API-KEY required | string |
clientId required | string Unique Allymar defined ID for the client |
secret required | string Allymar provided client secret information |
username | string Name of the user using the system |
organizationId | string Allymar defined organization identifier |
{- "clientId": "string",
- "secret": "string",
- "username": "string",
- "organizationId": "string"
}
{- "accessToken": "string",
- "tokenType": "Bearer",
- "expiresIn": 3600
}
Identifies a patient by their personal details and membership information.
Authorization required | string Authentication Bearer token to allow request to be processed. This is the token that is provided during the 'token' API request. |
Content-Type required | string Default: application/json Media type of the body of the request. |
firstName required | string Patient first name |
lastName required | string Patient last name |
dob required | string <date> Patient date of birth |
memberId | string Member insurance ID. Conditional field. |
mrn | string Patient EHR unique identifier. Conditional field. |
zipCode | string Patient Zip code. Conditional field. |
insurer | string Patient insurance company. |
state | string Patient state. |
{- "firstName": "John",
- "lastName": "Doe",
- "dob": "1990-07-19",
- "memberId": "123445455",
- "mrn": "a1b2c3d4",
- "zipCode": "90210",
- "insurer": "United Health Care",
- "state": "Arizona"
}
{- "isEligible": "string",
- "patientId": "string"
}
Retrieves a document associated with a specific patient ID and document ID.
patientId required | string Unique identifier for the patient. |
documentId required | string Unique identifier for the document. |
Authorization required | string Authentication Bearer token to allow request to be processed. |
Identify patient's Diagnosis Gaps - HCC and non-HCC Gaps are indicated by the same function
Authorization required | string Authentication Bearer token to allow request to be processed. This is the token that is provided during the 'token' API request. |
Content-Type required | string Default: application/json Media type of the body of the request. |
patientId required | string |
YoS | string |
{- "patientId": "d4fon0UkvtdfNBW1JfD5",
- "YoS": "2023"
}
[- {
- "gapId": "123456789",
- "hccCode": 18,
- "hccDescription": "Diabetes with chronic complications",
- "icdCode": "E11.21",
- "icdDescription": "DM with nephropathy",
- "hccModel": "CMS",
- "hccModelVersion": "v24",
- "gapType": "Known",
- "gapStatus": "Closed",
- "rafScore": 2.659,
- "lastRecordedDos": "1990-07-19",
- "lastRecordedNpi": 123456789,
- "lastRecordedProviderName": "John Doe",
- "source": "2021 claims",
- "notes": "Please address all suggested gaps",
- "documentUrl": "string"
}
]
Authorization required | string Authentication Bearer token to allow request to be processed. This is the token that is provided during the 'token' API request. |
Content-Type required | string Default: application/json Media type of the body of the request. |
patientId required | string The unique ID of the patient. |
gapId required | string The unique ID of the gap selected by the user. |
gapType | string Enum: "Known" "Suspected" Indication for a previously known diagnosis or a suspected diagnosis. |
organizationName required | string The organization name associated with the user. |
vimOrganizationKey required | string The unique organization ID as available in the Vim system. |
userFirstName | string The user's first name. |
userLastName | string The user's last name. |
ehrUsername required | string The user's EHR username. |
userNpi | string The user's National Provider Identifier (NPI). |
encounterId | string The EHR encounter ID. |
encounterDate | string <date> |
gapSystem required | string The main gap system as displayed in the application. |
gapCode required | string The original code provided by the customer, which corresponds to the selected code(s) by the user. |
gapDescription | string The description of the gap selected by the user. |
selectedMedicalCodes required | Array of strings The ICD code(s) selected by the user. |
actionDate required | string <date> The date of the reported action (EST). |
actionType required | string Enum: "agree" "accept" "dismiss" "undo" The reason of the reported action. |
actionReason required | string The reason of the reported action. |
actionAdditionalComments | string The free text added by the user for the reported action. Available only for the "dismiss" actionType |
{- "patientId": "d4fon0UkvtdfNBW1JfD5",
- "gapId": "Ae3uywUB0YwdwxxdA4M5",
- "gapType": "Known",
- "organizationName": "Test Medical",
- "vimOrganizationKey": "string",
- "userFirstName": "John",
- "userLastName": "Doe",
- "ehrUsername": "JDoe",
- "userNpi": "1676809742",
- "encounterId": "string",
- "encounterDate": "2024-01-20",
- "gapSystem": "HCC",
- "gapCode": "59",
- "gapDescription": "Major Depressive, Bipolar, and Paranoid Disorders",
- "selectedMedicalCodes": [
- "3074F"
], - "actionDate": "2024-02-07",
- "actionType": "undo",
- "actionReason": "NOT_PRESENT",
- "actionAdditionalComments": "Patient did not display symptoms"
}
{- "updateStatus": "SUCCESS",
- "code": 1
}
Returns a list of care & quality gaps for a given patient based on their patientId.
Authorization required | string Authentication Bearer token to allow request to be processed. This is the token that is provided during the 'token' API request. |
Content-Type required | string Default: application/json Media type of the body of the request. |
patientId required | string |
YoS | string |
{- "patientId": "d4fon0UkvtdfNBW1JfD5",
- "YoS": "2023"
}
[- {
- "gapId": "123456789",
- "gapCode": "CBP",
- "gapDisplayName": "Control High Blood Pressure",
- "gapStatus": "Closed",
- "actionRequired": "Perform & code B/P check. Controlled is BELOW 140/90. Take REPEAT if necessary.",
- "priorValues": "Systolic / Diastolic: [X/Y]",
- "collectionDate": "1990-07-19",
- "cptCode": "3074F",
- "cptDescription": "Most recent systolic BP less than 130 mm Hg",
- "lastRecordedDos": "1990-07-19",
- "lastRecordedNpi": 123456789,
- "lastRecordedProviderName": "John Doe",
- "source": "2021 claims",
- "notes": "It's recommended to use category II codes claims for HEDIS"
}
]
Get feedback from the EHR (PCP) about the Care & Quality Gaps Feedback
Submits feedback for a specific care gap based on the provided information.
Authorization required | string Authentication Bearer token to allow request to be processed. This is the token that is provided during the 'token' API request. |
Content-Type required | string Default: application/json Media type of the body of the request. |
patientId required | string The unique ID of the patientId. |
gapId required | string The unique ID of the gap selected by the user. |
gapType | string Enum: "Known" "Suspected" Indication for a previously known diagnosis or a suspected diagnosis. |
organizationName required | string The organization name associated with the user. |
vimOrganizationKey required | string The unique organization ID as available in the Vim system. |
userFirstName | string The user's first name. |
userLastName | string The user's last name. |
ehrUsername required | string The user's EHR username. |
userNpi | string The user's National Provider Identifier (NPI). |
encounterId | string The EHR encounter ID. |
encounterDate required | string <date> The EHR encounter date according to the organization's timezone. |
gapSystem | string The main gap system as displayed in the application. |
gapCode | string The original code provided by the customer, which corresponds to the selected code(s) by the user. |
gapDescription | string The description of the gap selected by the user. |
selectedMedicalCodes | Array of strings The ICD code(s) selected by the user. |
actionDate required | string <date> The date of the reported action (EST). |
actionType required | string Enum: "agree" "dismiss" "accept" "undo" The reason of the reported action. |
actionReason required | string The reason of the reported action. |
actionAdditionalComments | string The free text added by the user for the reported action. Available only for the "dismiss" actionType |
{- "patientId": "d4fon0UkvtdfNBW1JfD5",
- "gapId": "Ae3uywUB0YwdwxxdA4M5",
- "gapType": "Known",
- "organizationName": "Test Medical",
- "vimOrganizationKey": "string",
- "userFirstName": "John",
- "userLastName": "Doe",
- "ehrUsername": "J_doe",
- "userNpi": "1676809742",
- "encounterId": "string",
- "encounterDate": "2024-01-20",
- "gapSystem": "HCC",
- "gapCode": "59",
- "gapDescription": "Major Depressive, Bipolar, and Paranoid Disorders",
- "selectedMedicalCodes": [
- "3074F"
], - "actionDate": "2024-02-07",
- "actionType": "undo",
- "actionReason": "NOT_PRESENT",
- "actionAdditionalComments": "Patient did not display symptoms"
}
{- "updateStatus": "SUCCESS",
- "code": 1
}
Get All the evidences and annotations for the given DxGap Id
Authorization required | string Authentication Bearer token to allow request to be processed. This is the token that is provided during the 'token' API request. |
Content-Type required | string Default: application/json Media type of the body of the request. |
patientId required | string Id of the Patient |
gapId required | string Id of the specific DxGap |
chartId | string Id of the specific Chart |
evidenceId | string Id of the specific Evidence |
{- "patientId": "string",
- "gapId": "string",
- "chartId": "string",
- "evidenceId": "string"
}
[ ]