A ratio literal consisting of two quantity values separated by a colon. Represents a proportional relationship between two measured quantities, such as 1 'mg' : 2 'mL'.

Examples

Dosage ratio

1 'mg' : 2 'mL'

Rate ratio

5 'mg' : 100 'mL'

Used as a literal value

define "DosageRatio": 1 'mg' : 2 'mL'
Railroad Diagram
100%
quantity : quantity

scroll to zoom · drag to pan · click green rules or blue tokens to navigate

EBNF

ratio
  : quantity ':' quantity
  ;

Used In