Skip to main content

Crate medical_parser

Crate medical_parser 

Source

Structs§

Grammar
Patient
Represents a single patient record.
Visit
Represents one medical visit.

Enums§

ParseError
Rule

Functions§

count_patients
Returns the number of patients in the document.
count_total_visits
Returns the total number of visits across all patients.
parse_medical_document
Parses a full medical document and returns a list of patients.
print_patients
Prints patient and visit data in a readable format.