# module AliasParser

##
Defined in:

alias_parser.cr

##
Class Method Summary

- .parse_doses(doses_string : String) : Array(NamedTuple(amount: String, substance: String, route: String))

  Parse alias dose strings into structured dose tuples Format: " [route]; [route]; ..." Route defaults to "oral" if not specified (when only 2 parts) Multi-word substances are supported (e.g., "100mg alpha pvp insufflated")

##
Class Method Detail

def self.parse_doses(doses_string : String) : Array(NamedTuple(amount: String, substance: String, route: String)) #

Parse alias dose strings into structured dose tuples Format: " [route]; [route]; ..." Route defaults to "oral" if not specified (when only 2 parts) Multi-word substances are supported (e.g., "100mg alpha pvp insufflated")