@nsshunt/stsfhirpg 1.2.3 → 1.2.5
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/stsfhirpg.cjs +3 -18
- package/dist/stsfhirpg.cjs.map +1 -1
- package/dist/stsfhirpg.mjs +3 -18
- package/dist/stsfhirpg.mjs.map +1 -1
- package/package.json +1 -1
- package/types/fhir-database/dbsearchindex.d.ts +1 -0
- package/types/fhir-database/dbsearchindex.d.ts.map +1 -1
- package/types/fhir-utils/resourceHelper.d.ts.map +1 -1
package/dist/stsfhirpg.mjs
CHANGED
|
@@ -7266,15 +7266,6 @@ class ResourceHelper {
|
|
|
7266
7266
|
return filterByName[0];
|
|
7267
7267
|
}
|
|
7268
7268
|
};
|
|
7269
|
-
/*
|
|
7270
|
-
GetPathsFromResourceType = (resourceType: string, name: string): string[] => {
|
|
7271
|
-
const filterByName = this.definitions.searchParametersByResourceType[resourceType].params.filter(rt => rt.SP_NAME.localeCompare(name) === 0);
|
|
7272
|
-
if (filterByName.length > 0) {
|
|
7273
|
-
return filterByName[0].expressions.map(e => e.path)
|
|
7274
|
-
}
|
|
7275
|
-
return [ ];
|
|
7276
|
-
}
|
|
7277
|
-
*/
|
|
7278
7269
|
GetSearchParamsFromResourceType = (resourceType) => {
|
|
7279
7270
|
return this.definitions.searchParametersByResourceType[resourceType].params;
|
|
7280
7271
|
};
|
|
@@ -11433,15 +11424,9 @@ class DBSearchIndex {
|
|
|
11433
11424
|
GetSearchParamFromResourceType = (resourceType, name) => {
|
|
11434
11425
|
return this.resourceHelper.GetSearchParamFromResourceType(resourceType, name);
|
|
11435
11426
|
};
|
|
11436
|
-
|
|
11437
|
-
|
|
11438
|
-
|
|
11439
|
-
}
|
|
11440
|
-
|
|
11441
|
-
GetPathsFromResourceType = (resourceType: string, name: string): string[] => {
|
|
11442
|
-
return this.resourceHelper.GetPathsFromResourceType(resourceType, name);
|
|
11443
|
-
}
|
|
11444
|
-
*/
|
|
11427
|
+
GetSearchParamFromResourceTypeUrl = (resourceType, url) => {
|
|
11428
|
+
return this.resourceHelper.GetSearchParamFromResourceTypeUrl(resourceType, url);
|
|
11429
|
+
};
|
|
11445
11430
|
}
|
|
11446
11431
|
var lib$1 = { exports: {} };
|
|
11447
11432
|
var defaults = { exports: {} };
|