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
}Called to create patient records. Please note patient MRN, memberId, date of birth, gender and name are important fields in matching patient records. Before creating a patient record a query is issued to check if the patient already exists based on MRN, DoB, and memberID
| 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 |
| middleName required | string |
| lastName required | string |
| dob required | string <date> Date of Birth in MM-DD-YYYY format. |
| memberId required | string |
| MRN required | string |
| gender required | string Enum: "Male" "Female" "Unknown" |
| subscriberKey required | string |
required | object |
{- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "dob": "10-24-1958",
- "memberId": "string",
- "MRN": "string",
- "gender": "Male",
- "subscriberKey": "string",
- "address": {
- "fullAddress": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string"
}
}{- "patientId": "string"
}| patientId required | string Allymar generated Patient Identifier provided during the patient create. |
| 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",
- "middleName": "string",
- "lastName": "string",
- "dob": "10-24-1958",
- "memberId": "string",
- "MRN": "string",
- "gender": "Male",
- "subscriberKey": "string",
- "address": {
- "fullAddress": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string"
}
}| patientId required | string Allymar generated Patient Identifier provided during the patient create. |
| 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 |
| middleName required | string |
| lastName required | string |
| dob required | string <date> Date of Birth in MM-DD-YYYY format. |
| memberId required | string |
| MRN required | string |
| gender required | string Enum: "Male" "Female" "Unknown" |
| subscriberKey required | string |
required | object |
{- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "dob": "10-24-1958",
- "memberId": "string",
- "MRN": "string",
- "gender": "Male",
- "subscriberKey": "string",
- "address": {
- "fullAddress": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string"
}
}| patientId required | string Allymar generated Patient Identifier provided during the patient create. |
| 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. |
Provide available patient details for a search. Some minimum fields would be required for an effective search
| 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 |
| middleName required | string |
| lastName required | string |
| dob required | string <date> Date of Birth in MM-DD-YYYY format. |
| memberId required | string |
| MRN required | string |
| gender required | string Enum: "Male" "Female" "Unknown" |
| subscriberKey required | string |
required | object |
{- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "dob": "10-24-1958",
- "memberId": "string",
- "MRN": "string",
- "gender": "Male",
- "subscriberKey": "string",
- "address": {
- "fullAddress": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string"
}
}{- "patientId": "string"
}This endpoint accepts Diagnosis(Dx) data for a patient, which includes a list of specific health condition codes and descriptions, to pre-load into the system.
| 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 Allymar Patient identifier. |
required | Array of objects (DiagnosisDetail) |
{- "patientId": "string",
- "dxList": [
- {
- "icdCode": "string",
- "icdDescription": "string",
- "gapType": "string",
- "hccModelVersion": "string",
- "hccDescription": "string",
- "hccCode": "string",
- "source": [
- {
- "sourceType": "encounter",
- "dos": {
- "start": "08-24-2019",
- "end": "02-15-2020"
}, - "id": "string",
- "info": { }
}
]
}
]
}This endpoint accepts Patient ID and provides Pre-Load Diagnosis data for that 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. |
| patientId required | string Allymar Patient identifier. |
{- "patientId": "string"
}[- {
- "icdCode": "string",
- "icdDescription": "string",
- "conditionType": "string",
- "billable": true,
- "gapType": "string",
- "hccDetails": [
- {
- "hccModelVersion": "string",
- "hccCode": 0,
- "hccDescription": "string"
}
], - "source": [
- {
- "dos": {
- "start": "08-24-2019",
- "end": "09-24-2019"
}, - "id": "string",
- "info": {
- "test": 0
}, - "sourceType": "string"
}
]
}
]Obtain AES Encryption key from the client which should be used to decode the CCDA file that is passed.
| 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. |
| encryptionKey required | string AES 256-bit encryption key, encoded in Base64. |
{- "encryptionKey": "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 Patient Allymar unique identifier |
| encounterId required | string Unique identifier for the encounter |
required | object |
required | Array of objects |
{- "patientId": "string",
- "encounterId": "string",
- "dos": {
- "start": "08-24-2019",
- "end": "02-15-2020"
}, - "clinicalNotes": [
- {
- "fieldName": "string",
- "fieldValue": "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: multipart/form-data Media type of the body of the request. |
| patientId | string Allymar Patient identifier, an optional parameter. |
| encounterId required | string Encounter ID for the patient, a required parameter. |
| dosStart required | string <date> Required start date of service, formatted as MM-DD-YYYY. |
| dosEnd required | string <date> Required end date of service, formatted as MM-DD-YYYY. |
| ccdaFile required | string <binary> AES 256-bit encrypted CCDA file. |
| 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: multipart/form-data Media type of the body of the request. |
| patientId required | string Allymar Patient identifier. |
| encounterId required | string Encounter ID for the patient, a required parameter. |
| dosStart required | string <date> Required start date of service, formatted as MM-DD-YYYY. |
| dosEnd required | string <date> Required end date of service, formatted as MM-DD-YYYY. |
| providerName required | string Provider Name |
| providerNPI required | string Provider NPI |
| chart required | string <binary> PDF file. |
Retrieves a paginated list of patients from the database.
| 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. |
| page required | integer The page number. |
| pageSize required | integer The number of patient entries per page. |
{- "page": 0,
- "pageSize": 0
}{- "recordCount": 0,
- "Patients": [
- { }
]
}Provides all the Dx identified for the patient based on specified filter criteria in the API.
Returns diagnosis details based on patient ID and other optional filters.
| 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 Unique identifier for the patient |
| dxType required | string Default: "Accept" Enum: "All" "Accept" "Reject" "Pending" Return type for the Diagnoses (All, Accept, Reject, or Pending) |
| encounterId | string Specific encounter identifier. Please note this identifier is not Allymar specific and is provided by the client. |
| dx required | string Default: "HCC" Enum: "HCC" "All" "HCCPreDx" Type of diagnosis to retrieve (HCC or All) |
| dosYear | string Year of service |
{- "patientId": "string",
- "dxType": "All",
- "encounterId": "string",
- "dx": "HCC",
- "dosYear": "string"
}[- {
- "gapId": "string",
- "icdCode": "string",
- "icdDescription": "string",
- "gapType": "string",
- "gapStatus": "string",
- "evidence": "string",
- "reasoning": "string",
- "confidence": 0,
- "type": "string",
- "hccDetails": [
- {
- "hccModelVersion": "string",
- "hccCode": 0,
- "hccDescription": "string",
- "rafScore": 0,
- "rafInclude": true
}
]
}
]Returns document evidence linked to specific diagnosis gaps for a 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. |
| patientId required | string Unique identifier for the patient |
| gapId required | string Unique identifier for the diagnosis gap |
{- "patientId": "string",
- "gapId": "string"
}[- {
- "DocumentReference": "string",
- "DocumentLink": "string",
- "Instances": [
- {
- "dxType": "stated",
- "doS": "2019-08-24",
- "reasoning": "string",
- "evidence": "string",
- "confidence": 0.1,
- "symptoms": [
- "string"
], - "medicines": [
- "string"
], - "sourceType": "string",
- "page": 0
}
]
}
]Indicate the feedback for the provided Dx Gap. This is useful if this is managed externally.
This endpoint allows for submitting feedback on previously loaded Diagnosis(Dx) data, including acceptance, rejection, or pending status for specific Diagnosis(Dx) gaps.
| 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 Allymar Patient identifier. |
required | Array of objects (DiagnosisFeedback) |
{- "patientId": "string",
- "dxList": [
- {
- "gapId": "string",
- "gapStatus": "Accept",
- "reasonForReject": "string"
}
]
}This endpoint is used for providing the encounter update details for CCDA, Clinical notes and PDF.
This endpoint is used for providing the encounter update details for CCDA, Clinical notes and PDF.
| 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 Allymar Patient identifier. |
| encounterId required | string Encounter ID for the patient. |
{- "patientId": "string",
- "encounterId": "string"
}{- "message": "Encounter <Enounter ID> has complete execution",
- "start": "2024-11-06T03:40:25.178592+00:00",
- "end": "2024-11-06T03:40:42.944057+00:00"
}