Create a clinical reference
POST/v1/autoScribe/clinicalReferences
Creates a canonical clinical reference value for study workflow pickers and normalization.
Create a clinical reference
curl https://api.avarasoftware.com/v1/autoScribe/clinicalReferences \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $AVARA_API_KEY" \
-d '{
"name": "City Medical Center",
"type": "facility",
"expressCustomerId": "cus_1234567890abcdef1234567890abcdef"
}'{
"clinicalReferenceId": "ref_1234567890abcdef1234567890abcdef",
"createdAt": "2024-01-15T09:00:00Z",
"isActive": true,
"name": "City Medical Center",
"type": "facility",
"updatedAt": "2024-03-15T14:20:00Z",
"expressCustomer": {
"expressCustomerId": "cus_1234567890abcdef1234567890abcdef",
"expressCustomerName": "City Medical Center"
},
"externalReferenceId": "FAC-001",
"metadata": {
"region": "northeast"
}
}Returns Examples
{
"clinicalReferenceId": "ref_1234567890abcdef1234567890abcdef",
"createdAt": "2024-01-15T09:00:00Z",
"isActive": true,
"name": "City Medical Center",
"type": "facility",
"updatedAt": "2024-03-15T14:20:00Z",
"expressCustomer": {
"expressCustomerId": "cus_1234567890abcdef1234567890abcdef",
"expressCustomerName": "City Medical Center"
},
"externalReferenceId": "FAC-001",
"metadata": {
"region": "northeast"
}
}