babelfhir-ts 1.1.3 → 1.2.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.
Files changed (87) hide show
  1. package/README.md +92 -26
  2. package/out/fhir-r4.d.ts +4 -0
  3. package/out/fhir-r4b.d.ts +700 -0
  4. package/out/src/generator/core/constants.js +77 -2
  5. package/out/src/generator/core/fhirTypes.js +8 -0
  6. package/out/src/generator/core/sdDiagnostics.js +108 -0
  7. package/out/src/generator/core/utils.js +22 -2
  8. package/out/src/generator/emitters/class/classGenerator.js +120 -258
  9. package/out/src/generator/emitters/class/classGeneratorHelpers.js +122 -0
  10. package/out/src/generator/emitters/class/classGeneratorTypes.js +4 -0
  11. package/out/src/generator/emitters/class/classHeuristics.js +19 -0
  12. package/out/src/generator/emitters/class/classTemplate.js +121 -0
  13. package/out/src/generator/emitters/class/enrichResourceBundleHandler.js +256 -0
  14. package/out/src/generator/emitters/class/enrichResourceFixers.js +184 -0
  15. package/out/src/generator/emitters/class/enrichResourceHandlers.js +84 -151
  16. package/out/src/generator/emitters/class/enrichResourceObservationHandler.js +254 -0
  17. package/out/src/generator/emitters/class/enrichResourceTemplate.js +110 -327
  18. package/out/src/generator/emitters/class/fieldPatternExtractor.js +103 -18
  19. package/out/src/generator/emitters/class/randomSupportGenerator.js +2 -1
  20. package/out/src/generator/emitters/class/randomUtilitiesTemplate.js +22 -1
  21. package/out/src/generator/emitters/class/sliceElementDefaults.js +467 -0
  22. package/out/src/generator/emitters/class/sliceElementGenerator.js +131 -367
  23. package/out/src/generator/emitters/interface/importManager.js +3 -0
  24. package/out/src/generator/emitters/interface/interfaceFieldProcessor.js +6 -77
  25. package/out/src/generator/emitters/interface/interfaceFieldUtils.js +52 -0
  26. package/out/src/generator/emitters/interface/interfaceGenerator.js +41 -3
  27. package/out/src/generator/emitters/interface/postProcessExtensions.js +16 -10
  28. package/out/src/generator/emitters/interface/processFlatField.js +4 -2
  29. package/out/src/generator/emitters/interface/processNestedField.js +19 -3
  30. package/out/src/generator/emitters/validator/fhirpathStubInstaller.js +46 -0
  31. package/out/src/generator/emitters/validator/sliceBackboneValidation.js +370 -0
  32. package/out/src/generator/emitters/validator/sliceExtensionValidation.js +244 -0
  33. package/out/src/generator/emitters/validator/sliceValidatorGenerator.js +197 -194
  34. package/out/src/generator/emitters/validator/sliceValidatorUtils.js +95 -0
  35. package/out/src/generator/emitters/validator/validatorBindingBuilder.js +304 -0
  36. package/out/src/generator/emitters/validator/validatorBindingLeafEmitters.js +303 -0
  37. package/out/src/generator/emitters/validator/validatorConstraintBuilders.js +374 -0
  38. package/out/src/generator/emitters/validator/validatorFieldBuilders.js +265 -0
  39. package/out/src/generator/emitters/validator/validatorGenerator.js +90 -382
  40. package/out/src/generator/emitters/validator/validatorTemplates.js +106 -0
  41. package/out/src/generator/emitters/validator/validatorTypes.js +1 -0
  42. package/out/src/generator/emitters/zod/zodRefinementBuilder.js +151 -0
  43. package/out/src/generator/emitters/zod/zodSchemaGenerator.js +133 -182
  44. package/out/src/generator/fhir/corePackageResolver.js +288 -0
  45. package/out/src/generator/fhir/corePackageResolver.ts +371 -0
  46. package/out/src/generator/fhir/createRules.js +158 -0
  47. package/out/src/generator/fhir/createRules.ts +188 -0
  48. package/out/src/generator/fhir/fallback/r4.json +15468 -0
  49. package/out/src/generator/fhir/fallback/r4b.json +15287 -0
  50. package/out/src/generator/fhir/r4/base/well-known-system-codes.json +46 -1
  51. package/out/src/generator/fhir/types.js +55 -12
  52. package/out/src/generator/fhir/types.ts +71 -16
  53. package/out/src/generator/fhir/versionRegistry.js +28 -0
  54. package/out/src/generator/fhir/versionRegistry.ts +45 -0
  55. package/out/src/generator/generationHelpers.js +202 -0
  56. package/out/src/generator/index.js +112 -285
  57. package/out/src/generator/parser/packageParser.js +267 -0
  58. package/out/src/generator/parser/sdFetcher.js +39 -1
  59. package/out/src/generator/parser/sdParser.js +65 -6
  60. package/out/src/generator/parser/sliceAggregator.js +203 -161
  61. package/out/src/generator/parser/sliceAggregatorComposition.js +194 -0
  62. package/out/src/generator/parser/vsParser.js +8 -2
  63. package/out/src/generator/sdProcessor.js +104 -302
  64. package/out/src/generator/sdProcessorHelpers.js +98 -0
  65. package/out/src/generator/sdProcessorRequiredFields.js +129 -0
  66. package/out/src/main.js +38 -247
  67. package/package.json +7 -6
  68. package/out/src/generator/fhir/r4/base/Bundle.json +0 -2154
  69. package/out/src/generator/fhir/r4/base/Composition.json +0 -3346
  70. package/out/src/generator/fhir/r4/base/Endpoint.json +0 -1051
  71. package/out/src/generator/fhir/r4/base/README.md +0 -28
  72. package/out/src/generator/fhir/r4/base/Subscription.json +0 -1072
  73. package/out/src/generator/fhir/r4/base/ValueSet.json +0 -4021
  74. package/out/src/generator/fhir/r4/context.js +0 -21
  75. package/out/src/generator/fhir/r4/context.ts +0 -24
  76. package/out/src/generator/fhir/r4/dataTypes.json +0 -858
  77. package/out/src/generator/fhir/r4/interfaces.json +0 -664
  78. package/out/src/generator/fhir/r4/resources.json +0 -150
  79. package/out/src/generator/fhir/r4/rules.js +0 -207
  80. package/out/src/generator/fhir/r4/rules.ts +0 -226
  81. package/out/src/generator/fhir/r4b/context.js +0 -21
  82. package/out/src/generator/fhir/r4b/context.ts +0 -24
  83. package/out/src/generator/fhir/r4b/dataTypes.json +0 -860
  84. package/out/src/generator/fhir/r4b/interfaces.json +0 -684
  85. package/out/src/generator/fhir/r4b/resources.json +0 -145
  86. package/out/src/generator/fhir/r4b/rules.js +0 -171
  87. package/out/src/generator/fhir/r4b/rules.ts +0 -190
