ezmedicationinput 0.1.54 → 0.1.56

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.
Files changed (41) hide show
  1. package/README.md +111 -25
  2. package/dist/advice.d.ts +1 -0
  3. package/dist/body-site-grammar.d.ts +3 -1
  4. package/dist/event-timing-expression.d.ts +8 -0
  5. package/dist/fhir.d.ts +10 -1
  6. package/dist/hpsg/constructions.d.ts +6 -0
  7. package/dist/hpsg/defaults.d.ts +1 -0
  8. package/dist/hpsg/feature-structure.d.ts +5 -0
  9. package/dist/hpsg/lexical-classes.d.ts +70 -7
  10. package/dist/hpsg/method-lexicon.d.ts +14 -14
  11. package/dist/hpsg/procedural-context.d.ts +10 -0
  12. package/dist/hpsg/rules/condition-rules.d.ts +4 -0
  13. package/dist/hpsg/rules/core-rules.d.ts +2 -0
  14. package/dist/hpsg/rules/instruction-rules.d.ts +1 -0
  15. package/dist/hpsg/rules/prn-rules.d.ts +11 -0
  16. package/dist/hpsg/rules/timing-rules.d.ts +28 -0
  17. package/dist/hpsg/segmenter.d.ts +2 -1
  18. package/dist/hpsg/signature.d.ts +54 -2
  19. package/dist/hpsg/type-system.d.ts +48 -0
  20. package/dist/i18n.d.ts +2 -0
  21. package/dist/index.cjs +25759 -9747
  22. package/dist/index.d.ts +11 -0
  23. package/dist/index.js +25720 -9744
  24. package/dist/instruction-action-terminology.d.ts +29 -0
  25. package/dist/instruction-concept-terminology.d.ts +26 -0
  26. package/dist/instruction-graph-fhir.d.ts +4 -0
  27. package/dist/instruction-graph.d.ts +23 -0
  28. package/dist/instruction-semantic-resolver.d.ts +4 -0
  29. package/dist/ir.d.ts +1 -0
  30. package/dist/lexer/locale.d.ts +8 -0
  31. package/dist/lexer/token-types.d.ts +2 -0
  32. package/dist/localized-timing.d.ts +1 -0
  33. package/dist/maps.d.ts +2 -8
  34. package/dist/parser-state.d.ts +16 -0
  35. package/dist/prn.d.ts +1 -0
  36. package/dist/relation-terminology.d.ts +101 -0
  37. package/dist/stable-structure.d.ts +1 -0
  38. package/dist/symptom-terminology.d.ts +12 -0
  39. package/dist/timing-summary.d.ts +2 -0
  40. package/dist/types.d.ts +284 -4
  41. package/package.json +6 -2
package/dist/index.d.ts CHANGED
@@ -1,5 +1,16 @@
1
1
  import { FhirDosage, FormatBatchOptions, FormatOptions, LintBatchResult, ParseBatchResult, ParseOptions, ParseResult } from "./types";
2
+ export { TIMING_FREQUENCY_MIN_EXTENSION_URL, TIMING_OFFSET_MIN_EXTENSION_URL, TIMING_OFFSET_MAX_EXTENSION_URL, TIMING_OFFSET_EXACT_EXTENSION_URL, TIMING_ACTIVITY_WINDOW_EXTENSION_URL, TIMING_OCCURRENCE_CAP_EXTENSION_URL, PRN_TRIGGER_PHASE_EXTENSION_URL, getTimingOccurrenceCap } from "./fhir";
2
3
  export { suggestSig } from "./suggest";
4
+ export { parseInstructionActions, realizeInstructionGraph } from "./instruction-graph";
5
+ export { MEDICATION_INSTRUCTION_ACTION_SYSTEM, buildMedicationInstructionActionCodeSystem, getMedicationInstructionAction, listMedicationInstructionActions, resolveMedicationInstructionAction } from "./instruction-action-terminology";
6
+ export type { MedicationInstructionActionCodeSystem } from "./instruction-action-terminology";
7
+ export { MEDICATION_INSTRUCTION_CONCEPT_SYSTEM, buildMedicationInstructionConceptCodeSystem, getMedicationInstructionConcept, listMedicationInstructionConcepts, resolveMedicationInstructionConcept } from "./instruction-concept-terminology";
8
+ export type { MedicationInstructionConceptCodeSystem } from "./instruction-concept-terminology";
9
+ export { findSymptomDefinitionByCoding, listSymptomDefinitions, normalizeSymptomKey, resolveSymptomDefinition } from "./symptom-terminology";
10
+ export type { SymptomDictionaryEntry } from "./symptom-terminology";
11
+ export { getAdviceRelationDefinition, getBodySiteRelationDefinition, getBodySiteRelationRealization, listAdviceRelationDefinitions, listBodySiteRelationDefinitions, localizeAdviceRelation, normalizeBodySiteRelation, resolveActionRelationSurface, resolveAdviceRelationSurface } from "./relation-terminology";
12
+ export type { AdviceRelationDefinition, AdviceRelationGrammarFeatures, BodySiteLocativeRelation, BodySiteRelationDefinition, BodySiteRelationGrammarFeatures, BodySiteRelationRealization, RelationLocaleLexeme } from "./relation-terminology";
13
+ export { MEDICATION_INSTRUCTION_GRAPH_EXTENSION_URL, buildInstructionGraphExtension, parseInstructionGraphExtension } from "./instruction-graph-fhir";
3
14
  export * from "./types";
4
15
  export { nextDueDoses, calculateTotalUnits } from "./schedule";
5
16
  export { parseStrength, parseStrengthIntoRatio } from "./utils/strength";