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 Observation Records template extracts structured data from medical reports, patient records, and clinical observation documents, including patient data, medical findings, diagnosis, and treatment information.

Template Features

Extracts the following information from medical observation documents:
  • Patient demographics and identification
  • Medical provider and facility details
  • Clinical findings and observations
  • Vital signs and physical examination
  • Diagnostic tests and results
  • Assessment and treatment plans
  • Medical terminology and codes

Usage Example

{
  "fileExtension": "pdf",
  "docuType": "MedicalObservation",
  "fileData": "base64-encoded-medical-observation-data"
}

Response Format

The template returns structured medical observation data including:

Patient Information

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

Medical Provider Details

  • Provider Name: Doctor or healthcare provider name
  • Specialty: Medical specialty or field
  • License Number: Medical license identifier
  • Institution: Hospital or medical facility name

Observation Details

  • Date: Date of medical observation
  • Time: Time of examination
  • Duration: Length of observation period
  • Type: Type of medical observation

Clinical Findings

  • Chief Complaint: Primary reason for visit
  • Vital Signs: Blood pressure, heart rate, temperature, oxygen saturation
  • Physical Examination: Detailed physical findings
  • Diagnostic Tests: Tests performed and results
  • Medical History: Relevant patient history

Assessment and Plan

  • Assessment: Medical diagnosis or impression
  • Treatment Plan: Recommended treatment approach
  • Follow-up Instructions: Next steps and recommendations
  • Medications: Prescribed medications and dosages

Sample Response

{
  "status": "success",
  "data": {
    "document": {
      "patientInfo": {
        "name": "Michael Brown",
        "patientId": "P67890",
        "dateOfBirth": "1978-11-22",
        "gender": "Male"
      },
      "medicalProvider": {
        "name": "Dr. Emily Davis",
        "specialty": "Cardiology",
        "licenseNumber": "MD-12345",
        "institution": "Heart Care Medical Center"
      },
      "observationDetails": {
        "date": "2024-01-20",
        "time": "14:30",
        "duration": "45 minutes"
      },
      "clinicalFindings": {
        "chiefComplaint": "Chest pain and shortness of breath",
        "vitalSigns": {
          "bloodPressure": "140/90 mmHg",
          "heartRate": "85 bpm",
          "temperature": "98.6°F",
          "oxygenSaturation": "95%"
        },
        "physicalExamination": "Patient appears anxious, mild diaphoresis, no cyanosis",
        "diagnosticTests": [
          "EKG - Normal sinus rhythm",
          "Chest X-ray - Clear lung fields",
          "Troponin levels - Within normal limits"
        ]
      },
      "assessment": "Atypical chest pain, likely musculoskeletal in origin",
      "plan": [
        "Continue current medications",
        "Follow up in 1 week",
        "Return if symptoms worsen"
      ]
    },
    "confidence": 0.93
  }
}

Supported Medical Observation Types

  • Doctor’s Office Visits
  • Hospital Admission Records
  • Emergency Room Visits
  • Specialist Consultations
  • Pre-operative Evaluations
  • Post-operative Follow-ups
  • Physical Examinations
  • Mental Health Evaluations
  • Pediatric Check-ups
  • Geriatric Assessments

Authorizations

X-API-Key
string
header
required

Body

application/json
fileExtension
enum<string>
required

File extension of the uploaded document (e.g., 'pdf', 'jpg', 'png')

Available options:
pdf,
jpg,
jpeg,
png
docuType
enum<string>
required

The type of document to be analyzed. This determines the extraction model and data structure used for analysis.

Supported Document Types:

  • InvoiceMedical: Medical invoices and bills from healthcare providers, hospitals, clinics, and medical facilities. Extracts patient information, medical services, costs, and billing details.
  • BusinessRegistration: Official business registration documents, corporate certificates, and company formation papers. Extracts business name, registration number, business type, and address information.
  • InvoiceGeneral: Standard commercial invoices from businesses and service providers. Extracts invoice number, customer details, items/services, and payment information.
  • MedicalObservation: Medical reports, patient records, and clinical observation documents. Extracts patient data, medical findings, diagnosis, and treatment information.
  • Contract: Legal contracts, agreements, and binding documents between parties. Extracts contract terms, parties involved, dates, and legal obligations.
  • ArrivalNotice: Shipping and logistics arrival notifications, delivery confirmations. Extracts shipment details, arrival dates, and delivery information.
  • BillofLading: Transportation documents for cargo and freight shipments. Extracts shipping details, cargo information, and transport terms.
  • Jobapplication: Employment applications, resumes, and job-related documents. Extracts applicant information, qualifications, and employment history.
  • BalanceCertificate_KR: Korean bank balance certificates and financial statements. Extracts account information, balance details, and banking data.
  • ProofOfAddress: Address verification documents, utility bills, and residence certificates. Extracts address information and verification details.
Available options:
InvoiceMedical,
BusinessRegistration,
InvoiceGeneral,
MedicalObservation,
Contract,
ArrivalNotice,
BillofLading,
Jobapplication,
BalanceCertificate_KR,
ProofOfAddress
fileData
file
required

Base64 encoded file data

Response

Successful analysis

status
string

Analysis status

data
object

Extracted structured data from the document. The structure varies based on the document type.