POST
/
v1
/
textify
/
analyzer
curl --request POST \
--url https://api.argosidentity.com/v1/textify/analyzer \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"fileExtension": "pdf",
"docuType": "InvoiceMedical",
"fileData": "base64-encoded-medical-invoice-pdf"
}'
{
"status": "success",
"data": {
"document": {
"patientInfo": {
"name": "John Smith",
"patientId": "P12345",
"dateOfBirth": "1985-03-15",
"contactNumber": "+1-555-0123"
},
"medicalProvider": {
"name": "City General Hospital",
"providerId": "H789",
"address": "123 Medical Center Dr, City, State 12345"
},
"billingDetails": {
"invoiceNumber": "INV-2024-001",
"serviceDate": "2024-01-15",
"dueDate": "2024-02-15",
"totalAmount": 1250,
"insuranceCoverage": 1000,
"patientResponsibility": 250
},
"medicalServices": [
{
"service": "Cardiology Consultation",
"code": "99204",
"amount": 350
},
{
"service": "EKG Test",
"code": "93000",
"amount": 150
},
{
"service": "Blood Work",
"code": "80048",
"amount": 750
}
]
},
"confidence": 0.95
}
}
The Medical Invoices template extracts structured data from medical bills and healthcare invoices, including patient information, medical services, costs, and billing details.

Template Features

Extracts the following information from medical invoices:
  • Patient information and demographics
  • Medical provider details
  • Billing information and payment terms
  • Medical services and procedures
  • Insurance coverage and patient responsibility
  • Diagnosis codes and medical terminology

Usage Example

{
  "fileExtension": "pdf",
  "docuType": "InvoiceMedical",
  "fileData": "base64-encoded-medical-invoice-data"
}

Response Format

The template returns structured medical invoice data including:

Patient Information

  • Patient Name: Full name of the patient
  • Patient ID: Unique patient identifier
  • Date of Birth: Patient’s birth date
  • Contact Information: Phone number and address

Medical Provider Details

  • Provider Name: Hospital, clinic, or medical facility
  • Provider ID: Unique provider identifier
  • Address: Complete provider address
  • Contact Information: Phone and email

Billing Information

  • Invoice Number: Unique invoice identifier
  • Service Date: Date of medical services
  • Due Date: Payment deadline
  • Total Amount: Total cost of services
  • Insurance Coverage: Amount covered by insurance
  • Patient Responsibility: Amount patient must pay

Medical Services

  • Service Description: Medical procedures performed
  • CPT Codes: Current Procedural Terminology codes
  • Service Amount: Cost of individual services
  • Diagnosis Codes: ICD-10 diagnosis codes

Sample Response

{
  "status": "success",
  "data": {
    "document": {
      "patientInfo": {
        "name": "John Smith",
        "patientId": "P12345",
        "dateOfBirth": "1985-03-15",
        "contactNumber": "+1-555-0123"
      },
      "medicalProvider": {
        "name": "City General Hospital",
        "providerId": "H789",
        "address": "123 Medical Center Dr, City, State 12345"
      },
      "billingDetails": {
        "invoiceNumber": "INV-2024-001",
        "serviceDate": "2024-01-15",
        "dueDate": "2024-02-15",
        "totalAmount": 1250.00,
        "insuranceCoverage": 1000.00,
        "patientResponsibility": 250.00
      },
      "medicalServices": [
        {
          "service": "Cardiology Consultation",
          "code": "99204",
          "amount": 350.00
        },
        {
          "service": "EKG Test",
          "code": "93000",
          "amount": 150.00
        },
        {
          "service": "Blood Work",
          "code": "80048",
          "amount": 750.00
        }
      ]
    },
    "confidence": 0.95
  }
}

Supported Medical Invoice Types

  • Hospital Bills
  • Doctor’s Office Invoices
  • Laboratory Test Bills
  • Imaging Service Invoices
  • Pharmacy Bills
  • Dental Invoices
  • Specialist Consultation Bills
  • Emergency Room Bills
  • Outpatient Procedure Bills
  • Medical Equipment Rental Invoices

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200
application/json

Successful analysis

The response is of type object.