hvp-shared 13.15.0 → 13.16.0

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.
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Administration Route (Vía de administración) Enums
3
+ *
4
+ * Single source of truth for the route of administration used in controlled
5
+ * (Grupo I) prescription metadata and the SITPV portal "Tratamiento" field.
6
+ * Stored value is language-independent; the label is the Spanish display text
7
+ * (also what gets copied into the portal). See GH#425.
8
+ */
9
+ export declare enum AdministrationRoute {
10
+ oral = "oral",
11
+ intravenous = "intravenous",
12
+ intramuscular = "intramuscular",
13
+ subcutaneous = "subcutaneous",
14
+ ophthalmic = "ophthalmic",
15
+ otic = "otic",
16
+ inhaled = "inhaled",
17
+ topical = "topical"
18
+ }
19
+ /** Spanish display labels for AdministrationRoute */
20
+ export declare const ADMINISTRATION_ROUTE_LABELS: Record<AdministrationRoute, string>;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /**
3
+ * Administration Route (Vía de administración) Enums
4
+ *
5
+ * Single source of truth for the route of administration used in controlled
6
+ * (Grupo I) prescription metadata and the SITPV portal "Tratamiento" field.
7
+ * Stored value is language-independent; the label is the Spanish display text
8
+ * (also what gets copied into the portal). See GH#425.
9
+ */
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.ADMINISTRATION_ROUTE_LABELS = exports.AdministrationRoute = void 0;
12
+ var AdministrationRoute;
13
+ (function (AdministrationRoute) {
14
+ AdministrationRoute["oral"] = "oral";
15
+ AdministrationRoute["intravenous"] = "intravenous";
16
+ AdministrationRoute["intramuscular"] = "intramuscular";
17
+ AdministrationRoute["subcutaneous"] = "subcutaneous";
18
+ AdministrationRoute["ophthalmic"] = "ophthalmic";
19
+ AdministrationRoute["otic"] = "otic";
20
+ AdministrationRoute["inhaled"] = "inhaled";
21
+ AdministrationRoute["topical"] = "topical";
22
+ })(AdministrationRoute || (exports.AdministrationRoute = AdministrationRoute = {}));
23
+ /** Spanish display labels for AdministrationRoute */
24
+ exports.ADMINISTRATION_ROUTE_LABELS = {
25
+ [AdministrationRoute.oral]: 'Oral',
26
+ [AdministrationRoute.intravenous]: 'Intravenosa (IV)',
27
+ [AdministrationRoute.intramuscular]: 'Intramuscular (IM)',
28
+ [AdministrationRoute.subcutaneous]: 'Subcutánea (SC)',
29
+ [AdministrationRoute.ophthalmic]: 'Oftálmica',
30
+ [AdministrationRoute.otic]: 'Ótica',
31
+ [AdministrationRoute.inhaled]: 'Inhalada',
32
+ [AdministrationRoute.topical]: 'Tópica / Local',
33
+ };
@@ -31,3 +31,4 @@ export * from './sat-income-invoice';
31
31
  export * from './global-invoice.enums';
32
32
  export * from './google-calendar.constants';
33
33
  export * from './performance-metrics.constants';
34
+ export * from './administration-route.enums';
@@ -47,3 +47,4 @@ __exportStar(require("./sat-income-invoice"), exports);
47
47
  __exportStar(require("./global-invoice.enums"), exports);
48
48
  __exportStar(require("./google-calendar.constants"), exports);
49
49
  __exportStar(require("./performance-metrics.constants"), exports);
50
+ __exportStar(require("./administration-route.enums"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hvp-shared",
3
- "version": "13.15.0",
3
+ "version": "13.16.0",
4
4
  "description": "Shared types and utilities for HVP backend and frontend",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",