@geoalgeria/sante 2.0.3 → 2.0.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geoalgeria/sante",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "type": "module",
5
5
  "description": "Public health establishments of Algeria: hospitals (EPH), proximity health (EPSP), specialized hospitals (EHS) and university hospitals (CHU) from the Ministry of Health, bilingual FR/AR, geocoded via OpenStreetMap & Wikidata, with commune/wilaya linkage. JSON, CSV, GeoJSON, TypeScript.",
6
6
  "main": "index.js",
package/types/index.d.ts CHANGED
@@ -15,9 +15,20 @@ export type HealthSector = "public" | "private";
15
15
  * `null` when the establishment has no coordinate at all. */
16
16
  export type GeoPrecision = "exact" | "approximate" | null;
17
17
 
18
- /** How the coordinate was obtained. `null` on an ungeocoded record: no method
19
- * produced a point, so none can be named. */
20
- export type GeoMethod = "osm_point" | "wikidata_point" | "commune_centroid" | null;
18
+ /** How the coordinate was obtained. `owner_verified` is a building point a
19
+ * maintainer read off the map and recorded in the guarded evidence ledger
20
+ * (quality/overrides/sante.json), which outranks anything the generator derives.
21
+ * `null` on an ungeocoded record: no method produced a point, so none can be
22
+ * named. */
23
+ export type GeoMethod =
24
+ | "osm_point"
25
+ | "wikidata_point"
26
+ | "commune_centroid"
27
+ | "owner_verified"
28
+ | null;
29
+
30
+ /** A human-reviewed correction applied through the guarded evidence ledger. */
31
+ export type ReviewStatus = "corrected";
21
32
 
22
33
  /** External identifiers keyed by source system. */
23
34
  export interface Refs {
@@ -69,6 +80,14 @@ export interface HealthEstablishment {
69
80
  sector: HealthSector;
70
81
  /** URL slug of the source post (French post preferred). */
71
82
  slug: string;
83
+ /** Present only when a reviewed correction was applied to this record. */
84
+ review_status?: ReviewStatus;
85
+ /** ISO date of the reviewed correction. */
86
+ reviewed_at?: string;
87
+ /** Who recorded the reviewed correction. */
88
+ reviewed_by?: string;
89
+ /** Public evidence URLs the correction was checked against. */
90
+ review_evidence?: string[];
72
91
  }
73
92
 
74
93
  /** One provenance entry in `metadata.sources[]`. */