Download OpenAPI specification:
Prospective APIs to include additional field in patient, book and update appointment, patient listing
This endpoint authenticates users and provides access tokens for subsequent API calls. In production additional HTTP response headers like X-Frame-Options, X-XSS-Protection, and Content-Security-Policy would be included to enhance security against common web vulnerabilities. Please note this token expires every hour and a new token can be requested using the same API.
| X-API-KEY required | string |
| clientId required | string Unique Allymar defined ID for the client |
| secret required | string Allymar provided client secret information |
| username required | string Name of the user using the system |
| organizationId required | string Allymar defined organization identifier |
{- "clientId": "string",
- "secret": "string",
- "username": "string",
- "organizationId": "string"
}{- "accessToken": "string",
- "tokenType": "Bearer",
- "expiresIn": 3600
}This endpoint is used to create patient
| 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. |
| memberId required | string Member ID of the patient |
| subscriberKey | string Subscriber key of the patient |
| firstName required | string First name of the patient |
| middleName | string Middle name of the patient |
| lastName required | string Last name of the patient |
| dob required | string Date of birth of the patient |
| gender required | string Gender of the patient |
| socialSecurityNumber | Array of strings Member Social Security Number |
| county | string Member County |
| beneficiaryID | Array of strings Medicare Beneficiary ID |
| race | string Member's Race |
| ethnicityType | string Member's ethnicity |
| raceSource | string Member's Race Data Source |
| ethnicitySource | string Member's Ethnicity Data Source |
| maritalStatus | string Member's Marital Status |
| medicaidId | string Member's Medicaid ID |
| MRN | Array of strings MRNs of the patient |
Array of objects | |
Array of objects | |
Array of objects | |
| additionalDetails | object Provide patient metadata in key-value pairs |
{- "memberId": "string",
- "subscriberKey": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "dob": "string",
- "gender": "string",
- "socialSecurityNumber": [
- "string"
], - "county": "string",
- "beneficiaryID": [
- "string"
], - "race": "string",
- "ethnicityType": "string",
- "raceSource": "string",
- "ethnicitySource": "string",
- "maritalStatus": "string",
- "medicaidId": "string",
- "MRN": [
- "string"
], - "address": [
- {
- "type": "Home",
- "fullAddress": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string"
}
], - "phone": [
- {
- "type": "memberPhone1",
- "number": "string"
}
], - "email": [
- {
- "address": "string"
}
], - "additionalDetails": { }
}{- "patientId": "string"
}To retrieve the Patient information using the MemberId or PatientId
| memberId | string Unique member ID of the patient |
| patientId | string Unique ID of the patient. |
| Authorization required | string Authentication Bearer token required for processing the request. This token is provided during the 'token' API request. |
| Content-Type required | string Default: application/json Media type of the body of the request. |
{- "memberId": "string",
- "subscriberKey": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "dob": "string",
- "gender": "string",
- "socialSecurityNumber": [
- "string"
], - "county": "string",
- "beneficiaryID": [
- "string"
], - "race": "string",
- "ethnicityType": "string",
- "raceSource": "string",
- "ethnicitySource": "string",
- "maritalStatus": "string",
- "medicaidId": "string",
- "MRN": [
- "string"
], - "address": [
- {
- "type": "string",
- "fullAddress": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string"
}
], - "phone": [
- {
- "type": "string",
- "number": "string"
}
], - "email": [
- {
- "address": "string"
}
], - "additionalDetails": [
- {
- "id": "string",
- "type": "string"
}
]
}This endpoint is used to update the details of an existing patient.
| memberId required | string Unique identifier of the patient to be updated. |
| Authorization required | string Authentication Bearer token required for processing the request. This token is provided during the 'token' API request. |
| Content-Type required | string Default: application/json Media type of the body of the request. |
| memberId required | string Member ID of the patient |
| subscriberKey | string Subscriber key of the patient |
| firstName required | string First name of the patient |
| middleName | string Middle name of the patient |
| lastName required | string Last name of the patient |
| dob required | string Date of birth of the patient |
| gender required | string Gender of the patient |
| socialSecurityNumber | Array of strings Member Social Security Number |
| county | string Member County |
| beneficiaryID | Array of strings Medicare Beneficiary ID |
| race | string Member's Race |
| ethnicityType | string Member's ethnicity |
| raceSource | string Member's Race Data Source |
| ethnicitySource | string Member's Ethnicity Data Source |
| maritalStatus | string Member's Marital Status |
| medicaidId | string Member's Medicaid ID |
| MRN | Array of strings MRNs of the patient |
Array of objects | |
Array of objects | |
Array of objects | |
| additionalDetails | object Provide patient metadata in key-value pairs |
{- "memberId": "string",
- "subscriberKey": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "dob": "string",
- "gender": "string",
- "socialSecurityNumber": [
- "string"
], - "county": "string",
- "beneficiaryID": [
- "string"
], - "race": "string",
- "ethnicityType": "string",
- "raceSource": "string",
- "ethnicitySource": "string",
- "maritalStatus": "string",
- "medicaidId": "string",
- "MRN": [
- "string"
], - "address": [
- {
- "type": "Home",
- "fullAddress": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string"
}
], - "phone": [
- {
- "type": "memberPhone1",
- "number": "string"
}
], - "email": [
- {
- "address": "string"
}
], - "additionalDetails": { }
}{- "patientId": "ABcdefGhIjklmnoP",
- "message": "Patient updated successfully"
}This endpoint is used to Delete the details of an existing patient.
| memberId required | string Unique identifier of the patient to be deleted. |
| Authorization required | string Authentication Bearer token required for processing the request. This token is provided during the 'token' API request. |
| Content-Type required | string Default: application/json Media type of the body of the request. |
{- "message": "Patient deleted successfully"
}Retrieves a paginated list of patients from the database.
| Authorization required | string Authentication Bearer token required for processing the request. This token is provided during the 'token' API request. |
| Content-Type required | string Default: application/json Media type of the body of the request. |
| page required | integer The page number. |
| pageSize required | integer The number of patient entries per page. |
{- "page": 1,
- "pageSize": 20
}{- "recordCount": 0,
- "page": 0,
- "pageSize": 0,
- "Patients": [
- { }
]
}Activate the patient using memberId or Patient Document 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. |
| memberId required | string unique member ID of the patient |
| patientId | string document ID of the patient |
{- "memberId": "string",
- "patientId": "string"
}{- "message": "Patient is activated successfully."
}Deactivate the patient using memberId or Patient Document 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. |
| memberId required | string unique member ID of the patient |
| patientId | string document ID of the patient |
{- "memberId": "string",
- "patientId": "string"
}{- "message": "Patient is deactivated successfully."
}Fetches a list of patients who are attributed to the specified provider (tin).
| tin | integer Unique TIN number. |
| Authorization required | string Authentication Bearer token to allow the request to be processed. This token is obtained through the 'token' API request. |
{- "data": [
- {
- "memberId": "123456789",
- "firstName": "John",
- "lastName": "Doe",
- "memberDob": "01-15-1980"
}
]
}API to schedule appointment
| 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. |
| memberId required | string Unique identifier of the patient. |
| status | string Enum: "proposed" "pending" "booked" "arrived" "fulfilled" "cancelled" "noshow" The status of the appointment. |
| serviceCategory | string Category of the service for the appointment. |
| type | string Default: "checkup" Enum: "checkup" "emergency" "followup" "routine" "walkin" Type of the appointment. Defaults to "checkup." |
| appointmentStartDate required | string <date-time> The start date and time of the appointment in ISO 8601 format. |
| appointmentEndDate required | string <date-time> The end date and time of the appointment in ISO 8601 format. |
| renderingNPI | string The rendering NPI used for the appointment scheduling. |
| vendor | string The vendor associated with the appointment. |
| appointmentLocation | string Location of the appointment - Facility name or practice name |
{- "memberId": "string",
- "status": "proposed",
- "serviceCategory": "string",
- "type": "checkup",
- "appointmentStartDate": "09-25-2019T14:15",
- "appointmentEndDate": "09-24-2019T20:15",
- "renderingNPI": "string",
- "vendor": "string",
- "appointmentLocation": "string"
}{- "message": {
- "Id": "string",
- "memberId": "string",
- "status": "string",
- "serviceCategory": "string",
- "type": "checkup",
- "appointmentStartDate": "09-25-2019T14:15",
- "appointmentEndDate": "09-24-2019T20:15",
- "renderingNPI": "string",
- "vendor": "string",
- "appointmentLocation": "string",
- "timestamp": "string",
- "isDeleted": true,
- "batchId": "string"
}
}API to update the details of an existing appointment.
| Id required | string The unique identifier of the appointment to be updated. |
| Authorization required | string Authentication Bearer token to allow the 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. |
| memberId required | string Unique identifier of the patient. |
| status | string Enum: "proposed" "pending" "booked" "arrived" "fulfilled" "cancelled" "noshow" The status of the appointment. |
| serviceCategory | string Category of the service for the appointment. |
| type | string Default: "checkup" Enum: "checkup" "emergency" "followup" "routine" "walkin" Type of the appointment. Defaults to "checkup." |
| appointmentStartDate required | string <date-time> The start date and time of the appointment in ISO 8601 format. |
| appointmentEndDate required | string <date-time> The end date and time of the appointment in ISO 8601 format. |
| renderingNPI | string The rendering NPI used for the appointment scheduling. |
| vendor | string The vendor associated with the appointment. |
| appointmentLocation | string Location of the appointment - Facility name or practice name |
{- "memberId": "string",
- "status": "proposed",
- "serviceCategory": "string",
- "type": "checkup",
- "appointmentStartDate": "09-25-2019T14:15",
- "appointmentEndDate": "09-24-2019T20:15",
- "renderingNPI": "string",
- "vendor": "string",
- "appointmentLocation": "string"
}{- "message": {
- "Id": "string",
- "memberId": "string",
- "status": "string",
- "serviceCategory": "string",
- "type": "checkup",
- "appointmentStartDate": "09-25-2019T14:15",
- "appointmentEndDate": "09-24-2019T20:15",
- "renderingNPI": "string",
- "vendor": "string",
- "appointmentLocation": "string",
- "timestamp": "string",
- "isDeleted": true,
- "batchId": "string"
}
}API to fetch the details of an existing appointment.
| Id required | string The unique identifier of the appointment to be fetched. |
| Authorization required | string Authentication Bearer token to allow the 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. |
{- "message": {
- "Id": "string",
- "memberId": "string",
- "status": "string",
- "serviceCategory": "string",
- "type": "checkup",
- "appointmentStartDate": "09-25-2019T14:15",
- "appointmentEndDate": "09-24-2019T20:15",
- "renderingNPI": "string",
- "vendor": "string",
- "appointmentLocation": "string",
- "timestamp": "string",
- "isDeleted": true,
- "batchId": "string"
}
}API to delete the details of an appointment.
| Id required | string The unique identifier of the appointment to be deleted. |
| Authorization required | string Authentication Bearer token to allow the 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. |
{- "message": "Appointment deleted successfully"
}API to fetch all the existing appointments for a member.
| memberId required | string The unique identifier of the member. |
| Authorization required | string Authentication Bearer token to allow the 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. |
[- {
- "message": {
- "Id": "string",
- "memberId": "string",
- "status": "string",
- "serviceCategory": "string",
- "type": "checkup",
- "appointmentStartDate": "09-25-2019T14:15",
- "appointmentEndDate": "09-24-2019T20:15",
- "renderingNPI": "string",
- "vendor": "string",
- "appointmentLocation": "string",
- "timestamp": "string",
- "isDeleted": true,
- "batchId": "string"
}
}
]Add new provider 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. |
| providerNPI required | string National Provider Identifier (NPI). |
| providerId required | string This is the internal (plan) Provider ID field and is unique to the Provider |
| type required | string Individual or Organization |
| groupName | string Provider Group Name |
| firstName required | string Providers first name |
| middleName | string Provider's Middle name |
| lastName required | string Providers last name |
| TIN | string Provider's Tax ID |
| TINQualifier | string Provider's Tax ID Qualifier |
| credentials | string Provider's Credential |
| primaryTaxonomyCode | string The Taxonomy code for this provider. If taxonomy is not available then the CMS specialty code can be provided. |
| additionalTaxonomyCode | string Additional Taxonomy codes if provider has multiple taxonomy codes. Use as additional specialty codes if plan is not using taxonomy codes. |
| primarySpecialtyCode | string The specialty code for this provider If the plan does not use taxonomy codes |
| additionalSpecialtyCode | string Additional Specialty codes if provider has multiple specialty codes. |
required | Array of objects |
Array of objects | |
Array of objects |
{- "providerNPI": "string",
- "providerId": "string",
- "type": "string",
- "groupName": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "TIN": "string",
- "TINQualifier": "string",
- "credentials": "string",
- "primaryTaxonomyCode": "string",
- "additionalTaxonomyCode": "string",
- "primarySpecialtyCode": "string",
- "additionalSpecialtyCode": "string",
- "address": [
- {
- "type": "Home",
- "address": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string"
}
], - "phone": [
- {
- "type": "Phone",
- "number": "string"
}
], - "email": [
- {
- "address": "string"
}
]
}{- "message": "string",
- "providerId": "areiu12"
}Retrieve detailed information about a provider using their National Provider Identifier (NPI).
| providerNPI required | string The unique National Provider Identifier (NPI) for the provider. |
{- "batchId": "string",
- "Id": "string",
- "providerNPI": "string",
- "providerId": "string",
- "type": "string",
- "groupName": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "TIN": "string",
- "TINQualifier": "string",
- "credentials": "string",
- "primaryTaxonomyCode": "string",
- "primaryTaxonomyDescription": "string",
- "additionalTaxonomyCode": "string",
- "primarySpecialtyCode": "string",
- "primarySpecialtyDescription": "string",
- "additionalSpecialtyCode": "string",
- "address": [
- {
- "type": "Home",
- "address": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string"
}
], - "phone": [
- {
- "type": "Phone",
- "number": "string"
}
], - "email": [
- {
- "address": "string"
}
], - "timestamp": "string",
- "isDeleted": true
}Update provider info by National Provider Identifier (NPI).
| providerNPI required | string National Provider Identifier (NPI) of the provider whose information is being updated. |
| Authorization required | string Authentication Bearer token to allow the request to be processed. This token is obtained through the 'token' API request. |
| providerNPI required | string National Provider Identifier (NPI). |
| providerId required | string This is the internal (plan) Provider ID field and is unique to the Provider |
| type required | string Individual or Organization |
| groupName | string Provider Group Name |
| firstName required | string Providers first name |
| middleName | string Provider's Middle name |
| lastName required | string Providers last name |
| TIN | string Provider's Tax ID |
| TINQualifier | string Provider's Tax ID Qualifier |
| credentials | string Provider's Credential |
| primaryTaxonomyCode | string The Taxonomy code for this provider. If taxonomy is not available then the CMS specialty code can be provided. |
| additionalTaxonomyCode | string Additional Taxonomy codes if provider has multiple taxonomy codes. Use as additional specialty codes if plan is not using taxonomy codes. |
| primarySpecialtyCode | string The specialty code for this provider If the plan does not use taxonomy codes |
| additionalSpecialtyCode | string Additional Specialty codes if provider has multiple specialty codes. |
required | Array of objects |
Array of objects | |
Array of objects |
{- "providerNPI": "string",
- "providerId": "string",
- "type": "string",
- "groupName": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "TIN": "string",
- "TINQualifier": "string",
- "credentials": "string",
- "primaryTaxonomyCode": "string",
- "additionalTaxonomyCode": "string",
- "primarySpecialtyCode": "string",
- "additionalSpecialtyCode": "string",
- "address": [
- {
- "type": "Home",
- "address": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string"
}
], - "phone": [
- {
- "type": "Phone",
- "number": "string"
}
], - "email": [
- {
- "address": "string"
}
]
}{- "message": "string",
- "providerId": "areiu12"
}Delete particular provider details
| providerNPI required | string National Provider Identifier (NPI) of the provider whose information is being deleted. |
| Authorization required | string Authentication Bearer token to allow the request to be processed. This token is obtained through the 'token' API request. |
{- "message": "string",
- "providerId": "areiu12"
}This endpoint creates a new provider attribution record.
| Authorization required | string Authentication Bearer token required for processing the request. This token is provided during the 'token' API request. |
| Content-Type required | string Default: application/json Media type of the body of the request. |
| memberId required | string Unique identifier for the patient/member. |
| providerId required | string This is the internal Provider ID field and is unique to the Provider. |
| pcpInd required | string Enum: "Y" "N" PCP flag |
| effectiveDate | string <MM-DD-YYYY> Effective Start Date of Attribution |
| endDate | string <MM-DD-YYYY> Effective End date of Attribution |
{- "memberId": "string",
- "providerId": "string",
- "pcpInd": "Y",
- "effectiveDate": "01-01-2024",
- "endDate": "12-31-2024"
}{- "attributionId": "d1r2e24f",
- "message": "string"
}Retrieve a provider attribution record by its unique ID.
| attributionId required | string The unique identifier of the provider attribution record. |
{- "data": {
- "Id": "string",
- "batchId": "string",
- "memberId": "string",
- "providerNPI": "string",
- "pcpInd": "Y",
- "effectiveDate": "01-01-2024",
- "endDate": "12-31-2024",
- "isDeleted": true,
- "timestamp": "string"
}, - "message": "SUCCESS"
}This endpoint updates an existing provider attribution record.
| attributionId required | string The unique identifier of the provider attribution record to be updated. |
| Authorization required | string Authentication Bearer token required for processing the request. |
| Content-Type required | string Default: application/json Media type of the body of the request. |
| memberId required | string Unique identifier for the patient/member. |
| providerId required | string This is the internal Provider ID field and is unique to the Provider. |
| pcpInd required | string Enum: "Y" "N" PCP flag |
| effectiveDate | string <MM-DD-YYYY> Effective Start Date of Attribution |
| endDate | string <MM-DD-YYYY> Effective End date of Attribution |
{- "memberId": "string",
- "providerId": "string",
- "pcpInd": "Y",
- "effectiveDate": "01-01-2024",
- "endDate": "12-31-2024"
}{- "attributionId": "d1r2e24f",
- "message": "string"
}This endpoint deletes a provider attribution record by its ID.
| attributionId required | string The unique identifier of the provider attribution record to be deleted. |
| Authorization required | string Authentication Bearer token required for processing the request. |
{- "attributionId": "d1r2e24f",
- "message": "string"
}Add a diagnosis of the patient in member baseline
| 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. |
| memberId required | string Unique member ID of the patient |
| serviceYear required | integer The current service year |
| icdCode | string It is required if hccDetails is not present |
Array of objects HCC Info details | |
Array of objects Encounter data |
{- "memberId": "string",
- "serviceYear": 0,
- "icdCode": "string",
- "hccDetails": [
- {
- "hccModelVersion": "string",
- "hccCode": "string",
- "hccDescription": "string"
}
], - "encounter": [
- {
- "dataSource": "string",
- "processDate": "string",
- "codeFlagEncounter": "string",
- "codeFlagEncounterReason": "string",
- "dosDetails": {
- "serviceStartDate": "string",
- "serviceEndDate": "string"
}, - "claimDetails": [
- {
- "claimNumber": "string",
- "providerDetails": [
- {
- "renderingNPI": "string",
- "renderingProviderName": "string"
}
]
}
]
}
]
}{- "Id": "string",
- "memberId": "string",
- "icdCode": "string",
- "icdModelVersion": "string",
- "serviceYear": 0,
- "codeFlag": "string",
- "hccDetails": [
- {
- "hccModelVersion": "string",
- "hccCode": "string",
- "hccDescription": "string"
}
], - "encounter": [
- {
- "dataSource": "string",
- "type": "string",
- "isDeletedEncounter": true,
- "dosDetails": {
- "serviceStartDate": "string",
- "serviceEndDate": "string"
}, - "processDate": "string",
- "codeFlagEncounter": "string",
- "codeFlagEncounterReason": "string",
- "claimDetails": [
- {
- "claimNumber": "string",
- "providerDetails": [
- {
- "renderingNPI": "string",
- "renderingProviderName": "string"
}
]
}
]
}
], - "batchId": "string",
- "isDeleted": true,
- "timestamp": "string"
}Get member baseline details
| memberId required | string Unique member ID of the patient |
| serviceYear required | integer The current service year. |
| 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. |
[- {
- "Id": "string",
- "memberId": "string",
- "icdCode": "string",
- "icdModelVersion": "string",
- "serviceYear": 0,
- "codeFlag": "string",
- "hccDetails": [
- {
- "hccModelVersion": "string",
- "hccCode": "string",
- "hccDescription": "string"
}
], - "encounter": [
- {
- "dataSource": "string",
- "type": "string",
- "isDeletedEncounter": true,
- "dosDetails": {
- "serviceStartDate": "string",
- "serviceEndDate": "string"
}, - "processDate": "string",
- "codeFlagEncounter": "string",
- "codeFlagEncounterReason": "string",
- "claimDetails": [
- {
- "claimNumber": "string",
- "providerDetails": [
- {
- "renderingNPI": "string",
- "renderingProviderName": "string"
}
]
}
]
}
], - "batchId": "string",
- "isDeleted": true,
- "timestamp": "string"
}
]Member regression API
| 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. |
| memberId required | string unique member id |
| paymentYearMonth required | string Year and Month of Payment |
| contractNumber | string Plan Contract Number |
| planBenefitPackageId | string Plan Benefit Package ID |
| stateAndCountyCode | string State and Count Code |
| riskAdjustmentFactorTypeCode | string Risk Adjustment Factor Type Code. |
| defaultRiskFactorCode required | integer Default Risk Factor Code |
| originalReasonForEntitlementCode required | integer Original Reason for Entitlement code. |
| medicaid required | integer If the member is eligible for medicaid |
| lti | integer Indicator that beneficiary has Part C Long Term Institutional Status |
| esrd | integer If the member has a current esrd status |
| partCMARiskAdjustedAmount required | number <float> Average Monthly Part A + Part B portion of the payment or adjustment dollars |
| dataSource required | Array of strings If the record comes from memberEligibility, MMR, or both. Data reconciliation of memberEligibility / MMR |
{- "memberId": "string",
- "paymentYearMonth": "202503",
- "contractNumber": "string",
- "planBenefitPackageId": "string",
- "stateAndCountyCode": "string",
- "riskAdjustmentFactorTypeCode": "string",
- "defaultRiskFactorCode": 0,
- "originalReasonForEntitlementCode": 0,
- "medicaid": 0,
- "lti": 0,
- "esrd": 0,
- "partCMARiskAdjustedAmount": 0.1,
- "dataSource": [
- "string"
]
}{- "batchId": "string",
- "Id": "string",
- "memberId": "string",
- "paymentYearMonth": "string",
- "contractNumber": "string",
- "planBenefitPackageId": "string",
- "age": 0,
- "gender": "string",
- "stateAndCountyCode": "string",
- "riskAdjustmentFactorTypeCode": "string",
- "defaultRiskFactorCode": 0,
- "originalReasonForEntitlementCode": 0,
- "disabled": 0,
- "origDisabled": 0,
- "medicaid": 0,
- "lti": 0,
- "esrd": 0,
- "regressionPartC": "string",
- "regressionPartCDescription": "string",
- "regressionPartD": "string",
- "regressionPartDDescription": "string",
- "partDMARiskAdjustedAmount": 0,
- "dataSource": [
- "string"
], - "partCMARiskAdjustedAmount": 0.1,
- "timestamp": "string",
- "isDeleted": true
}Member regression API
| memberId required | string Unique member ID of the patient |
| paymentYearMonth required | string Year and Month of Payment |
| 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. |
[- {
- "batchId": "string",
- "Id": "string",
- "memberId": "string",
- "paymentYearMonth": "string",
- "contractNumber": "string",
- "planBenefitPackageId": "string",
- "age": 0,
- "gender": "string",
- "stateAndCountyCode": "string",
- "riskAdjustmentFactorTypeCode": "string",
- "defaultRiskFactorCode": 0,
- "originalReasonForEntitlementCode": 0,
- "disabled": 0,
- "origDisabled": 0,
- "medicaid": 0,
- "lti": 0,
- "esrd": 0,
- "regressionPartC": "string",
- "regressionPartCDescription": "string",
- "regressionPartD": "string",
- "regressionPartDDescription": "string",
- "partDMARiskAdjustedAmount": 0,
- "dataSource": [
- "string"
], - "partCMARiskAdjustedAmount": 0.1,
- "timestamp": "string",
- "isDeleted": true
}
]Member regression API
| memberId required | string Unique member ID of the patient |
| paymentYearMonth required | string Year and Month of Payment |
| 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. |
{- "message": "Member regression deleted successfully"
}Member regression API
| memberRegressionId required | string Unique identifier of the member regression |
| 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. |
| memberId required | string unique member id |
| paymentYearMonth required | string Year and Month of Payment |
| contractNumber | string Plan Contract Number |
| planBenefitPackageId | string Plan Benefit Package ID |
| stateAndCountyCode | string State and Count Code |
| riskAdjustmentFactorTypeCode | string Risk Adjustment Factor Type Code. |
| defaultRiskFactorCode required | integer Default Risk Factor Code |
| originalReasonForEntitlementCode required | integer Original Reason for Entitlement code. |
| medicaid required | integer If the member is eligible for medicaid |
| lti | integer Indicator that beneficiary has Part C Long Term Institutional Status |
| esrd | integer If the member has a current esrd status |
| partCMARiskAdjustedAmount required | number <float> Average Monthly Part A + Part B portion of the payment or adjustment dollars |
| dataSource required | Array of strings If the record comes from memberEligibility, MMR, or both. Data reconciliation of memberEligibility / MMR |
{- "memberId": "string",
- "paymentYearMonth": "202503",
- "contractNumber": "string",
- "planBenefitPackageId": "string",
- "stateAndCountyCode": "string",
- "riskAdjustmentFactorTypeCode": "string",
- "defaultRiskFactorCode": 0,
- "originalReasonForEntitlementCode": 0,
- "medicaid": 0,
- "lti": 0,
- "esrd": 0,
- "partCMARiskAdjustedAmount": 0.1,
- "dataSource": [
- "string"
]
}{- "message": "string",
- "memberId": "string",
- "paymentYearMonth": "string"
}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. |
{- "firstName": "John",
- "lastName": "Doe",
- "dob": "07-19-1990",
- "memberId": "123445455",
- "mrn": "a1b2c3d4",
- "zipCode": "90210"
}{- "isEligible": "string",
- "patientId": "string"
}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 | string Patient first name |
| lastName | string Patient last name |
| dob | string <date> ^(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])-(19... Patient date of birth |
| memberId required | string Member insurance ID. Conditional field. |
| mrn | string Patient EHR unique identifier. Conditional field. |
| zipCode | string Patient Zip code. Conditional field. |
| patientInfoRequired | boolean Flag to retrieve patient information, If provided true then retrieve else not. |
{- "firstName": "John",
- "lastName": "Doe",
- "dob": "07-19-1990",
- "memberId": "123445455",
- "mrn": "a1b2c3d4",
- "zipCode": "90210",
- "patientInfoRequired": true
}{- "isEligible": "string",
- "patientId": "string",
- "firstName": "string",
- "lastName": "string",
- "dob": "string",
- "gender": "string"
}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 |
| gapStatus | string Enum: "Open" "Closed" |
{- "patientId": "d4fon0UkvtdfNBW1JfD5",
- "YoS": "2023",
- "gapStatus": "Open"
}[- {
- "gapId": "123456789",
- "hccCode": 18,
- "hccDescription": "Diabetes with chronic complications",
- "icdCode": "E11.21",
- "icdDescription": "DM with nephropathy",
- "hccModel": "CMS",
- "hccModelVersion": 28,
- "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" "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 |
| gapStatus | string Enum: "Open" "Closed" |
{- "patientId": "d4fon0UkvtdfNBW1JfD5",
- "YoS": "2023",
- "gapStatus": "Open"
}[- {
- "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 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 | 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" "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
}Fetches CPT codes and their description based on the GAP Code
| Authorization required | string Authentication Bearer token to allow the request to be processed. This token is obtained through the 'token' API request. |
| Content-Type required | string Default: application/json Media type of the body of the request |
{- "gapCode": [
- {
- "cpt_code": "345FF",
- "description": "Most recent diastolic blood pressure less than 80 mm Hg",
- "notes": "Medical Assistant or Nurse must document"
}
]
}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"
}[ ]Retrieves the Table of Contents (ToC) document associated with a specific patient by using the given documentId.
| patientId | string Unique ID of the patient. |
| documentId | string Unique ID of the document. |
| Authorization required | string Authentication Bearer token to allow the request to be processed. This token is obtained through the 'token' API request. |