ezmedicationinput 0.1.61 → 0.1.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,6 +95,8 @@ export declare const FREQUENCY_SIMPLE_WORDS_DATA: Record<string, number>;
95
95
  export declare const FREQUENCY_NUMBER_WORDS_DATA: Record<string, number>;
96
96
  export declare const FREQUENCY_TIMES_WORDS_DATA: Set<string>;
97
97
  export declare const FREQUENCY_CONNECTOR_WORDS_DATA: Set<string>;
98
+ export declare const FREQUENCY_ALTERNATIVE_CONNECTORS: Set<string>;
99
+ export declare const SINGLE_OCCURRENCE_PHRASES: string[][];
98
100
  export declare const FREQUENCY_ADVERB_UNITS_DATA: Map<string, string>;
99
101
  export declare const INTERVAL_UNIT_TOKENS_DATA: Map<string, string>;
100
102
  export declare const WORKFLOW_START_WORDS: Set<string>;
@@ -17,6 +17,7 @@ export declare function cadenceFirstImplicitSingleDoseRule(): HpsgLexicalRule<Hp
17
17
  * English word order.
18
18
  */
19
19
  export declare function cadenceFirstFrequencyRule(): HpsgLexicalRule<HpsgClauseContext>;
20
+ export declare function singleOccurrencePhraseRule(): HpsgLexicalRule<HpsgClauseContext>;
20
21
  export declare function countFrequencyRule(): HpsgLexicalRule<HpsgClauseContext>;
21
22
  export declare function alternateEventCadenceRule(): HpsgLexicalRule<HpsgClauseContext>;
22
23
  export declare function timingLexicalRule(): HpsgLexicalRule<HpsgClauseContext>;
@@ -3,5 +3,7 @@ export interface HpsgSigSegment {
3
3
  text: string;
4
4
  start: number;
5
5
  end: number;
6
+ /** A trailing duration on the next heterogeneous dose applies to this sibling too. */
7
+ inheritTrailingDurationFromNext?: boolean;
6
8
  }
7
9
  export declare function parseSigSegments(input: string, options?: ParseOptions): HpsgSigSegment[];