Create a clinical reference
ClinicalReference AutoScribe.ClinicalReferences.Create(ClinicalReferenceCreateParamsparameters, CancellationTokencancellationToken = default)
POST/v1/autoScribe/clinicalReferences
Creates a canonical clinical reference value for study workflow pickers and normalization.
Create a clinical reference
ClinicalReferenceCreateParams parameters = new()
{
Name = "City Medical Center",
Type = ClinicalReferenceType.Facility,
};
var clinicalReference = await client.AutoScribe.ClinicalReferences.Create(parameters);
Console.WriteLine(clinicalReference);{
"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"
}
}