Evidence

POST /api/v1/evidenceReturns an evidence_map of key-value pairs. This endpoint requires both a transcript and a summary from a consultation. It extracts all independent points within the summary given and sources their references from the provided transcript . The evidence_map contains keys from the summary and values from the transcript .HEADER PARAMETERS
REQUIREDX-Scrubs-HCI-Codestring
HCI code of the clinic making the API request.
REQUIREDX-Scrubs-HCI-Providerstring
Provider ID associated with your EHR application.
BODY PARAMETERS
REQUIREDtranscriptstring
A consultation transcription. It does not need to follow the format of transcription endpoint.
REQUIREDsummarystring
A consultation summary. It does not need to follow the format of summaries from the summary endpoint but should resemble a SOAP note.
Domain
BASE URL
1https://usescrubs.com
Sample Request
CURL
NodeJS
Python
Go
CURL
1curl --location 'https://usescrubs.com/api/v1/evidence' \
2--header 'X-Scrubs-HCI-Code: 00A123' \
3--header 'X-Scrubs-HCI-Provider: SAMPLE_EHR_1' \
4--header 'Content-Type: application/json' \
5--data '{
6    "transcript":"Hi, doctor, I have been having a headache for the past 1 week ...",
7    "summary":"Patient reports having a headache for the past week ..."
8}'
Sample Response
JSON
1{
2    "evidence_map": {
3       "Patient reports having a headache for the past week": "Headache since last Monday.",
4       "Unable to work due to persistent headache": "Haven't worked for the past week.",
5       "Patient reports poor sleep": "A bit of poor sleep for the last 2 to 3 nights.",
6        ...
7    }
8}
Contact us:hc@usescrubs.com