package/README.md CHANGED
@@ -35,38 +35,104 @@ Every pull request runs two independent CI pipelines that validate generated cod
35
35
  4. Generates `empty()` and `random()` test resources for every profile
36
36
  5. Validates those resources against two external FHIR validators
37
37
 
38
- ### Tested Implementation Guides
38
+ ### Tested Implementation Guides (28 packages)
39
39
 
40
- | Implementation Guide | Package | Profiles |
40
+ | Category | Implementation Guide | Package |
41
41
  |---|---|---|
42
- | US Core | `hl7.fhir.us.core@8.0.0` | Patient, Condition, Observation, Encounter, … |
43
- | ISiK Basis (Germany) | `de.gematik.isik-basismodul@4.0.3` | ISiKPatient, ISiKDiagnose, … |
44
- | IPS (International Patient Summary) | `hl7.fhir.uv.ips@2.0.0` | Composition, MedicationStatement, … |
45
- | SMART App Launch | `hl7.fhir.uv.smart-app-launch@2.2.0` | WellKnown endpoints |
46
- | CH Core (Switzerland) | `ch.fhir.ig.ch-core@5.0.0` | CHCorePatient, CHCoreEncounter, … |
47
- | DaVinci PAS | `hl7.fhir.us.davinci-pas@2.0.1` | PASClaim, PASClaimResponse, … |
42
+ | US | US Core | `hl7.fhir.us.core@8.0.0` |
43
+ | US | QI-Core | `hl7.fhir.us.qicore@6.0.0` |
44
+ | US | mCODE | `hl7.fhir.us.mcode@4.0.0` |
45
+ | US | SDOH Clinical Care | `hl7.fhir.us.sdoh-clinicalcare@2.2.0` |
46
+ | US | NDH (National Directory) | `hl7.fhir.us.ndh@1.0.0` |
47
+ | US | CARIN BB | `hl7.fhir.us.carin-bb@2.1.0` |
48
+ | US | CQF Measures | `hl7.fhir.us.cqfmeasures@4.0.0` |
49
+ | US | Physical Activity | `hl7.fhir.us.physical-activity@1.0.0` |
50
+ | DaVinci | PAS | `hl7.fhir.us.davinci-pas@2.0.1` |
51
+ | DaVinci | CDex | `hl7.fhir.us.davinci-cdex@2.1.0` |
52
+ | DaVinci | PDex | `hl7.fhir.us.davinci-pdex@2.1.0` |
53
+ | DaVinci | DTR | `hl7.fhir.us.davinci-dtr@2.1.0` |
54
+ | DaVinci | Alerts | `hl7.fhir.us.davinci-alerts@1.0.0` |
55
+ | DaVinci | DEQM | `hl7.fhir.us.davinci-deqm@4.0.0` |
56
+ | DaVinci | Drug Formulary | `hl7.fhir.us.davinci-drug-formulary@2.1.0` |
57
+ | Universal | IPS | `hl7.fhir.uv.ips@2.0.0` |
58
+ | Universal | SMART App Launch | `hl7.fhir.uv.smart-app-launch@2.2.0` |
59
+ | Universal | SDC (Structured Data Capture) | `hl7.fhir.uv.sdc@3.0.0` |
60
+ | Universal | Genomics Reporting | `hl7.fhir.uv.genomics-reporting@3.0.0` |
61
+ | Universal | CPG (Clinical Practice Guidelines) | `hl7.fhir.uv.cpg@2.0.0` |
62
+ | DE | ISiK Basis | `de.gematik.isik-basismodul@4.0.3` |
63
+ | DE | ISiK Medikation | `de.gematik.isik-medikation@4.0.1` |
64
+ | DE | KBV eRezept | `kbv.ita.erp@1.1.1` |
65
+ | DE | DE Basisprofil | `de.basisprofil.r4@1.5.0` |
66
+ | CH | CH Core (Switzerland) | `ch.fhir.ig.ch-core@5.0.0` |
67
+ | AU | AU Core (Australia) | `hl7.fhir.au.core@1.0.0` |
68
+ | IHE | PIXm | `ihe.iti.pixm@3.0.4` |
69
+ | IHE | MHD | `ihe.iti.mhd@4.2.2` |
48
70
 
