@haste-health/fhir-validation 0.14.3

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 (59) hide show
  1. package/README.md +4 -0
  2. package/lib/elements/conformance.d.ts +9 -0
  3. package/lib/elements/conformance.js +40 -0
  4. package/lib/elements/conformance.js.map +1 -0
  5. package/lib/elements/primitive.d.ts +5 -0
  6. package/lib/elements/primitive.js +102 -0
  7. package/lib/elements/primitive.js.map +1 -0
  8. package/lib/elements/validators/cardinality.d.ts +3 -0
  9. package/lib/elements/validators/cardinality.js +57 -0
  10. package/lib/elements/validators/cardinality.js.map +1 -0
  11. package/lib/elements/validators/fixedValue.d.ts +4 -0
  12. package/lib/elements/validators/fixedValue.js +20 -0
  13. package/lib/elements/validators/fixedValue.js.map +1 -0
  14. package/lib/elements/validators/pattern.d.ts +11 -0
  15. package/lib/elements/validators/pattern.js +53 -0
  16. package/lib/elements/validators/pattern.js.map +1 -0
  17. package/lib/elements/validators/value.d.ts +10 -0
  18. package/lib/elements/validators/value.js +18 -0
  19. package/lib/elements/validators/value.js.map +1 -0
  20. package/lib/elements/validators.d.ts +8 -0
  21. package/lib/elements/validators.js +37 -0
  22. package/lib/elements/validators.js.map +1 -0
  23. package/lib/index.d.ts +4 -0
  24. package/lib/index.js +13 -0
  25. package/lib/index.js.map +1 -0
  26. package/lib/profile/element.d.ts +40 -0
  27. package/lib/profile/element.js +180 -0
  28. package/lib/profile/element.js.map +1 -0
  29. package/lib/profile/index.d.ts +20 -0
  30. package/lib/profile/index.js +45 -0
  31. package/lib/profile/index.js.map +1 -0
  32. package/lib/profile/slicing/index.d.ts +24 -0
  33. package/lib/profile/slicing/index.js +247 -0
  34. package/lib/profile/slicing/index.js.map +1 -0
  35. package/lib/profile/slicing.d.ts +47 -0
  36. package/lib/profile/slicing.js +195 -0
  37. package/lib/profile/slicing.js.map +1 -0
  38. package/lib/profile/utilities.d.ts +14 -0
  39. package/lib/profile/utilities.js +32 -0
  40. package/lib/profile/utilities.js.map +1 -0
  41. package/lib/profile/validators.d.ts +8 -0
  42. package/lib/profile/validators.js +37 -0
  43. package/lib/profile/validators.js.map +1 -0
  44. package/lib/slicing/index.d.ts +47 -0
  45. package/lib/slicing/index.js +197 -0
  46. package/lib/slicing/index.js.map +1 -0
  47. package/lib/structural/index.d.ts +4 -0
  48. package/lib/structural/index.js +296 -0
  49. package/lib/structural/index.js.map +1 -0
  50. package/lib/structural/validate-primitive.d.ts +11 -0
  51. package/lib/structural/validate-primitive.js +102 -0
  52. package/lib/structural/validate-primitive.js.map +1 -0
  53. package/lib/types.d.ts +10 -0
  54. package/lib/types.js +2 -0
  55. package/lib/types.js.map +1 -0
  56. package/lib/utilities.d.ts +34 -0
  57. package/lib/utilities.js +114 -0
  58. package/lib/utilities.js.map +1 -0
  59. package/package.json +50 -0
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@haste-health/fhir-validation",
3
+ "version": "0.14.3",
4
+ "homepage": "https://haste.health",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/HasteHealth/HasteHealth.git"
8
+ },
9
+ "type": "module",
10
+ "main": "lib/structural/index.js",
11
+ "types": "lib/structural/index.d.ts",
12
+ "scripts": {
13
+ "build": "tsc",
14
+ "test": "pnpm node --experimental-vm-modules $(pnpm bin jest)",
15
+ "publish": "pnpm build && pnpm npm publish --access public --tolerate-republish"
16
+ },
17
+ "dependencies": {
18
+ "@haste-health/codegen": "workspace:^",
19
+ "@haste-health/fhir-pointer": "workspace:^",
20
+ "@haste-health/fhirpath": "workspace:^",
21
+ "@haste-health/meta-value": "workspace:^",
22
+ "@haste-health/operation-outcomes": "workspace:^",
23
+ "jsonpointer": "^5.0.1"
24
+ },
25
+ "devDependencies": {
26
+ "@babel/plugin-syntax-import-attributes": "^7.26.0",
27
+ "@babel/preset-env": "^7.26.9",
28
+ "@babel/preset-typescript": "^7.26.0",
29
+ "@haste-health/artifacts": "workspace:^",
30
+ "@haste-health/fhir-types": "workspace:^",
31
+ "@haste-health/haste-health.fhir.r4.core": "workspace:^",
32
+ "@haste-health/hl7.fhir.r4.core": "workspace:^",
33
+ "@haste-health/hl7.fhir.r4.test-data": "workspace:^",
34
+ "@jest/globals": "^29.7.0",
35
+ "@types/babel__preset-env": "^7.10.0",
36
+ "@types/jest": "^29.5.14",
37
+ "jest": "^29.7.0",
38
+ "ts-jest": "^29.3.2",
39
+ "typescript": "5.9.2"
40
+ },
41
+ "files": [
42
+ "lib/**",
43
+ "readme.md"
44
+ ],
45
+ "exports": {
46
+ ".": "./lib/index.js",
47
+ "./structural": "./lib/structural/index.js",
48
+ "./types": "./lib/types.js"
49
+ }
50
+ }