Skip to main content
POST
/
external
/
v1
/
prescriptions
/
verify-evidence
Prescription Evidence Verification
curl --request POST \
  --url https://uk.api.aiosmedical.com/external/v1/prescriptions/verify-evidence \
  --header 'Content-Type: multipart/form-data' \
  --form 'userId=<string>' \
  --form 'medicationName=<string>' \
  --form 'medicationDosage=<string>' \
  --form file='@example-file'
{
  "success": true,
  "data": {
    "patientName": {
      "value": "valid",
      "confidence": "high"
    },
    "medicationName": {
      "value": "valid",
      "confidence": "high"
    },
    "medicationDosage": {
      "value": "valid",
      "confidence": "high"
    },
    "medicationDate": {
      "value": "valid",
      "confidence": "high"
    },
    "pharmacyName": {
      "value": "valid",
      "confidence": "high"
    }
  },
  "confidence": "high",
  "note": "This prescription evidence is valid. Document matches the name on the prescription."
}

Body

multipart/form-data
userId
string
required

The ID of the user

medicationName
string
required

The name of the medication

medicationDosage
string
required

The dosage of the medication

file
file
required

The prescription evidence file

Response

Prescription signature verified

success
boolean
Example:

true

data
object
confidence
string
Example:

"high"

note
string
Example:

"This prescription evidence is valid. Document matches the name on the prescription."