Auto Field Population

POST /api/v1/autofield/populationThis endpoint auto-populates and returns field values based on the provided transcript and summary from a consultation. For each field, the endpoint searches for corresponding values in the transcript and summary. If a value is found, it is returned in the map; if no value is found for a field, an empty string "" is returned. This endpoint is designed for EHR providers needing to auto-fill specific form fields from consultation data.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.
REQUIREDautoPopulateFieldsArray<string>
A string array of fields to populate.
Domain
BASE URL
1https://usescrubs.com
Sample Request
CURL
NodeJS
Python
Go
CURL
1curl --location 'https://usescrubs.com/api/v1/autofield/population' \
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    "summary": "Patient reports having a headache for the past week ...",
7    "transcript": "Hi, doctor, I have been having a headache for the past 1 week ...",
8    "autoPopulateFields": ["primary_complaint", "history_of_present_illness", "past_medical_history"]
9}'
Sample Response
JSON
1{
2    "primary_complaint": "Headache for the past 1 week. Described as ...",
3    "history_of_present_illness": "The headache is ...",
4    "past_medical_history": "", // no result found
5    ...
6}
Contact us:hc@usescrubs.com