49
71
  ### Validation with Firely .NET SDK
50
72
 
51
- The first pipeline validates generated resources using the [Firely .NET SDK validator](https://docs.fire.ly/projects/Firely-NET-SDK/) (v3.1.0). Results are published as live badges:
52
-
53
- ![US Core 8.0.0](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-us-core.json)
54
- ![ISiK Basis 4.0.3](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-isik-basis.json)
55
- ![IPS 2.0.0](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-ips.json)
56
- ![SMART 2.2.0](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-smart.json)
57
- ![CH Core 5.0.0](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-ch-core.json)
58
- ![DaVinci PAS 2.0.1](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-davinci-pas.json)
73
+ The first pipeline validates generated resources using the [Firely .NET SDK validator](https://docs.fire.ly/projects/Firely-NET-SDK/) (Firely.Fhir.Validation.R4 v3.1.1). Results are published as live badges:
74
+
75
+ ![US Core](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-us-core.json)
76
+ ![QI-Core](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-qicore.json)
77
+ ![mCODE](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-mcode.json)
78
+ ![SDOH](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-sdoh.json)
79
+ ![NDH](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-ndh.json)
80
+ ![CARIN BB](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-carin-bb.json)
81
+ ![CQF Measures](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-cqfmeasures.json)
82
+ ![Physical Activity](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-physical-activity.json)
83
+ ![DaVinci PAS](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-davinci-pas.json)
84
+ ![DaVinci CDex](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-davinci-cdex.json)
85
+ ![DaVinci PDex](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-davinci-pdex.json)
86
+ ![DaVinci DTR](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-davinci-dtr.json)
87
+ ![DaVinci Alerts](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-davinci-alerts.json)
88
+ ![DaVinci DEQM](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-davinci-deqm.json)
89
+ ![DaVinci Drug Formulary](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-davinci-drug-formulary.json)
90
+ ![IPS](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-ips.json)
91
+ ![SMART](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-smart.json)
92
+ ![SDC](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-sdc.json)
93
+ ![Genomics Reporting](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-genomics-reporting.json)
94
+ ![CPG](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-cpg.json)
95
+ ![ISiK Basis](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-isik-basis.json)
96
+ ![ISiK Medikation](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-isik-medikation.json)
97
+ ![KBV eRezept](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-kbv-erp.json)
98
+ ![DE Basisprofil](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-de-basisprofil.json)
99
+ ![CH Core](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-ch-core.json)
100
+ ![AU Core](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-au-core.json)
101
+ ![PIXm](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-pixm.json)
102
+ ![MHD](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-mhd.json)
59
103
 
60
104
  ### Validation with HL7 Java Validator
61
105
 
62
- The second pipeline validates using the [official HL7 FHIR Validator](https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator) (v6.9.1), the reference implementation for FHIR conformance checking:
63
-
64
- ![US Core 8.0.0](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-us-core.json)
65
- ![ISiK Basis 4.0.3](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-isik-basis.json)
66
- ![IPS 2.0.0](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-ips.json)
67
- ![SMART 2.2.0](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-smart.json)
68
- ![CH Core 5.0.0](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-ch-core.json)
69
- ![DaVinci PAS 2.0.1](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-davinci-pas.json)
106
+ The second pipeline validates using the [official HL7 FHIR Validator](https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator) (v6.9.4), the reference implementation for FHIR conformance checking:
107
+
108
+ ![US Core](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-us-core.json)
109
+ ![QI-Core](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-qicore.json)
110
+ ![mCODE](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-mcode.json)
111
+ ![SDOH](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-sdoh.json)
112
+ ![NDH](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-ndh.json)
113
+ ![CARIN BB](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-carin-bb.json)
114
+ ![CQF Measures](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-cqfmeasures.json)
115
+ ![Physical Activity](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-physical-activity.json)
116
+ ![DaVinci PAS](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-davinci-pas.json)
117
+ ![DaVinci CDex](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-davinci-cdex.json)
118
+ ![DaVinci PDex](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-davinci-pdex.json)
119
+ ![DaVinci DTR](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-davinci-dtr.json)
120
+ ![DaVinci Alerts](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-davinci-alerts.json)
121
+ ![DaVinci DEQM](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-davinci-deqm.json)
122
+ ![DaVinci Drug Formulary](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-davinci-drug-formulary.json)
123
+ ![IPS](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-ips.json)
124
+ ![SMART](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-smart.json)
125
+ ![SDC](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-sdc.json)
126
+ ![Genomics Reporting](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-genomics-reporting.json)
127
+ ![CPG](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-cpg.json)
128
+ ![ISiK Basis](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-isik-basis.json)
129
+ ![ISiK Medikation](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-isik-medikation.json)
130
+ ![KBV eRezept](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-kbv-erp.json)
131
+ ![DE Basisprofil](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-de-basisprofil.json)
132
+ ![CH Core](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-ch-core.json)
133
+ ![AU Core](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-au-core.json)
134
+ ![PIXm](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-pixm.json)
135
+ ![MHD](https://img.shields.io/endpoint?url=https://max-health-inc.github.io/BabelFHIR-TS/badges/badge-hl7-mhd.json)
70
136
 
71
137
  > Terminology validation requires a tx server. The pipeline uses `--tx-server https://tx.fhir.org/r4` during generation to expand ValueSets and produce valid codes.
72
138
 
@@ -136,7 +202,7 @@ Options:
136
202
  --no-classes Only generate interfaces and types (skip class generation)
137
203
  --no-client Skip FHIR client generation (client generated by default)
138
204
  --schema <format> Generate schema files alongside outputs (supported: zod)
139
- --fhir-version <ver> FHIR version to target: r4 (default) or r4b
205
+ --fhir-version <ver> FHIR version to target: r4 or r4b (auto-detected from package if omitted)
140
206
  --package <pkg@version> Download FHIR package from registry and process it
141
207
  --registry <url> FHIR package registry URL (default: https://packages.simplifier.net)
142
208
  --tx-server <url> Terminology server URL for ValueSet expansion (e.g., https://tx.fhir.org/r4)
@@ -194,4 +260,4 @@ For security issues, please see [SECURITY.md](SECURITY.md) for our security poli
194
260
  - [GitHub repository](https://github.com/Max-Health-Inc/BabelFHIR-TS)
195
261
  - [Validation report](https://max-health-inc.github.io/BabelFHIR-TS/)
196
262
  - [Issue tracker](https://github.com/Max-Health-Inc/BabelFHIR-TS/issues)
197
- - [Changelog](CHANGELOG.md)
263
+ - [Changelog / Releases](https://github.com/Max-Health-Inc/BabelFHIR-TS/releases)
package/out/fhir-r4.d.ts CHANGED
@@ -673,4 +673,8 @@ declare module 'fhir/r4' {
673
673
  export type VisionPrescription = fhir4.VisionPrescription;
674
674
  export type VisionPrescriptionLensSpecification = fhir4.VisionPrescriptionLensSpecification;
675
675
  export type VisionPrescriptionLensSpecificationPrism = fhir4.VisionPrescriptionLensSpecificationPrism;
676
+ /** Constraint profile on Quantity — missing from @types/fhir */
677
+ export type MoneyQuantity = fhir4.Quantity;
678
+ /** Constraint profile on Quantity — missing from @types/fhir */
679
+ export type SimpleQuantity = fhir4.Quantity;
676
680
  }