@fhirfly-io/terminology 0.10.0 → 0.10.1

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/dist/index.d.cts CHANGED
@@ -27,6 +27,28 @@ interface LegalInfo {
27
27
  attribution?: string;
28
28
  source_url?: string;
29
29
  }
30
+ /**
31
+ * Provenance information included in full-shape responses.
32
+ * Describes the upstream data source, version, and when FHIRfly last ingested it.
33
+ */
34
+ interface SourceInfo {
35
+ /** Name of the data source (e.g., "FDA NDC Directory", "CMS NPPES") */
36
+ name: string;
37
+ /** URL of the authoritative source */
38
+ url?: string;
39
+ /** Version or release identifier of the source data */
40
+ version?: string;
41
+ /** ISO 8601 timestamp of when FHIRfly last ingested this data */
42
+ fhirfly_updated_at?: string;
43
+ /** Version of the FHIRfly ETL pipeline that processed this data */
44
+ fhirfly_etl_version?: string;
45
+ /** Component data sources (used when a dataset combines multiple sources, e.g., NPI = NPPES + NUCC) */
46
+ components?: Array<{
47
+ name: string;
48
+ version: string;
49
+ url?: string;
50
+ }>;
51
+ }
30
52
  /**
31
53
  * Metadata included in all API responses.
32
54
  */
@@ -66,6 +88,8 @@ interface BatchResponse<T> {
66
88
  /** Response metadata */
67
89
  meta: {
68
90
  legal: LegalInfo;
91
+ /** Provenance information. Included when shape=full. */
92
+ source?: SourceInfo;
69
93
  };
70
94
  }
71
95
  /**
package/dist/index.d.ts CHANGED
@@ -27,6 +27,28 @@ interface LegalInfo {
27
27
  attribution?: string;
28
28
  source_url?: string;
29
29
  }
30
+ /**
31
+ * Provenance information included in full-shape responses.
32
+ * Describes the upstream data source, version, and when FHIRfly last ingested it.
33
+ */
34
+ interface SourceInfo {
35
+ /** Name of the data source (e.g., "FDA NDC Directory", "CMS NPPES") */
36
+ name: string;
37
+ /** URL of the authoritative source */
38
+ url?: string;
39
+ /** Version or release identifier of the source data */
40
+ version?: string;
41
+ /** ISO 8601 timestamp of when FHIRfly last ingested this data */
42
+ fhirfly_updated_at?: string;
43
+ /** Version of the FHIRfly ETL pipeline that processed this data */
44
+ fhirfly_etl_version?: string;
45
+ /** Component data sources (used when a dataset combines multiple sources, e.g., NPI = NPPES + NUCC) */
46
+ components?: Array<{
47
+ name: string;
48
+ version: string;
49
+ url?: string;
50
+ }>;
51
+ }
30
52
  /**
31
53
  * Metadata included in all API responses.
32
54
  */
@@ -66,6 +88,8 @@ interface BatchResponse<T> {
66
88
  /** Response metadata */
67
89
  meta: {
68
90
  legal: LegalInfo;
91
+ /** Provenance information. Included when shape=full. */
92
+ source?: SourceInfo;
69
93
  };
70
94
  }
71
95
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fhirfly-io/terminology",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Official FHIRfly SDK for Node.js - Healthcare reference data APIs",
5
5
  "author": "FHIRfly.io LLC <admin@fhirfly.io>",
6
6
  "license": "MIT",