@imranq2/fhirpatientsummary 1.0.4 → 1.0.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.
Files changed (2930) hide show
  1. package/dist/index.cjs +2480 -0
  2. package/dist/index.d.cts +718 -0
  3. package/dist/index.d.ts +718 -0
  4. package/dist/index.js +2451 -0
  5. package/package.json +21 -14
  6. package/lib/cjs/generators/fhir_summary_generator.cjs +0 -228
  7. package/lib/cjs/generators/fhir_summary_generator.d.ts +0 -46
  8. package/lib/cjs/generators/narrative_generator.cjs +0 -80
  9. package/lib/cjs/generators/narrative_generator.d.ts +0 -40
  10. package/lib/cjs/index.cjs +0 -9
  11. package/lib/cjs/index.d.ts +0 -3
  12. package/lib/cjs/narratives/templates/typescript/AdvanceDirectivesTemplate.cjs +0 -70
  13. package/lib/cjs/narratives/templates/typescript/AdvanceDirectivesTemplate.d.ts +0 -22
  14. package/lib/cjs/narratives/templates/typescript/AllergyIntoleranceTemplate.cjs +0 -155
  15. package/lib/cjs/narratives/templates/typescript/AllergyIntoleranceTemplate.d.ts +0 -31
  16. package/lib/cjs/narratives/templates/typescript/ClinicalImpressionTemplate.cjs +0 -111
  17. package/lib/cjs/narratives/templates/typescript/ClinicalImpressionTemplate.d.ts +0 -15
  18. package/lib/cjs/narratives/templates/typescript/CompositionTemplate.cjs +0 -30
  19. package/lib/cjs/narratives/templates/typescript/CompositionTemplate.d.ts +0 -22
  20. package/lib/cjs/narratives/templates/typescript/DiagnosticResultsTemplate.cjs +0 -153
  21. package/lib/cjs/narratives/templates/typescript/DiagnosticResultsTemplate.d.ts +0 -50
  22. package/lib/cjs/narratives/templates/typescript/FamilyHistoryTemplate.cjs +0 -103
  23. package/lib/cjs/narratives/templates/typescript/FamilyHistoryTemplate.d.ts +0 -15
  24. package/lib/cjs/narratives/templates/typescript/FunctionalStatusTemplate.cjs +0 -70
  25. package/lib/cjs/narratives/templates/typescript/FunctionalStatusTemplate.d.ts +0 -22
  26. package/lib/cjs/narratives/templates/typescript/HistoryOfProceduresTemplate.cjs +0 -66
  27. package/lib/cjs/narratives/templates/typescript/HistoryOfProceduresTemplate.d.ts +0 -22
  28. package/lib/cjs/narratives/templates/typescript/ImmunizationsTemplate.cjs +0 -73
  29. package/lib/cjs/narratives/templates/typescript/ImmunizationsTemplate.d.ts +0 -22
  30. package/lib/cjs/narratives/templates/typescript/MedicalDevicesTemplate.cjs +0 -67
  31. package/lib/cjs/narratives/templates/typescript/MedicalDevicesTemplate.d.ts +0 -22
  32. package/lib/cjs/narratives/templates/typescript/MedicationSummaryTemplate.cjs +0 -206
  33. package/lib/cjs/narratives/templates/typescript/MedicationSummaryTemplate.d.ts +0 -50
  34. package/lib/cjs/narratives/templates/typescript/PastHistoryOfIllnessTemplate.cjs +0 -59
  35. package/lib/cjs/narratives/templates/typescript/PastHistoryOfIllnessTemplate.d.ts +0 -15
  36. package/lib/cjs/narratives/templates/typescript/PatientTemplate.cjs +0 -158
  37. package/lib/cjs/narratives/templates/typescript/PatientTemplate.d.ts +0 -65
  38. package/lib/cjs/narratives/templates/typescript/PlanOfCareTemplate.cjs +0 -63
  39. package/lib/cjs/narratives/templates/typescript/PlanOfCareTemplate.d.ts +0 -15
  40. package/lib/cjs/narratives/templates/typescript/PregnancyTemplate.cjs +0 -68
  41. package/lib/cjs/narratives/templates/typescript/PregnancyTemplate.d.ts +0 -22
  42. package/lib/cjs/narratives/templates/typescript/ProblemListTemplate.cjs +0 -119
  43. package/lib/cjs/narratives/templates/typescript/ProblemListTemplate.d.ts +0 -22
  44. package/lib/cjs/narratives/templates/typescript/SocialHistoryTemplate.cjs +0 -70
  45. package/lib/cjs/narratives/templates/typescript/SocialHistoryTemplate.d.ts +0 -22
  46. package/lib/cjs/narratives/templates/typescript/TemplateUtilities.cjs +0 -696
  47. package/lib/cjs/narratives/templates/typescript/TemplateUtilities.d.ts +0 -251
  48. package/lib/cjs/narratives/templates/typescript/TypeScriptTemplateMapper.cjs +0 -64
  49. package/lib/cjs/narratives/templates/typescript/TypeScriptTemplateMapper.d.ts +0 -17
  50. package/lib/cjs/narratives/templates/typescript/VitalSignsTemplate.cjs +0 -74
  51. package/lib/cjs/narratives/templates/typescript/VitalSignsTemplate.d.ts +0 -22
  52. package/lib/cjs/narratives/templates/typescript/interfaces/ITemplate.cjs +0 -2
  53. package/lib/cjs/narratives/templates/typescript/interfaces/ITemplate.d.ts +0 -13
  54. package/lib/cjs/package.json +0 -1
  55. package/lib/cjs/profiles/ips_resource_profile_registry.cjs +0 -143
  56. package/lib/cjs/profiles/ips_resource_profile_registry.d.ts +0 -7
  57. package/lib/cjs/structures/ips_mandatory_sections.cjs +0 -11
  58. package/lib/cjs/structures/ips_mandatory_sections.d.ts +0 -7
  59. package/lib/cjs/structures/ips_recommended_sections.cjs +0 -12
  60. package/lib/cjs/structures/ips_recommended_sections.d.ts +0 -8
  61. package/lib/cjs/structures/ips_resource_profile.cjs +0 -2
  62. package/lib/cjs/structures/ips_resource_profile.d.ts +0 -7
  63. package/lib/cjs/structures/ips_section_loinc_codes.cjs +0 -48
  64. package/lib/cjs/structures/ips_section_loinc_codes.d.ts +0 -4
  65. package/lib/cjs/structures/ips_section_resource_map.cjs +0 -69
  66. package/lib/cjs/structures/ips_section_resource_map.d.ts +0 -8
  67. package/lib/cjs/structures/ips_sections.cjs +0 -27
  68. package/lib/cjs/structures/ips_sections.d.ts +0 -19
  69. package/lib/cjs/types/baseTypes.cjs +0 -2
  70. package/lib/cjs/types/baseTypes.d.ts +0 -23
  71. package/lib/cjs/types/partials/AccountCoverage.cjs +0 -3
  72. package/lib/cjs/types/partials/AccountCoverage.d.ts +0 -10
  73. package/lib/cjs/types/partials/AccountGuarantor.cjs +0 -3
  74. package/lib/cjs/types/partials/AccountGuarantor.d.ts +0 -11
  75. package/lib/cjs/types/partials/ActivityDefinitionDynamicValue.cjs +0 -3
  76. package/lib/cjs/types/partials/ActivityDefinitionDynamicValue.d.ts +0 -9
  77. package/lib/cjs/types/partials/ActivityDefinitionParticipant.cjs +0 -3
  78. package/lib/cjs/types/partials/ActivityDefinitionParticipant.d.ts +0 -9
  79. package/lib/cjs/types/partials/Address.cjs +0 -3
  80. package/lib/cjs/types/partials/Address.d.ts +0 -16
  81. package/lib/cjs/types/partials/AdministrableProductDefinitionProperty.cjs +0 -3
  82. package/lib/cjs/types/partials/AdministrableProductDefinitionProperty.d.ts +0 -17
  83. package/lib/cjs/types/partials/AdministrableProductDefinitionRouteOfAdministration.cjs +0 -3
  84. package/lib/cjs/types/partials/AdministrableProductDefinitionRouteOfAdministration.d.ts +0 -17
  85. package/lib/cjs/types/partials/AdministrableProductDefinitionTargetSpecies.cjs +0 -3
  86. package/lib/cjs/types/partials/AdministrableProductDefinitionTargetSpecies.d.ts +0 -10
  87. package/lib/cjs/types/partials/AdministrableProductDefinitionWithdrawalPeriod.cjs +0 -3
  88. package/lib/cjs/types/partials/AdministrableProductDefinitionWithdrawalPeriod.d.ts +0 -11
  89. package/lib/cjs/types/partials/AdverseEventCausality.cjs +0 -3
  90. package/lib/cjs/types/partials/AdverseEventCausality.d.ts +0 -12
  91. package/lib/cjs/types/partials/AdverseEventSuspectEntity.cjs +0 -3
  92. package/lib/cjs/types/partials/AdverseEventSuspectEntity.d.ts +0 -10
  93. package/lib/cjs/types/partials/Age.cjs +0 -3
  94. package/lib/cjs/types/partials/Age.d.ts +0 -9
  95. package/lib/cjs/types/partials/AllergyIntoleranceReaction.cjs +0 -3
  96. package/lib/cjs/types/partials/AllergyIntoleranceReaction.d.ts +0 -16
  97. package/lib/cjs/types/partials/Annotation.cjs +0 -3
  98. package/lib/cjs/types/partials/Annotation.d.ts +0 -12
  99. package/lib/cjs/types/partials/AppointmentParticipant.cjs +0 -3
  100. package/lib/cjs/types/partials/AppointmentParticipant.d.ts +0 -14
  101. package/lib/cjs/types/partials/Attachment.cjs +0 -3
  102. package/lib/cjs/types/partials/Attachment.d.ts +0 -17
  103. package/lib/cjs/types/partials/AuditEventAgent.cjs +0 -3
  104. package/lib/cjs/types/partials/AuditEventAgent.d.ts +0 -22
  105. package/lib/cjs/types/partials/AuditEventDetail.cjs +0 -3
  106. package/lib/cjs/types/partials/AuditEventDetail.d.ts +0 -10
  107. package/lib/cjs/types/partials/AuditEventEntity.cjs +0 -3
  108. package/lib/cjs/types/partials/AuditEventEntity.d.ts +0 -19
  109. package/lib/cjs/types/partials/AuditEventNetwork.cjs +0 -3
  110. package/lib/cjs/types/partials/AuditEventNetwork.d.ts +0 -8
  111. package/lib/cjs/types/partials/AuditEventSource.cjs +0 -3
  112. package/lib/cjs/types/partials/AuditEventSource.d.ts +0 -11
  113. package/lib/cjs/types/partials/BackboneElement.cjs +0 -3
  114. package/lib/cjs/types/partials/BackboneElement.d.ts +0 -6
  115. package/lib/cjs/types/partials/BiologicallyDerivedProductCollection.cjs +0 -3
  116. package/lib/cjs/types/partials/BiologicallyDerivedProductCollection.d.ts +0 -13
  117. package/lib/cjs/types/partials/BiologicallyDerivedProductManipulation.cjs +0 -3
  118. package/lib/cjs/types/partials/BiologicallyDerivedProductManipulation.d.ts +0 -11
  119. package/lib/cjs/types/partials/BiologicallyDerivedProductProcessing.cjs +0 -3
  120. package/lib/cjs/types/partials/BiologicallyDerivedProductProcessing.d.ts +0 -15
  121. package/lib/cjs/types/partials/BiologicallyDerivedProductStorage.cjs +0 -3
  122. package/lib/cjs/types/partials/BiologicallyDerivedProductStorage.d.ts +0 -12
  123. package/lib/cjs/types/partials/BundleEntry.cjs +0 -3
  124. package/lib/cjs/types/partials/BundleEntry.d.ts +0 -18
  125. package/lib/cjs/types/partials/BundleLink.cjs +0 -3
  126. package/lib/cjs/types/partials/BundleLink.d.ts +0 -9
  127. package/lib/cjs/types/partials/BundleRequest.cjs +0 -3
  128. package/lib/cjs/types/partials/BundleRequest.d.ts +0 -14
  129. package/lib/cjs/types/partials/BundleResponse.cjs +0 -3
  130. package/lib/cjs/types/partials/BundleResponse.d.ts +0 -14
  131. package/lib/cjs/types/partials/BundleSearch.cjs +0 -3
  132. package/lib/cjs/types/partials/BundleSearch.d.ts +0 -9
  133. package/lib/cjs/types/partials/CapabilityStatementDocument.cjs +0 -3
  134. package/lib/cjs/types/partials/CapabilityStatementDocument.d.ts +0 -11
  135. package/lib/cjs/types/partials/CapabilityStatementEndpoint.cjs +0 -3
  136. package/lib/cjs/types/partials/CapabilityStatementEndpoint.d.ts +0 -10
  137. package/lib/cjs/types/partials/CapabilityStatementImplementation.cjs +0 -3
  138. package/lib/cjs/types/partials/CapabilityStatementImplementation.d.ts +0 -11
  139. package/lib/cjs/types/partials/CapabilityStatementInteraction.cjs +0 -3
  140. package/lib/cjs/types/partials/CapabilityStatementInteraction.d.ts +0 -9
  141. package/lib/cjs/types/partials/CapabilityStatementInteraction1.cjs +0 -3
  142. package/lib/cjs/types/partials/CapabilityStatementInteraction1.d.ts +0 -9
  143. package/lib/cjs/types/partials/CapabilityStatementMessaging.cjs +0 -3
  144. package/lib/cjs/types/partials/CapabilityStatementMessaging.d.ts +0 -14
  145. package/lib/cjs/types/partials/CapabilityStatementOperation.cjs +0 -3
  146. package/lib/cjs/types/partials/CapabilityStatementOperation.d.ts +0 -11
  147. package/lib/cjs/types/partials/CapabilityStatementResource.cjs +0 -3
  148. package/lib/cjs/types/partials/CapabilityStatementResource.d.ts +0 -28
  149. package/lib/cjs/types/partials/CapabilityStatementRest.cjs +0 -3
  150. package/lib/cjs/types/partials/CapabilityStatementRest.d.ts +0 -21
  151. package/lib/cjs/types/partials/CapabilityStatementSearchParam.cjs +0 -3
  152. package/lib/cjs/types/partials/CapabilityStatementSearchParam.d.ts +0 -12
  153. package/lib/cjs/types/partials/CapabilityStatementSecurity.cjs +0 -3
  154. package/lib/cjs/types/partials/CapabilityStatementSecurity.d.ts +0 -11
  155. package/lib/cjs/types/partials/CapabilityStatementSoftware.cjs +0 -3
  156. package/lib/cjs/types/partials/CapabilityStatementSoftware.d.ts +0 -10
  157. package/lib/cjs/types/partials/CapabilityStatementSupportedMessage.cjs +0 -3
  158. package/lib/cjs/types/partials/CapabilityStatementSupportedMessage.d.ts +0 -9
  159. package/lib/cjs/types/partials/CarePlanActivity.cjs +0 -3
  160. package/lib/cjs/types/partials/CarePlanActivity.d.ts +0 -15
  161. package/lib/cjs/types/partials/CarePlanDetail.cjs +0 -3
  162. package/lib/cjs/types/partials/CarePlanDetail.d.ts +0 -33
  163. package/lib/cjs/types/partials/CareTeamParticipant.cjs +0 -3
  164. package/lib/cjs/types/partials/CareTeamParticipant.d.ts +0 -13
  165. package/lib/cjs/types/partials/CatalogEntryRelatedEntry.cjs +0 -3
  166. package/lib/cjs/types/partials/CatalogEntryRelatedEntry.d.ts +0 -9
  167. package/lib/cjs/types/partials/ChargeItemDefinitionApplicability.cjs +0 -3
  168. package/lib/cjs/types/partials/ChargeItemDefinitionApplicability.d.ts +0 -9
  169. package/lib/cjs/types/partials/ChargeItemDefinitionPriceComponent.cjs +0 -3
  170. package/lib/cjs/types/partials/ChargeItemDefinitionPriceComponent.d.ts +0 -13
  171. package/lib/cjs/types/partials/ChargeItemDefinitionPropertyGroup.cjs +0 -3
  172. package/lib/cjs/types/partials/ChargeItemDefinitionPropertyGroup.d.ts +0 -10
  173. package/lib/cjs/types/partials/ChargeItemPerformer.cjs +0 -3
  174. package/lib/cjs/types/partials/ChargeItemPerformer.d.ts +0 -10
  175. package/lib/cjs/types/partials/CitationAbstract.cjs +0 -3
  176. package/lib/cjs/types/partials/CitationAbstract.d.ts +0 -12
  177. package/lib/cjs/types/partials/CitationAffiliationInfo.cjs +0 -3
  178. package/lib/cjs/types/partials/CitationAffiliationInfo.d.ts +0 -10
  179. package/lib/cjs/types/partials/CitationCitedArtifact.cjs +0 -3
  180. package/lib/cjs/types/partials/CitationCitedArtifact.d.ts +0 -35
  181. package/lib/cjs/types/partials/CitationClassification.cjs +0 -3
  182. package/lib/cjs/types/partials/CitationClassification.d.ts +0 -9
  183. package/lib/cjs/types/partials/CitationClassification1.cjs +0 -3
  184. package/lib/cjs/types/partials/CitationClassification1.d.ts +0 -11
  185. package/lib/cjs/types/partials/CitationContributionInstance.cjs +0 -3
  186. package/lib/cjs/types/partials/CitationContributionInstance.d.ts +0 -10
  187. package/lib/cjs/types/partials/CitationContributorship.cjs +0 -3
  188. package/lib/cjs/types/partials/CitationContributorship.d.ts +0 -11
  189. package/lib/cjs/types/partials/CitationDateOfPublication.cjs +0 -3
  190. package/lib/cjs/types/partials/CitationDateOfPublication.d.ts +0 -13
  191. package/lib/cjs/types/partials/CitationEntry.cjs +0 -3
  192. package/lib/cjs/types/partials/CitationEntry.d.ts +0 -26
  193. package/lib/cjs/types/partials/CitationPart.cjs +0 -3
  194. package/lib/cjs/types/partials/CitationPart.d.ts +0 -11
  195. package/lib/cjs/types/partials/CitationPeriodicRelease.cjs +0 -3
  196. package/lib/cjs/types/partials/CitationPeriodicRelease.d.ts +0 -12
  197. package/lib/cjs/types/partials/CitationPublicationForm.cjs +0 -3
  198. package/lib/cjs/types/partials/CitationPublicationForm.d.ts +0 -22
  199. package/lib/cjs/types/partials/CitationPublishedIn.cjs +0 -3
  200. package/lib/cjs/types/partials/CitationPublishedIn.d.ts +0 -14
  201. package/lib/cjs/types/partials/CitationRelatesTo.cjs +0 -3
  202. package/lib/cjs/types/partials/CitationRelatesTo.d.ts +0 -17
  203. package/lib/cjs/types/partials/CitationRelatesTo1.cjs +0 -3
  204. package/lib/cjs/types/partials/CitationRelatesTo1.d.ts +0 -17
  205. package/lib/cjs/types/partials/CitationStatusDate.cjs +0 -3
  206. package/lib/cjs/types/partials/CitationStatusDate.d.ts +0 -11
  207. package/lib/cjs/types/partials/CitationStatusDate1.cjs +0 -3
  208. package/lib/cjs/types/partials/CitationStatusDate1.d.ts +0 -11
  209. package/lib/cjs/types/partials/CitationSummary.cjs +0 -3
  210. package/lib/cjs/types/partials/CitationSummary.d.ts +0 -10
  211. package/lib/cjs/types/partials/CitationSummary1.cjs +0 -3
  212. package/lib/cjs/types/partials/CitationSummary1.d.ts +0 -12
  213. package/lib/cjs/types/partials/CitationTitle.cjs +0 -3
  214. package/lib/cjs/types/partials/CitationTitle.d.ts +0 -11
  215. package/lib/cjs/types/partials/CitationVersion.cjs +0 -3
  216. package/lib/cjs/types/partials/CitationVersion.d.ts +0 -9
  217. package/lib/cjs/types/partials/CitationWebLocation.cjs +0 -3
  218. package/lib/cjs/types/partials/CitationWebLocation.d.ts +0 -10
  219. package/lib/cjs/types/partials/CitationWhoClassified.cjs +0 -3
  220. package/lib/cjs/types/partials/CitationWhoClassified.d.ts +0 -12
  221. package/lib/cjs/types/partials/ClaimAccident.cjs +0 -3
  222. package/lib/cjs/types/partials/ClaimAccident.d.ts +0 -14
  223. package/lib/cjs/types/partials/ClaimCareTeam.cjs +0 -3
  224. package/lib/cjs/types/partials/ClaimCareTeam.d.ts +0 -14
  225. package/lib/cjs/types/partials/ClaimDetail.cjs +0 -3
  226. package/lib/cjs/types/partials/ClaimDetail.d.ts +0 -25
  227. package/lib/cjs/types/partials/ClaimDiagnosis.cjs +0 -3
  228. package/lib/cjs/types/partials/ClaimDiagnosis.d.ts +0 -15
  229. package/lib/cjs/types/partials/ClaimInsurance.cjs +0 -3
  230. package/lib/cjs/types/partials/ClaimInsurance.d.ts +0 -16
  231. package/lib/cjs/types/partials/ClaimItem.cjs +0 -3
  232. package/lib/cjs/types/partials/ClaimItem.d.ts +0 -40
  233. package/lib/cjs/types/partials/ClaimPayee.cjs +0 -3
  234. package/lib/cjs/types/partials/ClaimPayee.d.ts +0 -10
  235. package/lib/cjs/types/partials/ClaimProcedure.cjs +0 -3
  236. package/lib/cjs/types/partials/ClaimProcedure.d.ts +0 -16
  237. package/lib/cjs/types/partials/ClaimRelated.cjs +0 -3
  238. package/lib/cjs/types/partials/ClaimRelated.d.ts +0 -12
  239. package/lib/cjs/types/partials/ClaimResponseAddItem.cjs +0 -3
  240. package/lib/cjs/types/partials/ClaimResponseAddItem.d.ts +0 -38
  241. package/lib/cjs/types/partials/ClaimResponseAdjudication.cjs +0 -3
  242. package/lib/cjs/types/partials/ClaimResponseAdjudication.d.ts +0 -13
  243. package/lib/cjs/types/partials/ClaimResponseDetail.cjs +0 -3
  244. package/lib/cjs/types/partials/ClaimResponseDetail.d.ts +0 -13
  245. package/lib/cjs/types/partials/ClaimResponseDetail1.cjs +0 -3
  246. package/lib/cjs/types/partials/ClaimResponseDetail1.d.ts +0 -22
  247. package/lib/cjs/types/partials/ClaimResponseError.cjs +0 -3
  248. package/lib/cjs/types/partials/ClaimResponseError.d.ts +0 -12
  249. package/lib/cjs/types/partials/ClaimResponseInsurance.cjs +0 -3
  250. package/lib/cjs/types/partials/ClaimResponseInsurance.d.ts +0 -13
  251. package/lib/cjs/types/partials/ClaimResponseItem.cjs +0 -3
  252. package/lib/cjs/types/partials/ClaimResponseItem.d.ts +0 -13
  253. package/lib/cjs/types/partials/ClaimResponsePayment.cjs +0 -3
  254. package/lib/cjs/types/partials/ClaimResponsePayment.d.ts +0 -16
  255. package/lib/cjs/types/partials/ClaimResponseProcessNote.cjs +0 -3
  256. package/lib/cjs/types/partials/ClaimResponseProcessNote.d.ts +0 -12
  257. package/lib/cjs/types/partials/ClaimResponseSubDetail.cjs +0 -3
  258. package/lib/cjs/types/partials/ClaimResponseSubDetail.d.ts +0 -11
  259. package/lib/cjs/types/partials/ClaimResponseSubDetail1.cjs +0 -3
  260. package/lib/cjs/types/partials/ClaimResponseSubDetail1.d.ts +0 -20
  261. package/lib/cjs/types/partials/ClaimResponseTotal.cjs +0 -3
  262. package/lib/cjs/types/partials/ClaimResponseTotal.d.ts +0 -10
  263. package/lib/cjs/types/partials/ClaimSubDetail.cjs +0 -3
  264. package/lib/cjs/types/partials/ClaimSubDetail.d.ts +0 -23
  265. package/lib/cjs/types/partials/ClaimSupportingInfo.cjs +0 -3
  266. package/lib/cjs/types/partials/ClaimSupportingInfo.d.ts +0 -24
  267. package/lib/cjs/types/partials/ClinicalImpressionFinding.cjs +0 -3
  268. package/lib/cjs/types/partials/ClinicalImpressionFinding.d.ts +0 -11
  269. package/lib/cjs/types/partials/ClinicalImpressionInvestigation.cjs +0 -3
  270. package/lib/cjs/types/partials/ClinicalImpressionInvestigation.d.ts +0 -10
  271. package/lib/cjs/types/partials/ClinicalUseDefinitionContraindication.cjs +0 -3
  272. package/lib/cjs/types/partials/ClinicalUseDefinitionContraindication.d.ts +0 -14
  273. package/lib/cjs/types/partials/ClinicalUseDefinitionIndication.cjs +0 -3
  274. package/lib/cjs/types/partials/ClinicalUseDefinitionIndication.d.ts +0 -18
  275. package/lib/cjs/types/partials/ClinicalUseDefinitionInteractant.cjs +0 -3
  276. package/lib/cjs/types/partials/ClinicalUseDefinitionInteractant.d.ts +0 -10
  277. package/lib/cjs/types/partials/ClinicalUseDefinitionInteraction.cjs +0 -3
  278. package/lib/cjs/types/partials/ClinicalUseDefinitionInteraction.d.ts +0 -14
  279. package/lib/cjs/types/partials/ClinicalUseDefinitionOtherTherapy.cjs +0 -3
  280. package/lib/cjs/types/partials/ClinicalUseDefinitionOtherTherapy.d.ts +0 -10
  281. package/lib/cjs/types/partials/ClinicalUseDefinitionUndesirableEffect.cjs +0 -3
  282. package/lib/cjs/types/partials/ClinicalUseDefinitionUndesirableEffect.d.ts +0 -11
  283. package/lib/cjs/types/partials/ClinicalUseDefinitionWarning.cjs +0 -3
  284. package/lib/cjs/types/partials/ClinicalUseDefinitionWarning.d.ts +0 -10
  285. package/lib/cjs/types/partials/CodeSystemConcept.cjs +0 -3
  286. package/lib/cjs/types/partials/CodeSystemConcept.d.ts +0 -14
  287. package/lib/cjs/types/partials/CodeSystemDesignation.cjs +0 -3
  288. package/lib/cjs/types/partials/CodeSystemDesignation.d.ts +0 -10
  289. package/lib/cjs/types/partials/CodeSystemFilter.cjs +0 -3
  290. package/lib/cjs/types/partials/CodeSystemFilter.d.ts +0 -10
  291. package/lib/cjs/types/partials/CodeSystemProperty.cjs +0 -3
  292. package/lib/cjs/types/partials/CodeSystemProperty.d.ts +0 -11
  293. package/lib/cjs/types/partials/CodeSystemProperty1.cjs +0 -3
  294. package/lib/cjs/types/partials/CodeSystemProperty1.d.ts +0 -18
  295. package/lib/cjs/types/partials/CodeableConcept.cjs +0 -3
  296. package/lib/cjs/types/partials/CodeableConcept.d.ts +0 -8
  297. package/lib/cjs/types/partials/CodeableReference.cjs +0 -3
  298. package/lib/cjs/types/partials/CodeableReference.d.ts +0 -9
  299. package/lib/cjs/types/partials/Coding.cjs +0 -3
  300. package/lib/cjs/types/partials/Coding.d.ts +0 -11
  301. package/lib/cjs/types/partials/CommunicationPayload.cjs +0 -3
  302. package/lib/cjs/types/partials/CommunicationPayload.d.ts +0 -11
  303. package/lib/cjs/types/partials/CommunicationRequestPayload.cjs +0 -3
  304. package/lib/cjs/types/partials/CommunicationRequestPayload.d.ts +0 -11
  305. package/lib/cjs/types/partials/CompartmentDefinitionResource.cjs +0 -3
  306. package/lib/cjs/types/partials/CompartmentDefinitionResource.d.ts +0 -9
  307. package/lib/cjs/types/partials/CompositionAttester.cjs +0 -3
  308. package/lib/cjs/types/partials/CompositionAttester.d.ts +0 -11
  309. package/lib/cjs/types/partials/CompositionEvent.cjs +0 -3
  310. package/lib/cjs/types/partials/CompositionEvent.d.ts +0 -12
  311. package/lib/cjs/types/partials/CompositionRelatesTo.cjs +0 -3
  312. package/lib/cjs/types/partials/CompositionRelatesTo.d.ts +0 -11
  313. package/lib/cjs/types/partials/CompositionSection.cjs +0 -3
  314. package/lib/cjs/types/partials/CompositionSection.d.ts +0 -19
  315. package/lib/cjs/types/partials/ConceptMapDependsOn.cjs +0 -3
  316. package/lib/cjs/types/partials/ConceptMapDependsOn.d.ts +0 -12
  317. package/lib/cjs/types/partials/ConceptMapElement.cjs +0 -3
  318. package/lib/cjs/types/partials/ConceptMapElement.d.ts +0 -10
  319. package/lib/cjs/types/partials/ConceptMapGroup.cjs +0 -3
  320. package/lib/cjs/types/partials/ConceptMapGroup.d.ts +0 -15
  321. package/lib/cjs/types/partials/ConceptMapTarget.cjs +0 -3
  322. package/lib/cjs/types/partials/ConceptMapTarget.d.ts +0 -13
  323. package/lib/cjs/types/partials/ConceptMapUnmapped.cjs +0 -3
  324. package/lib/cjs/types/partials/ConceptMapUnmapped.d.ts +0 -11
  325. package/lib/cjs/types/partials/ConditionEvidence.cjs +0 -3
  326. package/lib/cjs/types/partials/ConditionEvidence.d.ts +0 -10
  327. package/lib/cjs/types/partials/ConditionStage.cjs +0 -3
  328. package/lib/cjs/types/partials/ConditionStage.d.ts +0 -11
  329. package/lib/cjs/types/partials/ConsentActor.cjs +0 -3
  330. package/lib/cjs/types/partials/ConsentActor.d.ts +0 -10
  331. package/lib/cjs/types/partials/ConsentData.cjs +0 -3
  332. package/lib/cjs/types/partials/ConsentData.d.ts +0 -9
  333. package/lib/cjs/types/partials/ConsentPolicy.cjs +0 -3
  334. package/lib/cjs/types/partials/ConsentPolicy.d.ts +0 -9
  335. package/lib/cjs/types/partials/ConsentProvision.cjs +0 -3
  336. package/lib/cjs/types/partials/ConsentProvision.d.ts +0 -22
  337. package/lib/cjs/types/partials/ConsentVerification.cjs +0 -3
  338. package/lib/cjs/types/partials/ConsentVerification.d.ts +0 -11
  339. package/lib/cjs/types/partials/ContactDetail.cjs +0 -3
  340. package/lib/cjs/types/partials/ContactDetail.d.ts +0 -8
  341. package/lib/cjs/types/partials/ContactPoint.cjs +0 -3
  342. package/lib/cjs/types/partials/ContactPoint.d.ts +0 -12
  343. package/lib/cjs/types/partials/ContractAction.cjs +0 -3
  344. package/lib/cjs/types/partials/ContractAction.d.ts +0 -37
  345. package/lib/cjs/types/partials/ContractAnswer.cjs +0 -3
  346. package/lib/cjs/types/partials/ContractAnswer.d.ts +0 -28
  347. package/lib/cjs/types/partials/ContractAsset.cjs +0 -3
  348. package/lib/cjs/types/partials/ContractAsset.d.ts +0 -29
  349. package/lib/cjs/types/partials/ContractContentDefinition.cjs +0 -3
  350. package/lib/cjs/types/partials/ContractContentDefinition.d.ts +0 -16
  351. package/lib/cjs/types/partials/ContractContext.cjs +0 -3
  352. package/lib/cjs/types/partials/ContractContext.d.ts +0 -11
  353. package/lib/cjs/types/partials/ContractFriendly.cjs +0 -3
  354. package/lib/cjs/types/partials/ContractFriendly.d.ts +0 -10
  355. package/lib/cjs/types/partials/ContractLegal.cjs +0 -3
  356. package/lib/cjs/types/partials/ContractLegal.d.ts +0 -10
  357. package/lib/cjs/types/partials/ContractOffer.cjs +0 -3
  358. package/lib/cjs/types/partials/ContractOffer.d.ts +0 -22
  359. package/lib/cjs/types/partials/ContractParty.cjs +0 -3
  360. package/lib/cjs/types/partials/ContractParty.d.ts +0 -10
  361. package/lib/cjs/types/partials/ContractRule.cjs +0 -3
  362. package/lib/cjs/types/partials/ContractRule.d.ts +0 -10
  363. package/lib/cjs/types/partials/ContractSecurityLabel.cjs +0 -3
  364. package/lib/cjs/types/partials/ContractSecurityLabel.d.ts +0 -12
  365. package/lib/cjs/types/partials/ContractSigner.cjs +0 -3
  366. package/lib/cjs/types/partials/ContractSigner.d.ts +0 -12
  367. package/lib/cjs/types/partials/ContractSubject.cjs +0 -3
  368. package/lib/cjs/types/partials/ContractSubject.d.ts +0 -10
  369. package/lib/cjs/types/partials/ContractTerm.cjs +0 -3
  370. package/lib/cjs/types/partials/ContractTerm.d.ts +0 -28
  371. package/lib/cjs/types/partials/ContractValuedItem.cjs +0 -3
  372. package/lib/cjs/types/partials/ContractValuedItem.d.ts +0 -29
  373. package/lib/cjs/types/partials/Contributor.cjs +0 -3
  374. package/lib/cjs/types/partials/Contributor.d.ts +0 -9
  375. package/lib/cjs/types/partials/Count.cjs +0 -3
  376. package/lib/cjs/types/partials/Count.d.ts +0 -9
  377. package/lib/cjs/types/partials/CoverageClass.cjs +0 -3
  378. package/lib/cjs/types/partials/CoverageClass.d.ts +0 -10
  379. package/lib/cjs/types/partials/CoverageCostToBeneficiary.cjs +0 -3
  380. package/lib/cjs/types/partials/CoverageCostToBeneficiary.d.ts +0 -14
  381. package/lib/cjs/types/partials/CoverageEligibilityRequestDiagnosis.cjs +0 -3
  382. package/lib/cjs/types/partials/CoverageEligibilityRequestDiagnosis.d.ts +0 -10
  383. package/lib/cjs/types/partials/CoverageEligibilityRequestInsurance.cjs +0 -3
  384. package/lib/cjs/types/partials/CoverageEligibilityRequestInsurance.d.ts +0 -10
  385. package/lib/cjs/types/partials/CoverageEligibilityRequestItem.cjs +0 -3
  386. package/lib/cjs/types/partials/CoverageEligibilityRequestItem.d.ts +0 -22
  387. package/lib/cjs/types/partials/CoverageEligibilityRequestSupportingInfo.cjs +0 -3
  388. package/lib/cjs/types/partials/CoverageEligibilityRequestSupportingInfo.d.ts +0 -11
  389. package/lib/cjs/types/partials/CoverageEligibilityResponseBenefit.cjs +0 -3
  390. package/lib/cjs/types/partials/CoverageEligibilityResponseBenefit.d.ts +0 -16
  391. package/lib/cjs/types/partials/CoverageEligibilityResponseError.cjs +0 -3
  392. package/lib/cjs/types/partials/CoverageEligibilityResponseError.d.ts +0 -8
  393. package/lib/cjs/types/partials/CoverageEligibilityResponseInsurance.cjs +0 -3
  394. package/lib/cjs/types/partials/CoverageEligibilityResponseInsurance.d.ts +0 -13
  395. package/lib/cjs/types/partials/CoverageEligibilityResponseItem.cjs +0 -3
  396. package/lib/cjs/types/partials/CoverageEligibilityResponseItem.d.ts +0 -24
  397. package/lib/cjs/types/partials/CoverageException.cjs +0 -3
  398. package/lib/cjs/types/partials/CoverageException.d.ts +0 -10
  399. package/lib/cjs/types/partials/DataRequirement.cjs +0 -3
  400. package/lib/cjs/types/partials/DataRequirement.d.ts +0 -21
  401. package/lib/cjs/types/partials/DataRequirementCodeFilter.cjs +0 -3
  402. package/lib/cjs/types/partials/DataRequirementCodeFilter.d.ts +0 -11
  403. package/lib/cjs/types/partials/DataRequirementDateFilter.cjs +0 -3
  404. package/lib/cjs/types/partials/DataRequirementDateFilter.d.ts +0 -13
  405. package/lib/cjs/types/partials/DataRequirementSort.cjs +0 -3
  406. package/lib/cjs/types/partials/DataRequirementSort.d.ts +0 -7
  407. package/lib/cjs/types/partials/DetectedIssueEvidence.cjs +0 -3
  408. package/lib/cjs/types/partials/DetectedIssueEvidence.d.ts +0 -10
  409. package/lib/cjs/types/partials/DetectedIssueMitigation.cjs +0 -3
  410. package/lib/cjs/types/partials/DetectedIssueMitigation.d.ts +0 -12
  411. package/lib/cjs/types/partials/DeviceDefinitionCapability.cjs +0 -3
  412. package/lib/cjs/types/partials/DeviceDefinitionCapability.d.ts +0 -9
  413. package/lib/cjs/types/partials/DeviceDefinitionDeviceName.cjs +0 -3
  414. package/lib/cjs/types/partials/DeviceDefinitionDeviceName.d.ts +0 -8
  415. package/lib/cjs/types/partials/DeviceDefinitionMaterial.cjs +0 -3
  416. package/lib/cjs/types/partials/DeviceDefinitionMaterial.d.ts +0 -10
  417. package/lib/cjs/types/partials/DeviceDefinitionProperty.cjs +0 -3
  418. package/lib/cjs/types/partials/DeviceDefinitionProperty.d.ts +0 -11
  419. package/lib/cjs/types/partials/DeviceDefinitionSpecialization.cjs +0 -3
  420. package/lib/cjs/types/partials/DeviceDefinitionSpecialization.d.ts +0 -8
  421. package/lib/cjs/types/partials/DeviceDefinitionUdiDeviceIdentifier.cjs +0 -3
  422. package/lib/cjs/types/partials/DeviceDefinitionUdiDeviceIdentifier.d.ts +0 -10
  423. package/lib/cjs/types/partials/DeviceDeviceName.cjs +0 -3
  424. package/lib/cjs/types/partials/DeviceDeviceName.d.ts +0 -8
  425. package/lib/cjs/types/partials/DeviceMetricCalibration.cjs +0 -3
  426. package/lib/cjs/types/partials/DeviceMetricCalibration.d.ts +0 -10
  427. package/lib/cjs/types/partials/DeviceProperty.cjs +0 -3
  428. package/lib/cjs/types/partials/DeviceProperty.d.ts +0 -11
  429. package/lib/cjs/types/partials/DeviceRequestParameter.cjs +0 -3
  430. package/lib/cjs/types/partials/DeviceRequestParameter.d.ts +0 -14
  431. package/lib/cjs/types/partials/DeviceSpecialization.cjs +0 -3
  432. package/lib/cjs/types/partials/DeviceSpecialization.d.ts +0 -9
  433. package/lib/cjs/types/partials/DeviceUdiCarrier.cjs +0 -3
  434. package/lib/cjs/types/partials/DeviceUdiCarrier.d.ts +0 -14
  435. package/lib/cjs/types/partials/DeviceVersion.cjs +0 -3
  436. package/lib/cjs/types/partials/DeviceVersion.d.ts +0 -11
  437. package/lib/cjs/types/partials/DiagnosticReportMedia.cjs +0 -3
  438. package/lib/cjs/types/partials/DiagnosticReportMedia.d.ts +0 -9
  439. package/lib/cjs/types/partials/Distance.cjs +0 -3
  440. package/lib/cjs/types/partials/Distance.d.ts +0 -9
  441. package/lib/cjs/types/partials/DocumentManifestRelated.cjs +0 -3
  442. package/lib/cjs/types/partials/DocumentManifestRelated.d.ts +0 -10
  443. package/lib/cjs/types/partials/DocumentReferenceContent.cjs +0 -3
  444. package/lib/cjs/types/partials/DocumentReferenceContent.d.ts +0 -10
  445. package/lib/cjs/types/partials/DocumentReferenceContext.cjs +0 -3
  446. package/lib/cjs/types/partials/DocumentReferenceContext.d.ts +0 -16
  447. package/lib/cjs/types/partials/DocumentReferenceRelatesTo.cjs +0 -3
  448. package/lib/cjs/types/partials/DocumentReferenceRelatesTo.d.ts +0 -9
  449. package/lib/cjs/types/partials/Dosage.cjs +0 -3
  450. package/lib/cjs/types/partials/Dosage.d.ts +0 -26
  451. package/lib/cjs/types/partials/DosageDoseAndRate.cjs +0 -3
  452. package/lib/cjs/types/partials/DosageDoseAndRate.d.ts +0 -16
  453. package/lib/cjs/types/partials/Duration.cjs +0 -3
  454. package/lib/cjs/types/partials/Duration.d.ts +0 -12
  455. package/lib/cjs/types/partials/Element.cjs +0 -3
  456. package/lib/cjs/types/partials/Element.d.ts +0 -5
  457. package/lib/cjs/types/partials/ElementDefinition.cjs +0 -3
  458. package/lib/cjs/types/partials/ElementDefinition.d.ts +0 -256
  459. package/lib/cjs/types/partials/ElementDefinitionBase.cjs +0 -3
  460. package/lib/cjs/types/partials/ElementDefinitionBase.d.ts +0 -10
  461. package/lib/cjs/types/partials/ElementDefinitionBinding.cjs +0 -3
  462. package/lib/cjs/types/partials/ElementDefinitionBinding.d.ts +0 -10
  463. package/lib/cjs/types/partials/ElementDefinitionConstraint.cjs +0 -3
  464. package/lib/cjs/types/partials/ElementDefinitionConstraint.d.ts +0 -15
  465. package/lib/cjs/types/partials/ElementDefinitionDiscriminator.cjs +0 -3
  466. package/lib/cjs/types/partials/ElementDefinitionDiscriminator.d.ts +0 -8
  467. package/lib/cjs/types/partials/ElementDefinitionExample.cjs +0 -3
  468. package/lib/cjs/types/partials/ElementDefinitionExample.d.ts +0 -101
  469. package/lib/cjs/types/partials/ElementDefinitionMapping.cjs +0 -3
  470. package/lib/cjs/types/partials/ElementDefinitionMapping.d.ts +0 -11
  471. package/lib/cjs/types/partials/ElementDefinitionSlicing.cjs +0 -3
  472. package/lib/cjs/types/partials/ElementDefinitionSlicing.d.ts +0 -11
  473. package/lib/cjs/types/partials/ElementDefinitionType.cjs +0 -3
  474. package/lib/cjs/types/partials/ElementDefinitionType.d.ts +0 -13
  475. package/lib/cjs/types/partials/EncounterClassHistory.cjs +0 -3
  476. package/lib/cjs/types/partials/EncounterClassHistory.d.ts +0 -10
  477. package/lib/cjs/types/partials/EncounterDiagnosis.cjs +0 -3
  478. package/lib/cjs/types/partials/EncounterDiagnosis.d.ts +0 -12
  479. package/lib/cjs/types/partials/EncounterHospitalization.cjs +0 -3
  480. package/lib/cjs/types/partials/EncounterHospitalization.d.ts +0 -18
  481. package/lib/cjs/types/partials/EncounterLocation.cjs +0 -3
  482. package/lib/cjs/types/partials/EncounterLocation.d.ts +0 -13
  483. package/lib/cjs/types/partials/EncounterParticipant.cjs +0 -3
  484. package/lib/cjs/types/partials/EncounterParticipant.d.ts +0 -12
  485. package/lib/cjs/types/partials/EncounterStatusHistory.cjs +0 -3
  486. package/lib/cjs/types/partials/EncounterStatusHistory.d.ts +0 -9
  487. package/lib/cjs/types/partials/EpisodeOfCareDiagnosis.cjs +0 -3
  488. package/lib/cjs/types/partials/EpisodeOfCareDiagnosis.d.ts +0 -12
  489. package/lib/cjs/types/partials/EpisodeOfCareStatusHistory.cjs +0 -3
  490. package/lib/cjs/types/partials/EpisodeOfCareStatusHistory.d.ts +0 -9
  491. package/lib/cjs/types/partials/EvidenceAttributeEstimate.cjs +0 -3
  492. package/lib/cjs/types/partials/EvidenceAttributeEstimate.d.ts +0 -18
  493. package/lib/cjs/types/partials/EvidenceCertainty.cjs +0 -3
  494. package/lib/cjs/types/partials/EvidenceCertainty.d.ts +0 -14
  495. package/lib/cjs/types/partials/EvidenceModelCharacteristic.cjs +0 -3
  496. package/lib/cjs/types/partials/EvidenceModelCharacteristic.d.ts +0 -14
  497. package/lib/cjs/types/partials/EvidenceReportCharacteristic.cjs +0 -3
  498. package/lib/cjs/types/partials/EvidenceReportCharacteristic.d.ts +0 -19
  499. package/lib/cjs/types/partials/EvidenceReportRelatesTo.cjs +0 -3
  500. package/lib/cjs/types/partials/EvidenceReportRelatesTo.d.ts +0 -11
  501. package/lib/cjs/types/partials/EvidenceReportSection.cjs +0 -3
  502. package/lib/cjs/types/partials/EvidenceReportSection.d.ts +0 -22
  503. package/lib/cjs/types/partials/EvidenceReportSubject.cjs +0 -3
  504. package/lib/cjs/types/partials/EvidenceReportSubject.d.ts +0 -10
  505. package/lib/cjs/types/partials/EvidenceSampleSize.cjs +0 -3
  506. package/lib/cjs/types/partials/EvidenceSampleSize.d.ts +0 -13
  507. package/lib/cjs/types/partials/EvidenceStatistic.cjs +0 -3
  508. package/lib/cjs/types/partials/EvidenceStatistic.d.ts +0 -23
  509. package/lib/cjs/types/partials/EvidenceVariable.cjs +0 -3
  510. package/lib/cjs/types/partials/EvidenceVariable.d.ts +0 -15
  511. package/lib/cjs/types/partials/EvidenceVariableCategory.cjs +0 -3
  512. package/lib/cjs/types/partials/EvidenceVariableCategory.d.ts +0 -13
  513. package/lib/cjs/types/partials/EvidenceVariableCharacteristic.cjs +0 -3
  514. package/lib/cjs/types/partials/EvidenceVariableCharacteristic.d.ts +0 -21
  515. package/lib/cjs/types/partials/EvidenceVariableDefinition.cjs +0 -3
  516. package/lib/cjs/types/partials/EvidenceVariableDefinition.d.ts +0 -16
  517. package/lib/cjs/types/partials/EvidenceVariableTimeFromStart.cjs +0 -3
  518. package/lib/cjs/types/partials/EvidenceVariableTimeFromStart.d.ts +0 -13
  519. package/lib/cjs/types/partials/ExampleScenarioActor.cjs +0 -3
  520. package/lib/cjs/types/partials/ExampleScenarioActor.d.ts +0 -11
  521. package/lib/cjs/types/partials/ExampleScenarioAlternative.cjs +0 -3
  522. package/lib/cjs/types/partials/ExampleScenarioAlternative.d.ts +0 -11
  523. package/lib/cjs/types/partials/ExampleScenarioContainedInstance.cjs +0 -3
  524. package/lib/cjs/types/partials/ExampleScenarioContainedInstance.d.ts +0 -8
  525. package/lib/cjs/types/partials/ExampleScenarioInstance.cjs +0 -3
  526. package/lib/cjs/types/partials/ExampleScenarioInstance.d.ts +0 -15
  527. package/lib/cjs/types/partials/ExampleScenarioOperation.cjs +0 -3
  528. package/lib/cjs/types/partials/ExampleScenarioOperation.d.ts +0 -18
  529. package/lib/cjs/types/partials/ExampleScenarioProcess.cjs +0 -3
  530. package/lib/cjs/types/partials/ExampleScenarioProcess.d.ts +0 -13
  531. package/lib/cjs/types/partials/ExampleScenarioStep.cjs +0 -3
  532. package/lib/cjs/types/partials/ExampleScenarioStep.d.ts +0 -13
  533. package/lib/cjs/types/partials/ExampleScenarioVersion.cjs +0 -3
  534. package/lib/cjs/types/partials/ExampleScenarioVersion.d.ts +0 -9
  535. package/lib/cjs/types/partials/ExplanationOfBenefitAccident.cjs +0 -3
  536. package/lib/cjs/types/partials/ExplanationOfBenefitAccident.d.ts +0 -14
  537. package/lib/cjs/types/partials/ExplanationOfBenefitAddItem.cjs +0 -3
  538. package/lib/cjs/types/partials/ExplanationOfBenefitAddItem.d.ts +0 -38
  539. package/lib/cjs/types/partials/ExplanationOfBenefitAdjudication.cjs +0 -3
  540. package/lib/cjs/types/partials/ExplanationOfBenefitAdjudication.d.ts +0 -13
  541. package/lib/cjs/types/partials/ExplanationOfBenefitBenefitBalance.cjs +0 -3
  542. package/lib/cjs/types/partials/ExplanationOfBenefitBenefitBalance.d.ts +0 -16
  543. package/lib/cjs/types/partials/ExplanationOfBenefitCareTeam.cjs +0 -3
  544. package/lib/cjs/types/partials/ExplanationOfBenefitCareTeam.d.ts +0 -14
  545. package/lib/cjs/types/partials/ExplanationOfBenefitDetail.cjs +0 -3
  546. package/lib/cjs/types/partials/ExplanationOfBenefitDetail.d.ts +0 -28
  547. package/lib/cjs/types/partials/ExplanationOfBenefitDetail1.cjs +0 -3
  548. package/lib/cjs/types/partials/ExplanationOfBenefitDetail1.d.ts +0 -22
  549. package/lib/cjs/types/partials/ExplanationOfBenefitDiagnosis.cjs +0 -3
  550. package/lib/cjs/types/partials/ExplanationOfBenefitDiagnosis.d.ts +0 -15
  551. package/lib/cjs/types/partials/ExplanationOfBenefitFinancial.cjs +0 -3
  552. package/lib/cjs/types/partials/ExplanationOfBenefitFinancial.d.ts +0 -15
  553. package/lib/cjs/types/partials/ExplanationOfBenefitInsurance.cjs +0 -3
  554. package/lib/cjs/types/partials/ExplanationOfBenefitInsurance.d.ts +0 -10
  555. package/lib/cjs/types/partials/ExplanationOfBenefitItem.cjs +0 -3
  556. package/lib/cjs/types/partials/ExplanationOfBenefitItem.d.ts +0 -43
  557. package/lib/cjs/types/partials/ExplanationOfBenefitPayee.cjs +0 -3
  558. package/lib/cjs/types/partials/ExplanationOfBenefitPayee.d.ts +0 -10
  559. package/lib/cjs/types/partials/ExplanationOfBenefitPayment.cjs +0 -3
  560. package/lib/cjs/types/partials/ExplanationOfBenefitPayment.d.ts +0 -16
  561. package/lib/cjs/types/partials/ExplanationOfBenefitProcedure.cjs +0 -3
  562. package/lib/cjs/types/partials/ExplanationOfBenefitProcedure.d.ts +0 -16
  563. package/lib/cjs/types/partials/ExplanationOfBenefitProcessNote.cjs +0 -3
  564. package/lib/cjs/types/partials/ExplanationOfBenefitProcessNote.d.ts +0 -12
  565. package/lib/cjs/types/partials/ExplanationOfBenefitRelated.cjs +0 -3
  566. package/lib/cjs/types/partials/ExplanationOfBenefitRelated.d.ts +0 -12
  567. package/lib/cjs/types/partials/ExplanationOfBenefitSubDetail.cjs +0 -3
  568. package/lib/cjs/types/partials/ExplanationOfBenefitSubDetail.d.ts +0 -26
  569. package/lib/cjs/types/partials/ExplanationOfBenefitSubDetail1.cjs +0 -3
  570. package/lib/cjs/types/partials/ExplanationOfBenefitSubDetail1.d.ts +0 -20
  571. package/lib/cjs/types/partials/ExplanationOfBenefitSupportingInfo.cjs +0 -3
  572. package/lib/cjs/types/partials/ExplanationOfBenefitSupportingInfo.d.ts +0 -25
  573. package/lib/cjs/types/partials/ExplanationOfBenefitTotal.cjs +0 -3
  574. package/lib/cjs/types/partials/ExplanationOfBenefitTotal.d.ts +0 -10
  575. package/lib/cjs/types/partials/Expression.cjs +0 -3
  576. package/lib/cjs/types/partials/Expression.d.ts +0 -12
  577. package/lib/cjs/types/partials/Extension.cjs +0 -3
  578. package/lib/cjs/types/partials/Extension.d.ts +0 -99
  579. package/lib/cjs/types/partials/FamilyMemberHistoryCondition.cjs +0 -3
  580. package/lib/cjs/types/partials/FamilyMemberHistoryCondition.d.ts +0 -19
  581. package/lib/cjs/types/partials/GoalTarget.cjs +0 -3
  582. package/lib/cjs/types/partials/GoalTarget.d.ts +0 -22
  583. package/lib/cjs/types/partials/GraphDefinitionCompartment.cjs +0 -3
  584. package/lib/cjs/types/partials/GraphDefinitionCompartment.d.ts +0 -11
  585. package/lib/cjs/types/partials/GraphDefinitionLink.cjs +0 -3
  586. package/lib/cjs/types/partials/GraphDefinitionLink.d.ts +0 -14
  587. package/lib/cjs/types/partials/GraphDefinitionTarget.cjs +0 -3
  588. package/lib/cjs/types/partials/GraphDefinitionTarget.d.ts +0 -14
  589. package/lib/cjs/types/partials/GroupCharacteristic.cjs +0 -3
  590. package/lib/cjs/types/partials/GroupCharacteristic.d.ts +0 -19
  591. package/lib/cjs/types/partials/GroupMember.cjs +0 -3
  592. package/lib/cjs/types/partials/GroupMember.d.ts +0 -11
  593. package/lib/cjs/types/partials/HealthcareServiceAvailableTime.cjs +0 -3
  594. package/lib/cjs/types/partials/HealthcareServiceAvailableTime.d.ts +0 -11
  595. package/lib/cjs/types/partials/HealthcareServiceEligibility.cjs +0 -3
  596. package/lib/cjs/types/partials/HealthcareServiceEligibility.d.ts +0 -10
  597. package/lib/cjs/types/partials/HealthcareServiceNotAvailable.cjs +0 -3
  598. package/lib/cjs/types/partials/HealthcareServiceNotAvailable.d.ts +0 -9
  599. package/lib/cjs/types/partials/HumanName.cjs +0 -3
  600. package/lib/cjs/types/partials/HumanName.d.ts +0 -13
  601. package/lib/cjs/types/partials/Identifier.cjs +0 -3
  602. package/lib/cjs/types/partials/Identifier.d.ts +0 -15
  603. package/lib/cjs/types/partials/ImagingStudyInstance.cjs +0 -3
  604. package/lib/cjs/types/partials/ImagingStudyInstance.d.ts +0 -13
  605. package/lib/cjs/types/partials/ImagingStudyPerformer.cjs +0 -3
  606. package/lib/cjs/types/partials/ImagingStudyPerformer.d.ts +0 -10
  607. package/lib/cjs/types/partials/ImagingStudySeries.cjs +0 -3
  608. package/lib/cjs/types/partials/ImagingStudySeries.d.ts +0 -25
  609. package/lib/cjs/types/partials/ImmunizationEducation.cjs +0 -3
  610. package/lib/cjs/types/partials/ImmunizationEducation.d.ts +0 -12
  611. package/lib/cjs/types/partials/ImmunizationPerformer.cjs +0 -3
  612. package/lib/cjs/types/partials/ImmunizationPerformer.d.ts +0 -10
  613. package/lib/cjs/types/partials/ImmunizationProtocolApplied.cjs +0 -3
  614. package/lib/cjs/types/partials/ImmunizationProtocolApplied.d.ts +0 -16
  615. package/lib/cjs/types/partials/ImmunizationReaction.cjs +0 -3
  616. package/lib/cjs/types/partials/ImmunizationReaction.d.ts +0 -11
  617. package/lib/cjs/types/partials/ImmunizationRecommendationDateCriterion.cjs +0 -3
  618. package/lib/cjs/types/partials/ImmunizationRecommendationDateCriterion.d.ts +0 -10
  619. package/lib/cjs/types/partials/ImmunizationRecommendationRecommendation.cjs +0 -3
  620. package/lib/cjs/types/partials/ImmunizationRecommendationRecommendation.d.ts +0 -24
  621. package/lib/cjs/types/partials/ImplementationGuideDefinition.cjs +0 -3
  622. package/lib/cjs/types/partials/ImplementationGuideDefinition.d.ts +0 -16
  623. package/lib/cjs/types/partials/ImplementationGuideDependsOn.cjs +0 -3
  624. package/lib/cjs/types/partials/ImplementationGuideDependsOn.d.ts +0 -11
  625. package/lib/cjs/types/partials/ImplementationGuideGlobal.cjs +0 -3
  626. package/lib/cjs/types/partials/ImplementationGuideGlobal.d.ts +0 -9
  627. package/lib/cjs/types/partials/ImplementationGuideGrouping.cjs +0 -3
  628. package/lib/cjs/types/partials/ImplementationGuideGrouping.d.ts +0 -8
  629. package/lib/cjs/types/partials/ImplementationGuideManifest.cjs +0 -3
  630. package/lib/cjs/types/partials/ImplementationGuideManifest.d.ts +0 -14
  631. package/lib/cjs/types/partials/ImplementationGuidePage.cjs +0 -3
  632. package/lib/cjs/types/partials/ImplementationGuidePage.d.ts +0 -13
  633. package/lib/cjs/types/partials/ImplementationGuidePage1.cjs +0 -3
  634. package/lib/cjs/types/partials/ImplementationGuidePage1.d.ts +0 -9
  635. package/lib/cjs/types/partials/ImplementationGuideParameter.cjs +0 -3
  636. package/lib/cjs/types/partials/ImplementationGuideParameter.d.ts +0 -8
  637. package/lib/cjs/types/partials/ImplementationGuideResource.cjs +0 -3
  638. package/lib/cjs/types/partials/ImplementationGuideResource.d.ts +0 -16
  639. package/lib/cjs/types/partials/ImplementationGuideResource1.cjs +0 -3
  640. package/lib/cjs/types/partials/ImplementationGuideResource1.d.ts +0 -13
  641. package/lib/cjs/types/partials/ImplementationGuideTemplate.cjs +0 -3
  642. package/lib/cjs/types/partials/ImplementationGuideTemplate.d.ts +0 -9
  643. package/lib/cjs/types/partials/IngredientManufacturer.cjs +0 -3
  644. package/lib/cjs/types/partials/IngredientManufacturer.d.ts +0 -9
  645. package/lib/cjs/types/partials/IngredientReferenceStrength.cjs +0 -3
  646. package/lib/cjs/types/partials/IngredientReferenceStrength.d.ts +0 -15
  647. package/lib/cjs/types/partials/IngredientStrength.cjs +0 -3
  648. package/lib/cjs/types/partials/IngredientStrength.d.ts +0 -19
  649. package/lib/cjs/types/partials/IngredientSubstance.cjs +0 -3
  650. package/lib/cjs/types/partials/IngredientSubstance.d.ts +0 -10
  651. package/lib/cjs/types/partials/InsurancePlanBenefit.cjs +0 -3
  652. package/lib/cjs/types/partials/InsurancePlanBenefit.d.ts +0 -11
  653. package/lib/cjs/types/partials/InsurancePlanBenefit1.cjs +0 -3
  654. package/lib/cjs/types/partials/InsurancePlanBenefit1.d.ts +0 -10
  655. package/lib/cjs/types/partials/InsurancePlanContact.cjs +0 -3
  656. package/lib/cjs/types/partials/InsurancePlanContact.d.ts +0 -14
  657. package/lib/cjs/types/partials/InsurancePlanCost.cjs +0 -3
  658. package/lib/cjs/types/partials/InsurancePlanCost.d.ts +0 -12
  659. package/lib/cjs/types/partials/InsurancePlanCoverage.cjs +0 -3
  660. package/lib/cjs/types/partials/InsurancePlanCoverage.d.ts +0 -12
  661. package/lib/cjs/types/partials/InsurancePlanGeneralCost.cjs +0 -3
  662. package/lib/cjs/types/partials/InsurancePlanGeneralCost.d.ts +0 -13
  663. package/lib/cjs/types/partials/InsurancePlanLimit.cjs +0 -3
  664. package/lib/cjs/types/partials/InsurancePlanLimit.d.ts +0 -10
  665. package/lib/cjs/types/partials/InsurancePlanPlan.cjs +0 -3
  666. package/lib/cjs/types/partials/InsurancePlanPlan.d.ts +0 -17
  667. package/lib/cjs/types/partials/InsurancePlanSpecificCost.cjs +0 -3
  668. package/lib/cjs/types/partials/InsurancePlanSpecificCost.d.ts +0 -10
  669. package/lib/cjs/types/partials/InvoiceLineItem.cjs +0 -3
  670. package/lib/cjs/types/partials/InvoiceLineItem.d.ts +0 -14
  671. package/lib/cjs/types/partials/InvoiceParticipant.cjs +0 -3
  672. package/lib/cjs/types/partials/InvoiceParticipant.d.ts +0 -10
  673. package/lib/cjs/types/partials/InvoicePriceComponent.cjs +0 -3
  674. package/lib/cjs/types/partials/InvoicePriceComponent.d.ts +0 -13
  675. package/lib/cjs/types/partials/LinkageItem.cjs +0 -3
  676. package/lib/cjs/types/partials/LinkageItem.d.ts +0 -9
  677. package/lib/cjs/types/partials/ListEntry.cjs +0 -3
  678. package/lib/cjs/types/partials/ListEntry.d.ts +0 -13
  679. package/lib/cjs/types/partials/LocationHoursOfOperation.cjs +0 -3
  680. package/lib/cjs/types/partials/LocationHoursOfOperation.d.ts +0 -11
  681. package/lib/cjs/types/partials/LocationPosition.cjs +0 -3
  682. package/lib/cjs/types/partials/LocationPosition.d.ts +0 -10
  683. package/lib/cjs/types/partials/ManufacturedItemDefinitionProperty.cjs +0 -3
  684. package/lib/cjs/types/partials/ManufacturedItemDefinitionProperty.d.ts +0 -16
  685. package/lib/cjs/types/partials/MarketingStatus.cjs +0 -3
  686. package/lib/cjs/types/partials/MarketingStatus.d.ts +0 -14
  687. package/lib/cjs/types/partials/MeasureComponent.cjs +0 -3
  688. package/lib/cjs/types/partials/MeasureComponent.d.ts +0 -11
  689. package/lib/cjs/types/partials/MeasureGroup.cjs +0 -3
  690. package/lib/cjs/types/partials/MeasureGroup.d.ts +0 -13
  691. package/lib/cjs/types/partials/MeasurePopulation.cjs +0 -3
  692. package/lib/cjs/types/partials/MeasurePopulation.d.ts +0 -11
  693. package/lib/cjs/types/partials/MeasureReportComponent.cjs +0 -3
  694. package/lib/cjs/types/partials/MeasureReportComponent.d.ts +0 -9
  695. package/lib/cjs/types/partials/MeasureReportGroup.cjs +0 -3
  696. package/lib/cjs/types/partials/MeasureReportGroup.d.ts +0 -14
  697. package/lib/cjs/types/partials/MeasureReportPopulation.cjs +0 -3
  698. package/lib/cjs/types/partials/MeasureReportPopulation.d.ts +0 -12
  699. package/lib/cjs/types/partials/MeasureReportPopulation1.cjs +0 -3
  700. package/lib/cjs/types/partials/MeasureReportPopulation1.d.ts +0 -12
  701. package/lib/cjs/types/partials/MeasureReportStratifier.cjs +0 -3
  702. package/lib/cjs/types/partials/MeasureReportStratifier.d.ts +0 -10
  703. package/lib/cjs/types/partials/MeasureReportStratum.cjs +0 -3
  704. package/lib/cjs/types/partials/MeasureReportStratum.d.ts +0 -14
  705. package/lib/cjs/types/partials/MeasureStratifier.cjs +0 -3
  706. package/lib/cjs/types/partials/MeasureStratifier.d.ts +0 -13
  707. package/lib/cjs/types/partials/MeasureSupplementalData.cjs +0 -3
  708. package/lib/cjs/types/partials/MeasureSupplementalData.d.ts +0 -12
  709. package/lib/cjs/types/partials/MedicationAdministrationDosage.cjs +0 -3
  710. package/lib/cjs/types/partials/MedicationAdministrationDosage.d.ts +0 -16
  711. package/lib/cjs/types/partials/MedicationAdministrationPerformer.cjs +0 -3
  712. package/lib/cjs/types/partials/MedicationAdministrationPerformer.d.ts +0 -10
  713. package/lib/cjs/types/partials/MedicationBatch.cjs +0 -3
  714. package/lib/cjs/types/partials/MedicationBatch.d.ts +0 -9
  715. package/lib/cjs/types/partials/MedicationDispensePerformer.cjs +0 -3
  716. package/lib/cjs/types/partials/MedicationDispensePerformer.d.ts +0 -10
  717. package/lib/cjs/types/partials/MedicationDispenseSubstitution.cjs +0 -3
  718. package/lib/cjs/types/partials/MedicationDispenseSubstitution.d.ts +0 -12
  719. package/lib/cjs/types/partials/MedicationIngredient.cjs +0 -3
  720. package/lib/cjs/types/partials/MedicationIngredient.d.ts +0 -13
  721. package/lib/cjs/types/partials/MedicationKnowledgeAdministrationGuidelines.cjs +0 -3
  722. package/lib/cjs/types/partials/MedicationKnowledgeAdministrationGuidelines.d.ts +0 -14
  723. package/lib/cjs/types/partials/MedicationKnowledgeCost.cjs +0 -3
  724. package/lib/cjs/types/partials/MedicationKnowledgeCost.d.ts +0 -11
  725. package/lib/cjs/types/partials/MedicationKnowledgeDosage.cjs +0 -3
  726. package/lib/cjs/types/partials/MedicationKnowledgeDosage.d.ts +0 -10
  727. package/lib/cjs/types/partials/MedicationKnowledgeDrugCharacteristic.cjs +0 -3
  728. package/lib/cjs/types/partials/MedicationKnowledgeDrugCharacteristic.d.ts +0 -14
  729. package/lib/cjs/types/partials/MedicationKnowledgeIngredient.cjs +0 -3
  730. package/lib/cjs/types/partials/MedicationKnowledgeIngredient.d.ts +0 -13
  731. package/lib/cjs/types/partials/MedicationKnowledgeKinetics.cjs +0 -3
  732. package/lib/cjs/types/partials/MedicationKnowledgeKinetics.d.ts +0 -10
  733. package/lib/cjs/types/partials/MedicationKnowledgeMaxDispense.cjs +0 -3
  734. package/lib/cjs/types/partials/MedicationKnowledgeMaxDispense.d.ts +0 -9
  735. package/lib/cjs/types/partials/MedicationKnowledgeMedicineClassification.cjs +0 -3
  736. package/lib/cjs/types/partials/MedicationKnowledgeMedicineClassification.d.ts +0 -9
  737. package/lib/cjs/types/partials/MedicationKnowledgeMonitoringProgram.cjs +0 -3
  738. package/lib/cjs/types/partials/MedicationKnowledgeMonitoringProgram.d.ts +0 -9
  739. package/lib/cjs/types/partials/MedicationKnowledgeMonograph.cjs +0 -3
  740. package/lib/cjs/types/partials/MedicationKnowledgeMonograph.d.ts +0 -10
  741. package/lib/cjs/types/partials/MedicationKnowledgePackaging.cjs +0 -3
  742. package/lib/cjs/types/partials/MedicationKnowledgePackaging.d.ts +0 -10
  743. package/lib/cjs/types/partials/MedicationKnowledgePatientCharacteristics.cjs +0 -3
  744. package/lib/cjs/types/partials/MedicationKnowledgePatientCharacteristics.d.ts +0 -11
  745. package/lib/cjs/types/partials/MedicationKnowledgeRegulatory.cjs +0 -3
  746. package/lib/cjs/types/partials/MedicationKnowledgeRegulatory.d.ts +0 -14
  747. package/lib/cjs/types/partials/MedicationKnowledgeRelatedMedicationKnowledge.cjs +0 -3
  748. package/lib/cjs/types/partials/MedicationKnowledgeRelatedMedicationKnowledge.d.ts +0 -10
  749. package/lib/cjs/types/partials/MedicationKnowledgeSchedule.cjs +0 -3
  750. package/lib/cjs/types/partials/MedicationKnowledgeSchedule.d.ts +0 -8
  751. package/lib/cjs/types/partials/MedicationKnowledgeSubstitution.cjs +0 -3
  752. package/lib/cjs/types/partials/MedicationKnowledgeSubstitution.d.ts +0 -9
  753. package/lib/cjs/types/partials/MedicationRequestDispenseRequest.cjs +0 -3
  754. package/lib/cjs/types/partials/MedicationRequestDispenseRequest.d.ts +0 -18
  755. package/lib/cjs/types/partials/MedicationRequestInitialFill.cjs +0 -3
  756. package/lib/cjs/types/partials/MedicationRequestInitialFill.d.ts +0 -9
  757. package/lib/cjs/types/partials/MedicationRequestSubstitution.cjs +0 -3
  758. package/lib/cjs/types/partials/MedicationRequestSubstitution.d.ts +0 -10
  759. package/lib/cjs/types/partials/MedicinalProductDefinitionCharacteristic.cjs +0 -3
  760. package/lib/cjs/types/partials/MedicinalProductDefinitionCharacteristic.d.ts +0 -16
  761. package/lib/cjs/types/partials/MedicinalProductDefinitionContact.cjs +0 -3
  762. package/lib/cjs/types/partials/MedicinalProductDefinitionContact.d.ts +0 -10
  763. package/lib/cjs/types/partials/MedicinalProductDefinitionCountryLanguage.cjs +0 -3
  764. package/lib/cjs/types/partials/MedicinalProductDefinitionCountryLanguage.d.ts +0 -10
  765. package/lib/cjs/types/partials/MedicinalProductDefinitionCrossReference.cjs +0 -3
  766. package/lib/cjs/types/partials/MedicinalProductDefinitionCrossReference.d.ts +0 -10
  767. package/lib/cjs/types/partials/MedicinalProductDefinitionName.cjs +0 -3
  768. package/lib/cjs/types/partials/MedicinalProductDefinitionName.d.ts +0 -13
  769. package/lib/cjs/types/partials/MedicinalProductDefinitionNamePart.cjs +0 -3
  770. package/lib/cjs/types/partials/MedicinalProductDefinitionNamePart.d.ts +0 -9
  771. package/lib/cjs/types/partials/MedicinalProductDefinitionOperation.cjs +0 -3
  772. package/lib/cjs/types/partials/MedicinalProductDefinitionOperation.d.ts +0 -14
  773. package/lib/cjs/types/partials/MessageDefinitionAllowedResponse.cjs +0 -3
  774. package/lib/cjs/types/partials/MessageDefinitionAllowedResponse.d.ts +0 -10
  775. package/lib/cjs/types/partials/MessageDefinitionFocus.cjs +0 -3
  776. package/lib/cjs/types/partials/MessageDefinitionFocus.d.ts +0 -12
  777. package/lib/cjs/types/partials/MessageHeaderDestination.cjs +0 -3
  778. package/lib/cjs/types/partials/MessageHeaderDestination.d.ts +0 -12
  779. package/lib/cjs/types/partials/MessageHeaderResponse.cjs +0 -3
  780. package/lib/cjs/types/partials/MessageHeaderResponse.d.ts +0 -11
  781. package/lib/cjs/types/partials/MessageHeaderSource.cjs +0 -3
  782. package/lib/cjs/types/partials/MessageHeaderSource.d.ts +0 -13
  783. package/lib/cjs/types/partials/Meta.cjs +0 -3
  784. package/lib/cjs/types/partials/Meta.d.ts +0 -16
  785. package/lib/cjs/types/partials/MolecularSequenceInner.cjs +0 -3
  786. package/lib/cjs/types/partials/MolecularSequenceInner.d.ts +0 -9
  787. package/lib/cjs/types/partials/MolecularSequenceOuter.cjs +0 -3
  788. package/lib/cjs/types/partials/MolecularSequenceOuter.d.ts +0 -9
  789. package/lib/cjs/types/partials/MolecularSequenceQuality.cjs +0 -3
  790. package/lib/cjs/types/partials/MolecularSequenceQuality.d.ts +0 -26
  791. package/lib/cjs/types/partials/MolecularSequenceReferenceSeq.cjs +0 -3
  792. package/lib/cjs/types/partials/MolecularSequenceReferenceSeq.d.ts +0 -18
  793. package/lib/cjs/types/partials/MolecularSequenceRepository.cjs +0 -3
  794. package/lib/cjs/types/partials/MolecularSequenceRepository.d.ts +0 -13
  795. package/lib/cjs/types/partials/MolecularSequenceRoc.cjs +0 -3
  796. package/lib/cjs/types/partials/MolecularSequenceRoc.d.ts +0 -15
  797. package/lib/cjs/types/partials/MolecularSequenceStructureVariant.cjs +0 -3
  798. package/lib/cjs/types/partials/MolecularSequenceStructureVariant.d.ts +0 -15
  799. package/lib/cjs/types/partials/MolecularSequenceVariant.cjs +0 -3
  800. package/lib/cjs/types/partials/MolecularSequenceVariant.d.ts +0 -14
  801. package/lib/cjs/types/partials/Money.cjs +0 -3
  802. package/lib/cjs/types/partials/Money.d.ts +0 -8
  803. package/lib/cjs/types/partials/NamingSystemUniqueId.cjs +0 -3
  804. package/lib/cjs/types/partials/NamingSystemUniqueId.d.ts +0 -12
  805. package/lib/cjs/types/partials/Narrative.cjs +0 -3
  806. package/lib/cjs/types/partials/Narrative.d.ts +0 -8
  807. package/lib/cjs/types/partials/NutritionOrderAdministration.cjs +0 -3
  808. package/lib/cjs/types/partials/NutritionOrderAdministration.d.ts +0 -13
  809. package/lib/cjs/types/partials/NutritionOrderEnteralFormula.cjs +0 -3
  810. package/lib/cjs/types/partials/NutritionOrderEnteralFormula.d.ts +0 -18
  811. package/lib/cjs/types/partials/NutritionOrderNutrient.cjs +0 -3
  812. package/lib/cjs/types/partials/NutritionOrderNutrient.d.ts +0 -10
  813. package/lib/cjs/types/partials/NutritionOrderOralDiet.cjs +0 -3
  814. package/lib/cjs/types/partials/NutritionOrderOralDiet.d.ts +0 -16
  815. package/lib/cjs/types/partials/NutritionOrderSupplement.cjs +0 -3
  816. package/lib/cjs/types/partials/NutritionOrderSupplement.d.ts +0 -14
  817. package/lib/cjs/types/partials/NutritionOrderTexture.cjs +0 -3
  818. package/lib/cjs/types/partials/NutritionOrderTexture.d.ts +0 -9
  819. package/lib/cjs/types/partials/NutritionProductIngredient.cjs +0 -3
  820. package/lib/cjs/types/partials/NutritionProductIngredient.d.ts +0 -10
  821. package/lib/cjs/types/partials/NutritionProductInstance.cjs +0 -3
  822. package/lib/cjs/types/partials/NutritionProductInstance.d.ts +0 -14
  823. package/lib/cjs/types/partials/NutritionProductNutrient.cjs +0 -3
  824. package/lib/cjs/types/partials/NutritionProductNutrient.d.ts +0 -10
  825. package/lib/cjs/types/partials/NutritionProductProductCharacteristic.cjs +0 -3
  826. package/lib/cjs/types/partials/NutritionProductProductCharacteristic.d.ts +0 -17
  827. package/lib/cjs/types/partials/ObservationComponent.cjs +0 -3
  828. package/lib/cjs/types/partials/ObservationComponent.d.ts +0 -31
  829. package/lib/cjs/types/partials/ObservationDefinitionQualifiedInterval.cjs +0 -3
  830. package/lib/cjs/types/partials/ObservationDefinitionQualifiedInterval.d.ts +0 -16
  831. package/lib/cjs/types/partials/ObservationDefinitionQuantitativeDetails.cjs +0 -3
  832. package/lib/cjs/types/partials/ObservationDefinitionQuantitativeDetails.d.ts +0 -13
  833. package/lib/cjs/types/partials/ObservationReferenceRange.cjs +0 -3
  834. package/lib/cjs/types/partials/ObservationReferenceRange.d.ts +0 -15
  835. package/lib/cjs/types/partials/OperationDefinitionBinding.cjs +0 -3
  836. package/lib/cjs/types/partials/OperationDefinitionBinding.d.ts +0 -9
  837. package/lib/cjs/types/partials/OperationDefinitionOverload.cjs +0 -3
  838. package/lib/cjs/types/partials/OperationDefinitionOverload.d.ts +0 -8
  839. package/lib/cjs/types/partials/OperationDefinitionParameter.cjs +0 -3
  840. package/lib/cjs/types/partials/OperationDefinitionParameter.d.ts +0 -21
  841. package/lib/cjs/types/partials/OperationDefinitionReferencedFrom.cjs +0 -3
  842. package/lib/cjs/types/partials/OperationDefinitionReferencedFrom.d.ts +0 -8
  843. package/lib/cjs/types/partials/OperationOutcomeIssue.cjs +0 -3
  844. package/lib/cjs/types/partials/OperationOutcomeIssue.d.ts +0 -13
  845. package/lib/cjs/types/partials/OrganizationContact.cjs +0 -3
  846. package/lib/cjs/types/partials/OrganizationContact.d.ts +0 -14
  847. package/lib/cjs/types/partials/PackagedProductDefinitionContainedItem.cjs +0 -3
  848. package/lib/cjs/types/partials/PackagedProductDefinitionContainedItem.d.ts +0 -10
  849. package/lib/cjs/types/partials/PackagedProductDefinitionLegalStatusOfSupply.cjs +0 -3
  850. package/lib/cjs/types/partials/PackagedProductDefinitionLegalStatusOfSupply.d.ts +0 -9
  851. package/lib/cjs/types/partials/PackagedProductDefinitionPackage.cjs +0 -3
  852. package/lib/cjs/types/partials/PackagedProductDefinitionPackage.d.ts +0 -23
  853. package/lib/cjs/types/partials/PackagedProductDefinitionProperty.cjs +0 -3
  854. package/lib/cjs/types/partials/PackagedProductDefinitionProperty.d.ts +0 -16
  855. package/lib/cjs/types/partials/PackagedProductDefinitionShelfLifeStorage.cjs +0 -3
  856. package/lib/cjs/types/partials/PackagedProductDefinitionShelfLifeStorage.d.ts +0 -12
  857. package/lib/cjs/types/partials/ParameterDefinition.cjs +0 -3
  858. package/lib/cjs/types/partials/ParameterDefinition.d.ts +0 -14
  859. package/lib/cjs/types/partials/ParametersParameter.cjs +0 -3
  860. package/lib/cjs/types/partials/ParametersParameter.d.ts +0 -102
  861. package/lib/cjs/types/partials/PatientCommunication.cjs +0 -3
  862. package/lib/cjs/types/partials/PatientCommunication.d.ts +0 -9
  863. package/lib/cjs/types/partials/PatientContact.cjs +0 -3
  864. package/lib/cjs/types/partials/PatientContact.d.ts +0 -19
  865. package/lib/cjs/types/partials/PatientLink.cjs +0 -3
  866. package/lib/cjs/types/partials/PatientLink.d.ts +0 -9
  867. package/lib/cjs/types/partials/PaymentReconciliationDetail.cjs +0 -3
  868. package/lib/cjs/types/partials/PaymentReconciliationDetail.d.ts +0 -21
  869. package/lib/cjs/types/partials/PaymentReconciliationProcessNote.cjs +0 -3
  870. package/lib/cjs/types/partials/PaymentReconciliationProcessNote.d.ts +0 -8
  871. package/lib/cjs/types/partials/Period.cjs +0 -3
  872. package/lib/cjs/types/partials/Period.d.ts +0 -8
  873. package/lib/cjs/types/partials/PersonLink.cjs +0 -3
  874. package/lib/cjs/types/partials/PersonLink.d.ts +0 -9
  875. package/lib/cjs/types/partials/PlanDefinitionAction.cjs +0 -3
  876. package/lib/cjs/types/partials/PlanDefinitionAction.d.ts +0 -58
  877. package/lib/cjs/types/partials/PlanDefinitionCondition.cjs +0 -3
  878. package/lib/cjs/types/partials/PlanDefinitionCondition.d.ts +0 -9
  879. package/lib/cjs/types/partials/PlanDefinitionDynamicValue.cjs +0 -3
  880. package/lib/cjs/types/partials/PlanDefinitionDynamicValue.d.ts +0 -9
  881. package/lib/cjs/types/partials/PlanDefinitionGoal.cjs +0 -3
  882. package/lib/cjs/types/partials/PlanDefinitionGoal.d.ts +0 -16
  883. package/lib/cjs/types/partials/PlanDefinitionParticipant.cjs +0 -3
  884. package/lib/cjs/types/partials/PlanDefinitionParticipant.d.ts +0 -9
  885. package/lib/cjs/types/partials/PlanDefinitionRelatedAction.cjs +0 -3
  886. package/lib/cjs/types/partials/PlanDefinitionRelatedAction.d.ts +0 -13
  887. package/lib/cjs/types/partials/PlanDefinitionTarget.cjs +0 -3
  888. package/lib/cjs/types/partials/PlanDefinitionTarget.d.ts +0 -14
  889. package/lib/cjs/types/partials/Population.cjs +0 -3
  890. package/lib/cjs/types/partials/Population.d.ts +0 -13
  891. package/lib/cjs/types/partials/PractitionerQualification.cjs +0 -3
  892. package/lib/cjs/types/partials/PractitionerQualification.d.ts +0 -14
  893. package/lib/cjs/types/partials/PractitionerRoleAvailableTime.cjs +0 -3
  894. package/lib/cjs/types/partials/PractitionerRoleAvailableTime.d.ts +0 -11
  895. package/lib/cjs/types/partials/PractitionerRoleNotAvailable.cjs +0 -3
  896. package/lib/cjs/types/partials/PractitionerRoleNotAvailable.d.ts +0 -9
  897. package/lib/cjs/types/partials/ProcedureFocalDevice.cjs +0 -3
  898. package/lib/cjs/types/partials/ProcedureFocalDevice.d.ts +0 -10
  899. package/lib/cjs/types/partials/ProcedurePerformer.cjs +0 -3
  900. package/lib/cjs/types/partials/ProcedurePerformer.d.ts +0 -11
  901. package/lib/cjs/types/partials/ProdCharacteristic.cjs +0 -3
  902. package/lib/cjs/types/partials/ProdCharacteristic.d.ts +0 -20
  903. package/lib/cjs/types/partials/ProductShelfLife.cjs +0 -3
  904. package/lib/cjs/types/partials/ProductShelfLife.d.ts +0 -13
  905. package/lib/cjs/types/partials/ProvenanceAgent.cjs +0 -3
  906. package/lib/cjs/types/partials/ProvenanceAgent.d.ts +0 -12
  907. package/lib/cjs/types/partials/ProvenanceEntity.cjs +0 -3
  908. package/lib/cjs/types/partials/ProvenanceEntity.d.ts +0 -11
  909. package/lib/cjs/types/partials/Quantity.cjs +0 -3
  910. package/lib/cjs/types/partials/Quantity.d.ts +0 -12
  911. package/lib/cjs/types/partials/QuestionnaireAnswerOption.cjs +0 -3
  912. package/lib/cjs/types/partials/QuestionnaireAnswerOption.d.ts +0 -18
  913. package/lib/cjs/types/partials/QuestionnaireEnableWhen.cjs +0 -3
  914. package/lib/cjs/types/partials/QuestionnaireEnableWhen.d.ts +0 -26
  915. package/lib/cjs/types/partials/QuestionnaireInitial.cjs +0 -3
  916. package/lib/cjs/types/partials/QuestionnaireInitial.d.ts +0 -28
  917. package/lib/cjs/types/partials/QuestionnaireItem.cjs +0 -3
  918. package/lib/cjs/types/partials/QuestionnaireItem.d.ts +0 -29
  919. package/lib/cjs/types/partials/QuestionnaireResponseAnswer.cjs +0 -3
  920. package/lib/cjs/types/partials/QuestionnaireResponseAnswer.d.ts +0 -30
  921. package/lib/cjs/types/partials/QuestionnaireResponseItem.cjs +0 -3
  922. package/lib/cjs/types/partials/QuestionnaireResponseItem.d.ts +0 -13
  923. package/lib/cjs/types/partials/Range.cjs +0 -3
  924. package/lib/cjs/types/partials/Range.d.ts +0 -8
  925. package/lib/cjs/types/partials/Ratio.cjs +0 -3
  926. package/lib/cjs/types/partials/Ratio.d.ts +0 -8
  927. package/lib/cjs/types/partials/RatioRange.cjs +0 -3
  928. package/lib/cjs/types/partials/RatioRange.d.ts +0 -9
  929. package/lib/cjs/types/partials/Reference.cjs +0 -3
  930. package/lib/cjs/types/partials/Reference.d.ts +0 -14
  931. package/lib/cjs/types/partials/RegulatedAuthorizationCase.cjs +0 -3
  932. package/lib/cjs/types/partials/RegulatedAuthorizationCase.d.ts +0 -16
  933. package/lib/cjs/types/partials/RelatedArtifact.cjs +0 -3
  934. package/lib/cjs/types/partials/RelatedArtifact.d.ts +0 -16
  935. package/lib/cjs/types/partials/RelatedPersonCommunication.cjs +0 -3
  936. package/lib/cjs/types/partials/RelatedPersonCommunication.d.ts +0 -9
  937. package/lib/cjs/types/partials/RequestGroupAction.cjs +0 -3
  938. package/lib/cjs/types/partials/RequestGroupAction.d.ts +0 -40
  939. package/lib/cjs/types/partials/RequestGroupCondition.cjs +0 -3
  940. package/lib/cjs/types/partials/RequestGroupCondition.d.ts +0 -9
  941. package/lib/cjs/types/partials/RequestGroupRelatedAction.cjs +0 -3
  942. package/lib/cjs/types/partials/RequestGroupRelatedAction.d.ts +0 -13
  943. package/lib/cjs/types/partials/ResearchElementDefinitionCharacteristic.cjs +0 -3
  944. package/lib/cjs/types/partials/ResearchElementDefinitionCharacteristic.d.ts +0 -36
  945. package/lib/cjs/types/partials/ResearchStudyArm.cjs +0 -3
  946. package/lib/cjs/types/partials/ResearchStudyArm.d.ts +0 -10
  947. package/lib/cjs/types/partials/ResearchStudyObjective.cjs +0 -3
  948. package/lib/cjs/types/partials/ResearchStudyObjective.d.ts +0 -9
  949. package/lib/cjs/types/partials/RiskAssessmentPrediction.cjs +0 -3
  950. package/lib/cjs/types/partials/RiskAssessmentPrediction.d.ts +0 -18
  951. package/lib/cjs/types/partials/SampledData.cjs +0 -3
  952. package/lib/cjs/types/partials/SampledData.d.ts +0 -15
  953. package/lib/cjs/types/partials/SearchParameterComponent.cjs +0 -3
  954. package/lib/cjs/types/partials/SearchParameterComponent.d.ts +0 -9
  955. package/lib/cjs/types/partials/Signature.cjs +0 -3
  956. package/lib/cjs/types/partials/Signature.d.ts +0 -16
  957. package/lib/cjs/types/partials/SpecimenCollection.cjs +0 -3
  958. package/lib/cjs/types/partials/SpecimenCollection.d.ts +0 -20
  959. package/lib/cjs/types/partials/SpecimenContainer.cjs +0 -3
  960. package/lib/cjs/types/partials/SpecimenContainer.d.ts +0 -17
  961. package/lib/cjs/types/partials/SpecimenDefinitionAdditive.cjs +0 -3
  962. package/lib/cjs/types/partials/SpecimenDefinitionAdditive.d.ts +0 -10
  963. package/lib/cjs/types/partials/SpecimenDefinitionContainer.cjs +0 -3
  964. package/lib/cjs/types/partials/SpecimenDefinitionContainer.d.ts +0 -18
  965. package/lib/cjs/types/partials/SpecimenDefinitionHandling.cjs +0 -3
  966. package/lib/cjs/types/partials/SpecimenDefinitionHandling.d.ts +0 -13
  967. package/lib/cjs/types/partials/SpecimenDefinitionTypeTested.cjs +0 -3
  968. package/lib/cjs/types/partials/SpecimenDefinitionTypeTested.d.ts +0 -18
  969. package/lib/cjs/types/partials/SpecimenProcessing.cjs +0 -3
  970. package/lib/cjs/types/partials/SpecimenProcessing.d.ts +0 -15
  971. package/lib/cjs/types/partials/StructureDefinitionContext.cjs +0 -3
  972. package/lib/cjs/types/partials/StructureDefinitionContext.d.ts +0 -8
  973. package/lib/cjs/types/partials/StructureDefinitionDifferential.cjs +0 -3
  974. package/lib/cjs/types/partials/StructureDefinitionDifferential.d.ts +0 -8
  975. package/lib/cjs/types/partials/StructureDefinitionMapping.cjs +0 -3
  976. package/lib/cjs/types/partials/StructureDefinitionMapping.d.ts +0 -12
  977. package/lib/cjs/types/partials/StructureDefinitionSnapshot.cjs +0 -3
  978. package/lib/cjs/types/partials/StructureDefinitionSnapshot.d.ts +0 -8
  979. package/lib/cjs/types/partials/StructureMapDependent.cjs +0 -3
  980. package/lib/cjs/types/partials/StructureMapDependent.d.ts +0 -9
  981. package/lib/cjs/types/partials/StructureMapGroup.cjs +0 -3
  982. package/lib/cjs/types/partials/StructureMapGroup.d.ts +0 -15
  983. package/lib/cjs/types/partials/StructureMapInput.cjs +0 -3
  984. package/lib/cjs/types/partials/StructureMapInput.d.ts +0 -11
  985. package/lib/cjs/types/partials/StructureMapParameter.cjs +0 -3
  986. package/lib/cjs/types/partials/StructureMapParameter.d.ts +0 -14
  987. package/lib/cjs/types/partials/StructureMapRule.cjs +0 -3
  988. package/lib/cjs/types/partials/StructureMapRule.d.ts +0 -16
  989. package/lib/cjs/types/partials/StructureMapSource.cjs +0 -3
  990. package/lib/cjs/types/partials/StructureMapSource.d.ts +0 -108
  991. package/lib/cjs/types/partials/StructureMapStructure.cjs +0 -3
  992. package/lib/cjs/types/partials/StructureMapStructure.d.ts +0 -11
  993. package/lib/cjs/types/partials/StructureMapTarget.cjs +0 -3
  994. package/lib/cjs/types/partials/StructureMapTarget.d.ts +0 -16
  995. package/lib/cjs/types/partials/SubscriptionChannel.cjs +0 -3
  996. package/lib/cjs/types/partials/SubscriptionChannel.d.ts +0 -11
  997. package/lib/cjs/types/partials/SubscriptionStatusNotificationEvent.cjs +0 -3
  998. package/lib/cjs/types/partials/SubscriptionStatusNotificationEvent.d.ts +0 -12
  999. package/lib/cjs/types/partials/SubscriptionTopicCanFilterBy.cjs +0 -3
  1000. package/lib/cjs/types/partials/SubscriptionTopicCanFilterBy.d.ts +0 -13
  1001. package/lib/cjs/types/partials/SubscriptionTopicEventTrigger.cjs +0 -3
  1002. package/lib/cjs/types/partials/SubscriptionTopicEventTrigger.d.ts +0 -12
  1003. package/lib/cjs/types/partials/SubscriptionTopicNotificationShape.cjs +0 -3
  1004. package/lib/cjs/types/partials/SubscriptionTopicNotificationShape.d.ts +0 -10
  1005. package/lib/cjs/types/partials/SubscriptionTopicQueryCriteria.cjs +0 -3
  1006. package/lib/cjs/types/partials/SubscriptionTopicQueryCriteria.d.ts +0 -11
  1007. package/lib/cjs/types/partials/SubscriptionTopicResourceTrigger.cjs +0 -3
  1008. package/lib/cjs/types/partials/SubscriptionTopicResourceTrigger.d.ts +0 -14
  1009. package/lib/cjs/types/partials/SubstanceDefinitionCode.cjs +0 -3
  1010. package/lib/cjs/types/partials/SubstanceDefinitionCode.d.ts +0 -15
  1011. package/lib/cjs/types/partials/SubstanceDefinitionMoiety.cjs +0 -3
  1012. package/lib/cjs/types/partials/SubstanceDefinitionMoiety.d.ts +0 -18
  1013. package/lib/cjs/types/partials/SubstanceDefinitionMolecularWeight.cjs +0 -3
  1014. package/lib/cjs/types/partials/SubstanceDefinitionMolecularWeight.d.ts +0 -11
  1015. package/lib/cjs/types/partials/SubstanceDefinitionName.cjs +0 -3
  1016. package/lib/cjs/types/partials/SubstanceDefinitionName.d.ts +0 -20
  1017. package/lib/cjs/types/partials/SubstanceDefinitionOfficial.cjs +0 -3
  1018. package/lib/cjs/types/partials/SubstanceDefinitionOfficial.d.ts +0 -11
  1019. package/lib/cjs/types/partials/SubstanceDefinitionProperty.cjs +0 -3
  1020. package/lib/cjs/types/partials/SubstanceDefinitionProperty.d.ts +0 -16
  1021. package/lib/cjs/types/partials/SubstanceDefinitionRelationship.cjs +0 -3
  1022. package/lib/cjs/types/partials/SubstanceDefinitionRelationship.d.ts +0 -20
  1023. package/lib/cjs/types/partials/SubstanceDefinitionRepresentation.cjs +0 -3
  1024. package/lib/cjs/types/partials/SubstanceDefinitionRepresentation.d.ts +0 -12
  1025. package/lib/cjs/types/partials/SubstanceDefinitionSourceMaterial.cjs +0 -3
  1026. package/lib/cjs/types/partials/SubstanceDefinitionSourceMaterial.d.ts +0 -12
  1027. package/lib/cjs/types/partials/SubstanceDefinitionStructure.cjs +0 -3
  1028. package/lib/cjs/types/partials/SubstanceDefinitionStructure.d.ts +0 -18
  1029. package/lib/cjs/types/partials/SubstanceIngredient.cjs +0 -3
  1030. package/lib/cjs/types/partials/SubstanceIngredient.d.ts +0 -12
  1031. package/lib/cjs/types/partials/SubstanceInstance.cjs +0 -3
  1032. package/lib/cjs/types/partials/SubstanceInstance.d.ts +0 -12
  1033. package/lib/cjs/types/partials/SupplyDeliverySuppliedItem.cjs +0 -3
  1034. package/lib/cjs/types/partials/SupplyDeliverySuppliedItem.d.ts +0 -12
  1035. package/lib/cjs/types/partials/SupplyRequestParameter.cjs +0 -3
  1036. package/lib/cjs/types/partials/SupplyRequestParameter.d.ts +0 -14
  1037. package/lib/cjs/types/partials/TaskInput.cjs +0 -3
  1038. package/lib/cjs/types/partials/TaskInput.d.ts +0 -99
  1039. package/lib/cjs/types/partials/TaskOutput.cjs +0 -3
  1040. package/lib/cjs/types/partials/TaskOutput.d.ts +0 -99
  1041. package/lib/cjs/types/partials/TaskRestriction.cjs +0 -3
  1042. package/lib/cjs/types/partials/TaskRestriction.d.ts +0 -12
  1043. package/lib/cjs/types/partials/TerminologyCapabilitiesClosure.cjs +0 -3
  1044. package/lib/cjs/types/partials/TerminologyCapabilitiesClosure.d.ts +0 -7
  1045. package/lib/cjs/types/partials/TerminologyCapabilitiesCodeSystem.cjs +0 -3
  1046. package/lib/cjs/types/partials/TerminologyCapabilitiesCodeSystem.d.ts +0 -11
  1047. package/lib/cjs/types/partials/TerminologyCapabilitiesExpansion.cjs +0 -3
  1048. package/lib/cjs/types/partials/TerminologyCapabilitiesExpansion.d.ts +0 -13
  1049. package/lib/cjs/types/partials/TerminologyCapabilitiesFilter.cjs +0 -3
  1050. package/lib/cjs/types/partials/TerminologyCapabilitiesFilter.d.ts +0 -8
  1051. package/lib/cjs/types/partials/TerminologyCapabilitiesImplementation.cjs +0 -3
  1052. package/lib/cjs/types/partials/TerminologyCapabilitiesImplementation.d.ts +0 -9
  1053. package/lib/cjs/types/partials/TerminologyCapabilitiesParameter.cjs +0 -3
  1054. package/lib/cjs/types/partials/TerminologyCapabilitiesParameter.d.ts +0 -8
  1055. package/lib/cjs/types/partials/TerminologyCapabilitiesSoftware.cjs +0 -3
  1056. package/lib/cjs/types/partials/TerminologyCapabilitiesSoftware.d.ts +0 -8
  1057. package/lib/cjs/types/partials/TerminologyCapabilitiesTranslation.cjs +0 -3
  1058. package/lib/cjs/types/partials/TerminologyCapabilitiesTranslation.d.ts +0 -7
  1059. package/lib/cjs/types/partials/TerminologyCapabilitiesValidateCode.cjs +0 -3
  1060. package/lib/cjs/types/partials/TerminologyCapabilitiesValidateCode.d.ts +0 -7
  1061. package/lib/cjs/types/partials/TerminologyCapabilitiesVersion.cjs +0 -3
  1062. package/lib/cjs/types/partials/TerminologyCapabilitiesVersion.d.ts +0 -13
  1063. package/lib/cjs/types/partials/TestReportAction.cjs +0 -3
  1064. package/lib/cjs/types/partials/TestReportAction.d.ts +0 -10
  1065. package/lib/cjs/types/partials/TestReportAction1.cjs +0 -3
  1066. package/lib/cjs/types/partials/TestReportAction1.d.ts +0 -10
  1067. package/lib/cjs/types/partials/TestReportAction2.cjs +0 -3
  1068. package/lib/cjs/types/partials/TestReportAction2.d.ts +0 -8
  1069. package/lib/cjs/types/partials/TestReportAssert.cjs +0 -3
  1070. package/lib/cjs/types/partials/TestReportAssert.d.ts +0 -10
  1071. package/lib/cjs/types/partials/TestReportOperation.cjs +0 -3
  1072. package/lib/cjs/types/partials/TestReportOperation.d.ts +0 -11
  1073. package/lib/cjs/types/partials/TestReportParticipant.cjs +0 -3
  1074. package/lib/cjs/types/partials/TestReportParticipant.d.ts +0 -10
  1075. package/lib/cjs/types/partials/TestReportSetup.cjs +0 -3
  1076. package/lib/cjs/types/partials/TestReportSetup.d.ts +0 -8
  1077. package/lib/cjs/types/partials/TestReportTeardown.cjs +0 -3
  1078. package/lib/cjs/types/partials/TestReportTeardown.d.ts +0 -8
  1079. package/lib/cjs/types/partials/TestReportTest.cjs +0 -3
  1080. package/lib/cjs/types/partials/TestReportTest.d.ts +0 -10
  1081. package/lib/cjs/types/partials/TestScriptAction.cjs +0 -3
  1082. package/lib/cjs/types/partials/TestScriptAction.d.ts +0 -10
  1083. package/lib/cjs/types/partials/TestScriptAction1.cjs +0 -3
  1084. package/lib/cjs/types/partials/TestScriptAction1.d.ts +0 -10
  1085. package/lib/cjs/types/partials/TestScriptAction2.cjs +0 -3
  1086. package/lib/cjs/types/partials/TestScriptAction2.d.ts +0 -8
  1087. package/lib/cjs/types/partials/TestScriptAssert.cjs +0 -3
  1088. package/lib/cjs/types/partials/TestScriptAssert.d.ts +0 -29
  1089. package/lib/cjs/types/partials/TestScriptCapability.cjs +0 -3
  1090. package/lib/cjs/types/partials/TestScriptCapability.d.ts +0 -16
  1091. package/lib/cjs/types/partials/TestScriptDestination.cjs +0 -3
  1092. package/lib/cjs/types/partials/TestScriptDestination.d.ts +0 -10
  1093. package/lib/cjs/types/partials/TestScriptFixture.cjs +0 -3
  1094. package/lib/cjs/types/partials/TestScriptFixture.d.ts +0 -10
  1095. package/lib/cjs/types/partials/TestScriptLink.cjs +0 -3
  1096. package/lib/cjs/types/partials/TestScriptLink.d.ts +0 -9
  1097. package/lib/cjs/types/partials/TestScriptMetadata.cjs +0 -3
  1098. package/lib/cjs/types/partials/TestScriptMetadata.d.ts +0 -10
  1099. package/lib/cjs/types/partials/TestScriptOperation.cjs +0 -3
  1100. package/lib/cjs/types/partials/TestScriptOperation.d.ts +0 -27
  1101. package/lib/cjs/types/partials/TestScriptOrigin.cjs +0 -3
  1102. package/lib/cjs/types/partials/TestScriptOrigin.d.ts +0 -10
  1103. package/lib/cjs/types/partials/TestScriptRequestHeader.cjs +0 -3
  1104. package/lib/cjs/types/partials/TestScriptRequestHeader.d.ts +0 -8
  1105. package/lib/cjs/types/partials/TestScriptSetup.cjs +0 -3
  1106. package/lib/cjs/types/partials/TestScriptSetup.d.ts +0 -8
  1107. package/lib/cjs/types/partials/TestScriptTeardown.cjs +0 -3
  1108. package/lib/cjs/types/partials/TestScriptTeardown.d.ts +0 -8
  1109. package/lib/cjs/types/partials/TestScriptTest.cjs +0 -3
  1110. package/lib/cjs/types/partials/TestScriptTest.d.ts +0 -10
  1111. package/lib/cjs/types/partials/TestScriptVariable.cjs +0 -3
  1112. package/lib/cjs/types/partials/TestScriptVariable.d.ts +0 -15
  1113. package/lib/cjs/types/partials/Timing.cjs +0 -3
  1114. package/lib/cjs/types/partials/Timing.d.ts +0 -12
  1115. package/lib/cjs/types/partials/TimingRepeat.cjs +0 -3
  1116. package/lib/cjs/types/partials/TimingRepeat.d.ts +0 -30
  1117. package/lib/cjs/types/partials/TriggerDefinition.cjs +0 -3
  1118. package/lib/cjs/types/partials/TriggerDefinition.d.ts +0 -19
  1119. package/lib/cjs/types/partials/UsageContext.cjs +0 -3
  1120. package/lib/cjs/types/partials/UsageContext.d.ts +0 -15
  1121. package/lib/cjs/types/partials/ValueSetCompose.cjs +0 -3
  1122. package/lib/cjs/types/partials/ValueSetCompose.d.ts +0 -12
  1123. package/lib/cjs/types/partials/ValueSetConcept.cjs +0 -3
  1124. package/lib/cjs/types/partials/ValueSetConcept.d.ts +0 -10
  1125. package/lib/cjs/types/partials/ValueSetContains.cjs +0 -3
  1126. package/lib/cjs/types/partials/ValueSetContains.d.ts +0 -16
  1127. package/lib/cjs/types/partials/ValueSetDesignation.cjs +0 -3
  1128. package/lib/cjs/types/partials/ValueSetDesignation.d.ts +0 -10
  1129. package/lib/cjs/types/partials/ValueSetExpansion.cjs +0 -3
  1130. package/lib/cjs/types/partials/ValueSetExpansion.d.ts +0 -17
  1131. package/lib/cjs/types/partials/ValueSetFilter.cjs +0 -3
  1132. package/lib/cjs/types/partials/ValueSetFilter.d.ts +0 -9
  1133. package/lib/cjs/types/partials/ValueSetInclude.cjs +0 -3
  1134. package/lib/cjs/types/partials/ValueSetInclude.d.ts +0 -15
  1135. package/lib/cjs/types/partials/ValueSetParameter.cjs +0 -3
  1136. package/lib/cjs/types/partials/ValueSetParameter.d.ts +0 -18
  1137. package/lib/cjs/types/partials/VerificationResultAttestation.cjs +0 -3
  1138. package/lib/cjs/types/partials/VerificationResultAttestation.d.ts +0 -18
  1139. package/lib/cjs/types/partials/VerificationResultPrimarySource.cjs +0 -3
  1140. package/lib/cjs/types/partials/VerificationResultPrimarySource.d.ts +0 -16
  1141. package/lib/cjs/types/partials/VerificationResultValidator.cjs +0 -3
  1142. package/lib/cjs/types/partials/VerificationResultValidator.d.ts +0 -11
  1143. package/lib/cjs/types/partials/VisionPrescriptionLensSpecification.cjs +0 -3
  1144. package/lib/cjs/types/partials/VisionPrescriptionLensSpecification.d.ts +0 -26
  1145. package/lib/cjs/types/partials/VisionPrescriptionPrism.cjs +0 -3
  1146. package/lib/cjs/types/partials/VisionPrescriptionPrism.d.ts +0 -9
  1147. package/lib/cjs/types/resources/Account.cjs +0 -3
  1148. package/lib/cjs/types/resources/Account.d.ts +0 -33
  1149. package/lib/cjs/types/resources/ActivityDefinition.cjs +0 -3
  1150. package/lib/cjs/types/resources/ActivityDefinition.d.ts +0 -87
  1151. package/lib/cjs/types/resources/AdministrableProductDefinition.cjs +0 -3
  1152. package/lib/cjs/types/resources/AdministrableProductDefinition.d.ts +0 -31
  1153. package/lib/cjs/types/resources/AdverseEvent.cjs +0 -3
  1154. package/lib/cjs/types/resources/AdverseEvent.d.ts +0 -41
  1155. package/lib/cjs/types/resources/AllergyIntolerance.cjs +0 -3
  1156. package/lib/cjs/types/resources/AllergyIntolerance.d.ts +0 -45
  1157. package/lib/cjs/types/resources/Appointment.cjs +0 -3
  1158. package/lib/cjs/types/resources/Appointment.d.ts +0 -47
  1159. package/lib/cjs/types/resources/AppointmentResponse.cjs +0 -3
  1160. package/lib/cjs/types/resources/AppointmentResponse.d.ts +0 -28
  1161. package/lib/cjs/types/resources/AuditEvent.cjs +0 -3
  1162. package/lib/cjs/types/resources/AuditEvent.d.ts +0 -34
  1163. package/lib/cjs/types/resources/Basic.cjs +0 -3
  1164. package/lib/cjs/types/resources/Basic.d.ts +0 -25
  1165. package/lib/cjs/types/resources/Binary.cjs +0 -3
  1166. package/lib/cjs/types/resources/Binary.d.ts +0 -14
  1167. package/lib/cjs/types/resources/BiologicallyDerivedProduct.cjs +0 -3
  1168. package/lib/cjs/types/resources/BiologicallyDerivedProduct.d.ts +0 -35
  1169. package/lib/cjs/types/resources/BodyStructure.cjs +0 -3
  1170. package/lib/cjs/types/resources/BodyStructure.d.ts +0 -28
  1171. package/lib/cjs/types/resources/Bundle.cjs +0 -3
  1172. package/lib/cjs/types/resources/Bundle.d.ts +0 -22
  1173. package/lib/cjs/types/resources/CapabilityStatement.cjs +0 -3
  1174. package/lib/cjs/types/resources/CapabilityStatement.d.ts +0 -53
  1175. package/lib/cjs/types/resources/CarePlan.cjs +0 -3
  1176. package/lib/cjs/types/resources/CarePlan.d.ts +0 -47
  1177. package/lib/cjs/types/resources/CareTeam.cjs +0 -3
  1178. package/lib/cjs/types/resources/CareTeam.d.ts +0 -36
  1179. package/lib/cjs/types/resources/CatalogEntry.cjs +0 -3
  1180. package/lib/cjs/types/resources/CatalogEntry.d.ts +0 -35
  1181. package/lib/cjs/types/resources/ChargeItem.cjs +0 -3
  1182. package/lib/cjs/types/resources/ChargeItem.d.ts +0 -57
  1183. package/lib/cjs/types/resources/ChargeItemDefinition.cjs +0 -3
  1184. package/lib/cjs/types/resources/ChargeItemDefinition.d.ts +0 -51
  1185. package/lib/cjs/types/resources/Citation.cjs +0 -3
  1186. package/lib/cjs/types/resources/Citation.d.ts +0 -59
  1187. package/lib/cjs/types/resources/Claim.cjs +0 -3
  1188. package/lib/cjs/types/resources/Claim.d.ts +0 -58
  1189. package/lib/cjs/types/resources/ClaimResponse.cjs +0 -3
  1190. package/lib/cjs/types/resources/ClaimResponse.d.ts +0 -57
  1191. package/lib/cjs/types/resources/ClinicalImpression.cjs +0 -3
  1192. package/lib/cjs/types/resources/ClinicalImpression.d.ts +0 -45
  1193. package/lib/cjs/types/resources/ClinicalUseDefinition.cjs +0 -3
  1194. package/lib/cjs/types/resources/ClinicalUseDefinition.d.ts +0 -35
  1195. package/lib/cjs/types/resources/CodeSystem.cjs +0 -3
  1196. package/lib/cjs/types/resources/CodeSystem.d.ts +0 -53
  1197. package/lib/cjs/types/resources/Communication.cjs +0 -3
  1198. package/lib/cjs/types/resources/Communication.d.ts +0 -46
  1199. package/lib/cjs/types/resources/CommunicationRequest.cjs +0 -3
  1200. package/lib/cjs/types/resources/CommunicationRequest.d.ts +0 -46
  1201. package/lib/cjs/types/resources/CompartmentDefinition.cjs +0 -3
  1202. package/lib/cjs/types/resources/CompartmentDefinition.d.ts +0 -35
  1203. package/lib/cjs/types/resources/Composition.cjs +0 -3
  1204. package/lib/cjs/types/resources/Composition.d.ts +0 -39
  1205. package/lib/cjs/types/resources/ConceptMap.cjs +0 -3
  1206. package/lib/cjs/types/resources/ConceptMap.d.ts +0 -44
  1207. package/lib/cjs/types/resources/Condition.cjs +0 -3
  1208. package/lib/cjs/types/resources/Condition.d.ts +0 -51
  1209. package/lib/cjs/types/resources/Consent.cjs +0 -3
  1210. package/lib/cjs/types/resources/Consent.d.ts +0 -38
  1211. package/lib/cjs/types/resources/Contract.cjs +0 -3
  1212. package/lib/cjs/types/resources/Contract.d.ts +0 -63
  1213. package/lib/cjs/types/resources/Coverage.cjs +0 -3
  1214. package/lib/cjs/types/resources/Coverage.d.ts +0 -40
  1215. package/lib/cjs/types/resources/CoverageEligibilityRequest.cjs +0 -3
  1216. package/lib/cjs/types/resources/CoverageEligibilityRequest.d.ts +0 -40
  1217. package/lib/cjs/types/resources/CoverageEligibilityResponse.cjs +0 -3
  1218. package/lib/cjs/types/resources/CoverageEligibilityResponse.d.ts +0 -40
  1219. package/lib/cjs/types/resources/DetectedIssue.cjs +0 -3
  1220. package/lib/cjs/types/resources/DetectedIssue.d.ts +0 -36
  1221. package/lib/cjs/types/resources/Device.cjs +0 -3
  1222. package/lib/cjs/types/resources/Device.d.ts +0 -53
  1223. package/lib/cjs/types/resources/DeviceDefinition.cjs +0 -3
  1224. package/lib/cjs/types/resources/DeviceDefinition.d.ts +0 -53
  1225. package/lib/cjs/types/resources/DeviceMetric.cjs +0 -3
  1226. package/lib/cjs/types/resources/DeviceMetric.d.ts +0 -31
  1227. package/lib/cjs/types/resources/DeviceRequest.cjs +0 -3
  1228. package/lib/cjs/types/resources/DeviceRequest.d.ts +0 -52
  1229. package/lib/cjs/types/resources/DeviceUseStatement.cjs +0 -3
  1230. package/lib/cjs/types/resources/DeviceUseStatement.d.ts +0 -38
  1231. package/lib/cjs/types/resources/DiagnosticReport.cjs +0 -3
  1232. package/lib/cjs/types/resources/DiagnosticReport.d.ts +0 -43
  1233. package/lib/cjs/types/resources/DocumentManifest.cjs +0 -3
  1234. package/lib/cjs/types/resources/DocumentManifest.d.ts +0 -33
  1235. package/lib/cjs/types/resources/DocumentReference.cjs +0 -3
  1236. package/lib/cjs/types/resources/DocumentReference.d.ts +0 -39
  1237. package/lib/cjs/types/resources/DomainResource.cjs +0 -3
  1238. package/lib/cjs/types/resources/DomainResource.d.ts +0 -16
  1239. package/lib/cjs/types/resources/Encounter.cjs +0 -3
  1240. package/lib/cjs/types/resources/Encounter.d.ts +0 -51
  1241. package/lib/cjs/types/resources/Endpoint.cjs +0 -3
  1242. package/lib/cjs/types/resources/Endpoint.d.ts +0 -34
  1243. package/lib/cjs/types/resources/EnrollmentRequest.cjs +0 -3
  1244. package/lib/cjs/types/resources/EnrollmentRequest.d.ts +0 -26
  1245. package/lib/cjs/types/resources/EnrollmentResponse.cjs +0 -3
  1246. package/lib/cjs/types/resources/EnrollmentResponse.d.ts +0 -27
  1247. package/lib/cjs/types/resources/EpisodeOfCare.cjs +0 -3
  1248. package/lib/cjs/types/resources/EpisodeOfCare.d.ts +0 -34
  1249. package/lib/cjs/types/resources/EventDefinition.cjs +0 -3
  1250. package/lib/cjs/types/resources/EventDefinition.d.ts +0 -56
  1251. package/lib/cjs/types/resources/Evidence.cjs +0 -3
  1252. package/lib/cjs/types/resources/Evidence.d.ts +0 -55
  1253. package/lib/cjs/types/resources/EvidenceReport.cjs +0 -3
  1254. package/lib/cjs/types/resources/EvidenceReport.d.ts +0 -46
  1255. package/lib/cjs/types/resources/EvidenceVariable.cjs +0 -3
  1256. package/lib/cjs/types/resources/EvidenceVariable.d.ts +0 -49
  1257. package/lib/cjs/types/resources/ExampleScenario.cjs +0 -3
  1258. package/lib/cjs/types/resources/ExampleScenario.d.ts +0 -43
  1259. package/lib/cjs/types/resources/ExplanationOfBenefit.cjs +0 -3
  1260. package/lib/cjs/types/resources/ExplanationOfBenefit.d.ts +0 -81
  1261. package/lib/cjs/types/resources/FamilyMemberHistory.cjs +0 -3
  1262. package/lib/cjs/types/resources/FamilyMemberHistory.d.ts +0 -53
  1263. package/lib/cjs/types/resources/Flag.cjs +0 -3
  1264. package/lib/cjs/types/resources/Flag.d.ts +0 -28
  1265. package/lib/cjs/types/resources/Goal.cjs +0 -3
  1266. package/lib/cjs/types/resources/Goal.d.ts +0 -39
  1267. package/lib/cjs/types/resources/GraphDefinition.cjs +0 -3
  1268. package/lib/cjs/types/resources/GraphDefinition.d.ts +0 -38
  1269. package/lib/cjs/types/resources/Group.cjs +0 -3
  1270. package/lib/cjs/types/resources/Group.d.ts +0 -32
  1271. package/lib/cjs/types/resources/GuidanceResponse.cjs +0 -3
  1272. package/lib/cjs/types/resources/GuidanceResponse.d.ts +0 -40
  1273. package/lib/cjs/types/resources/HealthcareService.cjs +0 -3
  1274. package/lib/cjs/types/resources/HealthcareService.d.ts +0 -49
  1275. package/lib/cjs/types/resources/ImagingStudy.cjs +0 -3
  1276. package/lib/cjs/types/resources/ImagingStudy.d.ts +0 -44
  1277. package/lib/cjs/types/resources/Immunization.cjs +0 -3
  1278. package/lib/cjs/types/resources/Immunization.d.ts +0 -56
  1279. package/lib/cjs/types/resources/ImmunizationEvaluation.cjs +0 -3
  1280. package/lib/cjs/types/resources/ImmunizationEvaluation.d.ts +0 -36
  1281. package/lib/cjs/types/resources/ImmunizationRecommendation.cjs +0 -3
  1282. package/lib/cjs/types/resources/ImmunizationRecommendation.d.ts +0 -25
  1283. package/lib/cjs/types/resources/ImplementationGuide.cjs +0 -3
  1284. package/lib/cjs/types/resources/ImplementationGuide.d.ts +0 -46
  1285. package/lib/cjs/types/resources/Ingredient.cjs +0 -3
  1286. package/lib/cjs/types/resources/Ingredient.d.ts +0 -29
  1287. package/lib/cjs/types/resources/InsurancePlan.cjs +0 -3
  1288. package/lib/cjs/types/resources/InsurancePlan.d.ts +0 -37
  1289. package/lib/cjs/types/resources/Invoice.cjs +0 -3
  1290. package/lib/cjs/types/resources/Invoice.d.ts +0 -42
  1291. package/lib/cjs/types/resources/Library.cjs +0 -3
  1292. package/lib/cjs/types/resources/Library.d.ts +0 -61
  1293. package/lib/cjs/types/resources/Linkage.cjs +0 -3
  1294. package/lib/cjs/types/resources/Linkage.d.ts +0 -21
  1295. package/lib/cjs/types/resources/List.cjs +0 -3
  1296. package/lib/cjs/types/resources/List.d.ts +0 -35
  1297. package/lib/cjs/types/resources/Location.cjs +0 -3
  1298. package/lib/cjs/types/resources/Location.d.ts +0 -41
  1299. package/lib/cjs/types/resources/ManufacturedItemDefinition.cjs +0 -3
  1300. package/lib/cjs/types/resources/ManufacturedItemDefinition.d.ts +0 -27
  1301. package/lib/cjs/types/resources/Measure.cjs +0 -3
  1302. package/lib/cjs/types/resources/Measure.d.ts +0 -71
  1303. package/lib/cjs/types/resources/MeasureReport.cjs +0 -3
  1304. package/lib/cjs/types/resources/MeasureReport.d.ts +0 -34
  1305. package/lib/cjs/types/resources/Media.cjs +0 -3
  1306. package/lib/cjs/types/resources/Media.d.ts +0 -49
  1307. package/lib/cjs/types/resources/Medication.cjs +0 -3
  1308. package/lib/cjs/types/resources/Medication.d.ts +0 -30
  1309. package/lib/cjs/types/resources/MedicationAdministration.cjs +0 -3
  1310. package/lib/cjs/types/resources/MedicationAdministration.d.ts +0 -45
  1311. package/lib/cjs/types/resources/MedicationDispense.cjs +0 -3
  1312. package/lib/cjs/types/resources/MedicationDispense.d.ts +0 -51
  1313. package/lib/cjs/types/resources/MedicationKnowledge.cjs +0 -3
  1314. package/lib/cjs/types/resources/MedicationKnowledge.d.ts +0 -53
  1315. package/lib/cjs/types/resources/MedicationRequest.cjs +0 -3
  1316. package/lib/cjs/types/resources/MedicationRequest.d.ts +0 -59
  1317. package/lib/cjs/types/resources/MedicationStatement.cjs +0 -3
  1318. package/lib/cjs/types/resources/MedicationStatement.d.ts +0 -42
  1319. package/lib/cjs/types/resources/MedicinalProductDefinition.cjs +0 -3
  1320. package/lib/cjs/types/resources/MedicinalProductDefinition.d.ts +0 -57
  1321. package/lib/cjs/types/resources/MessageDefinition.cjs +0 -3
  1322. package/lib/cjs/types/resources/MessageDefinition.d.ts +0 -51
  1323. package/lib/cjs/types/resources/MessageHeader.cjs +0 -3
  1324. package/lib/cjs/types/resources/MessageHeader.d.ts +0 -35
  1325. package/lib/cjs/types/resources/MolecularSequence.cjs +0 -3
  1326. package/lib/cjs/types/resources/MolecularSequence.d.ts +0 -41
  1327. package/lib/cjs/types/resources/NamingSystem.cjs +0 -3
  1328. package/lib/cjs/types/resources/NamingSystem.d.ts +0 -35
  1329. package/lib/cjs/types/resources/NutritionOrder.cjs +0 -3
  1330. package/lib/cjs/types/resources/NutritionOrder.d.ts +0 -42
  1331. package/lib/cjs/types/resources/NutritionProduct.cjs +0 -3
  1332. package/lib/cjs/types/resources/NutritionProduct.d.ts +0 -34
  1333. package/lib/cjs/types/resources/Observation.cjs +0 -3
  1334. package/lib/cjs/types/resources/Observation.d.ts +0 -69
  1335. package/lib/cjs/types/resources/ObservationDefinition.cjs +0 -3
  1336. package/lib/cjs/types/resources/ObservationDefinition.d.ts +0 -34
  1337. package/lib/cjs/types/resources/OperationDefinition.cjs +0 -3
  1338. package/lib/cjs/types/resources/OperationDefinition.d.ts +0 -50
  1339. package/lib/cjs/types/resources/OperationOutcome.cjs +0 -3
  1340. package/lib/cjs/types/resources/OperationOutcome.d.ts +0 -18
  1341. package/lib/cjs/types/resources/Organization.cjs +0 -3
  1342. package/lib/cjs/types/resources/Organization.d.ts +0 -32
  1343. package/lib/cjs/types/resources/OrganizationAffiliation.cjs +0 -3
  1344. package/lib/cjs/types/resources/OrganizationAffiliation.d.ts +0 -33
  1345. package/lib/cjs/types/resources/PackagedProductDefinition.cjs +0 -3
  1346. package/lib/cjs/types/resources/PackagedProductDefinition.d.ts +0 -39
  1347. package/lib/cjs/types/resources/Parameters.cjs +0 -3
  1348. package/lib/cjs/types/resources/Parameters.d.ts +0 -11
  1349. package/lib/cjs/types/resources/Patient.cjs +0 -3
  1350. package/lib/cjs/types/resources/Patient.d.ts +0 -47
  1351. package/lib/cjs/types/resources/PaymentNotice.cjs +0 -3
  1352. package/lib/cjs/types/resources/PaymentNotice.d.ts +0 -34
  1353. package/lib/cjs/types/resources/PaymentReconciliation.cjs +0 -3
  1354. package/lib/cjs/types/resources/PaymentReconciliation.d.ts +0 -40
  1355. package/lib/cjs/types/resources/Person.cjs +0 -3
  1356. package/lib/cjs/types/resources/Person.d.ts +0 -34
  1357. package/lib/cjs/types/resources/PlanDefinition.cjs +0 -3
  1358. package/lib/cjs/types/resources/PlanDefinition.d.ts +0 -62
  1359. package/lib/cjs/types/resources/Practitioner.cjs +0 -3
  1360. package/lib/cjs/types/resources/Practitioner.d.ts +0 -34
  1361. package/lib/cjs/types/resources/PractitionerRole.cjs +0 -3
  1362. package/lib/cjs/types/resources/PractitionerRole.d.ts +0 -37
  1363. package/lib/cjs/types/resources/Procedure.cjs +0 -3
  1364. package/lib/cjs/types/resources/Procedure.d.ts +0 -59
  1365. package/lib/cjs/types/resources/Provenance.cjs +0 -3
  1366. package/lib/cjs/types/resources/Provenance.d.ts +0 -35
  1367. package/lib/cjs/types/resources/Questionnaire.cjs +0 -3
  1368. package/lib/cjs/types/resources/Questionnaire.d.ts +0 -49
  1369. package/lib/cjs/types/resources/QuestionnaireResponse.cjs +0 -3
  1370. package/lib/cjs/types/resources/QuestionnaireResponse.d.ts +0 -32
  1371. package/lib/cjs/types/resources/RegulatedAuthorization.cjs +0 -3
  1372. package/lib/cjs/types/resources/RegulatedAuthorization.d.ts +0 -38
  1373. package/lib/cjs/types/resources/RelatedPerson.cjs +0 -3
  1374. package/lib/cjs/types/resources/RelatedPerson.d.ts +0 -38
  1375. package/lib/cjs/types/resources/RequestGroup.cjs +0 -3
  1376. package/lib/cjs/types/resources/RequestGroup.d.ts +0 -41
  1377. package/lib/cjs/types/resources/ResearchDefinition.cjs +0 -3
  1378. package/lib/cjs/types/resources/ResearchDefinition.d.ts +0 -62
  1379. package/lib/cjs/types/resources/ResearchElementDefinition.cjs +0 -3
  1380. package/lib/cjs/types/resources/ResearchElementDefinition.d.ts +0 -62
  1381. package/lib/cjs/types/resources/ResearchStudy.cjs +0 -3
  1382. package/lib/cjs/types/resources/ResearchStudy.d.ts +0 -50
  1383. package/lib/cjs/types/resources/ResearchSubject.cjs +0 -3
  1384. package/lib/cjs/types/resources/ResearchSubject.d.ts +0 -27
  1385. package/lib/cjs/types/resources/Resource.cjs +0 -3
  1386. package/lib/cjs/types/resources/Resource.d.ts +0 -9
  1387. package/lib/cjs/types/resources/RiskAssessment.cjs +0 -3
  1388. package/lib/cjs/types/resources/RiskAssessment.d.ts +0 -41
  1389. package/lib/cjs/types/resources/Schedule.cjs +0 -3
  1390. package/lib/cjs/types/resources/Schedule.d.ts +0 -28
  1391. package/lib/cjs/types/resources/SearchParameter.cjs +0 -3
  1392. package/lib/cjs/types/resources/SearchParameter.d.ts +0 -49
  1393. package/lib/cjs/types/resources/ServiceRequest.cjs +0 -3
  1394. package/lib/cjs/types/resources/ServiceRequest.d.ts +0 -65
  1395. package/lib/cjs/types/resources/Slot.cjs +0 -3
  1396. package/lib/cjs/types/resources/Slot.d.ts +0 -31
  1397. package/lib/cjs/types/resources/Specimen.cjs +0 -3
  1398. package/lib/cjs/types/resources/Specimen.d.ts +0 -37
  1399. package/lib/cjs/types/resources/SpecimenDefinition.cjs +0 -3
  1400. package/lib/cjs/types/resources/SpecimenDefinition.d.ts +0 -25
  1401. package/lib/cjs/types/resources/StructureDefinition.cjs +0 -3
  1402. package/lib/cjs/types/resources/StructureDefinition.d.ts +0 -55
  1403. package/lib/cjs/types/resources/StructureMap.cjs +0 -3
  1404. package/lib/cjs/types/resources/StructureMap.d.ts +0 -43
  1405. package/lib/cjs/types/resources/Subscription.cjs +0 -3
  1406. package/lib/cjs/types/resources/Subscription.d.ts +0 -26
  1407. package/lib/cjs/types/resources/SubscriptionStatus.cjs +0 -3
  1408. package/lib/cjs/types/resources/SubscriptionStatus.d.ts +0 -27
  1409. package/lib/cjs/types/resources/SubscriptionTopic.cjs +0 -3
  1410. package/lib/cjs/types/resources/SubscriptionTopic.d.ts +0 -51
  1411. package/lib/cjs/types/resources/Substance.cjs +0 -3
  1412. package/lib/cjs/types/resources/Substance.d.ts +0 -27
  1413. package/lib/cjs/types/resources/SubstanceDefinition.cjs +0 -3
  1414. package/lib/cjs/types/resources/SubstanceDefinition.d.ts +0 -48
  1415. package/lib/cjs/types/resources/SupplyDelivery.cjs +0 -3
  1416. package/lib/cjs/types/resources/SupplyDelivery.d.ts +0 -36
  1417. package/lib/cjs/types/resources/SupplyRequest.cjs +0 -3
  1418. package/lib/cjs/types/resources/SupplyRequest.d.ts +0 -42
  1419. package/lib/cjs/types/resources/Task.cjs +0 -3
  1420. package/lib/cjs/types/resources/Task.d.ts +0 -57
  1421. package/lib/cjs/types/resources/TerminologyCapabilities.cjs +0 -3
  1422. package/lib/cjs/types/resources/TerminologyCapabilities.d.ts +0 -52
  1423. package/lib/cjs/types/resources/TestReport.cjs +0 -3
  1424. package/lib/cjs/types/resources/TestReport.d.ts +0 -36
  1425. package/lib/cjs/types/resources/TestScript.cjs +0 -3
  1426. package/lib/cjs/types/resources/TestScript.d.ts +0 -55
  1427. package/lib/cjs/types/resources/ValueSet.cjs +0 -3
  1428. package/lib/cjs/types/resources/ValueSet.d.ts +0 -42
  1429. package/lib/cjs/types/resources/VerificationResult.cjs +0 -3
  1430. package/lib/cjs/types/resources/VerificationResult.d.ts +0 -38
  1431. package/lib/cjs/types/resources/VisionPrescription.cjs +0 -3
  1432. package/lib/cjs/types/resources/VisionPrescription.d.ts +0 -28
  1433. package/lib/cjs/types/simpleTypes/Base64Binary.cjs +0 -2
  1434. package/lib/cjs/types/simpleTypes/Base64Binary.d.ts +0 -1
  1435. package/lib/cjs/types/simpleTypes/Canonical.cjs +0 -2
  1436. package/lib/cjs/types/simpleTypes/Canonical.d.ts +0 -1
  1437. package/lib/cjs/types/simpleTypes/Code.cjs +0 -2
  1438. package/lib/cjs/types/simpleTypes/Code.d.ts +0 -1
  1439. package/lib/cjs/types/simpleTypes/Date.cjs +0 -2
  1440. package/lib/cjs/types/simpleTypes/Date.d.ts +0 -1
  1441. package/lib/cjs/types/simpleTypes/DateTime.cjs +0 -2
  1442. package/lib/cjs/types/simpleTypes/DateTime.d.ts +0 -1
  1443. package/lib/cjs/types/simpleTypes/Decimal.cjs +0 -2
  1444. package/lib/cjs/types/simpleTypes/Decimal.d.ts +0 -1
  1445. package/lib/cjs/types/simpleTypes/Id.cjs +0 -2
  1446. package/lib/cjs/types/simpleTypes/Id.d.ts +0 -1
  1447. package/lib/cjs/types/simpleTypes/Instant.cjs +0 -2
  1448. package/lib/cjs/types/simpleTypes/Instant.d.ts +0 -1
  1449. package/lib/cjs/types/simpleTypes/Int.cjs +0 -2
  1450. package/lib/cjs/types/simpleTypes/Int.d.ts +0 -1
  1451. package/lib/cjs/types/simpleTypes/Markdown.cjs +0 -2
  1452. package/lib/cjs/types/simpleTypes/Markdown.d.ts +0 -1
  1453. package/lib/cjs/types/simpleTypes/Oid.cjs +0 -2
  1454. package/lib/cjs/types/simpleTypes/Oid.d.ts +0 -1
  1455. package/lib/cjs/types/simpleTypes/ResourceContainer.cjs +0 -2
  1456. package/lib/cjs/types/simpleTypes/ResourceContainer.d.ts +0 -1
  1457. package/lib/cjs/types/simpleTypes/Time.cjs +0 -2
  1458. package/lib/cjs/types/simpleTypes/Time.d.ts +0 -1
  1459. package/lib/cjs/types/simpleTypes/UnsignedInt.cjs +0 -2
  1460. package/lib/cjs/types/simpleTypes/UnsignedInt.d.ts +0 -1
  1461. package/lib/cjs/types/simpleTypes/Uri.cjs +0 -2
  1462. package/lib/cjs/types/simpleTypes/Uri.d.ts +0 -1
  1463. package/lib/cjs/types/simpleTypes/Url.cjs +0 -2
  1464. package/lib/cjs/types/simpleTypes/Url.d.ts +0 -1
  1465. package/lib/cjs/types/simpleTypes/Uuid.cjs +0 -2
  1466. package/lib/cjs/types/simpleTypes/Uuid.d.ts +0 -1
  1467. package/lib/cjs/types/simpleTypes/Xhtml.cjs +0 -2
  1468. package/lib/cjs/types/simpleTypes/Xhtml.d.ts +0 -1
  1469. package/lib/esm/generators/fhir_summary_generator.d.ts +0 -46
  1470. package/lib/esm/generators/fhir_summary_generator.js +0 -224
  1471. package/lib/esm/generators/narrative_generator.d.ts +0 -40
  1472. package/lib/esm/generators/narrative_generator.js +0 -76
  1473. package/lib/esm/index.d.ts +0 -3
  1474. package/lib/esm/index.js +0 -3
  1475. package/lib/esm/narratives/templates/typescript/AdvanceDirectivesTemplate.d.ts +0 -22
  1476. package/lib/esm/narratives/templates/typescript/AdvanceDirectivesTemplate.js +0 -66
  1477. package/lib/esm/narratives/templates/typescript/AllergyIntoleranceTemplate.d.ts +0 -31
  1478. package/lib/esm/narratives/templates/typescript/AllergyIntoleranceTemplate.js +0 -151
  1479. package/lib/esm/narratives/templates/typescript/ClinicalImpressionTemplate.d.ts +0 -15
  1480. package/lib/esm/narratives/templates/typescript/ClinicalImpressionTemplate.js +0 -107
  1481. package/lib/esm/narratives/templates/typescript/CompositionTemplate.d.ts +0 -22
  1482. package/lib/esm/narratives/templates/typescript/CompositionTemplate.js +0 -26
  1483. package/lib/esm/narratives/templates/typescript/DiagnosticResultsTemplate.d.ts +0 -50
  1484. package/lib/esm/narratives/templates/typescript/DiagnosticResultsTemplate.js +0 -149
  1485. package/lib/esm/narratives/templates/typescript/FamilyHistoryTemplate.d.ts +0 -15
  1486. package/lib/esm/narratives/templates/typescript/FamilyHistoryTemplate.js +0 -99
  1487. package/lib/esm/narratives/templates/typescript/FunctionalStatusTemplate.d.ts +0 -22
  1488. package/lib/esm/narratives/templates/typescript/FunctionalStatusTemplate.js +0 -66
  1489. package/lib/esm/narratives/templates/typescript/HistoryOfProceduresTemplate.d.ts +0 -22
  1490. package/lib/esm/narratives/templates/typescript/HistoryOfProceduresTemplate.js +0 -62
  1491. package/lib/esm/narratives/templates/typescript/ImmunizationsTemplate.d.ts +0 -22
  1492. package/lib/esm/narratives/templates/typescript/ImmunizationsTemplate.js +0 -69
  1493. package/lib/esm/narratives/templates/typescript/MedicalDevicesTemplate.d.ts +0 -22
  1494. package/lib/esm/narratives/templates/typescript/MedicalDevicesTemplate.js +0 -63
  1495. package/lib/esm/narratives/templates/typescript/MedicationSummaryTemplate.d.ts +0 -50
  1496. package/lib/esm/narratives/templates/typescript/MedicationSummaryTemplate.js +0 -202
  1497. package/lib/esm/narratives/templates/typescript/PastHistoryOfIllnessTemplate.d.ts +0 -15
  1498. package/lib/esm/narratives/templates/typescript/PastHistoryOfIllnessTemplate.js +0 -55
  1499. package/lib/esm/narratives/templates/typescript/PatientTemplate.d.ts +0 -65
  1500. package/lib/esm/narratives/templates/typescript/PatientTemplate.js +0 -154
  1501. package/lib/esm/narratives/templates/typescript/PlanOfCareTemplate.d.ts +0 -15
  1502. package/lib/esm/narratives/templates/typescript/PlanOfCareTemplate.js +0 -59
  1503. package/lib/esm/narratives/templates/typescript/PregnancyTemplate.d.ts +0 -22
  1504. package/lib/esm/narratives/templates/typescript/PregnancyTemplate.js +0 -64
  1505. package/lib/esm/narratives/templates/typescript/ProblemListTemplate.d.ts +0 -22
  1506. package/lib/esm/narratives/templates/typescript/ProblemListTemplate.js +0 -115
  1507. package/lib/esm/narratives/templates/typescript/SocialHistoryTemplate.d.ts +0 -22
  1508. package/lib/esm/narratives/templates/typescript/SocialHistoryTemplate.js +0 -66
  1509. package/lib/esm/narratives/templates/typescript/TemplateUtilities.d.ts +0 -251
  1510. package/lib/esm/narratives/templates/typescript/TemplateUtilities.js +0 -692
  1511. package/lib/esm/narratives/templates/typescript/TypeScriptTemplateMapper.d.ts +0 -17
  1512. package/lib/esm/narratives/templates/typescript/TypeScriptTemplateMapper.js +0 -60
  1513. package/lib/esm/narratives/templates/typescript/VitalSignsTemplate.d.ts +0 -22
  1514. package/lib/esm/narratives/templates/typescript/VitalSignsTemplate.js +0 -70
  1515. package/lib/esm/narratives/templates/typescript/interfaces/ITemplate.d.ts +0 -13
  1516. package/lib/esm/narratives/templates/typescript/interfaces/ITemplate.js +0 -1
  1517. package/lib/esm/profiles/ips_resource_profile_registry.d.ts +0 -7
  1518. package/lib/esm/profiles/ips_resource_profile_registry.js +0 -139
  1519. package/lib/esm/structures/ips_mandatory_sections.d.ts +0 -7
  1520. package/lib/esm/structures/ips_mandatory_sections.js +0 -8
  1521. package/lib/esm/structures/ips_recommended_sections.d.ts +0 -8
  1522. package/lib/esm/structures/ips_recommended_sections.js +0 -9
  1523. package/lib/esm/structures/ips_resource_profile.d.ts +0 -7
  1524. package/lib/esm/structures/ips_resource_profile.js +0 -1
  1525. package/lib/esm/structures/ips_section_loinc_codes.d.ts +0 -4
  1526. package/lib/esm/structures/ips_section_loinc_codes.js +0 -44
  1527. package/lib/esm/structures/ips_section_resource_map.d.ts +0 -8
  1528. package/lib/esm/structures/ips_section_resource_map.js +0 -65
  1529. package/lib/esm/structures/ips_sections.d.ts +0 -19
  1530. package/lib/esm/structures/ips_sections.js +0 -24
  1531. package/lib/esm/types/baseTypes.d.ts +0 -23
  1532. package/lib/esm/types/baseTypes.js +0 -1
  1533. package/lib/esm/types/partials/AccountCoverage.d.ts +0 -10
  1534. package/lib/esm/types/partials/AccountCoverage.js +0 -2
  1535. package/lib/esm/types/partials/AccountGuarantor.d.ts +0 -11
  1536. package/lib/esm/types/partials/AccountGuarantor.js +0 -2
  1537. package/lib/esm/types/partials/ActivityDefinitionDynamicValue.d.ts +0 -9
  1538. package/lib/esm/types/partials/ActivityDefinitionDynamicValue.js +0 -2
  1539. package/lib/esm/types/partials/ActivityDefinitionParticipant.d.ts +0 -9
  1540. package/lib/esm/types/partials/ActivityDefinitionParticipant.js +0 -2
  1541. package/lib/esm/types/partials/Address.d.ts +0 -16
  1542. package/lib/esm/types/partials/Address.js +0 -2
  1543. package/lib/esm/types/partials/AdministrableProductDefinitionProperty.d.ts +0 -17
  1544. package/lib/esm/types/partials/AdministrableProductDefinitionProperty.js +0 -2
  1545. package/lib/esm/types/partials/AdministrableProductDefinitionRouteOfAdministration.d.ts +0 -17
  1546. package/lib/esm/types/partials/AdministrableProductDefinitionRouteOfAdministration.js +0 -2
  1547. package/lib/esm/types/partials/AdministrableProductDefinitionTargetSpecies.d.ts +0 -10
  1548. package/lib/esm/types/partials/AdministrableProductDefinitionTargetSpecies.js +0 -2
  1549. package/lib/esm/types/partials/AdministrableProductDefinitionWithdrawalPeriod.d.ts +0 -11
  1550. package/lib/esm/types/partials/AdministrableProductDefinitionWithdrawalPeriod.js +0 -2
  1551. package/lib/esm/types/partials/AdverseEventCausality.d.ts +0 -12
  1552. package/lib/esm/types/partials/AdverseEventCausality.js +0 -2
  1553. package/lib/esm/types/partials/AdverseEventSuspectEntity.d.ts +0 -10
  1554. package/lib/esm/types/partials/AdverseEventSuspectEntity.js +0 -2
  1555. package/lib/esm/types/partials/Age.d.ts +0 -9
  1556. package/lib/esm/types/partials/Age.js +0 -2
  1557. package/lib/esm/types/partials/AllergyIntoleranceReaction.d.ts +0 -16
  1558. package/lib/esm/types/partials/AllergyIntoleranceReaction.js +0 -2
  1559. package/lib/esm/types/partials/Annotation.d.ts +0 -12
  1560. package/lib/esm/types/partials/Annotation.js +0 -2
  1561. package/lib/esm/types/partials/AppointmentParticipant.d.ts +0 -14
  1562. package/lib/esm/types/partials/AppointmentParticipant.js +0 -2
  1563. package/lib/esm/types/partials/Attachment.d.ts +0 -17
  1564. package/lib/esm/types/partials/Attachment.js +0 -2
  1565. package/lib/esm/types/partials/AuditEventAgent.d.ts +0 -22
  1566. package/lib/esm/types/partials/AuditEventAgent.js +0 -2
  1567. package/lib/esm/types/partials/AuditEventDetail.d.ts +0 -10
  1568. package/lib/esm/types/partials/AuditEventDetail.js +0 -2
  1569. package/lib/esm/types/partials/AuditEventEntity.d.ts +0 -19
  1570. package/lib/esm/types/partials/AuditEventEntity.js +0 -2
  1571. package/lib/esm/types/partials/AuditEventNetwork.d.ts +0 -8
  1572. package/lib/esm/types/partials/AuditEventNetwork.js +0 -2
  1573. package/lib/esm/types/partials/AuditEventSource.d.ts +0 -11
  1574. package/lib/esm/types/partials/AuditEventSource.js +0 -2
  1575. package/lib/esm/types/partials/BackboneElement.d.ts +0 -6
  1576. package/lib/esm/types/partials/BackboneElement.js +0 -2
  1577. package/lib/esm/types/partials/BiologicallyDerivedProductCollection.d.ts +0 -13
  1578. package/lib/esm/types/partials/BiologicallyDerivedProductCollection.js +0 -2
  1579. package/lib/esm/types/partials/BiologicallyDerivedProductManipulation.d.ts +0 -11
  1580. package/lib/esm/types/partials/BiologicallyDerivedProductManipulation.js +0 -2
  1581. package/lib/esm/types/partials/BiologicallyDerivedProductProcessing.d.ts +0 -15
  1582. package/lib/esm/types/partials/BiologicallyDerivedProductProcessing.js +0 -2
  1583. package/lib/esm/types/partials/BiologicallyDerivedProductStorage.d.ts +0 -12
  1584. package/lib/esm/types/partials/BiologicallyDerivedProductStorage.js +0 -2
  1585. package/lib/esm/types/partials/BundleEntry.d.ts +0 -18
  1586. package/lib/esm/types/partials/BundleEntry.js +0 -2
  1587. package/lib/esm/types/partials/BundleLink.d.ts +0 -9
  1588. package/lib/esm/types/partials/BundleLink.js +0 -2
  1589. package/lib/esm/types/partials/BundleRequest.d.ts +0 -14
  1590. package/lib/esm/types/partials/BundleRequest.js +0 -2
  1591. package/lib/esm/types/partials/BundleResponse.d.ts +0 -14
  1592. package/lib/esm/types/partials/BundleResponse.js +0 -2
  1593. package/lib/esm/types/partials/BundleSearch.d.ts +0 -9
  1594. package/lib/esm/types/partials/BundleSearch.js +0 -2
  1595. package/lib/esm/types/partials/CapabilityStatementDocument.d.ts +0 -11
  1596. package/lib/esm/types/partials/CapabilityStatementDocument.js +0 -2
  1597. package/lib/esm/types/partials/CapabilityStatementEndpoint.d.ts +0 -10
  1598. package/lib/esm/types/partials/CapabilityStatementEndpoint.js +0 -2
  1599. package/lib/esm/types/partials/CapabilityStatementImplementation.d.ts +0 -11
  1600. package/lib/esm/types/partials/CapabilityStatementImplementation.js +0 -2
  1601. package/lib/esm/types/partials/CapabilityStatementInteraction.d.ts +0 -9
  1602. package/lib/esm/types/partials/CapabilityStatementInteraction.js +0 -2
  1603. package/lib/esm/types/partials/CapabilityStatementInteraction1.d.ts +0 -9
  1604. package/lib/esm/types/partials/CapabilityStatementInteraction1.js +0 -2
  1605. package/lib/esm/types/partials/CapabilityStatementMessaging.d.ts +0 -14
  1606. package/lib/esm/types/partials/CapabilityStatementMessaging.js +0 -2
  1607. package/lib/esm/types/partials/CapabilityStatementOperation.d.ts +0 -11
  1608. package/lib/esm/types/partials/CapabilityStatementOperation.js +0 -2
  1609. package/lib/esm/types/partials/CapabilityStatementResource.d.ts +0 -28
  1610. package/lib/esm/types/partials/CapabilityStatementResource.js +0 -2
  1611. package/lib/esm/types/partials/CapabilityStatementRest.d.ts +0 -21
  1612. package/lib/esm/types/partials/CapabilityStatementRest.js +0 -2
  1613. package/lib/esm/types/partials/CapabilityStatementSearchParam.d.ts +0 -12
  1614. package/lib/esm/types/partials/CapabilityStatementSearchParam.js +0 -2
  1615. package/lib/esm/types/partials/CapabilityStatementSecurity.d.ts +0 -11
  1616. package/lib/esm/types/partials/CapabilityStatementSecurity.js +0 -2
  1617. package/lib/esm/types/partials/CapabilityStatementSoftware.d.ts +0 -10
  1618. package/lib/esm/types/partials/CapabilityStatementSoftware.js +0 -2
  1619. package/lib/esm/types/partials/CapabilityStatementSupportedMessage.d.ts +0 -9
  1620. package/lib/esm/types/partials/CapabilityStatementSupportedMessage.js +0 -2
  1621. package/lib/esm/types/partials/CarePlanActivity.d.ts +0 -15
  1622. package/lib/esm/types/partials/CarePlanActivity.js +0 -2
  1623. package/lib/esm/types/partials/CarePlanDetail.d.ts +0 -33
  1624. package/lib/esm/types/partials/CarePlanDetail.js +0 -2
  1625. package/lib/esm/types/partials/CareTeamParticipant.d.ts +0 -13
  1626. package/lib/esm/types/partials/CareTeamParticipant.js +0 -2
  1627. package/lib/esm/types/partials/CatalogEntryRelatedEntry.d.ts +0 -9
  1628. package/lib/esm/types/partials/CatalogEntryRelatedEntry.js +0 -2
  1629. package/lib/esm/types/partials/ChargeItemDefinitionApplicability.d.ts +0 -9
  1630. package/lib/esm/types/partials/ChargeItemDefinitionApplicability.js +0 -2
  1631. package/lib/esm/types/partials/ChargeItemDefinitionPriceComponent.d.ts +0 -13
  1632. package/lib/esm/types/partials/ChargeItemDefinitionPriceComponent.js +0 -2
  1633. package/lib/esm/types/partials/ChargeItemDefinitionPropertyGroup.d.ts +0 -10
  1634. package/lib/esm/types/partials/ChargeItemDefinitionPropertyGroup.js +0 -2
  1635. package/lib/esm/types/partials/ChargeItemPerformer.d.ts +0 -10
  1636. package/lib/esm/types/partials/ChargeItemPerformer.js +0 -2
  1637. package/lib/esm/types/partials/CitationAbstract.d.ts +0 -12
  1638. package/lib/esm/types/partials/CitationAbstract.js +0 -2
  1639. package/lib/esm/types/partials/CitationAffiliationInfo.d.ts +0 -10
  1640. package/lib/esm/types/partials/CitationAffiliationInfo.js +0 -2
  1641. package/lib/esm/types/partials/CitationCitedArtifact.d.ts +0 -35
  1642. package/lib/esm/types/partials/CitationCitedArtifact.js +0 -2
  1643. package/lib/esm/types/partials/CitationClassification.d.ts +0 -9
  1644. package/lib/esm/types/partials/CitationClassification.js +0 -2
  1645. package/lib/esm/types/partials/CitationClassification1.d.ts +0 -11
  1646. package/lib/esm/types/partials/CitationClassification1.js +0 -2
  1647. package/lib/esm/types/partials/CitationContributionInstance.d.ts +0 -10
  1648. package/lib/esm/types/partials/CitationContributionInstance.js +0 -2
  1649. package/lib/esm/types/partials/CitationContributorship.d.ts +0 -11
  1650. package/lib/esm/types/partials/CitationContributorship.js +0 -2
  1651. package/lib/esm/types/partials/CitationDateOfPublication.d.ts +0 -13
  1652. package/lib/esm/types/partials/CitationDateOfPublication.js +0 -2
  1653. package/lib/esm/types/partials/CitationEntry.d.ts +0 -26
  1654. package/lib/esm/types/partials/CitationEntry.js +0 -2
  1655. package/lib/esm/types/partials/CitationPart.d.ts +0 -11
  1656. package/lib/esm/types/partials/CitationPart.js +0 -2
  1657. package/lib/esm/types/partials/CitationPeriodicRelease.d.ts +0 -12
  1658. package/lib/esm/types/partials/CitationPeriodicRelease.js +0 -2
  1659. package/lib/esm/types/partials/CitationPublicationForm.d.ts +0 -22
  1660. package/lib/esm/types/partials/CitationPublicationForm.js +0 -2
  1661. package/lib/esm/types/partials/CitationPublishedIn.d.ts +0 -14
  1662. package/lib/esm/types/partials/CitationPublishedIn.js +0 -2
  1663. package/lib/esm/types/partials/CitationRelatesTo.d.ts +0 -17
  1664. package/lib/esm/types/partials/CitationRelatesTo.js +0 -2
  1665. package/lib/esm/types/partials/CitationRelatesTo1.d.ts +0 -17
  1666. package/lib/esm/types/partials/CitationRelatesTo1.js +0 -2
  1667. package/lib/esm/types/partials/CitationStatusDate.d.ts +0 -11
  1668. package/lib/esm/types/partials/CitationStatusDate.js +0 -2
  1669. package/lib/esm/types/partials/CitationStatusDate1.d.ts +0 -11
  1670. package/lib/esm/types/partials/CitationStatusDate1.js +0 -2
  1671. package/lib/esm/types/partials/CitationSummary.d.ts +0 -10
  1672. package/lib/esm/types/partials/CitationSummary.js +0 -2
  1673. package/lib/esm/types/partials/CitationSummary1.d.ts +0 -12
  1674. package/lib/esm/types/partials/CitationSummary1.js +0 -2
  1675. package/lib/esm/types/partials/CitationTitle.d.ts +0 -11
  1676. package/lib/esm/types/partials/CitationTitle.js +0 -2
  1677. package/lib/esm/types/partials/CitationVersion.d.ts +0 -9
  1678. package/lib/esm/types/partials/CitationVersion.js +0 -2
  1679. package/lib/esm/types/partials/CitationWebLocation.d.ts +0 -10
  1680. package/lib/esm/types/partials/CitationWebLocation.js +0 -2
  1681. package/lib/esm/types/partials/CitationWhoClassified.d.ts +0 -12
  1682. package/lib/esm/types/partials/CitationWhoClassified.js +0 -2
  1683. package/lib/esm/types/partials/ClaimAccident.d.ts +0 -14
  1684. package/lib/esm/types/partials/ClaimAccident.js +0 -2
  1685. package/lib/esm/types/partials/ClaimCareTeam.d.ts +0 -14
  1686. package/lib/esm/types/partials/ClaimCareTeam.js +0 -2
  1687. package/lib/esm/types/partials/ClaimDetail.d.ts +0 -25
  1688. package/lib/esm/types/partials/ClaimDetail.js +0 -2
  1689. package/lib/esm/types/partials/ClaimDiagnosis.d.ts +0 -15
  1690. package/lib/esm/types/partials/ClaimDiagnosis.js +0 -2
  1691. package/lib/esm/types/partials/ClaimInsurance.d.ts +0 -16
  1692. package/lib/esm/types/partials/ClaimInsurance.js +0 -2
  1693. package/lib/esm/types/partials/ClaimItem.d.ts +0 -40
  1694. package/lib/esm/types/partials/ClaimItem.js +0 -2
  1695. package/lib/esm/types/partials/ClaimPayee.d.ts +0 -10
  1696. package/lib/esm/types/partials/ClaimPayee.js +0 -2
  1697. package/lib/esm/types/partials/ClaimProcedure.d.ts +0 -16
  1698. package/lib/esm/types/partials/ClaimProcedure.js +0 -2
  1699. package/lib/esm/types/partials/ClaimRelated.d.ts +0 -12
  1700. package/lib/esm/types/partials/ClaimRelated.js +0 -2
  1701. package/lib/esm/types/partials/ClaimResponseAddItem.d.ts +0 -38
  1702. package/lib/esm/types/partials/ClaimResponseAddItem.js +0 -2
  1703. package/lib/esm/types/partials/ClaimResponseAdjudication.d.ts +0 -13
  1704. package/lib/esm/types/partials/ClaimResponseAdjudication.js +0 -2
  1705. package/lib/esm/types/partials/ClaimResponseDetail.d.ts +0 -13
  1706. package/lib/esm/types/partials/ClaimResponseDetail.js +0 -2
  1707. package/lib/esm/types/partials/ClaimResponseDetail1.d.ts +0 -22
  1708. package/lib/esm/types/partials/ClaimResponseDetail1.js +0 -2
  1709. package/lib/esm/types/partials/ClaimResponseError.d.ts +0 -12
  1710. package/lib/esm/types/partials/ClaimResponseError.js +0 -2
  1711. package/lib/esm/types/partials/ClaimResponseInsurance.d.ts +0 -13
  1712. package/lib/esm/types/partials/ClaimResponseInsurance.js +0 -2
  1713. package/lib/esm/types/partials/ClaimResponseItem.d.ts +0 -13
  1714. package/lib/esm/types/partials/ClaimResponseItem.js +0 -2
  1715. package/lib/esm/types/partials/ClaimResponsePayment.d.ts +0 -16
  1716. package/lib/esm/types/partials/ClaimResponsePayment.js +0 -2
  1717. package/lib/esm/types/partials/ClaimResponseProcessNote.d.ts +0 -12
  1718. package/lib/esm/types/partials/ClaimResponseProcessNote.js +0 -2
  1719. package/lib/esm/types/partials/ClaimResponseSubDetail.d.ts +0 -11
  1720. package/lib/esm/types/partials/ClaimResponseSubDetail.js +0 -2
  1721. package/lib/esm/types/partials/ClaimResponseSubDetail1.d.ts +0 -20
  1722. package/lib/esm/types/partials/ClaimResponseSubDetail1.js +0 -2
  1723. package/lib/esm/types/partials/ClaimResponseTotal.d.ts +0 -10
  1724. package/lib/esm/types/partials/ClaimResponseTotal.js +0 -2
  1725. package/lib/esm/types/partials/ClaimSubDetail.d.ts +0 -23
  1726. package/lib/esm/types/partials/ClaimSubDetail.js +0 -2
  1727. package/lib/esm/types/partials/ClaimSupportingInfo.d.ts +0 -24
  1728. package/lib/esm/types/partials/ClaimSupportingInfo.js +0 -2
  1729. package/lib/esm/types/partials/ClinicalImpressionFinding.d.ts +0 -11
  1730. package/lib/esm/types/partials/ClinicalImpressionFinding.js +0 -2
  1731. package/lib/esm/types/partials/ClinicalImpressionInvestigation.d.ts +0 -10
  1732. package/lib/esm/types/partials/ClinicalImpressionInvestigation.js +0 -2
  1733. package/lib/esm/types/partials/ClinicalUseDefinitionContraindication.d.ts +0 -14
  1734. package/lib/esm/types/partials/ClinicalUseDefinitionContraindication.js +0 -2
  1735. package/lib/esm/types/partials/ClinicalUseDefinitionIndication.d.ts +0 -18
  1736. package/lib/esm/types/partials/ClinicalUseDefinitionIndication.js +0 -2
  1737. package/lib/esm/types/partials/ClinicalUseDefinitionInteractant.d.ts +0 -10
  1738. package/lib/esm/types/partials/ClinicalUseDefinitionInteractant.js +0 -2
  1739. package/lib/esm/types/partials/ClinicalUseDefinitionInteraction.d.ts +0 -14
  1740. package/lib/esm/types/partials/ClinicalUseDefinitionInteraction.js +0 -2
  1741. package/lib/esm/types/partials/ClinicalUseDefinitionOtherTherapy.d.ts +0 -10
  1742. package/lib/esm/types/partials/ClinicalUseDefinitionOtherTherapy.js +0 -2
  1743. package/lib/esm/types/partials/ClinicalUseDefinitionUndesirableEffect.d.ts +0 -11
  1744. package/lib/esm/types/partials/ClinicalUseDefinitionUndesirableEffect.js +0 -2
  1745. package/lib/esm/types/partials/ClinicalUseDefinitionWarning.d.ts +0 -10
  1746. package/lib/esm/types/partials/ClinicalUseDefinitionWarning.js +0 -2
  1747. package/lib/esm/types/partials/CodeSystemConcept.d.ts +0 -14
  1748. package/lib/esm/types/partials/CodeSystemConcept.js +0 -2
  1749. package/lib/esm/types/partials/CodeSystemDesignation.d.ts +0 -10
  1750. package/lib/esm/types/partials/CodeSystemDesignation.js +0 -2
  1751. package/lib/esm/types/partials/CodeSystemFilter.d.ts +0 -10
  1752. package/lib/esm/types/partials/CodeSystemFilter.js +0 -2
  1753. package/lib/esm/types/partials/CodeSystemProperty.d.ts +0 -11
  1754. package/lib/esm/types/partials/CodeSystemProperty.js +0 -2
  1755. package/lib/esm/types/partials/CodeSystemProperty1.d.ts +0 -18
  1756. package/lib/esm/types/partials/CodeSystemProperty1.js +0 -2
  1757. package/lib/esm/types/partials/CodeableConcept.d.ts +0 -8
  1758. package/lib/esm/types/partials/CodeableConcept.js +0 -2
  1759. package/lib/esm/types/partials/CodeableReference.d.ts +0 -9
  1760. package/lib/esm/types/partials/CodeableReference.js +0 -2
  1761. package/lib/esm/types/partials/Coding.d.ts +0 -11
  1762. package/lib/esm/types/partials/Coding.js +0 -2
  1763. package/lib/esm/types/partials/CommunicationPayload.d.ts +0 -11
  1764. package/lib/esm/types/partials/CommunicationPayload.js +0 -2
  1765. package/lib/esm/types/partials/CommunicationRequestPayload.d.ts +0 -11
  1766. package/lib/esm/types/partials/CommunicationRequestPayload.js +0 -2
  1767. package/lib/esm/types/partials/CompartmentDefinitionResource.d.ts +0 -9
  1768. package/lib/esm/types/partials/CompartmentDefinitionResource.js +0 -2
  1769. package/lib/esm/types/partials/CompositionAttester.d.ts +0 -11
  1770. package/lib/esm/types/partials/CompositionAttester.js +0 -2
  1771. package/lib/esm/types/partials/CompositionEvent.d.ts +0 -12
  1772. package/lib/esm/types/partials/CompositionEvent.js +0 -2
  1773. package/lib/esm/types/partials/CompositionRelatesTo.d.ts +0 -11
  1774. package/lib/esm/types/partials/CompositionRelatesTo.js +0 -2
  1775. package/lib/esm/types/partials/CompositionSection.d.ts +0 -19
  1776. package/lib/esm/types/partials/CompositionSection.js +0 -2
  1777. package/lib/esm/types/partials/ConceptMapDependsOn.d.ts +0 -12
  1778. package/lib/esm/types/partials/ConceptMapDependsOn.js +0 -2
  1779. package/lib/esm/types/partials/ConceptMapElement.d.ts +0 -10
  1780. package/lib/esm/types/partials/ConceptMapElement.js +0 -2
  1781. package/lib/esm/types/partials/ConceptMapGroup.d.ts +0 -15
  1782. package/lib/esm/types/partials/ConceptMapGroup.js +0 -2
  1783. package/lib/esm/types/partials/ConceptMapTarget.d.ts +0 -13
  1784. package/lib/esm/types/partials/ConceptMapTarget.js +0 -2
  1785. package/lib/esm/types/partials/ConceptMapUnmapped.d.ts +0 -11
  1786. package/lib/esm/types/partials/ConceptMapUnmapped.js +0 -2
  1787. package/lib/esm/types/partials/ConditionEvidence.d.ts +0 -10
  1788. package/lib/esm/types/partials/ConditionEvidence.js +0 -2
  1789. package/lib/esm/types/partials/ConditionStage.d.ts +0 -11
  1790. package/lib/esm/types/partials/ConditionStage.js +0 -2
  1791. package/lib/esm/types/partials/ConsentActor.d.ts +0 -10
  1792. package/lib/esm/types/partials/ConsentActor.js +0 -2
  1793. package/lib/esm/types/partials/ConsentData.d.ts +0 -9
  1794. package/lib/esm/types/partials/ConsentData.js +0 -2
  1795. package/lib/esm/types/partials/ConsentPolicy.d.ts +0 -9
  1796. package/lib/esm/types/partials/ConsentPolicy.js +0 -2
  1797. package/lib/esm/types/partials/ConsentProvision.d.ts +0 -22
  1798. package/lib/esm/types/partials/ConsentProvision.js +0 -2
  1799. package/lib/esm/types/partials/ConsentVerification.d.ts +0 -11
  1800. package/lib/esm/types/partials/ConsentVerification.js +0 -2
  1801. package/lib/esm/types/partials/ContactDetail.d.ts +0 -8
  1802. package/lib/esm/types/partials/ContactDetail.js +0 -2
  1803. package/lib/esm/types/partials/ContactPoint.d.ts +0 -12
  1804. package/lib/esm/types/partials/ContactPoint.js +0 -2
  1805. package/lib/esm/types/partials/ContractAction.d.ts +0 -37
  1806. package/lib/esm/types/partials/ContractAction.js +0 -2
  1807. package/lib/esm/types/partials/ContractAnswer.d.ts +0 -28
  1808. package/lib/esm/types/partials/ContractAnswer.js +0 -2
  1809. package/lib/esm/types/partials/ContractAsset.d.ts +0 -29
  1810. package/lib/esm/types/partials/ContractAsset.js +0 -2
  1811. package/lib/esm/types/partials/ContractContentDefinition.d.ts +0 -16
  1812. package/lib/esm/types/partials/ContractContentDefinition.js +0 -2
  1813. package/lib/esm/types/partials/ContractContext.d.ts +0 -11
  1814. package/lib/esm/types/partials/ContractContext.js +0 -2
  1815. package/lib/esm/types/partials/ContractFriendly.d.ts +0 -10
  1816. package/lib/esm/types/partials/ContractFriendly.js +0 -2
  1817. package/lib/esm/types/partials/ContractLegal.d.ts +0 -10
  1818. package/lib/esm/types/partials/ContractLegal.js +0 -2
  1819. package/lib/esm/types/partials/ContractOffer.d.ts +0 -22
  1820. package/lib/esm/types/partials/ContractOffer.js +0 -2
  1821. package/lib/esm/types/partials/ContractParty.d.ts +0 -10
  1822. package/lib/esm/types/partials/ContractParty.js +0 -2
  1823. package/lib/esm/types/partials/ContractRule.d.ts +0 -10
  1824. package/lib/esm/types/partials/ContractRule.js +0 -2
  1825. package/lib/esm/types/partials/ContractSecurityLabel.d.ts +0 -12
  1826. package/lib/esm/types/partials/ContractSecurityLabel.js +0 -2
  1827. package/lib/esm/types/partials/ContractSigner.d.ts +0 -12
  1828. package/lib/esm/types/partials/ContractSigner.js +0 -2
  1829. package/lib/esm/types/partials/ContractSubject.d.ts +0 -10
  1830. package/lib/esm/types/partials/ContractSubject.js +0 -2
  1831. package/lib/esm/types/partials/ContractTerm.d.ts +0 -28
  1832. package/lib/esm/types/partials/ContractTerm.js +0 -2
  1833. package/lib/esm/types/partials/ContractValuedItem.d.ts +0 -29
  1834. package/lib/esm/types/partials/ContractValuedItem.js +0 -2
  1835. package/lib/esm/types/partials/Contributor.d.ts +0 -9
  1836. package/lib/esm/types/partials/Contributor.js +0 -2
  1837. package/lib/esm/types/partials/Count.d.ts +0 -9
  1838. package/lib/esm/types/partials/Count.js +0 -2
  1839. package/lib/esm/types/partials/CoverageClass.d.ts +0 -10
  1840. package/lib/esm/types/partials/CoverageClass.js +0 -2
  1841. package/lib/esm/types/partials/CoverageCostToBeneficiary.d.ts +0 -14
  1842. package/lib/esm/types/partials/CoverageCostToBeneficiary.js +0 -2
  1843. package/lib/esm/types/partials/CoverageEligibilityRequestDiagnosis.d.ts +0 -10
  1844. package/lib/esm/types/partials/CoverageEligibilityRequestDiagnosis.js +0 -2
  1845. package/lib/esm/types/partials/CoverageEligibilityRequestInsurance.d.ts +0 -10
  1846. package/lib/esm/types/partials/CoverageEligibilityRequestInsurance.js +0 -2
  1847. package/lib/esm/types/partials/CoverageEligibilityRequestItem.d.ts +0 -22
  1848. package/lib/esm/types/partials/CoverageEligibilityRequestItem.js +0 -2
  1849. package/lib/esm/types/partials/CoverageEligibilityRequestSupportingInfo.d.ts +0 -11
  1850. package/lib/esm/types/partials/CoverageEligibilityRequestSupportingInfo.js +0 -2
  1851. package/lib/esm/types/partials/CoverageEligibilityResponseBenefit.d.ts +0 -16
  1852. package/lib/esm/types/partials/CoverageEligibilityResponseBenefit.js +0 -2
  1853. package/lib/esm/types/partials/CoverageEligibilityResponseError.d.ts +0 -8
  1854. package/lib/esm/types/partials/CoverageEligibilityResponseError.js +0 -2
  1855. package/lib/esm/types/partials/CoverageEligibilityResponseInsurance.d.ts +0 -13
  1856. package/lib/esm/types/partials/CoverageEligibilityResponseInsurance.js +0 -2
  1857. package/lib/esm/types/partials/CoverageEligibilityResponseItem.d.ts +0 -24
  1858. package/lib/esm/types/partials/CoverageEligibilityResponseItem.js +0 -2
  1859. package/lib/esm/types/partials/CoverageException.d.ts +0 -10
  1860. package/lib/esm/types/partials/CoverageException.js +0 -2
  1861. package/lib/esm/types/partials/DataRequirement.d.ts +0 -21
  1862. package/lib/esm/types/partials/DataRequirement.js +0 -2
  1863. package/lib/esm/types/partials/DataRequirementCodeFilter.d.ts +0 -11
  1864. package/lib/esm/types/partials/DataRequirementCodeFilter.js +0 -2
  1865. package/lib/esm/types/partials/DataRequirementDateFilter.d.ts +0 -13
  1866. package/lib/esm/types/partials/DataRequirementDateFilter.js +0 -2
  1867. package/lib/esm/types/partials/DataRequirementSort.d.ts +0 -7
  1868. package/lib/esm/types/partials/DataRequirementSort.js +0 -2
  1869. package/lib/esm/types/partials/DetectedIssueEvidence.d.ts +0 -10
  1870. package/lib/esm/types/partials/DetectedIssueEvidence.js +0 -2
  1871. package/lib/esm/types/partials/DetectedIssueMitigation.d.ts +0 -12
  1872. package/lib/esm/types/partials/DetectedIssueMitigation.js +0 -2
  1873. package/lib/esm/types/partials/DeviceDefinitionCapability.d.ts +0 -9
  1874. package/lib/esm/types/partials/DeviceDefinitionCapability.js +0 -2
  1875. package/lib/esm/types/partials/DeviceDefinitionDeviceName.d.ts +0 -8
  1876. package/lib/esm/types/partials/DeviceDefinitionDeviceName.js +0 -2
  1877. package/lib/esm/types/partials/DeviceDefinitionMaterial.d.ts +0 -10
  1878. package/lib/esm/types/partials/DeviceDefinitionMaterial.js +0 -2
  1879. package/lib/esm/types/partials/DeviceDefinitionProperty.d.ts +0 -11
  1880. package/lib/esm/types/partials/DeviceDefinitionProperty.js +0 -2
  1881. package/lib/esm/types/partials/DeviceDefinitionSpecialization.d.ts +0 -8
  1882. package/lib/esm/types/partials/DeviceDefinitionSpecialization.js +0 -2
  1883. package/lib/esm/types/partials/DeviceDefinitionUdiDeviceIdentifier.d.ts +0 -10
  1884. package/lib/esm/types/partials/DeviceDefinitionUdiDeviceIdentifier.js +0 -2
  1885. package/lib/esm/types/partials/DeviceDeviceName.d.ts +0 -8
  1886. package/lib/esm/types/partials/DeviceDeviceName.js +0 -2
  1887. package/lib/esm/types/partials/DeviceMetricCalibration.d.ts +0 -10
  1888. package/lib/esm/types/partials/DeviceMetricCalibration.js +0 -2
  1889. package/lib/esm/types/partials/DeviceProperty.d.ts +0 -11
  1890. package/lib/esm/types/partials/DeviceProperty.js +0 -2
  1891. package/lib/esm/types/partials/DeviceRequestParameter.d.ts +0 -14
  1892. package/lib/esm/types/partials/DeviceRequestParameter.js +0 -2
  1893. package/lib/esm/types/partials/DeviceSpecialization.d.ts +0 -9
  1894. package/lib/esm/types/partials/DeviceSpecialization.js +0 -2
  1895. package/lib/esm/types/partials/DeviceUdiCarrier.d.ts +0 -14
  1896. package/lib/esm/types/partials/DeviceUdiCarrier.js +0 -2
  1897. package/lib/esm/types/partials/DeviceVersion.d.ts +0 -11
  1898. package/lib/esm/types/partials/DeviceVersion.js +0 -2
  1899. package/lib/esm/types/partials/DiagnosticReportMedia.d.ts +0 -9
  1900. package/lib/esm/types/partials/DiagnosticReportMedia.js +0 -2
  1901. package/lib/esm/types/partials/Distance.d.ts +0 -9
  1902. package/lib/esm/types/partials/Distance.js +0 -2
  1903. package/lib/esm/types/partials/DocumentManifestRelated.d.ts +0 -10
  1904. package/lib/esm/types/partials/DocumentManifestRelated.js +0 -2
  1905. package/lib/esm/types/partials/DocumentReferenceContent.d.ts +0 -10
  1906. package/lib/esm/types/partials/DocumentReferenceContent.js +0 -2
  1907. package/lib/esm/types/partials/DocumentReferenceContext.d.ts +0 -16
  1908. package/lib/esm/types/partials/DocumentReferenceContext.js +0 -2
  1909. package/lib/esm/types/partials/DocumentReferenceRelatesTo.d.ts +0 -9
  1910. package/lib/esm/types/partials/DocumentReferenceRelatesTo.js +0 -2
  1911. package/lib/esm/types/partials/Dosage.d.ts +0 -26
  1912. package/lib/esm/types/partials/Dosage.js +0 -2
  1913. package/lib/esm/types/partials/DosageDoseAndRate.d.ts +0 -16
  1914. package/lib/esm/types/partials/DosageDoseAndRate.js +0 -2
  1915. package/lib/esm/types/partials/Duration.d.ts +0 -12
  1916. package/lib/esm/types/partials/Duration.js +0 -2
  1917. package/lib/esm/types/partials/Element.d.ts +0 -5
  1918. package/lib/esm/types/partials/Element.js +0 -2
  1919. package/lib/esm/types/partials/ElementDefinition.d.ts +0 -256
  1920. package/lib/esm/types/partials/ElementDefinition.js +0 -2
  1921. package/lib/esm/types/partials/ElementDefinitionBase.d.ts +0 -10
  1922. package/lib/esm/types/partials/ElementDefinitionBase.js +0 -2
  1923. package/lib/esm/types/partials/ElementDefinitionBinding.d.ts +0 -10
  1924. package/lib/esm/types/partials/ElementDefinitionBinding.js +0 -2
  1925. package/lib/esm/types/partials/ElementDefinitionConstraint.d.ts +0 -15
  1926. package/lib/esm/types/partials/ElementDefinitionConstraint.js +0 -2
  1927. package/lib/esm/types/partials/ElementDefinitionDiscriminator.d.ts +0 -8
  1928. package/lib/esm/types/partials/ElementDefinitionDiscriminator.js +0 -2
  1929. package/lib/esm/types/partials/ElementDefinitionExample.d.ts +0 -101
  1930. package/lib/esm/types/partials/ElementDefinitionExample.js +0 -2
  1931. package/lib/esm/types/partials/ElementDefinitionMapping.d.ts +0 -11
  1932. package/lib/esm/types/partials/ElementDefinitionMapping.js +0 -2
  1933. package/lib/esm/types/partials/ElementDefinitionSlicing.d.ts +0 -11
  1934. package/lib/esm/types/partials/ElementDefinitionSlicing.js +0 -2
  1935. package/lib/esm/types/partials/ElementDefinitionType.d.ts +0 -13
  1936. package/lib/esm/types/partials/ElementDefinitionType.js +0 -2
  1937. package/lib/esm/types/partials/EncounterClassHistory.d.ts +0 -10
  1938. package/lib/esm/types/partials/EncounterClassHistory.js +0 -2
  1939. package/lib/esm/types/partials/EncounterDiagnosis.d.ts +0 -12
  1940. package/lib/esm/types/partials/EncounterDiagnosis.js +0 -2
  1941. package/lib/esm/types/partials/EncounterHospitalization.d.ts +0 -18
  1942. package/lib/esm/types/partials/EncounterHospitalization.js +0 -2
  1943. package/lib/esm/types/partials/EncounterLocation.d.ts +0 -13
  1944. package/lib/esm/types/partials/EncounterLocation.js +0 -2
  1945. package/lib/esm/types/partials/EncounterParticipant.d.ts +0 -12
  1946. package/lib/esm/types/partials/EncounterParticipant.js +0 -2
  1947. package/lib/esm/types/partials/EncounterStatusHistory.d.ts +0 -9
  1948. package/lib/esm/types/partials/EncounterStatusHistory.js +0 -2
  1949. package/lib/esm/types/partials/EpisodeOfCareDiagnosis.d.ts +0 -12
  1950. package/lib/esm/types/partials/EpisodeOfCareDiagnosis.js +0 -2
  1951. package/lib/esm/types/partials/EpisodeOfCareStatusHistory.d.ts +0 -9
  1952. package/lib/esm/types/partials/EpisodeOfCareStatusHistory.js +0 -2
  1953. package/lib/esm/types/partials/EvidenceAttributeEstimate.d.ts +0 -18
  1954. package/lib/esm/types/partials/EvidenceAttributeEstimate.js +0 -2
  1955. package/lib/esm/types/partials/EvidenceCertainty.d.ts +0 -14
  1956. package/lib/esm/types/partials/EvidenceCertainty.js +0 -2
  1957. package/lib/esm/types/partials/EvidenceModelCharacteristic.d.ts +0 -14
  1958. package/lib/esm/types/partials/EvidenceModelCharacteristic.js +0 -2
  1959. package/lib/esm/types/partials/EvidenceReportCharacteristic.d.ts +0 -19
  1960. package/lib/esm/types/partials/EvidenceReportCharacteristic.js +0 -2
  1961. package/lib/esm/types/partials/EvidenceReportRelatesTo.d.ts +0 -11
  1962. package/lib/esm/types/partials/EvidenceReportRelatesTo.js +0 -2
  1963. package/lib/esm/types/partials/EvidenceReportSection.d.ts +0 -22
  1964. package/lib/esm/types/partials/EvidenceReportSection.js +0 -2
  1965. package/lib/esm/types/partials/EvidenceReportSubject.d.ts +0 -10
  1966. package/lib/esm/types/partials/EvidenceReportSubject.js +0 -2
  1967. package/lib/esm/types/partials/EvidenceSampleSize.d.ts +0 -13
  1968. package/lib/esm/types/partials/EvidenceSampleSize.js +0 -2
  1969. package/lib/esm/types/partials/EvidenceStatistic.d.ts +0 -23
  1970. package/lib/esm/types/partials/EvidenceStatistic.js +0 -2
  1971. package/lib/esm/types/partials/EvidenceVariable.d.ts +0 -15
  1972. package/lib/esm/types/partials/EvidenceVariable.js +0 -2
  1973. package/lib/esm/types/partials/EvidenceVariableCategory.d.ts +0 -13
  1974. package/lib/esm/types/partials/EvidenceVariableCategory.js +0 -2
  1975. package/lib/esm/types/partials/EvidenceVariableCharacteristic.d.ts +0 -21
  1976. package/lib/esm/types/partials/EvidenceVariableCharacteristic.js +0 -2
  1977. package/lib/esm/types/partials/EvidenceVariableDefinition.d.ts +0 -16
  1978. package/lib/esm/types/partials/EvidenceVariableDefinition.js +0 -2
  1979. package/lib/esm/types/partials/EvidenceVariableTimeFromStart.d.ts +0 -13
  1980. package/lib/esm/types/partials/EvidenceVariableTimeFromStart.js +0 -2
  1981. package/lib/esm/types/partials/ExampleScenarioActor.d.ts +0 -11
  1982. package/lib/esm/types/partials/ExampleScenarioActor.js +0 -2
  1983. package/lib/esm/types/partials/ExampleScenarioAlternative.d.ts +0 -11
  1984. package/lib/esm/types/partials/ExampleScenarioAlternative.js +0 -2
  1985. package/lib/esm/types/partials/ExampleScenarioContainedInstance.d.ts +0 -8
  1986. package/lib/esm/types/partials/ExampleScenarioContainedInstance.js +0 -2
  1987. package/lib/esm/types/partials/ExampleScenarioInstance.d.ts +0 -15
  1988. package/lib/esm/types/partials/ExampleScenarioInstance.js +0 -2
  1989. package/lib/esm/types/partials/ExampleScenarioOperation.d.ts +0 -18
  1990. package/lib/esm/types/partials/ExampleScenarioOperation.js +0 -2
  1991. package/lib/esm/types/partials/ExampleScenarioProcess.d.ts +0 -13
  1992. package/lib/esm/types/partials/ExampleScenarioProcess.js +0 -2
  1993. package/lib/esm/types/partials/ExampleScenarioStep.d.ts +0 -13
  1994. package/lib/esm/types/partials/ExampleScenarioStep.js +0 -2
  1995. package/lib/esm/types/partials/ExampleScenarioVersion.d.ts +0 -9
  1996. package/lib/esm/types/partials/ExampleScenarioVersion.js +0 -2
  1997. package/lib/esm/types/partials/ExplanationOfBenefitAccident.d.ts +0 -14
  1998. package/lib/esm/types/partials/ExplanationOfBenefitAccident.js +0 -2
  1999. package/lib/esm/types/partials/ExplanationOfBenefitAddItem.d.ts +0 -38
  2000. package/lib/esm/types/partials/ExplanationOfBenefitAddItem.js +0 -2
  2001. package/lib/esm/types/partials/ExplanationOfBenefitAdjudication.d.ts +0 -13
  2002. package/lib/esm/types/partials/ExplanationOfBenefitAdjudication.js +0 -2
  2003. package/lib/esm/types/partials/ExplanationOfBenefitBenefitBalance.d.ts +0 -16
  2004. package/lib/esm/types/partials/ExplanationOfBenefitBenefitBalance.js +0 -2
  2005. package/lib/esm/types/partials/ExplanationOfBenefitCareTeam.d.ts +0 -14
  2006. package/lib/esm/types/partials/ExplanationOfBenefitCareTeam.js +0 -2
  2007. package/lib/esm/types/partials/ExplanationOfBenefitDetail.d.ts +0 -28
  2008. package/lib/esm/types/partials/ExplanationOfBenefitDetail.js +0 -2
  2009. package/lib/esm/types/partials/ExplanationOfBenefitDetail1.d.ts +0 -22
  2010. package/lib/esm/types/partials/ExplanationOfBenefitDetail1.js +0 -2
  2011. package/lib/esm/types/partials/ExplanationOfBenefitDiagnosis.d.ts +0 -15
  2012. package/lib/esm/types/partials/ExplanationOfBenefitDiagnosis.js +0 -2
  2013. package/lib/esm/types/partials/ExplanationOfBenefitFinancial.d.ts +0 -15
  2014. package/lib/esm/types/partials/ExplanationOfBenefitFinancial.js +0 -2
  2015. package/lib/esm/types/partials/ExplanationOfBenefitInsurance.d.ts +0 -10
  2016. package/lib/esm/types/partials/ExplanationOfBenefitInsurance.js +0 -2
  2017. package/lib/esm/types/partials/ExplanationOfBenefitItem.d.ts +0 -43
  2018. package/lib/esm/types/partials/ExplanationOfBenefitItem.js +0 -2
  2019. package/lib/esm/types/partials/ExplanationOfBenefitPayee.d.ts +0 -10
  2020. package/lib/esm/types/partials/ExplanationOfBenefitPayee.js +0 -2
  2021. package/lib/esm/types/partials/ExplanationOfBenefitPayment.d.ts +0 -16
  2022. package/lib/esm/types/partials/ExplanationOfBenefitPayment.js +0 -2
  2023. package/lib/esm/types/partials/ExplanationOfBenefitProcedure.d.ts +0 -16
  2024. package/lib/esm/types/partials/ExplanationOfBenefitProcedure.js +0 -2
  2025. package/lib/esm/types/partials/ExplanationOfBenefitProcessNote.d.ts +0 -12
  2026. package/lib/esm/types/partials/ExplanationOfBenefitProcessNote.js +0 -2
  2027. package/lib/esm/types/partials/ExplanationOfBenefitRelated.d.ts +0 -12
  2028. package/lib/esm/types/partials/ExplanationOfBenefitRelated.js +0 -2
  2029. package/lib/esm/types/partials/ExplanationOfBenefitSubDetail.d.ts +0 -26
  2030. package/lib/esm/types/partials/ExplanationOfBenefitSubDetail.js +0 -2
  2031. package/lib/esm/types/partials/ExplanationOfBenefitSubDetail1.d.ts +0 -20
  2032. package/lib/esm/types/partials/ExplanationOfBenefitSubDetail1.js +0 -2
  2033. package/lib/esm/types/partials/ExplanationOfBenefitSupportingInfo.d.ts +0 -25
  2034. package/lib/esm/types/partials/ExplanationOfBenefitSupportingInfo.js +0 -2
  2035. package/lib/esm/types/partials/ExplanationOfBenefitTotal.d.ts +0 -10
  2036. package/lib/esm/types/partials/ExplanationOfBenefitTotal.js +0 -2
  2037. package/lib/esm/types/partials/Expression.d.ts +0 -12
  2038. package/lib/esm/types/partials/Expression.js +0 -2
  2039. package/lib/esm/types/partials/Extension.d.ts +0 -99
  2040. package/lib/esm/types/partials/Extension.js +0 -2
  2041. package/lib/esm/types/partials/FamilyMemberHistoryCondition.d.ts +0 -19
  2042. package/lib/esm/types/partials/FamilyMemberHistoryCondition.js +0 -2
  2043. package/lib/esm/types/partials/GoalTarget.d.ts +0 -22
  2044. package/lib/esm/types/partials/GoalTarget.js +0 -2
  2045. package/lib/esm/types/partials/GraphDefinitionCompartment.d.ts +0 -11
  2046. package/lib/esm/types/partials/GraphDefinitionCompartment.js +0 -2
  2047. package/lib/esm/types/partials/GraphDefinitionLink.d.ts +0 -14
  2048. package/lib/esm/types/partials/GraphDefinitionLink.js +0 -2
  2049. package/lib/esm/types/partials/GraphDefinitionTarget.d.ts +0 -14
  2050. package/lib/esm/types/partials/GraphDefinitionTarget.js +0 -2
  2051. package/lib/esm/types/partials/GroupCharacteristic.d.ts +0 -19
  2052. package/lib/esm/types/partials/GroupCharacteristic.js +0 -2
  2053. package/lib/esm/types/partials/GroupMember.d.ts +0 -11
  2054. package/lib/esm/types/partials/GroupMember.js +0 -2
  2055. package/lib/esm/types/partials/HealthcareServiceAvailableTime.d.ts +0 -11
  2056. package/lib/esm/types/partials/HealthcareServiceAvailableTime.js +0 -2
  2057. package/lib/esm/types/partials/HealthcareServiceEligibility.d.ts +0 -10
  2058. package/lib/esm/types/partials/HealthcareServiceEligibility.js +0 -2
  2059. package/lib/esm/types/partials/HealthcareServiceNotAvailable.d.ts +0 -9
  2060. package/lib/esm/types/partials/HealthcareServiceNotAvailable.js +0 -2
  2061. package/lib/esm/types/partials/HumanName.d.ts +0 -13
  2062. package/lib/esm/types/partials/HumanName.js +0 -2
  2063. package/lib/esm/types/partials/Identifier.d.ts +0 -15
  2064. package/lib/esm/types/partials/Identifier.js +0 -2
  2065. package/lib/esm/types/partials/ImagingStudyInstance.d.ts +0 -13
  2066. package/lib/esm/types/partials/ImagingStudyInstance.js +0 -2
  2067. package/lib/esm/types/partials/ImagingStudyPerformer.d.ts +0 -10
  2068. package/lib/esm/types/partials/ImagingStudyPerformer.js +0 -2
  2069. package/lib/esm/types/partials/ImagingStudySeries.d.ts +0 -25
  2070. package/lib/esm/types/partials/ImagingStudySeries.js +0 -2
  2071. package/lib/esm/types/partials/ImmunizationEducation.d.ts +0 -12
  2072. package/lib/esm/types/partials/ImmunizationEducation.js +0 -2
  2073. package/lib/esm/types/partials/ImmunizationPerformer.d.ts +0 -10
  2074. package/lib/esm/types/partials/ImmunizationPerformer.js +0 -2
  2075. package/lib/esm/types/partials/ImmunizationProtocolApplied.d.ts +0 -16
  2076. package/lib/esm/types/partials/ImmunizationProtocolApplied.js +0 -2
  2077. package/lib/esm/types/partials/ImmunizationReaction.d.ts +0 -11
  2078. package/lib/esm/types/partials/ImmunizationReaction.js +0 -2
  2079. package/lib/esm/types/partials/ImmunizationRecommendationDateCriterion.d.ts +0 -10
  2080. package/lib/esm/types/partials/ImmunizationRecommendationDateCriterion.js +0 -2
  2081. package/lib/esm/types/partials/ImmunizationRecommendationRecommendation.d.ts +0 -24
  2082. package/lib/esm/types/partials/ImmunizationRecommendationRecommendation.js +0 -2
  2083. package/lib/esm/types/partials/ImplementationGuideDefinition.d.ts +0 -16
  2084. package/lib/esm/types/partials/ImplementationGuideDefinition.js +0 -2
  2085. package/lib/esm/types/partials/ImplementationGuideDependsOn.d.ts +0 -11
  2086. package/lib/esm/types/partials/ImplementationGuideDependsOn.js +0 -2
  2087. package/lib/esm/types/partials/ImplementationGuideGlobal.d.ts +0 -9
  2088. package/lib/esm/types/partials/ImplementationGuideGlobal.js +0 -2
  2089. package/lib/esm/types/partials/ImplementationGuideGrouping.d.ts +0 -8
  2090. package/lib/esm/types/partials/ImplementationGuideGrouping.js +0 -2
  2091. package/lib/esm/types/partials/ImplementationGuideManifest.d.ts +0 -14
  2092. package/lib/esm/types/partials/ImplementationGuideManifest.js +0 -2
  2093. package/lib/esm/types/partials/ImplementationGuidePage.d.ts +0 -13
  2094. package/lib/esm/types/partials/ImplementationGuidePage.js +0 -2
  2095. package/lib/esm/types/partials/ImplementationGuidePage1.d.ts +0 -9
  2096. package/lib/esm/types/partials/ImplementationGuidePage1.js +0 -2
  2097. package/lib/esm/types/partials/ImplementationGuideParameter.d.ts +0 -8
  2098. package/lib/esm/types/partials/ImplementationGuideParameter.js +0 -2
  2099. package/lib/esm/types/partials/ImplementationGuideResource.d.ts +0 -16
  2100. package/lib/esm/types/partials/ImplementationGuideResource.js +0 -2
  2101. package/lib/esm/types/partials/ImplementationGuideResource1.d.ts +0 -13
  2102. package/lib/esm/types/partials/ImplementationGuideResource1.js +0 -2
  2103. package/lib/esm/types/partials/ImplementationGuideTemplate.d.ts +0 -9
  2104. package/lib/esm/types/partials/ImplementationGuideTemplate.js +0 -2
  2105. package/lib/esm/types/partials/IngredientManufacturer.d.ts +0 -9
  2106. package/lib/esm/types/partials/IngredientManufacturer.js +0 -2
  2107. package/lib/esm/types/partials/IngredientReferenceStrength.d.ts +0 -15
  2108. package/lib/esm/types/partials/IngredientReferenceStrength.js +0 -2
  2109. package/lib/esm/types/partials/IngredientStrength.d.ts +0 -19
  2110. package/lib/esm/types/partials/IngredientStrength.js +0 -2
  2111. package/lib/esm/types/partials/IngredientSubstance.d.ts +0 -10
  2112. package/lib/esm/types/partials/IngredientSubstance.js +0 -2
  2113. package/lib/esm/types/partials/InsurancePlanBenefit.d.ts +0 -11
  2114. package/lib/esm/types/partials/InsurancePlanBenefit.js +0 -2
  2115. package/lib/esm/types/partials/InsurancePlanBenefit1.d.ts +0 -10
  2116. package/lib/esm/types/partials/InsurancePlanBenefit1.js +0 -2
  2117. package/lib/esm/types/partials/InsurancePlanContact.d.ts +0 -14
  2118. package/lib/esm/types/partials/InsurancePlanContact.js +0 -2
  2119. package/lib/esm/types/partials/InsurancePlanCost.d.ts +0 -12
  2120. package/lib/esm/types/partials/InsurancePlanCost.js +0 -2
  2121. package/lib/esm/types/partials/InsurancePlanCoverage.d.ts +0 -12
  2122. package/lib/esm/types/partials/InsurancePlanCoverage.js +0 -2
  2123. package/lib/esm/types/partials/InsurancePlanGeneralCost.d.ts +0 -13
  2124. package/lib/esm/types/partials/InsurancePlanGeneralCost.js +0 -2
  2125. package/lib/esm/types/partials/InsurancePlanLimit.d.ts +0 -10
  2126. package/lib/esm/types/partials/InsurancePlanLimit.js +0 -2
  2127. package/lib/esm/types/partials/InsurancePlanPlan.d.ts +0 -17
  2128. package/lib/esm/types/partials/InsurancePlanPlan.js +0 -2
  2129. package/lib/esm/types/partials/InsurancePlanSpecificCost.d.ts +0 -10
  2130. package/lib/esm/types/partials/InsurancePlanSpecificCost.js +0 -2
  2131. package/lib/esm/types/partials/InvoiceLineItem.d.ts +0 -14
  2132. package/lib/esm/types/partials/InvoiceLineItem.js +0 -2
  2133. package/lib/esm/types/partials/InvoiceParticipant.d.ts +0 -10
  2134. package/lib/esm/types/partials/InvoiceParticipant.js +0 -2
  2135. package/lib/esm/types/partials/InvoicePriceComponent.d.ts +0 -13
  2136. package/lib/esm/types/partials/InvoicePriceComponent.js +0 -2
  2137. package/lib/esm/types/partials/LinkageItem.d.ts +0 -9
  2138. package/lib/esm/types/partials/LinkageItem.js +0 -2
  2139. package/lib/esm/types/partials/ListEntry.d.ts +0 -13
  2140. package/lib/esm/types/partials/ListEntry.js +0 -2
  2141. package/lib/esm/types/partials/LocationHoursOfOperation.d.ts +0 -11
  2142. package/lib/esm/types/partials/LocationHoursOfOperation.js +0 -2
  2143. package/lib/esm/types/partials/LocationPosition.d.ts +0 -10
  2144. package/lib/esm/types/partials/LocationPosition.js +0 -2
  2145. package/lib/esm/types/partials/ManufacturedItemDefinitionProperty.d.ts +0 -16
  2146. package/lib/esm/types/partials/ManufacturedItemDefinitionProperty.js +0 -2
  2147. package/lib/esm/types/partials/MarketingStatus.d.ts +0 -14
  2148. package/lib/esm/types/partials/MarketingStatus.js +0 -2
  2149. package/lib/esm/types/partials/MeasureComponent.d.ts +0 -11
  2150. package/lib/esm/types/partials/MeasureComponent.js +0 -2
  2151. package/lib/esm/types/partials/MeasureGroup.d.ts +0 -13
  2152. package/lib/esm/types/partials/MeasureGroup.js +0 -2
  2153. package/lib/esm/types/partials/MeasurePopulation.d.ts +0 -11
  2154. package/lib/esm/types/partials/MeasurePopulation.js +0 -2
  2155. package/lib/esm/types/partials/MeasureReportComponent.d.ts +0 -9
  2156. package/lib/esm/types/partials/MeasureReportComponent.js +0 -2
  2157. package/lib/esm/types/partials/MeasureReportGroup.d.ts +0 -14
  2158. package/lib/esm/types/partials/MeasureReportGroup.js +0 -2
  2159. package/lib/esm/types/partials/MeasureReportPopulation.d.ts +0 -12
  2160. package/lib/esm/types/partials/MeasureReportPopulation.js +0 -2
  2161. package/lib/esm/types/partials/MeasureReportPopulation1.d.ts +0 -12
  2162. package/lib/esm/types/partials/MeasureReportPopulation1.js +0 -2
  2163. package/lib/esm/types/partials/MeasureReportStratifier.d.ts +0 -10
  2164. package/lib/esm/types/partials/MeasureReportStratifier.js +0 -2
  2165. package/lib/esm/types/partials/MeasureReportStratum.d.ts +0 -14
  2166. package/lib/esm/types/partials/MeasureReportStratum.js +0 -2
  2167. package/lib/esm/types/partials/MeasureStratifier.d.ts +0 -13
  2168. package/lib/esm/types/partials/MeasureStratifier.js +0 -2
  2169. package/lib/esm/types/partials/MeasureSupplementalData.d.ts +0 -12
  2170. package/lib/esm/types/partials/MeasureSupplementalData.js +0 -2
  2171. package/lib/esm/types/partials/MedicationAdministrationDosage.d.ts +0 -16
  2172. package/lib/esm/types/partials/MedicationAdministrationDosage.js +0 -2
  2173. package/lib/esm/types/partials/MedicationAdministrationPerformer.d.ts +0 -10
  2174. package/lib/esm/types/partials/MedicationAdministrationPerformer.js +0 -2
  2175. package/lib/esm/types/partials/MedicationBatch.d.ts +0 -9
  2176. package/lib/esm/types/partials/MedicationBatch.js +0 -2
  2177. package/lib/esm/types/partials/MedicationDispensePerformer.d.ts +0 -10
  2178. package/lib/esm/types/partials/MedicationDispensePerformer.js +0 -2
  2179. package/lib/esm/types/partials/MedicationDispenseSubstitution.d.ts +0 -12
  2180. package/lib/esm/types/partials/MedicationDispenseSubstitution.js +0 -2
  2181. package/lib/esm/types/partials/MedicationIngredient.d.ts +0 -13
  2182. package/lib/esm/types/partials/MedicationIngredient.js +0 -2
  2183. package/lib/esm/types/partials/MedicationKnowledgeAdministrationGuidelines.d.ts +0 -14
  2184. package/lib/esm/types/partials/MedicationKnowledgeAdministrationGuidelines.js +0 -2
  2185. package/lib/esm/types/partials/MedicationKnowledgeCost.d.ts +0 -11
  2186. package/lib/esm/types/partials/MedicationKnowledgeCost.js +0 -2
  2187. package/lib/esm/types/partials/MedicationKnowledgeDosage.d.ts +0 -10
  2188. package/lib/esm/types/partials/MedicationKnowledgeDosage.js +0 -2
  2189. package/lib/esm/types/partials/MedicationKnowledgeDrugCharacteristic.d.ts +0 -14
  2190. package/lib/esm/types/partials/MedicationKnowledgeDrugCharacteristic.js +0 -2
  2191. package/lib/esm/types/partials/MedicationKnowledgeIngredient.d.ts +0 -13
  2192. package/lib/esm/types/partials/MedicationKnowledgeIngredient.js +0 -2
  2193. package/lib/esm/types/partials/MedicationKnowledgeKinetics.d.ts +0 -10
  2194. package/lib/esm/types/partials/MedicationKnowledgeKinetics.js +0 -2
  2195. package/lib/esm/types/partials/MedicationKnowledgeMaxDispense.d.ts +0 -9
  2196. package/lib/esm/types/partials/MedicationKnowledgeMaxDispense.js +0 -2
  2197. package/lib/esm/types/partials/MedicationKnowledgeMedicineClassification.d.ts +0 -9
  2198. package/lib/esm/types/partials/MedicationKnowledgeMedicineClassification.js +0 -2
  2199. package/lib/esm/types/partials/MedicationKnowledgeMonitoringProgram.d.ts +0 -9
  2200. package/lib/esm/types/partials/MedicationKnowledgeMonitoringProgram.js +0 -2
  2201. package/lib/esm/types/partials/MedicationKnowledgeMonograph.d.ts +0 -10
  2202. package/lib/esm/types/partials/MedicationKnowledgeMonograph.js +0 -2
  2203. package/lib/esm/types/partials/MedicationKnowledgePackaging.d.ts +0 -10
  2204. package/lib/esm/types/partials/MedicationKnowledgePackaging.js +0 -2
  2205. package/lib/esm/types/partials/MedicationKnowledgePatientCharacteristics.d.ts +0 -11
  2206. package/lib/esm/types/partials/MedicationKnowledgePatientCharacteristics.js +0 -2
  2207. package/lib/esm/types/partials/MedicationKnowledgeRegulatory.d.ts +0 -14
  2208. package/lib/esm/types/partials/MedicationKnowledgeRegulatory.js +0 -2
  2209. package/lib/esm/types/partials/MedicationKnowledgeRelatedMedicationKnowledge.d.ts +0 -10
  2210. package/lib/esm/types/partials/MedicationKnowledgeRelatedMedicationKnowledge.js +0 -2
  2211. package/lib/esm/types/partials/MedicationKnowledgeSchedule.d.ts +0 -8
  2212. package/lib/esm/types/partials/MedicationKnowledgeSchedule.js +0 -2
  2213. package/lib/esm/types/partials/MedicationKnowledgeSubstitution.d.ts +0 -9
  2214. package/lib/esm/types/partials/MedicationKnowledgeSubstitution.js +0 -2
  2215. package/lib/esm/types/partials/MedicationRequestDispenseRequest.d.ts +0 -18
  2216. package/lib/esm/types/partials/MedicationRequestDispenseRequest.js +0 -2
  2217. package/lib/esm/types/partials/MedicationRequestInitialFill.d.ts +0 -9
  2218. package/lib/esm/types/partials/MedicationRequestInitialFill.js +0 -2
  2219. package/lib/esm/types/partials/MedicationRequestSubstitution.d.ts +0 -10
  2220. package/lib/esm/types/partials/MedicationRequestSubstitution.js +0 -2
  2221. package/lib/esm/types/partials/MedicinalProductDefinitionCharacteristic.d.ts +0 -16
  2222. package/lib/esm/types/partials/MedicinalProductDefinitionCharacteristic.js +0 -2
  2223. package/lib/esm/types/partials/MedicinalProductDefinitionContact.d.ts +0 -10
  2224. package/lib/esm/types/partials/MedicinalProductDefinitionContact.js +0 -2
  2225. package/lib/esm/types/partials/MedicinalProductDefinitionCountryLanguage.d.ts +0 -10
  2226. package/lib/esm/types/partials/MedicinalProductDefinitionCountryLanguage.js +0 -2
  2227. package/lib/esm/types/partials/MedicinalProductDefinitionCrossReference.d.ts +0 -10
  2228. package/lib/esm/types/partials/MedicinalProductDefinitionCrossReference.js +0 -2
  2229. package/lib/esm/types/partials/MedicinalProductDefinitionName.d.ts +0 -13
  2230. package/lib/esm/types/partials/MedicinalProductDefinitionName.js +0 -2
  2231. package/lib/esm/types/partials/MedicinalProductDefinitionNamePart.d.ts +0 -9
  2232. package/lib/esm/types/partials/MedicinalProductDefinitionNamePart.js +0 -2
  2233. package/lib/esm/types/partials/MedicinalProductDefinitionOperation.d.ts +0 -14
  2234. package/lib/esm/types/partials/MedicinalProductDefinitionOperation.js +0 -2
  2235. package/lib/esm/types/partials/MessageDefinitionAllowedResponse.d.ts +0 -10
  2236. package/lib/esm/types/partials/MessageDefinitionAllowedResponse.js +0 -2
  2237. package/lib/esm/types/partials/MessageDefinitionFocus.d.ts +0 -12
  2238. package/lib/esm/types/partials/MessageDefinitionFocus.js +0 -2
  2239. package/lib/esm/types/partials/MessageHeaderDestination.d.ts +0 -12
  2240. package/lib/esm/types/partials/MessageHeaderDestination.js +0 -2
  2241. package/lib/esm/types/partials/MessageHeaderResponse.d.ts +0 -11
  2242. package/lib/esm/types/partials/MessageHeaderResponse.js +0 -2
  2243. package/lib/esm/types/partials/MessageHeaderSource.d.ts +0 -13
  2244. package/lib/esm/types/partials/MessageHeaderSource.js +0 -2
  2245. package/lib/esm/types/partials/Meta.d.ts +0 -16
  2246. package/lib/esm/types/partials/Meta.js +0 -2
  2247. package/lib/esm/types/partials/MolecularSequenceInner.d.ts +0 -9
  2248. package/lib/esm/types/partials/MolecularSequenceInner.js +0 -2
  2249. package/lib/esm/types/partials/MolecularSequenceOuter.d.ts +0 -9
  2250. package/lib/esm/types/partials/MolecularSequenceOuter.js +0 -2
  2251. package/lib/esm/types/partials/MolecularSequenceQuality.d.ts +0 -26
  2252. package/lib/esm/types/partials/MolecularSequenceQuality.js +0 -2
  2253. package/lib/esm/types/partials/MolecularSequenceReferenceSeq.d.ts +0 -18
  2254. package/lib/esm/types/partials/MolecularSequenceReferenceSeq.js +0 -2
  2255. package/lib/esm/types/partials/MolecularSequenceRepository.d.ts +0 -13
  2256. package/lib/esm/types/partials/MolecularSequenceRepository.js +0 -2
  2257. package/lib/esm/types/partials/MolecularSequenceRoc.d.ts +0 -15
  2258. package/lib/esm/types/partials/MolecularSequenceRoc.js +0 -2
  2259. package/lib/esm/types/partials/MolecularSequenceStructureVariant.d.ts +0 -15
  2260. package/lib/esm/types/partials/MolecularSequenceStructureVariant.js +0 -2
  2261. package/lib/esm/types/partials/MolecularSequenceVariant.d.ts +0 -14
  2262. package/lib/esm/types/partials/MolecularSequenceVariant.js +0 -2
  2263. package/lib/esm/types/partials/Money.d.ts +0 -8
  2264. package/lib/esm/types/partials/Money.js +0 -2
  2265. package/lib/esm/types/partials/NamingSystemUniqueId.d.ts +0 -12
  2266. package/lib/esm/types/partials/NamingSystemUniqueId.js +0 -2
  2267. package/lib/esm/types/partials/Narrative.d.ts +0 -8
  2268. package/lib/esm/types/partials/Narrative.js +0 -2
  2269. package/lib/esm/types/partials/NutritionOrderAdministration.d.ts +0 -13
  2270. package/lib/esm/types/partials/NutritionOrderAdministration.js +0 -2
  2271. package/lib/esm/types/partials/NutritionOrderEnteralFormula.d.ts +0 -18
  2272. package/lib/esm/types/partials/NutritionOrderEnteralFormula.js +0 -2
  2273. package/lib/esm/types/partials/NutritionOrderNutrient.d.ts +0 -10
  2274. package/lib/esm/types/partials/NutritionOrderNutrient.js +0 -2
  2275. package/lib/esm/types/partials/NutritionOrderOralDiet.d.ts +0 -16
  2276. package/lib/esm/types/partials/NutritionOrderOralDiet.js +0 -2
  2277. package/lib/esm/types/partials/NutritionOrderSupplement.d.ts +0 -14
  2278. package/lib/esm/types/partials/NutritionOrderSupplement.js +0 -2
  2279. package/lib/esm/types/partials/NutritionOrderTexture.d.ts +0 -9
  2280. package/lib/esm/types/partials/NutritionOrderTexture.js +0 -2
  2281. package/lib/esm/types/partials/NutritionProductIngredient.d.ts +0 -10
  2282. package/lib/esm/types/partials/NutritionProductIngredient.js +0 -2
  2283. package/lib/esm/types/partials/NutritionProductInstance.d.ts +0 -14
  2284. package/lib/esm/types/partials/NutritionProductInstance.js +0 -2
  2285. package/lib/esm/types/partials/NutritionProductNutrient.d.ts +0 -10
  2286. package/lib/esm/types/partials/NutritionProductNutrient.js +0 -2
  2287. package/lib/esm/types/partials/NutritionProductProductCharacteristic.d.ts +0 -17
  2288. package/lib/esm/types/partials/NutritionProductProductCharacteristic.js +0 -2
  2289. package/lib/esm/types/partials/ObservationComponent.d.ts +0 -31
  2290. package/lib/esm/types/partials/ObservationComponent.js +0 -2
  2291. package/lib/esm/types/partials/ObservationDefinitionQualifiedInterval.d.ts +0 -16
  2292. package/lib/esm/types/partials/ObservationDefinitionQualifiedInterval.js +0 -2
  2293. package/lib/esm/types/partials/ObservationDefinitionQuantitativeDetails.d.ts +0 -13
  2294. package/lib/esm/types/partials/ObservationDefinitionQuantitativeDetails.js +0 -2
  2295. package/lib/esm/types/partials/ObservationReferenceRange.d.ts +0 -15
  2296. package/lib/esm/types/partials/ObservationReferenceRange.js +0 -2
  2297. package/lib/esm/types/partials/OperationDefinitionBinding.d.ts +0 -9
  2298. package/lib/esm/types/partials/OperationDefinitionBinding.js +0 -2
  2299. package/lib/esm/types/partials/OperationDefinitionOverload.d.ts +0 -8
  2300. package/lib/esm/types/partials/OperationDefinitionOverload.js +0 -2
  2301. package/lib/esm/types/partials/OperationDefinitionParameter.d.ts +0 -21
  2302. package/lib/esm/types/partials/OperationDefinitionParameter.js +0 -2
  2303. package/lib/esm/types/partials/OperationDefinitionReferencedFrom.d.ts +0 -8
  2304. package/lib/esm/types/partials/OperationDefinitionReferencedFrom.js +0 -2
  2305. package/lib/esm/types/partials/OperationOutcomeIssue.d.ts +0 -13
  2306. package/lib/esm/types/partials/OperationOutcomeIssue.js +0 -2
  2307. package/lib/esm/types/partials/OrganizationContact.d.ts +0 -14
  2308. package/lib/esm/types/partials/OrganizationContact.js +0 -2
  2309. package/lib/esm/types/partials/PackagedProductDefinitionContainedItem.d.ts +0 -10
  2310. package/lib/esm/types/partials/PackagedProductDefinitionContainedItem.js +0 -2
  2311. package/lib/esm/types/partials/PackagedProductDefinitionLegalStatusOfSupply.d.ts +0 -9
  2312. package/lib/esm/types/partials/PackagedProductDefinitionLegalStatusOfSupply.js +0 -2
  2313. package/lib/esm/types/partials/PackagedProductDefinitionPackage.d.ts +0 -23
  2314. package/lib/esm/types/partials/PackagedProductDefinitionPackage.js +0 -2
  2315. package/lib/esm/types/partials/PackagedProductDefinitionProperty.d.ts +0 -16
  2316. package/lib/esm/types/partials/PackagedProductDefinitionProperty.js +0 -2
  2317. package/lib/esm/types/partials/PackagedProductDefinitionShelfLifeStorage.d.ts +0 -12
  2318. package/lib/esm/types/partials/PackagedProductDefinitionShelfLifeStorage.js +0 -2
  2319. package/lib/esm/types/partials/ParameterDefinition.d.ts +0 -14
  2320. package/lib/esm/types/partials/ParameterDefinition.js +0 -2
  2321. package/lib/esm/types/partials/ParametersParameter.d.ts +0 -102
  2322. package/lib/esm/types/partials/ParametersParameter.js +0 -2
  2323. package/lib/esm/types/partials/PatientCommunication.d.ts +0 -9
  2324. package/lib/esm/types/partials/PatientCommunication.js +0 -2
  2325. package/lib/esm/types/partials/PatientContact.d.ts +0 -19
  2326. package/lib/esm/types/partials/PatientContact.js +0 -2
  2327. package/lib/esm/types/partials/PatientLink.d.ts +0 -9
  2328. package/lib/esm/types/partials/PatientLink.js +0 -2
  2329. package/lib/esm/types/partials/PaymentReconciliationDetail.d.ts +0 -21
  2330. package/lib/esm/types/partials/PaymentReconciliationDetail.js +0 -2
  2331. package/lib/esm/types/partials/PaymentReconciliationProcessNote.d.ts +0 -8
  2332. package/lib/esm/types/partials/PaymentReconciliationProcessNote.js +0 -2
  2333. package/lib/esm/types/partials/Period.d.ts +0 -8
  2334. package/lib/esm/types/partials/Period.js +0 -2
  2335. package/lib/esm/types/partials/PersonLink.d.ts +0 -9
  2336. package/lib/esm/types/partials/PersonLink.js +0 -2
  2337. package/lib/esm/types/partials/PlanDefinitionAction.d.ts +0 -58
  2338. package/lib/esm/types/partials/PlanDefinitionAction.js +0 -2
  2339. package/lib/esm/types/partials/PlanDefinitionCondition.d.ts +0 -9
  2340. package/lib/esm/types/partials/PlanDefinitionCondition.js +0 -2
  2341. package/lib/esm/types/partials/PlanDefinitionDynamicValue.d.ts +0 -9
  2342. package/lib/esm/types/partials/PlanDefinitionDynamicValue.js +0 -2
  2343. package/lib/esm/types/partials/PlanDefinitionGoal.d.ts +0 -16
  2344. package/lib/esm/types/partials/PlanDefinitionGoal.js +0 -2
  2345. package/lib/esm/types/partials/PlanDefinitionParticipant.d.ts +0 -9
  2346. package/lib/esm/types/partials/PlanDefinitionParticipant.js +0 -2
  2347. package/lib/esm/types/partials/PlanDefinitionRelatedAction.d.ts +0 -13
  2348. package/lib/esm/types/partials/PlanDefinitionRelatedAction.js +0 -2
  2349. package/lib/esm/types/partials/PlanDefinitionTarget.d.ts +0 -14
  2350. package/lib/esm/types/partials/PlanDefinitionTarget.js +0 -2
  2351. package/lib/esm/types/partials/Population.d.ts +0 -13
  2352. package/lib/esm/types/partials/Population.js +0 -2
  2353. package/lib/esm/types/partials/PractitionerQualification.d.ts +0 -14
  2354. package/lib/esm/types/partials/PractitionerQualification.js +0 -2
  2355. package/lib/esm/types/partials/PractitionerRoleAvailableTime.d.ts +0 -11
  2356. package/lib/esm/types/partials/PractitionerRoleAvailableTime.js +0 -2
  2357. package/lib/esm/types/partials/PractitionerRoleNotAvailable.d.ts +0 -9
  2358. package/lib/esm/types/partials/PractitionerRoleNotAvailable.js +0 -2
  2359. package/lib/esm/types/partials/ProcedureFocalDevice.d.ts +0 -10
  2360. package/lib/esm/types/partials/ProcedureFocalDevice.js +0 -2
  2361. package/lib/esm/types/partials/ProcedurePerformer.d.ts +0 -11
  2362. package/lib/esm/types/partials/ProcedurePerformer.js +0 -2
  2363. package/lib/esm/types/partials/ProdCharacteristic.d.ts +0 -20
  2364. package/lib/esm/types/partials/ProdCharacteristic.js +0 -2
  2365. package/lib/esm/types/partials/ProductShelfLife.d.ts +0 -13
  2366. package/lib/esm/types/partials/ProductShelfLife.js +0 -2
  2367. package/lib/esm/types/partials/ProvenanceAgent.d.ts +0 -12
  2368. package/lib/esm/types/partials/ProvenanceAgent.js +0 -2
  2369. package/lib/esm/types/partials/ProvenanceEntity.d.ts +0 -11
  2370. package/lib/esm/types/partials/ProvenanceEntity.js +0 -2
  2371. package/lib/esm/types/partials/Quantity.d.ts +0 -12
  2372. package/lib/esm/types/partials/Quantity.js +0 -2
  2373. package/lib/esm/types/partials/QuestionnaireAnswerOption.d.ts +0 -18
  2374. package/lib/esm/types/partials/QuestionnaireAnswerOption.js +0 -2
  2375. package/lib/esm/types/partials/QuestionnaireEnableWhen.d.ts +0 -26
  2376. package/lib/esm/types/partials/QuestionnaireEnableWhen.js +0 -2
  2377. package/lib/esm/types/partials/QuestionnaireInitial.d.ts +0 -28
  2378. package/lib/esm/types/partials/QuestionnaireInitial.js +0 -2
  2379. package/lib/esm/types/partials/QuestionnaireItem.d.ts +0 -29
  2380. package/lib/esm/types/partials/QuestionnaireItem.js +0 -2
  2381. package/lib/esm/types/partials/QuestionnaireResponseAnswer.d.ts +0 -30
  2382. package/lib/esm/types/partials/QuestionnaireResponseAnswer.js +0 -2
  2383. package/lib/esm/types/partials/QuestionnaireResponseItem.d.ts +0 -13
  2384. package/lib/esm/types/partials/QuestionnaireResponseItem.js +0 -2
  2385. package/lib/esm/types/partials/Range.d.ts +0 -8
  2386. package/lib/esm/types/partials/Range.js +0 -2
  2387. package/lib/esm/types/partials/Ratio.d.ts +0 -8
  2388. package/lib/esm/types/partials/Ratio.js +0 -2
  2389. package/lib/esm/types/partials/RatioRange.d.ts +0 -9
  2390. package/lib/esm/types/partials/RatioRange.js +0 -2
  2391. package/lib/esm/types/partials/Reference.d.ts +0 -14
  2392. package/lib/esm/types/partials/Reference.js +0 -2
  2393. package/lib/esm/types/partials/RegulatedAuthorizationCase.d.ts +0 -16
  2394. package/lib/esm/types/partials/RegulatedAuthorizationCase.js +0 -2
  2395. package/lib/esm/types/partials/RelatedArtifact.d.ts +0 -16
  2396. package/lib/esm/types/partials/RelatedArtifact.js +0 -2
  2397. package/lib/esm/types/partials/RelatedPersonCommunication.d.ts +0 -9
  2398. package/lib/esm/types/partials/RelatedPersonCommunication.js +0 -2
  2399. package/lib/esm/types/partials/RequestGroupAction.d.ts +0 -40
  2400. package/lib/esm/types/partials/RequestGroupAction.js +0 -2
  2401. package/lib/esm/types/partials/RequestGroupCondition.d.ts +0 -9
  2402. package/lib/esm/types/partials/RequestGroupCondition.js +0 -2
  2403. package/lib/esm/types/partials/RequestGroupRelatedAction.d.ts +0 -13
  2404. package/lib/esm/types/partials/RequestGroupRelatedAction.js +0 -2
  2405. package/lib/esm/types/partials/ResearchElementDefinitionCharacteristic.d.ts +0 -36
  2406. package/lib/esm/types/partials/ResearchElementDefinitionCharacteristic.js +0 -2
  2407. package/lib/esm/types/partials/ResearchStudyArm.d.ts +0 -10
  2408. package/lib/esm/types/partials/ResearchStudyArm.js +0 -2
  2409. package/lib/esm/types/partials/ResearchStudyObjective.d.ts +0 -9
  2410. package/lib/esm/types/partials/ResearchStudyObjective.js +0 -2
  2411. package/lib/esm/types/partials/RiskAssessmentPrediction.d.ts +0 -18
  2412. package/lib/esm/types/partials/RiskAssessmentPrediction.js +0 -2
  2413. package/lib/esm/types/partials/SampledData.d.ts +0 -15
  2414. package/lib/esm/types/partials/SampledData.js +0 -2
  2415. package/lib/esm/types/partials/SearchParameterComponent.d.ts +0 -9
  2416. package/lib/esm/types/partials/SearchParameterComponent.js +0 -2
  2417. package/lib/esm/types/partials/Signature.d.ts +0 -16
  2418. package/lib/esm/types/partials/Signature.js +0 -2
  2419. package/lib/esm/types/partials/SpecimenCollection.d.ts +0 -20
  2420. package/lib/esm/types/partials/SpecimenCollection.js +0 -2
  2421. package/lib/esm/types/partials/SpecimenContainer.d.ts +0 -17
  2422. package/lib/esm/types/partials/SpecimenContainer.js +0 -2
  2423. package/lib/esm/types/partials/SpecimenDefinitionAdditive.d.ts +0 -10
  2424. package/lib/esm/types/partials/SpecimenDefinitionAdditive.js +0 -2
  2425. package/lib/esm/types/partials/SpecimenDefinitionContainer.d.ts +0 -18
  2426. package/lib/esm/types/partials/SpecimenDefinitionContainer.js +0 -2
  2427. package/lib/esm/types/partials/SpecimenDefinitionHandling.d.ts +0 -13
  2428. package/lib/esm/types/partials/SpecimenDefinitionHandling.js +0 -2
  2429. package/lib/esm/types/partials/SpecimenDefinitionTypeTested.d.ts +0 -18
  2430. package/lib/esm/types/partials/SpecimenDefinitionTypeTested.js +0 -2
  2431. package/lib/esm/types/partials/SpecimenProcessing.d.ts +0 -15
  2432. package/lib/esm/types/partials/SpecimenProcessing.js +0 -2
  2433. package/lib/esm/types/partials/StructureDefinitionContext.d.ts +0 -8
  2434. package/lib/esm/types/partials/StructureDefinitionContext.js +0 -2
  2435. package/lib/esm/types/partials/StructureDefinitionDifferential.d.ts +0 -8
  2436. package/lib/esm/types/partials/StructureDefinitionDifferential.js +0 -2
  2437. package/lib/esm/types/partials/StructureDefinitionMapping.d.ts +0 -12
  2438. package/lib/esm/types/partials/StructureDefinitionMapping.js +0 -2
  2439. package/lib/esm/types/partials/StructureDefinitionSnapshot.d.ts +0 -8
  2440. package/lib/esm/types/partials/StructureDefinitionSnapshot.js +0 -2
  2441. package/lib/esm/types/partials/StructureMapDependent.d.ts +0 -9
  2442. package/lib/esm/types/partials/StructureMapDependent.js +0 -2
  2443. package/lib/esm/types/partials/StructureMapGroup.d.ts +0 -15
  2444. package/lib/esm/types/partials/StructureMapGroup.js +0 -2
  2445. package/lib/esm/types/partials/StructureMapInput.d.ts +0 -11
  2446. package/lib/esm/types/partials/StructureMapInput.js +0 -2
  2447. package/lib/esm/types/partials/StructureMapParameter.d.ts +0 -14
  2448. package/lib/esm/types/partials/StructureMapParameter.js +0 -2
  2449. package/lib/esm/types/partials/StructureMapRule.d.ts +0 -16
  2450. package/lib/esm/types/partials/StructureMapRule.js +0 -2
  2451. package/lib/esm/types/partials/StructureMapSource.d.ts +0 -108
  2452. package/lib/esm/types/partials/StructureMapSource.js +0 -2
  2453. package/lib/esm/types/partials/StructureMapStructure.d.ts +0 -11
  2454. package/lib/esm/types/partials/StructureMapStructure.js +0 -2
  2455. package/lib/esm/types/partials/StructureMapTarget.d.ts +0 -16
  2456. package/lib/esm/types/partials/StructureMapTarget.js +0 -2
  2457. package/lib/esm/types/partials/SubscriptionChannel.d.ts +0 -11
  2458. package/lib/esm/types/partials/SubscriptionChannel.js +0 -2
  2459. package/lib/esm/types/partials/SubscriptionStatusNotificationEvent.d.ts +0 -12
  2460. package/lib/esm/types/partials/SubscriptionStatusNotificationEvent.js +0 -2
  2461. package/lib/esm/types/partials/SubscriptionTopicCanFilterBy.d.ts +0 -13
  2462. package/lib/esm/types/partials/SubscriptionTopicCanFilterBy.js +0 -2
  2463. package/lib/esm/types/partials/SubscriptionTopicEventTrigger.d.ts +0 -12
  2464. package/lib/esm/types/partials/SubscriptionTopicEventTrigger.js +0 -2
  2465. package/lib/esm/types/partials/SubscriptionTopicNotificationShape.d.ts +0 -10
  2466. package/lib/esm/types/partials/SubscriptionTopicNotificationShape.js +0 -2
  2467. package/lib/esm/types/partials/SubscriptionTopicQueryCriteria.d.ts +0 -11
  2468. package/lib/esm/types/partials/SubscriptionTopicQueryCriteria.js +0 -2
  2469. package/lib/esm/types/partials/SubscriptionTopicResourceTrigger.d.ts +0 -14
  2470. package/lib/esm/types/partials/SubscriptionTopicResourceTrigger.js +0 -2
  2471. package/lib/esm/types/partials/SubstanceDefinitionCode.d.ts +0 -15
  2472. package/lib/esm/types/partials/SubstanceDefinitionCode.js +0 -2
  2473. package/lib/esm/types/partials/SubstanceDefinitionMoiety.d.ts +0 -18
  2474. package/lib/esm/types/partials/SubstanceDefinitionMoiety.js +0 -2
  2475. package/lib/esm/types/partials/SubstanceDefinitionMolecularWeight.d.ts +0 -11
  2476. package/lib/esm/types/partials/SubstanceDefinitionMolecularWeight.js +0 -2
  2477. package/lib/esm/types/partials/SubstanceDefinitionName.d.ts +0 -20
  2478. package/lib/esm/types/partials/SubstanceDefinitionName.js +0 -2
  2479. package/lib/esm/types/partials/SubstanceDefinitionOfficial.d.ts +0 -11
  2480. package/lib/esm/types/partials/SubstanceDefinitionOfficial.js +0 -2
  2481. package/lib/esm/types/partials/SubstanceDefinitionProperty.d.ts +0 -16
  2482. package/lib/esm/types/partials/SubstanceDefinitionProperty.js +0 -2
  2483. package/lib/esm/types/partials/SubstanceDefinitionRelationship.d.ts +0 -20
  2484. package/lib/esm/types/partials/SubstanceDefinitionRelationship.js +0 -2
  2485. package/lib/esm/types/partials/SubstanceDefinitionRepresentation.d.ts +0 -12
  2486. package/lib/esm/types/partials/SubstanceDefinitionRepresentation.js +0 -2
  2487. package/lib/esm/types/partials/SubstanceDefinitionSourceMaterial.d.ts +0 -12
  2488. package/lib/esm/types/partials/SubstanceDefinitionSourceMaterial.js +0 -2
  2489. package/lib/esm/types/partials/SubstanceDefinitionStructure.d.ts +0 -18
  2490. package/lib/esm/types/partials/SubstanceDefinitionStructure.js +0 -2
  2491. package/lib/esm/types/partials/SubstanceIngredient.d.ts +0 -12
  2492. package/lib/esm/types/partials/SubstanceIngredient.js +0 -2
  2493. package/lib/esm/types/partials/SubstanceInstance.d.ts +0 -12
  2494. package/lib/esm/types/partials/SubstanceInstance.js +0 -2
  2495. package/lib/esm/types/partials/SupplyDeliverySuppliedItem.d.ts +0 -12
  2496. package/lib/esm/types/partials/SupplyDeliverySuppliedItem.js +0 -2
  2497. package/lib/esm/types/partials/SupplyRequestParameter.d.ts +0 -14
  2498. package/lib/esm/types/partials/SupplyRequestParameter.js +0 -2
  2499. package/lib/esm/types/partials/TaskInput.d.ts +0 -99
  2500. package/lib/esm/types/partials/TaskInput.js +0 -2
  2501. package/lib/esm/types/partials/TaskOutput.d.ts +0 -99
  2502. package/lib/esm/types/partials/TaskOutput.js +0 -2
  2503. package/lib/esm/types/partials/TaskRestriction.d.ts +0 -12
  2504. package/lib/esm/types/partials/TaskRestriction.js +0 -2
  2505. package/lib/esm/types/partials/TerminologyCapabilitiesClosure.d.ts +0 -7
  2506. package/lib/esm/types/partials/TerminologyCapabilitiesClosure.js +0 -2
  2507. package/lib/esm/types/partials/TerminologyCapabilitiesCodeSystem.d.ts +0 -11
  2508. package/lib/esm/types/partials/TerminologyCapabilitiesCodeSystem.js +0 -2
  2509. package/lib/esm/types/partials/TerminologyCapabilitiesExpansion.d.ts +0 -13
  2510. package/lib/esm/types/partials/TerminologyCapabilitiesExpansion.js +0 -2
  2511. package/lib/esm/types/partials/TerminologyCapabilitiesFilter.d.ts +0 -8
  2512. package/lib/esm/types/partials/TerminologyCapabilitiesFilter.js +0 -2
  2513. package/lib/esm/types/partials/TerminologyCapabilitiesImplementation.d.ts +0 -9
  2514. package/lib/esm/types/partials/TerminologyCapabilitiesImplementation.js +0 -2
  2515. package/lib/esm/types/partials/TerminologyCapabilitiesParameter.d.ts +0 -8
  2516. package/lib/esm/types/partials/TerminologyCapabilitiesParameter.js +0 -2
  2517. package/lib/esm/types/partials/TerminologyCapabilitiesSoftware.d.ts +0 -8
  2518. package/lib/esm/types/partials/TerminologyCapabilitiesSoftware.js +0 -2
  2519. package/lib/esm/types/partials/TerminologyCapabilitiesTranslation.d.ts +0 -7
  2520. package/lib/esm/types/partials/TerminologyCapabilitiesTranslation.js +0 -2
  2521. package/lib/esm/types/partials/TerminologyCapabilitiesValidateCode.d.ts +0 -7
  2522. package/lib/esm/types/partials/TerminologyCapabilitiesValidateCode.js +0 -2
  2523. package/lib/esm/types/partials/TerminologyCapabilitiesVersion.d.ts +0 -13
  2524. package/lib/esm/types/partials/TerminologyCapabilitiesVersion.js +0 -2
  2525. package/lib/esm/types/partials/TestReportAction.d.ts +0 -10
  2526. package/lib/esm/types/partials/TestReportAction.js +0 -2
  2527. package/lib/esm/types/partials/TestReportAction1.d.ts +0 -10
  2528. package/lib/esm/types/partials/TestReportAction1.js +0 -2
  2529. package/lib/esm/types/partials/TestReportAction2.d.ts +0 -8
  2530. package/lib/esm/types/partials/TestReportAction2.js +0 -2
  2531. package/lib/esm/types/partials/TestReportAssert.d.ts +0 -10
  2532. package/lib/esm/types/partials/TestReportAssert.js +0 -2
  2533. package/lib/esm/types/partials/TestReportOperation.d.ts +0 -11
  2534. package/lib/esm/types/partials/TestReportOperation.js +0 -2
  2535. package/lib/esm/types/partials/TestReportParticipant.d.ts +0 -10
  2536. package/lib/esm/types/partials/TestReportParticipant.js +0 -2
  2537. package/lib/esm/types/partials/TestReportSetup.d.ts +0 -8
  2538. package/lib/esm/types/partials/TestReportSetup.js +0 -2
  2539. package/lib/esm/types/partials/TestReportTeardown.d.ts +0 -8
  2540. package/lib/esm/types/partials/TestReportTeardown.js +0 -2
  2541. package/lib/esm/types/partials/TestReportTest.d.ts +0 -10
  2542. package/lib/esm/types/partials/TestReportTest.js +0 -2
  2543. package/lib/esm/types/partials/TestScriptAction.d.ts +0 -10
  2544. package/lib/esm/types/partials/TestScriptAction.js +0 -2
  2545. package/lib/esm/types/partials/TestScriptAction1.d.ts +0 -10
  2546. package/lib/esm/types/partials/TestScriptAction1.js +0 -2
  2547. package/lib/esm/types/partials/TestScriptAction2.d.ts +0 -8
  2548. package/lib/esm/types/partials/TestScriptAction2.js +0 -2
  2549. package/lib/esm/types/partials/TestScriptAssert.d.ts +0 -29
  2550. package/lib/esm/types/partials/TestScriptAssert.js +0 -2
  2551. package/lib/esm/types/partials/TestScriptCapability.d.ts +0 -16
  2552. package/lib/esm/types/partials/TestScriptCapability.js +0 -2
  2553. package/lib/esm/types/partials/TestScriptDestination.d.ts +0 -10
  2554. package/lib/esm/types/partials/TestScriptDestination.js +0 -2
  2555. package/lib/esm/types/partials/TestScriptFixture.d.ts +0 -10
  2556. package/lib/esm/types/partials/TestScriptFixture.js +0 -2
  2557. package/lib/esm/types/partials/TestScriptLink.d.ts +0 -9
  2558. package/lib/esm/types/partials/TestScriptLink.js +0 -2
  2559. package/lib/esm/types/partials/TestScriptMetadata.d.ts +0 -10
  2560. package/lib/esm/types/partials/TestScriptMetadata.js +0 -2
  2561. package/lib/esm/types/partials/TestScriptOperation.d.ts +0 -27
  2562. package/lib/esm/types/partials/TestScriptOperation.js +0 -2
  2563. package/lib/esm/types/partials/TestScriptOrigin.d.ts +0 -10
  2564. package/lib/esm/types/partials/TestScriptOrigin.js +0 -2
  2565. package/lib/esm/types/partials/TestScriptRequestHeader.d.ts +0 -8
  2566. package/lib/esm/types/partials/TestScriptRequestHeader.js +0 -2
  2567. package/lib/esm/types/partials/TestScriptSetup.d.ts +0 -8
  2568. package/lib/esm/types/partials/TestScriptSetup.js +0 -2
  2569. package/lib/esm/types/partials/TestScriptTeardown.d.ts +0 -8
  2570. package/lib/esm/types/partials/TestScriptTeardown.js +0 -2
  2571. package/lib/esm/types/partials/TestScriptTest.d.ts +0 -10
  2572. package/lib/esm/types/partials/TestScriptTest.js +0 -2
  2573. package/lib/esm/types/partials/TestScriptVariable.d.ts +0 -15
  2574. package/lib/esm/types/partials/TestScriptVariable.js +0 -2
  2575. package/lib/esm/types/partials/Timing.d.ts +0 -12
  2576. package/lib/esm/types/partials/Timing.js +0 -2
  2577. package/lib/esm/types/partials/TimingRepeat.d.ts +0 -30
  2578. package/lib/esm/types/partials/TimingRepeat.js +0 -2
  2579. package/lib/esm/types/partials/TriggerDefinition.d.ts +0 -19
  2580. package/lib/esm/types/partials/TriggerDefinition.js +0 -2
  2581. package/lib/esm/types/partials/UsageContext.d.ts +0 -15
  2582. package/lib/esm/types/partials/UsageContext.js +0 -2
  2583. package/lib/esm/types/partials/ValueSetCompose.d.ts +0 -12
  2584. package/lib/esm/types/partials/ValueSetCompose.js +0 -2
  2585. package/lib/esm/types/partials/ValueSetConcept.d.ts +0 -10
  2586. package/lib/esm/types/partials/ValueSetConcept.js +0 -2
  2587. package/lib/esm/types/partials/ValueSetContains.d.ts +0 -16
  2588. package/lib/esm/types/partials/ValueSetContains.js +0 -2
  2589. package/lib/esm/types/partials/ValueSetDesignation.d.ts +0 -10
  2590. package/lib/esm/types/partials/ValueSetDesignation.js +0 -2
  2591. package/lib/esm/types/partials/ValueSetExpansion.d.ts +0 -17
  2592. package/lib/esm/types/partials/ValueSetExpansion.js +0 -2
  2593. package/lib/esm/types/partials/ValueSetFilter.d.ts +0 -9
  2594. package/lib/esm/types/partials/ValueSetFilter.js +0 -2
  2595. package/lib/esm/types/partials/ValueSetInclude.d.ts +0 -15
  2596. package/lib/esm/types/partials/ValueSetInclude.js +0 -2
  2597. package/lib/esm/types/partials/ValueSetParameter.d.ts +0 -18
  2598. package/lib/esm/types/partials/ValueSetParameter.js +0 -2
  2599. package/lib/esm/types/partials/VerificationResultAttestation.d.ts +0 -18
  2600. package/lib/esm/types/partials/VerificationResultAttestation.js +0 -2
  2601. package/lib/esm/types/partials/VerificationResultPrimarySource.d.ts +0 -16
  2602. package/lib/esm/types/partials/VerificationResultPrimarySource.js +0 -2
  2603. package/lib/esm/types/partials/VerificationResultValidator.d.ts +0 -11
  2604. package/lib/esm/types/partials/VerificationResultValidator.js +0 -2
  2605. package/lib/esm/types/partials/VisionPrescriptionLensSpecification.d.ts +0 -26
  2606. package/lib/esm/types/partials/VisionPrescriptionLensSpecification.js +0 -2
  2607. package/lib/esm/types/partials/VisionPrescriptionPrism.d.ts +0 -9
  2608. package/lib/esm/types/partials/VisionPrescriptionPrism.js +0 -2
  2609. package/lib/esm/types/resources/Account.d.ts +0 -33
  2610. package/lib/esm/types/resources/Account.js +0 -2
  2611. package/lib/esm/types/resources/ActivityDefinition.d.ts +0 -87
  2612. package/lib/esm/types/resources/ActivityDefinition.js +0 -2
  2613. package/lib/esm/types/resources/AdministrableProductDefinition.d.ts +0 -31
  2614. package/lib/esm/types/resources/AdministrableProductDefinition.js +0 -2
  2615. package/lib/esm/types/resources/AdverseEvent.d.ts +0 -41
  2616. package/lib/esm/types/resources/AdverseEvent.js +0 -2
  2617. package/lib/esm/types/resources/AllergyIntolerance.d.ts +0 -45
  2618. package/lib/esm/types/resources/AllergyIntolerance.js +0 -2
  2619. package/lib/esm/types/resources/Appointment.d.ts +0 -47
  2620. package/lib/esm/types/resources/Appointment.js +0 -2
  2621. package/lib/esm/types/resources/AppointmentResponse.d.ts +0 -28
  2622. package/lib/esm/types/resources/AppointmentResponse.js +0 -2
  2623. package/lib/esm/types/resources/AuditEvent.d.ts +0 -34
  2624. package/lib/esm/types/resources/AuditEvent.js +0 -2
  2625. package/lib/esm/types/resources/Basic.d.ts +0 -25
  2626. package/lib/esm/types/resources/Basic.js +0 -2
  2627. package/lib/esm/types/resources/Binary.d.ts +0 -14
  2628. package/lib/esm/types/resources/Binary.js +0 -2
  2629. package/lib/esm/types/resources/BiologicallyDerivedProduct.d.ts +0 -35
  2630. package/lib/esm/types/resources/BiologicallyDerivedProduct.js +0 -2
  2631. package/lib/esm/types/resources/BodyStructure.d.ts +0 -28
  2632. package/lib/esm/types/resources/BodyStructure.js +0 -2
  2633. package/lib/esm/types/resources/Bundle.d.ts +0 -22
  2634. package/lib/esm/types/resources/Bundle.js +0 -2
  2635. package/lib/esm/types/resources/CapabilityStatement.d.ts +0 -53
  2636. package/lib/esm/types/resources/CapabilityStatement.js +0 -2
  2637. package/lib/esm/types/resources/CarePlan.d.ts +0 -47
  2638. package/lib/esm/types/resources/CarePlan.js +0 -2
  2639. package/lib/esm/types/resources/CareTeam.d.ts +0 -36
  2640. package/lib/esm/types/resources/CareTeam.js +0 -2
  2641. package/lib/esm/types/resources/CatalogEntry.d.ts +0 -35
  2642. package/lib/esm/types/resources/CatalogEntry.js +0 -2
  2643. package/lib/esm/types/resources/ChargeItem.d.ts +0 -57
  2644. package/lib/esm/types/resources/ChargeItem.js +0 -2
  2645. package/lib/esm/types/resources/ChargeItemDefinition.d.ts +0 -51
  2646. package/lib/esm/types/resources/ChargeItemDefinition.js +0 -2
  2647. package/lib/esm/types/resources/Citation.d.ts +0 -59
  2648. package/lib/esm/types/resources/Citation.js +0 -2
  2649. package/lib/esm/types/resources/Claim.d.ts +0 -58
  2650. package/lib/esm/types/resources/Claim.js +0 -2
  2651. package/lib/esm/types/resources/ClaimResponse.d.ts +0 -57
  2652. package/lib/esm/types/resources/ClaimResponse.js +0 -2
  2653. package/lib/esm/types/resources/ClinicalImpression.d.ts +0 -45
  2654. package/lib/esm/types/resources/ClinicalImpression.js +0 -2
  2655. package/lib/esm/types/resources/ClinicalUseDefinition.d.ts +0 -35
  2656. package/lib/esm/types/resources/ClinicalUseDefinition.js +0 -2
  2657. package/lib/esm/types/resources/CodeSystem.d.ts +0 -53
  2658. package/lib/esm/types/resources/CodeSystem.js +0 -2
  2659. package/lib/esm/types/resources/Communication.d.ts +0 -46
  2660. package/lib/esm/types/resources/Communication.js +0 -2
  2661. package/lib/esm/types/resources/CommunicationRequest.d.ts +0 -46
  2662. package/lib/esm/types/resources/CommunicationRequest.js +0 -2
  2663. package/lib/esm/types/resources/CompartmentDefinition.d.ts +0 -35
  2664. package/lib/esm/types/resources/CompartmentDefinition.js +0 -2
  2665. package/lib/esm/types/resources/Composition.d.ts +0 -39
  2666. package/lib/esm/types/resources/Composition.js +0 -2
  2667. package/lib/esm/types/resources/ConceptMap.d.ts +0 -44
  2668. package/lib/esm/types/resources/ConceptMap.js +0 -2
  2669. package/lib/esm/types/resources/Condition.d.ts +0 -51
  2670. package/lib/esm/types/resources/Condition.js +0 -2
  2671. package/lib/esm/types/resources/Consent.d.ts +0 -38
  2672. package/lib/esm/types/resources/Consent.js +0 -2
  2673. package/lib/esm/types/resources/Contract.d.ts +0 -63
  2674. package/lib/esm/types/resources/Contract.js +0 -2
  2675. package/lib/esm/types/resources/Coverage.d.ts +0 -40
  2676. package/lib/esm/types/resources/Coverage.js +0 -2
  2677. package/lib/esm/types/resources/CoverageEligibilityRequest.d.ts +0 -40
  2678. package/lib/esm/types/resources/CoverageEligibilityRequest.js +0 -2
  2679. package/lib/esm/types/resources/CoverageEligibilityResponse.d.ts +0 -40
  2680. package/lib/esm/types/resources/CoverageEligibilityResponse.js +0 -2
  2681. package/lib/esm/types/resources/DetectedIssue.d.ts +0 -36
  2682. package/lib/esm/types/resources/DetectedIssue.js +0 -2
  2683. package/lib/esm/types/resources/Device.d.ts +0 -53
  2684. package/lib/esm/types/resources/Device.js +0 -2
  2685. package/lib/esm/types/resources/DeviceDefinition.d.ts +0 -53
  2686. package/lib/esm/types/resources/DeviceDefinition.js +0 -2
  2687. package/lib/esm/types/resources/DeviceMetric.d.ts +0 -31
  2688. package/lib/esm/types/resources/DeviceMetric.js +0 -2
  2689. package/lib/esm/types/resources/DeviceRequest.d.ts +0 -52
  2690. package/lib/esm/types/resources/DeviceRequest.js +0 -2
  2691. package/lib/esm/types/resources/DeviceUseStatement.d.ts +0 -38
  2692. package/lib/esm/types/resources/DeviceUseStatement.js +0 -2
  2693. package/lib/esm/types/resources/DiagnosticReport.d.ts +0 -43
  2694. package/lib/esm/types/resources/DiagnosticReport.js +0 -2
  2695. package/lib/esm/types/resources/DocumentManifest.d.ts +0 -33
  2696. package/lib/esm/types/resources/DocumentManifest.js +0 -2
  2697. package/lib/esm/types/resources/DocumentReference.d.ts +0 -39
  2698. package/lib/esm/types/resources/DocumentReference.js +0 -2
  2699. package/lib/esm/types/resources/DomainResource.d.ts +0 -16
  2700. package/lib/esm/types/resources/DomainResource.js +0 -2
  2701. package/lib/esm/types/resources/Encounter.d.ts +0 -51
  2702. package/lib/esm/types/resources/Encounter.js +0 -2
  2703. package/lib/esm/types/resources/Endpoint.d.ts +0 -34
  2704. package/lib/esm/types/resources/Endpoint.js +0 -2
  2705. package/lib/esm/types/resources/EnrollmentRequest.d.ts +0 -26
  2706. package/lib/esm/types/resources/EnrollmentRequest.js +0 -2
  2707. package/lib/esm/types/resources/EnrollmentResponse.d.ts +0 -27
  2708. package/lib/esm/types/resources/EnrollmentResponse.js +0 -2
  2709. package/lib/esm/types/resources/EpisodeOfCare.d.ts +0 -34
  2710. package/lib/esm/types/resources/EpisodeOfCare.js +0 -2
  2711. package/lib/esm/types/resources/EventDefinition.d.ts +0 -56
  2712. package/lib/esm/types/resources/EventDefinition.js +0 -2
  2713. package/lib/esm/types/resources/Evidence.d.ts +0 -55
  2714. package/lib/esm/types/resources/Evidence.js +0 -2
  2715. package/lib/esm/types/resources/EvidenceReport.d.ts +0 -46
  2716. package/lib/esm/types/resources/EvidenceReport.js +0 -2
  2717. package/lib/esm/types/resources/EvidenceVariable.d.ts +0 -49
  2718. package/lib/esm/types/resources/EvidenceVariable.js +0 -2
  2719. package/lib/esm/types/resources/ExampleScenario.d.ts +0 -43
  2720. package/lib/esm/types/resources/ExampleScenario.js +0 -2
  2721. package/lib/esm/types/resources/ExplanationOfBenefit.d.ts +0 -81
  2722. package/lib/esm/types/resources/ExplanationOfBenefit.js +0 -2
  2723. package/lib/esm/types/resources/FamilyMemberHistory.d.ts +0 -53
  2724. package/lib/esm/types/resources/FamilyMemberHistory.js +0 -2
  2725. package/lib/esm/types/resources/Flag.d.ts +0 -28
  2726. package/lib/esm/types/resources/Flag.js +0 -2
  2727. package/lib/esm/types/resources/Goal.d.ts +0 -39
  2728. package/lib/esm/types/resources/Goal.js +0 -2
  2729. package/lib/esm/types/resources/GraphDefinition.d.ts +0 -38
  2730. package/lib/esm/types/resources/GraphDefinition.js +0 -2
  2731. package/lib/esm/types/resources/Group.d.ts +0 -32
  2732. package/lib/esm/types/resources/Group.js +0 -2
  2733. package/lib/esm/types/resources/GuidanceResponse.d.ts +0 -40
  2734. package/lib/esm/types/resources/GuidanceResponse.js +0 -2
  2735. package/lib/esm/types/resources/HealthcareService.d.ts +0 -49
  2736. package/lib/esm/types/resources/HealthcareService.js +0 -2
  2737. package/lib/esm/types/resources/ImagingStudy.d.ts +0 -44
  2738. package/lib/esm/types/resources/ImagingStudy.js +0 -2
  2739. package/lib/esm/types/resources/Immunization.d.ts +0 -56
  2740. package/lib/esm/types/resources/Immunization.js +0 -2
  2741. package/lib/esm/types/resources/ImmunizationEvaluation.d.ts +0 -36
  2742. package/lib/esm/types/resources/ImmunizationEvaluation.js +0 -2
  2743. package/lib/esm/types/resources/ImmunizationRecommendation.d.ts +0 -25
  2744. package/lib/esm/types/resources/ImmunizationRecommendation.js +0 -2
  2745. package/lib/esm/types/resources/ImplementationGuide.d.ts +0 -46
  2746. package/lib/esm/types/resources/ImplementationGuide.js +0 -2
  2747. package/lib/esm/types/resources/Ingredient.d.ts +0 -29
  2748. package/lib/esm/types/resources/Ingredient.js +0 -2
  2749. package/lib/esm/types/resources/InsurancePlan.d.ts +0 -37
  2750. package/lib/esm/types/resources/InsurancePlan.js +0 -2
  2751. package/lib/esm/types/resources/Invoice.d.ts +0 -42
  2752. package/lib/esm/types/resources/Invoice.js +0 -2
  2753. package/lib/esm/types/resources/Library.d.ts +0 -61
  2754. package/lib/esm/types/resources/Library.js +0 -2
  2755. package/lib/esm/types/resources/Linkage.d.ts +0 -21
  2756. package/lib/esm/types/resources/Linkage.js +0 -2
  2757. package/lib/esm/types/resources/List.d.ts +0 -35
  2758. package/lib/esm/types/resources/List.js +0 -2
  2759. package/lib/esm/types/resources/Location.d.ts +0 -41
  2760. package/lib/esm/types/resources/Location.js +0 -2
  2761. package/lib/esm/types/resources/ManufacturedItemDefinition.d.ts +0 -27
  2762. package/lib/esm/types/resources/ManufacturedItemDefinition.js +0 -2
  2763. package/lib/esm/types/resources/Measure.d.ts +0 -71
  2764. package/lib/esm/types/resources/Measure.js +0 -2
  2765. package/lib/esm/types/resources/MeasureReport.d.ts +0 -34
  2766. package/lib/esm/types/resources/MeasureReport.js +0 -2
  2767. package/lib/esm/types/resources/Media.d.ts +0 -49
  2768. package/lib/esm/types/resources/Media.js +0 -2
  2769. package/lib/esm/types/resources/Medication.d.ts +0 -30
  2770. package/lib/esm/types/resources/Medication.js +0 -2
  2771. package/lib/esm/types/resources/MedicationAdministration.d.ts +0 -45
  2772. package/lib/esm/types/resources/MedicationAdministration.js +0 -2
  2773. package/lib/esm/types/resources/MedicationDispense.d.ts +0 -51
  2774. package/lib/esm/types/resources/MedicationDispense.js +0 -2
  2775. package/lib/esm/types/resources/MedicationKnowledge.d.ts +0 -53
  2776. package/lib/esm/types/resources/MedicationKnowledge.js +0 -2
  2777. package/lib/esm/types/resources/MedicationRequest.d.ts +0 -59
  2778. package/lib/esm/types/resources/MedicationRequest.js +0 -2
  2779. package/lib/esm/types/resources/MedicationStatement.d.ts +0 -42
  2780. package/lib/esm/types/resources/MedicationStatement.js +0 -2
  2781. package/lib/esm/types/resources/MedicinalProductDefinition.d.ts +0 -57
  2782. package/lib/esm/types/resources/MedicinalProductDefinition.js +0 -2
  2783. package/lib/esm/types/resources/MessageDefinition.d.ts +0 -51
  2784. package/lib/esm/types/resources/MessageDefinition.js +0 -2
  2785. package/lib/esm/types/resources/MessageHeader.d.ts +0 -35
  2786. package/lib/esm/types/resources/MessageHeader.js +0 -2
  2787. package/lib/esm/types/resources/MolecularSequence.d.ts +0 -41
  2788. package/lib/esm/types/resources/MolecularSequence.js +0 -2
  2789. package/lib/esm/types/resources/NamingSystem.d.ts +0 -35
  2790. package/lib/esm/types/resources/NamingSystem.js +0 -2
  2791. package/lib/esm/types/resources/NutritionOrder.d.ts +0 -42
  2792. package/lib/esm/types/resources/NutritionOrder.js +0 -2
  2793. package/lib/esm/types/resources/NutritionProduct.d.ts +0 -34
  2794. package/lib/esm/types/resources/NutritionProduct.js +0 -2
  2795. package/lib/esm/types/resources/Observation.d.ts +0 -69
  2796. package/lib/esm/types/resources/Observation.js +0 -2
  2797. package/lib/esm/types/resources/ObservationDefinition.d.ts +0 -34
  2798. package/lib/esm/types/resources/ObservationDefinition.js +0 -2
  2799. package/lib/esm/types/resources/OperationDefinition.d.ts +0 -50
  2800. package/lib/esm/types/resources/OperationDefinition.js +0 -2
  2801. package/lib/esm/types/resources/OperationOutcome.d.ts +0 -18
  2802. package/lib/esm/types/resources/OperationOutcome.js +0 -2
  2803. package/lib/esm/types/resources/Organization.d.ts +0 -32
  2804. package/lib/esm/types/resources/Organization.js +0 -2
  2805. package/lib/esm/types/resources/OrganizationAffiliation.d.ts +0 -33
  2806. package/lib/esm/types/resources/OrganizationAffiliation.js +0 -2
  2807. package/lib/esm/types/resources/PackagedProductDefinition.d.ts +0 -39
  2808. package/lib/esm/types/resources/PackagedProductDefinition.js +0 -2
  2809. package/lib/esm/types/resources/Parameters.d.ts +0 -11
  2810. package/lib/esm/types/resources/Parameters.js +0 -2
  2811. package/lib/esm/types/resources/Patient.d.ts +0 -47
  2812. package/lib/esm/types/resources/Patient.js +0 -2
  2813. package/lib/esm/types/resources/PaymentNotice.d.ts +0 -34
  2814. package/lib/esm/types/resources/PaymentNotice.js +0 -2
  2815. package/lib/esm/types/resources/PaymentReconciliation.d.ts +0 -40
  2816. package/lib/esm/types/resources/PaymentReconciliation.js +0 -2
  2817. package/lib/esm/types/resources/Person.d.ts +0 -34
  2818. package/lib/esm/types/resources/Person.js +0 -2
  2819. package/lib/esm/types/resources/PlanDefinition.d.ts +0 -62
  2820. package/lib/esm/types/resources/PlanDefinition.js +0 -2
  2821. package/lib/esm/types/resources/Practitioner.d.ts +0 -34
  2822. package/lib/esm/types/resources/Practitioner.js +0 -2
  2823. package/lib/esm/types/resources/PractitionerRole.d.ts +0 -37
  2824. package/lib/esm/types/resources/PractitionerRole.js +0 -2
  2825. package/lib/esm/types/resources/Procedure.d.ts +0 -59
  2826. package/lib/esm/types/resources/Procedure.js +0 -2
  2827. package/lib/esm/types/resources/Provenance.d.ts +0 -35
  2828. package/lib/esm/types/resources/Provenance.js +0 -2
  2829. package/lib/esm/types/resources/Questionnaire.d.ts +0 -49
  2830. package/lib/esm/types/resources/Questionnaire.js +0 -2
  2831. package/lib/esm/types/resources/QuestionnaireResponse.d.ts +0 -32
  2832. package/lib/esm/types/resources/QuestionnaireResponse.js +0 -2
  2833. package/lib/esm/types/resources/RegulatedAuthorization.d.ts +0 -38
  2834. package/lib/esm/types/resources/RegulatedAuthorization.js +0 -2
  2835. package/lib/esm/types/resources/RelatedPerson.d.ts +0 -38
  2836. package/lib/esm/types/resources/RelatedPerson.js +0 -2
  2837. package/lib/esm/types/resources/RequestGroup.d.ts +0 -41
  2838. package/lib/esm/types/resources/RequestGroup.js +0 -2
  2839. package/lib/esm/types/resources/ResearchDefinition.d.ts +0 -62
  2840. package/lib/esm/types/resources/ResearchDefinition.js +0 -2
  2841. package/lib/esm/types/resources/ResearchElementDefinition.d.ts +0 -62
  2842. package/lib/esm/types/resources/ResearchElementDefinition.js +0 -2
  2843. package/lib/esm/types/resources/ResearchStudy.d.ts +0 -50
  2844. package/lib/esm/types/resources/ResearchStudy.js +0 -2
  2845. package/lib/esm/types/resources/ResearchSubject.d.ts +0 -27
  2846. package/lib/esm/types/resources/ResearchSubject.js +0 -2
  2847. package/lib/esm/types/resources/Resource.d.ts +0 -9
  2848. package/lib/esm/types/resources/Resource.js +0 -2
  2849. package/lib/esm/types/resources/RiskAssessment.d.ts +0 -41
  2850. package/lib/esm/types/resources/RiskAssessment.js +0 -2
  2851. package/lib/esm/types/resources/Schedule.d.ts +0 -28
  2852. package/lib/esm/types/resources/Schedule.js +0 -2
  2853. package/lib/esm/types/resources/SearchParameter.d.ts +0 -49
  2854. package/lib/esm/types/resources/SearchParameter.js +0 -2
  2855. package/lib/esm/types/resources/ServiceRequest.d.ts +0 -65
  2856. package/lib/esm/types/resources/ServiceRequest.js +0 -2
  2857. package/lib/esm/types/resources/Slot.d.ts +0 -31
  2858. package/lib/esm/types/resources/Slot.js +0 -2
  2859. package/lib/esm/types/resources/Specimen.d.ts +0 -37
  2860. package/lib/esm/types/resources/Specimen.js +0 -2
  2861. package/lib/esm/types/resources/SpecimenDefinition.d.ts +0 -25
  2862. package/lib/esm/types/resources/SpecimenDefinition.js +0 -2
  2863. package/lib/esm/types/resources/StructureDefinition.d.ts +0 -55
  2864. package/lib/esm/types/resources/StructureDefinition.js +0 -2
  2865. package/lib/esm/types/resources/StructureMap.d.ts +0 -43
  2866. package/lib/esm/types/resources/StructureMap.js +0 -2
  2867. package/lib/esm/types/resources/Subscription.d.ts +0 -26
  2868. package/lib/esm/types/resources/Subscription.js +0 -2
  2869. package/lib/esm/types/resources/SubscriptionStatus.d.ts +0 -27
  2870. package/lib/esm/types/resources/SubscriptionStatus.js +0 -2
  2871. package/lib/esm/types/resources/SubscriptionTopic.d.ts +0 -51
  2872. package/lib/esm/types/resources/SubscriptionTopic.js +0 -2
  2873. package/lib/esm/types/resources/Substance.d.ts +0 -27
  2874. package/lib/esm/types/resources/Substance.js +0 -2
  2875. package/lib/esm/types/resources/SubstanceDefinition.d.ts +0 -48
  2876. package/lib/esm/types/resources/SubstanceDefinition.js +0 -2
  2877. package/lib/esm/types/resources/SupplyDelivery.d.ts +0 -36
  2878. package/lib/esm/types/resources/SupplyDelivery.js +0 -2
  2879. package/lib/esm/types/resources/SupplyRequest.d.ts +0 -42
  2880. package/lib/esm/types/resources/SupplyRequest.js +0 -2
  2881. package/lib/esm/types/resources/Task.d.ts +0 -57
  2882. package/lib/esm/types/resources/Task.js +0 -2
  2883. package/lib/esm/types/resources/TerminologyCapabilities.d.ts +0 -52
  2884. package/lib/esm/types/resources/TerminologyCapabilities.js +0 -2
  2885. package/lib/esm/types/resources/TestReport.d.ts +0 -36
  2886. package/lib/esm/types/resources/TestReport.js +0 -2
  2887. package/lib/esm/types/resources/TestScript.d.ts +0 -55
  2888. package/lib/esm/types/resources/TestScript.js +0 -2
  2889. package/lib/esm/types/resources/ValueSet.d.ts +0 -42
  2890. package/lib/esm/types/resources/ValueSet.js +0 -2
  2891. package/lib/esm/types/resources/VerificationResult.d.ts +0 -38
  2892. package/lib/esm/types/resources/VerificationResult.js +0 -2
  2893. package/lib/esm/types/resources/VisionPrescription.d.ts +0 -28
  2894. package/lib/esm/types/resources/VisionPrescription.js +0 -2
  2895. package/lib/esm/types/simpleTypes/Base64Binary.d.ts +0 -1
  2896. package/lib/esm/types/simpleTypes/Base64Binary.js +0 -1
  2897. package/lib/esm/types/simpleTypes/Canonical.d.ts +0 -1
  2898. package/lib/esm/types/simpleTypes/Canonical.js +0 -1
  2899. package/lib/esm/types/simpleTypes/Code.d.ts +0 -1
  2900. package/lib/esm/types/simpleTypes/Code.js +0 -1
  2901. package/lib/esm/types/simpleTypes/Date.d.ts +0 -1
  2902. package/lib/esm/types/simpleTypes/Date.js +0 -1
  2903. package/lib/esm/types/simpleTypes/DateTime.d.ts +0 -1
  2904. package/lib/esm/types/simpleTypes/DateTime.js +0 -1
  2905. package/lib/esm/types/simpleTypes/Decimal.d.ts +0 -1
  2906. package/lib/esm/types/simpleTypes/Decimal.js +0 -1
  2907. package/lib/esm/types/simpleTypes/Id.d.ts +0 -1
  2908. package/lib/esm/types/simpleTypes/Id.js +0 -1
  2909. package/lib/esm/types/simpleTypes/Instant.d.ts +0 -1
  2910. package/lib/esm/types/simpleTypes/Instant.js +0 -1
  2911. package/lib/esm/types/simpleTypes/Int.d.ts +0 -1
  2912. package/lib/esm/types/simpleTypes/Int.js +0 -1
  2913. package/lib/esm/types/simpleTypes/Markdown.d.ts +0 -1
  2914. package/lib/esm/types/simpleTypes/Markdown.js +0 -1
  2915. package/lib/esm/types/simpleTypes/Oid.d.ts +0 -1
  2916. package/lib/esm/types/simpleTypes/Oid.js +0 -1
  2917. package/lib/esm/types/simpleTypes/ResourceContainer.d.ts +0 -1
  2918. package/lib/esm/types/simpleTypes/ResourceContainer.js +0 -1
  2919. package/lib/esm/types/simpleTypes/Time.d.ts +0 -1
  2920. package/lib/esm/types/simpleTypes/Time.js +0 -1
  2921. package/lib/esm/types/simpleTypes/UnsignedInt.d.ts +0 -1
  2922. package/lib/esm/types/simpleTypes/UnsignedInt.js +0 -1
  2923. package/lib/esm/types/simpleTypes/Uri.d.ts +0 -1
  2924. package/lib/esm/types/simpleTypes/Uri.js +0 -1
  2925. package/lib/esm/types/simpleTypes/Url.d.ts +0 -1
  2926. package/lib/esm/types/simpleTypes/Url.js +0 -1
  2927. package/lib/esm/types/simpleTypes/Uuid.d.ts +0 -1
  2928. package/lib/esm/types/simpleTypes/Uuid.js +0 -1
  2929. package/lib/esm/types/simpleTypes/Xhtml.d.ts +0 -1
  2930. package/lib/esm/types/simpleTypes/Xhtml.js +0 -1
package/dist/index.cjs ADDED
@@ -0,0 +1,2480 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ ComprehensiveIPSCompositionBuilder: () => ComprehensiveIPSCompositionBuilder,
24
+ NarrativeGenerator: () => NarrativeGenerator,
25
+ myPackage: () => myPackage
26
+ });
27
+ module.exports = __toCommonJS(index_exports);
28
+
29
+ // src/structures/ips_sections.ts
30
+ var IPSSections = /* @__PURE__ */ ((IPSSections2) => {
31
+ IPSSections2["PATIENT"] = "Patient";
32
+ IPSSections2["ALLERGIES"] = "AllergyIntoleranceSection";
33
+ IPSSections2["MEDICATIONS"] = "MedicationSection";
34
+ IPSSections2["PROBLEMS"] = "ProblemSection";
35
+ IPSSections2["IMMUNIZATIONS"] = "ImmunizationSection";
36
+ IPSSections2["VITAL_SIGNS"] = "VitalSignsSection";
37
+ IPSSections2["MEDICAL_DEVICES"] = "MedicalDeviceSection";
38
+ IPSSections2["DIAGNOSTIC_REPORTS"] = "DiagnosticReportSection";
39
+ IPSSections2["PROCEDURES"] = "ProcedureSection";
40
+ IPSSections2["FAMILY_HISTORY"] = "FamilyHistorySection";
41
+ IPSSections2["SOCIAL_HISTORY"] = "SocialHistorySection";
42
+ IPSSections2["PREGNANCY_HISTORY"] = "PregnancyHistorySection";
43
+ IPSSections2["FUNCTIONAL_STATUS"] = "FunctionalStatusSection";
44
+ IPSSections2["MEDICAL_HISTORY"] = "MedicalHistorySection";
45
+ IPSSections2["CARE_PLAN"] = "CarePlanSection";
46
+ IPSSections2["CLINICAL_IMPRESSION"] = "ClinicalImpressionSection";
47
+ IPSSections2["ADVANCE_DIRECTIVES"] = "AdvanceDirectivesSection";
48
+ return IPSSections2;
49
+ })(IPSSections || {});
50
+
51
+ // src/structures/ips_section_loinc_codes.ts
52
+ var IPS_SECTION_LOINC_CODES = {
53
+ ["Patient" /* PATIENT */]: "54126-4",
54
+ ["AllergyIntoleranceSection" /* ALLERGIES */]: "48765-2",
55
+ ["MedicationSection" /* MEDICATIONS */]: "10160-0",
56
+ ["ProblemSection" /* PROBLEMS */]: "11450-4",
57
+ ["ImmunizationSection" /* IMMUNIZATIONS */]: "11369-6",
58
+ ["VitalSignsSection" /* VITAL_SIGNS */]: "8716-3",
59
+ ["MedicalDeviceSection" /* MEDICAL_DEVICES */]: "46264-8",
60
+ ["DiagnosticReportSection" /* DIAGNOSTIC_REPORTS */]: "30954-2",
61
+ ["ProcedureSection" /* PROCEDURES */]: "47519-4",
62
+ ["FamilyHistorySection" /* FAMILY_HISTORY */]: "10157-6",
63
+ ["SocialHistorySection" /* SOCIAL_HISTORY */]: "29762-2",
64
+ ["PregnancyHistorySection" /* PREGNANCY_HISTORY */]: "10162-6",
65
+ ["FunctionalStatusSection" /* FUNCTIONAL_STATUS */]: "47420-5",
66
+ ["MedicalHistorySection" /* MEDICAL_HISTORY */]: "11348-0",
67
+ ["CarePlanSection" /* CARE_PLAN */]: "18776-5",
68
+ ["ClinicalImpressionSection" /* CLINICAL_IMPRESSION */]: "51848-0",
69
+ ["AdvanceDirectivesSection" /* ADVANCE_DIRECTIVES */]: "42348-3"
70
+ };
71
+ var IPS_SECTION_DISPLAY_NAMES = {
72
+ ["Patient" /* PATIENT */]: "Patient summary Document",
73
+ ["AllergyIntoleranceSection" /* ALLERGIES */]: "Allergies and adverse reactions Document",
74
+ ["MedicationSection" /* MEDICATIONS */]: "History of Medication use Narrative",
75
+ ["ProblemSection" /* PROBLEMS */]: "Problem list - Reported",
76
+ ["ImmunizationSection" /* IMMUNIZATIONS */]: "History of Immunization Narrative",
77
+ ["VitalSignsSection" /* VITAL_SIGNS */]: "Vital signs",
78
+ ["MedicalDeviceSection" /* MEDICAL_DEVICES */]: "History of medical device use",
79
+ ["DiagnosticReportSection" /* DIAGNOSTIC_REPORTS */]: "Relevant diagnostic tests/laboratory data Narrative",
80
+ ["ProcedureSection" /* PROCEDURES */]: "History of Procedures Document",
81
+ ["FamilyHistorySection" /* FAMILY_HISTORY */]: "History of family member diseases Narrative",
82
+ ["SocialHistorySection" /* SOCIAL_HISTORY */]: "Social history Narrative",
83
+ ["PregnancyHistorySection" /* PREGNANCY_HISTORY */]: "History of pregnancies Narrative",
84
+ ["FunctionalStatusSection" /* FUNCTIONAL_STATUS */]: "Functional status assessment note",
85
+ ["MedicalHistorySection" /* MEDICAL_HISTORY */]: "History of Past illness NarrativeHistory and physical note Document",
86
+ ["CarePlanSection" /* CARE_PLAN */]: "Plan of care note",
87
+ ["ClinicalImpressionSection" /* CLINICAL_IMPRESSION */]: "Evaluation note",
88
+ ["AdvanceDirectivesSection" /* ADVANCE_DIRECTIVES */]: "Advance directives Document"
89
+ };
90
+
91
+ // src/structures/ips_section_resource_map.ts
92
+ var IPSSectionResourceMap = {
93
+ ["Patient" /* PATIENT */]: ["Patient"],
94
+ ["AllergyIntoleranceSection" /* ALLERGIES */]: ["AllergyIntolerance"],
95
+ ["MedicationSection" /* MEDICATIONS */]: ["MedicationRequest", "MedicationStatement"],
96
+ ["ProblemSection" /* PROBLEMS */]: ["Condition"],
97
+ ["ImmunizationSection" /* IMMUNIZATIONS */]: ["Immunization"],
98
+ ["VitalSignsSection" /* VITAL_SIGNS */]: ["Observation"],
99
+ ["MedicalDeviceSection" /* MEDICAL_DEVICES */]: ["Device"],
100
+ ["DiagnosticReportSection" /* DIAGNOSTIC_REPORTS */]: ["DiagnosticReport", "Observation"],
101
+ // Diagnostic reports can include Observations
102
+ ["ProcedureSection" /* PROCEDURES */]: ["Procedure"],
103
+ ["FamilyHistorySection" /* FAMILY_HISTORY */]: ["FamilyMemberHistory"],
104
+ ["SocialHistorySection" /* SOCIAL_HISTORY */]: ["Observation"],
105
+ // Social history is often Observation
106
+ ["PregnancyHistorySection" /* PREGNANCY_HISTORY */]: ["Observation"],
107
+ // Pregnancy history is often Observation
108
+ ["FunctionalStatusSection" /* FUNCTIONAL_STATUS */]: ["Observation"],
109
+ // Functional status is often Observation
110
+ ["MedicalHistorySection" /* MEDICAL_HISTORY */]: ["Condition"],
111
+ // Medical history is often Condition
112
+ ["CarePlanSection" /* CARE_PLAN */]: ["CarePlan"],
113
+ ["ClinicalImpressionSection" /* CLINICAL_IMPRESSION */]: ["ClinicalImpression"],
114
+ ["AdvanceDirectivesSection" /* ADVANCE_DIRECTIVES */]: ["DocumentReference"]
115
+ // Advance directives are often stored as DocumentReference
116
+ };
117
+ var IPSSectionResourceFilters = {
118
+ // Only include active allergies
119
+ ["AllergyIntoleranceSection" /* ALLERGIES */]: (resource) => resource.resourceType === "AllergyIntolerance" && resource.clinicalStatus?.coding?.some((c) => c.code === "active"),
120
+ // Only include active medication requests/statements
121
+ ["MedicationSection" /* MEDICATIONS */]: (resource) => resource.resourceType === "MedicationRequest" && resource.status === "active" || resource.resourceType === "MedicationStatement" && resource.status === "active",
122
+ // Only include active problems/conditions
123
+ ["ProblemSection" /* PROBLEMS */]: (resource) => resource.resourceType === "Condition" && resource.clinicalStatus?.coding?.some((c) => c.code === "active"),
124
+ // Only include completed immunizations
125
+ ["ImmunizationSection" /* IMMUNIZATIONS */]: (resource) => resource.resourceType === "Immunization" && resource.status === "completed",
126
+ // Only include vital sign Observations (category.coding contains 'vital-signs')
127
+ ["VitalSignsSection" /* VITAL_SIGNS */]: (resource) => resource.resourceType === "Observation" && resource.category?.some((cat) => cat.coding?.some((c) => c.code === "vital-signs")),
128
+ // Only include active devices
129
+ ["MedicalDeviceSection" /* MEDICAL_DEVICES */]: (resource) => resource.resourceType === "Device" && resource.status === "active",
130
+ // Only include finalized diagnostic reports
131
+ ["DiagnosticReportSection" /* DIAGNOSTIC_REPORTS */]: (resource) => ["DiagnosticReport", "Observation"].includes(resource.resourceType) && resource.status === "final",
132
+ // Only include completed procedures
133
+ ["ProcedureSection" /* PROCEDURES */]: (resource) => resource.resourceType === "Procedure" && resource.status === "completed",
134
+ // Only include family history resources
135
+ ["FamilyHistorySection" /* FAMILY_HISTORY */]: (resource) => resource.resourceType === "FamilyMemberHistory",
136
+ // Only include social history Observations (category.coding contains 'social-history')
137
+ ["SocialHistorySection" /* SOCIAL_HISTORY */]: (resource) => resource.resourceType === "Observation" && resource.category?.some((cat) => cat.coding?.some((c) => c.code === "social-history")),
138
+ // Only include pregnancy history Observations (category.coding contains 'pregnancy')
139
+ ["PregnancyHistorySection" /* PREGNANCY_HISTORY */]: (resource) => resource.resourceType === "Observation" && resource.category?.some((cat) => cat.coding?.some((c) => c.code === "pregnancy")),
140
+ // Only include functional status Observations (category.coding contains 'functional-status')
141
+ ["FunctionalStatusSection" /* FUNCTIONAL_STATUS */]: (resource) => resource.resourceType === "Observation" && resource.category?.some((cat) => cat.coding?.some((c) => c.code === "functional-status")),
142
+ // Only include active medical history Conditions
143
+ ["MedicalHistorySection" /* MEDICAL_HISTORY */]: (resource) => resource.resourceType === "Condition" && resource.clinicalStatus?.coding?.some((c) => c.code === "active"),
144
+ // Only include active care plans
145
+ ["CarePlanSection" /* CARE_PLAN */]: (resource) => resource.resourceType === "CarePlan" && resource.status === "active",
146
+ // Only include ClinicalImpression resources
147
+ ["ClinicalImpressionSection" /* CLINICAL_IMPRESSION */]: (resource) => resource.resourceType === "ClinicalImpression",
148
+ // Patient section: only Patient resource
149
+ ["Patient" /* PATIENT */]: (resource) => resource.resourceType === "Patient"
150
+ };
151
+ var IPSSectionResourceHelper = class {
152
+ static getResourceTypesForSection(section) {
153
+ return IPSSectionResourceMap[section] || [];
154
+ }
155
+ static getResourceFilterForSection(section) {
156
+ return IPSSectionResourceFilters[section];
157
+ }
158
+ };
159
+
160
+ // src/narratives/templates/typescript/TemplateUtilities.ts
161
+ var import_luxon = require("luxon");
162
+ var TemplateUtilities = class {
163
+ /**
164
+ * Constructor to initialize the TemplateUtilities with a FHIR Bundle
165
+ * @param bundle - FHIR Bundle containing resources
166
+ */
167
+ constructor(bundle) {
168
+ this.bundle = bundle;
169
+ }
170
+ /**
171
+ * Formats a CodeableConcept object
172
+ * @param cc - The CodeableConcept object
173
+ * @param field - Optional specific field to return
174
+ * @returns Formatted string representation
175
+ */
176
+ codeableConcept(cc, field) {
177
+ if (!cc) {
178
+ return "";
179
+ }
180
+ if (field) {
181
+ if (cc[field]) {
182
+ return cc[field];
183
+ } else if (cc.coding && cc.coding[0] && cc.coding[0][field]) {
184
+ return cc.coding[0][field];
185
+ }
186
+ }
187
+ if (cc.text) {
188
+ return cc.text;
189
+ } else if ("display" in cc && cc.display) {
190
+ return cc.display;
191
+ } else if (cc.coding && cc.coding[0]) {
192
+ if (cc.coding[0].display) {
193
+ return cc.coding[0].display;
194
+ } else if (cc.coding[0].code) {
195
+ return cc.coding[0].code;
196
+ }
197
+ }
198
+ return "";
199
+ }
200
+ resolveReference(ref) {
201
+ if (!ref || !this.bundle || !this.bundle.entry) {
202
+ return null;
203
+ }
204
+ const referenceParts = ref.reference?.split("/");
205
+ if (!referenceParts || referenceParts.length !== 2) {
206
+ return null;
207
+ }
208
+ const referenceResourceType = referenceParts[0];
209
+ const referenceResourceId = referenceParts[1];
210
+ const resource = this.bundle.entry.find((entry) => {
211
+ return entry.resource && entry.resource.resourceType === referenceResourceType && entry.resource.id === referenceResourceId;
212
+ });
213
+ return resource ? resource.resource : null;
214
+ }
215
+ /**
216
+ * Renders a Device reference
217
+ * @param deviceRef - Reference to a Device resource
218
+ * @returns Formatted device description
219
+ */
220
+ renderDevice(deviceRef) {
221
+ const device = deviceRef && this.resolveReference(deviceRef);
222
+ if (device && device.resourceType === "Device" && device.type) {
223
+ return this.codeableConcept(device.type, "display");
224
+ }
225
+ return "";
226
+ }
227
+ /**
228
+ * Renders an Organization reference
229
+ * @param orgRef - Reference to an Organization resource
230
+ * @returns Organization name
231
+ */
232
+ renderOrganization(orgRef) {
233
+ const organization = orgRef && this.resolveReference(orgRef);
234
+ if (organization && organization.resourceType === "Organization" && organization.name) {
235
+ return organization.name;
236
+ }
237
+ return "";
238
+ }
239
+ /**
240
+ * Renders a vaccine manufacturer
241
+ * @param immunization - Immunization resource
242
+ * @returns Manufacturer name
243
+ */
244
+ renderVaccineManufacturer(immunization) {
245
+ const organization = immunization.manufacturer && this.resolveReference(immunization.manufacturer);
246
+ if (organization && organization.resourceType === "Organization" && organization.name) {
247
+ return organization.name;
248
+ }
249
+ return "";
250
+ }
251
+ /**
252
+ * Renders a medication
253
+ * @param medicationType - Resource containing medication information
254
+ * @returns Formatted medication description
255
+ */
256
+ renderMedicationStatement(medicationType) {
257
+ if (typeof medicationType !== "object" || medicationType === null) {
258
+ return "";
259
+ }
260
+ if (medicationType.medicationCodeableConcept) {
261
+ return this.codeableConcept(medicationType.medicationCodeableConcept);
262
+ } else if (medicationType.medicationReference) {
263
+ return this.renderMedicationRef(medicationType.medicationReference);
264
+ }
265
+ return "";
266
+ }
267
+ /**
268
+ * Renders a medication reference
269
+ * @param medicationRef - Reference to a Medication resource
270
+ * @returns Formatted medication description
271
+ */
272
+ renderMedicationRef(medicationRef) {
273
+ const medication = medicationRef && this.resolveReference(medicationRef);
274
+ if (medication) {
275
+ return this.renderMedicationCode(medication);
276
+ }
277
+ return "";
278
+ }
279
+ /**
280
+ * Renders a medication code
281
+ * @param medication - Medication resource
282
+ * @returns Formatted medication code
283
+ */
284
+ renderMedicationCode(medication) {
285
+ if (medication && medication.code) {
286
+ return this.codeableConcept(medication.code, "display");
287
+ }
288
+ return "";
289
+ }
290
+ /**
291
+ * Renders a dose number
292
+ * @param doseNumber - Dose number object
293
+ * @returns Formatted dose number
294
+ */
295
+ renderDoseNumber(doseNumber) {
296
+ if (doseNumber && doseNumber.value !== void 0) {
297
+ return doseNumber.value.toString();
298
+ }
299
+ return "";
300
+ }
301
+ /**
302
+ * Renders the unit of a value
303
+ * @param value - Value object
304
+ * @returns Unit string
305
+ */
306
+ renderValueUnit(value) {
307
+ if (value && value.constructor?.name === "Quantity" && value.unit) {
308
+ return value.unit;
309
+ }
310
+ return "";
311
+ }
312
+ /**
313
+ * Renders an effective date
314
+ * @param effective - Date value
315
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
316
+ * @returns Formatted date string
317
+ */
318
+ renderEffective(effective, timezone) {
319
+ return this.formatDateTime(effective, timezone);
320
+ }
321
+ /**
322
+ * Renders a time value
323
+ * @param time - Time value
324
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
325
+ * @returns Formatted time string
326
+ */
327
+ renderTime(time, timezone) {
328
+ return this.formatDateTime(time, timezone);
329
+ }
330
+ /**
331
+ * Renders a date value
332
+ * @param date - Date value
333
+ * @returns Formatted date string (date only, no time component)
334
+ */
335
+ renderDate(date) {
336
+ return this.formatDateTime(date, void 0, true);
337
+ }
338
+ /**
339
+ * Renders a recorded date
340
+ * @param recorded - Date value
341
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
342
+ * @returns Formatted date string
343
+ */
344
+ renderRecorded(recorded, timezone) {
345
+ return this.formatDateTime(recorded, timezone);
346
+ }
347
+ /**
348
+ * Concatenates a list of items, optionally extracting a specific attribute
349
+ * @param list - Array of items
350
+ * @param attr - Optional attribute to extract from each item
351
+ * @returns Comma-separated string of items
352
+ */
353
+ concat(list, attr) {
354
+ if (!list || !Array.isArray(list)) {
355
+ return "";
356
+ }
357
+ const items = [];
358
+ for (const item of list) {
359
+ if (attr && item && typeof item === "object" && attr in item) {
360
+ items.push(item[attr]);
361
+ } else if (!attr && item !== void 0) {
362
+ items.push(item);
363
+ }
364
+ }
365
+ return items.filter((item) => typeof item === "string" || typeof item === "number").join(", ");
366
+ }
367
+ /**
368
+ * Safely concatenates a list of items, handling undefined/null lists
369
+ * @param list - Array of items (or undefined/null)
370
+ * @param attr - Optional attribute to extract from each item
371
+ * @returns Comma-separated string of items
372
+ */
373
+ safeConcat(list, attr) {
374
+ return this.concat(list || [], attr);
375
+ }
376
+ /**
377
+ * Concatenates text from a list of CodeableConcept objects
378
+ * @param list - Array of CodeableConcept objects
379
+ * @returns Comma-separated string of text values
380
+ */
381
+ concatCodeableConcept(list) {
382
+ if (!list || !Array.isArray(list)) {
383
+ return "";
384
+ }
385
+ const items = [];
386
+ for (const item of list) {
387
+ if (item && item.text) {
388
+ items.push(item.text);
389
+ }
390
+ }
391
+ return items.join(", ");
392
+ }
393
+ /**
394
+ * Concatenates reaction manifestations
395
+ * @param list - Array of reaction objects
396
+ * @returns Comma-separated string of manifestation texts
397
+ */
398
+ concatReactionManifestation(list) {
399
+ if (!list || !Array.isArray(list)) {
400
+ return "";
401
+ }
402
+ const texts = [];
403
+ for (const item of list) {
404
+ if (item && item.manifestation && item.manifestation[0] && item.manifestation[0].text) {
405
+ texts.push(item.manifestation[0].text);
406
+ }
407
+ }
408
+ return texts.join(", ");
409
+ }
410
+ /**
411
+ * Concatenates dose numbers
412
+ * @param list - Array of dose objects
413
+ * @returns Comma-separated string of dose numbers
414
+ */
415
+ concatDoseNumber(list) {
416
+ if (!list || !Array.isArray(list)) {
417
+ return "";
418
+ }
419
+ const doseNumbers = [];
420
+ for (const item of list) {
421
+ if (item && item.doseNumberPositiveInt) {
422
+ doseNumbers.push(item.doseNumberPositiveInt.toString());
423
+ }
424
+ }
425
+ return doseNumbers.join(", ");
426
+ }
427
+ /**
428
+ * Concatenates dosage routes
429
+ * @param list - Array of dosage objects
430
+ * @returns Comma-separated string of route texts
431
+ */
432
+ concatDosageRoute(list) {
433
+ if (!list || !Array.isArray(list)) {
434
+ return "";
435
+ }
436
+ const routes = [];
437
+ for (const item of list) {
438
+ if (item && item.route && item.route.text) {
439
+ routes.push(item.route.text);
440
+ }
441
+ }
442
+ return routes.join(", ");
443
+ }
444
+ /**
445
+ * Returns the first item from a list of CodeableConcept objects
446
+ * @param list - Array of CodeableConcept objects
447
+ * @returns Display text from the first item
448
+ */
449
+ firstFromCodeableConceptList(list) {
450
+ if (list && Array.isArray(list) && list[0]) {
451
+ return this.codeableConcept(list[0], "display");
452
+ }
453
+ return "";
454
+ }
455
+ /**
456
+ * Concatenates reference range texts
457
+ * @param list - Array of reference range objects
458
+ * @returns Comma-separated string of texts
459
+ */
460
+ concatReferenceRange(list) {
461
+ if (!list || !Array.isArray(list)) {
462
+ return "";
463
+ }
464
+ const texts = [];
465
+ for (const item of list) {
466
+ if (item && item.text) {
467
+ texts.push(item.text);
468
+ }
469
+ }
470
+ return texts.join(", ");
471
+ }
472
+ /**
473
+ * Renders component codes
474
+ * @param list - Array of component objects
475
+ * @returns Comma-separated string of code texts
476
+ */
477
+ renderComponent(list) {
478
+ if (!list || !Array.isArray(list)) {
479
+ return "";
480
+ }
481
+ const texts = [];
482
+ for (const item of list) {
483
+ if (item && item.code && item.code.text) {
484
+ texts.push(item.code.text);
485
+ }
486
+ }
487
+ return texts.join(", ");
488
+ }
489
+ narrativeLinkExtension(source) {
490
+ if (!source) {
491
+ return void 0;
492
+ }
493
+ if (source.extension && Array.isArray(source.extension)) {
494
+ const extension = source.extension.find(
495
+ (ext) => ext.url === "http://hl7.org/fhir/StructureDefinition/narrativeLink"
496
+ );
497
+ if (extension) {
498
+ return extension;
499
+ }
500
+ return void 0;
501
+ }
502
+ return source;
503
+ }
504
+ /**
505
+ * Extracts narrative link ID from extension or resource
506
+ * @param source - Extension object or resource with extensions array
507
+ * @returns Extracted ID or empty string
508
+ */
509
+ narrativeLinkId(source) {
510
+ const extension = this.narrativeLinkExtension(source);
511
+ if (!extension) {
512
+ return "";
513
+ }
514
+ return this.extractIdFromExtension(extension);
515
+ }
516
+ /**
517
+ * Helper method to extract ID from an extension object
518
+ * @param extension - Extension object
519
+ * @returns Extracted ID or empty string
520
+ */
521
+ extractIdFromExtension(extension) {
522
+ if (typeof extension === "object" && extension.value && extension.value.value && typeof extension.value.value === "string" && extension.value.value.includes("#")) {
523
+ return extension.value.value.split("#")[1];
524
+ }
525
+ return "";
526
+ }
527
+ extractObservationValue(observation) {
528
+ const valueFields = [
529
+ "valueString",
530
+ "valueInteger",
531
+ "valueBoolean",
532
+ "valueQuantity",
533
+ "valueCodeableConcept",
534
+ "valueDateTime",
535
+ "valueTime",
536
+ "valuePeriod"
537
+ ];
538
+ for (const field of valueFields) {
539
+ const observationElement = observation[`${field}`];
540
+ if (observationElement !== void 0) {
541
+ switch (field) {
542
+ case "valueQuantity":
543
+ return this.formatQuantityValue(observationElement);
544
+ case "valueCodeableConcept":
545
+ return this.formatCodeableConceptValue(observationElement);
546
+ default:
547
+ return observationElement;
548
+ }
549
+ }
550
+ }
551
+ if (observation?.component && observation.component.length > 0) {
552
+ for (const component of observation.component) {
553
+ const componentValue = this.extractObservationValue(component);
554
+ if (componentValue !== null) {
555
+ return componentValue;
556
+ }
557
+ }
558
+ }
559
+ if (observation.dataAbsentReason) {
560
+ return this.formatCodeableConceptValue(observation.dataAbsentReason);
561
+ }
562
+ return null;
563
+ }
564
+ formatQuantityValue(quantity) {
565
+ if (!quantity) return "";
566
+ const parts = [];
567
+ if (quantity.comparator) parts.push(quantity.comparator);
568
+ if (quantity.value !== void 0) parts.push(quantity.value.toString());
569
+ if (quantity.unit) parts.push(quantity.unit);
570
+ return parts.join(" ").trim();
571
+ }
572
+ formatCodeableConceptValue(concept) {
573
+ if (!concept) return "";
574
+ if (concept.text) return concept.text;
575
+ if (concept.coding && concept.coding.length > 0) {
576
+ return concept.coding[0].display || concept.coding[0].code || "";
577
+ }
578
+ return "";
579
+ }
580
+ extractObservationValueUnit(observation) {
581
+ if (observation.valueQuantity && observation.valueQuantity.unit) {
582
+ return observation.valueQuantity.unit;
583
+ }
584
+ if (observation.component && observation.component.length > 0) {
585
+ for (const component of observation.component) {
586
+ const unit = this.extractObservationValueUnit(component);
587
+ if (unit) {
588
+ return unit;
589
+ }
590
+ }
591
+ }
592
+ return "";
593
+ }
594
+ /**
595
+ * Gets the medication name from various types of medication references or resources
596
+ * @param medicationSource - Can be a Reference to Medication, a CodeableConcept, or a Medication resource
597
+ * @returns The medication name as a string
598
+ */
599
+ getMedicationName(medicationSource) {
600
+ if (!medicationSource) {
601
+ return "";
602
+ }
603
+ if (typeof medicationSource === "object" && "resourceType" in medicationSource && medicationSource.resourceType === "Medication") {
604
+ return this.renderMedicationCode(medicationSource);
605
+ }
606
+ if (typeof medicationSource === "object" && ("coding" in medicationSource || "text" in medicationSource)) {
607
+ return this.codeableConcept(medicationSource);
608
+ }
609
+ if (typeof medicationSource === "object" && "reference" in medicationSource) {
610
+ const medication = this.resolveReference(medicationSource);
611
+ if (medication && medication.code) {
612
+ return this.codeableConcept(medication.code);
613
+ }
614
+ }
615
+ return "";
616
+ }
617
+ /**
618
+ * Renders text as HTML, escaping special characters and replacing newlines with <br />
619
+ * @param text - The text to render
620
+ * @private
621
+ */
622
+ renderTextAsHtml(text) {
623
+ if (!text || text.trim() === "") {
624
+ return "";
625
+ }
626
+ const escapedText = text.replace(/</g, "&lt;").replace(/>/g, "&gt;");
627
+ return escapedText.replace(/\n/g, "<br />");
628
+ }
629
+ /**
630
+ * Renders note elements from a FHIR resource in a standardized format
631
+ * Can render as simple comma-separated text or as styled HTML with timestamps
632
+ *
633
+ * @param notes - Array of note objects (or undefined/null)
634
+ * @param timezone - Optional timezone to use for date formatting
635
+ * @param options - Rendering options
636
+ * @returns Formatted string representation of notes
637
+ */
638
+ renderNotes(notes, timezone, options = {}) {
639
+ if (!notes || !Array.isArray(notes) || notes.length === 0) {
640
+ return "";
641
+ }
642
+ if (!options.styled) {
643
+ return notes.map((n) => this.renderTextAsHtml(n.text)).join("<br />");
644
+ }
645
+ let noteHtml = "<ul>";
646
+ for (const note of notes) {
647
+ if (note.text) {
648
+ const noteType = note.authorString || "Overview";
649
+ noteHtml += `<li class="Note"><span class="NoteTitle">${noteType} (${this.renderTime(note.time, timezone)}):</span><br />`;
650
+ if (options.warning) {
651
+ noteHtml += `<span class="WarningMsg"><em>Formatting of this note might be different from the original.</em></span><br />`;
652
+ }
653
+ noteHtml += `<span class="NoteText">${this.renderTextAsHtml(note.text)}<br /></span></li>`;
654
+ }
655
+ }
656
+ noteHtml += "</ul>";
657
+ return noteHtml;
658
+ }
659
+ /**
660
+ * Helper method to format dates with Luxon
661
+ * @param dateValue - The date value to format
662
+ * @param timezone - Optional timezone
663
+ * @param dateOnly - Whether to format as date only (without time)
664
+ * @returns Formatted date string
665
+ * @private
666
+ */
667
+ formatDateTime(dateValue, timezone, dateOnly = false) {
668
+ if (!dateValue) return "";
669
+ try {
670
+ let dateTime;
671
+ if (dateValue instanceof Date) {
672
+ dateTime = import_luxon.DateTime.fromJSDate(dateValue);
673
+ } else if (typeof dateValue === "string") {
674
+ dateTime = import_luxon.DateTime.fromISO(dateValue);
675
+ if (!dateValue.includes("T")) {
676
+ dateOnly = true;
677
+ }
678
+ } else {
679
+ dateTime = import_luxon.DateTime.fromISO(String(dateValue));
680
+ }
681
+ if (!dateTime.isValid) {
682
+ return String(dateValue);
683
+ }
684
+ if (timezone && !dateOnly) {
685
+ dateTime = dateTime.toUTC().setZone(timezone);
686
+ }
687
+ const formatOptions = dateOnly ? { year: "numeric", month: "2-digit", day: "2-digit" } : {
688
+ year: "numeric",
689
+ month: "numeric",
690
+ day: "numeric",
691
+ hour: "numeric",
692
+ minute: "numeric",
693
+ hour12: true,
694
+ timeZoneName: "short"
695
+ };
696
+ return dateTime.toLocaleString(formatOptions);
697
+ } catch {
698
+ return String(dateValue);
699
+ }
700
+ }
701
+ /**
702
+ * Renders the onset age in a human-readable format
703
+ * @param onsetAge - The onset age value, which can be a string, number, or an object with value and unit
704
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
705
+ */
706
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
707
+ renderOnset(onsetAge, timezone) {
708
+ if (!onsetAge) {
709
+ return "";
710
+ }
711
+ if (typeof onsetAge === "object" && "value" in onsetAge && "unit" in onsetAge) {
712
+ return `${onsetAge.value} ${onsetAge.unit}`;
713
+ }
714
+ return "";
715
+ }
716
+ /**
717
+ * Renders a period of time in a human-readable format
718
+ * @param effectivePeriod - The effective period object containing start and end dates
719
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
720
+ */
721
+ renderPeriod(effectivePeriod, timezone) {
722
+ if (!effectivePeriod || !effectivePeriod.start || !effectivePeriod.end) {
723
+ return "";
724
+ }
725
+ const start = this.renderTime(effectivePeriod.start, timezone);
726
+ const end = this.renderTime(effectivePeriod.end, timezone);
727
+ return `${start} - ${end}`;
728
+ }
729
+ /**
730
+ * Renders a reference to a FHIR resource
731
+ * @param itemReference - The reference object containing the resource type and ID
732
+ */
733
+ renderReference(itemReference) {
734
+ if (itemReference && itemReference.reference) {
735
+ const parts = itemReference.reference.split("/");
736
+ if (parts.length === 2) {
737
+ const resourceType = parts[0];
738
+ const resourceId = parts[1];
739
+ const resource = this.bundle.entry?.find((entry) => entry.resource?.resourceType === resourceType && entry.resource?.id === resourceId);
740
+ if (resource) {
741
+ return `${resourceType}/${resourceId}`;
742
+ }
743
+ }
744
+ }
745
+ }
746
+ /**
747
+ * Formats a range of values in a human-readable format
748
+ * @param valueRange - The range object containing low and high values
749
+ */
750
+ formatRange(valueRange) {
751
+ if (!valueRange || !valueRange.low || !valueRange.high) {
752
+ return "";
753
+ }
754
+ const low = valueRange.low.value !== void 0 ? valueRange.low.value.toString() : "";
755
+ const high = valueRange.high.value !== void 0 ? valueRange.high.value.toString() : "";
756
+ const lowUnit = valueRange.low.unit ? ` ${valueRange.low.unit}` : "";
757
+ const highUnit = valueRange.high.unit ? ` ${valueRange.high.unit}` : "";
758
+ return `${low}${lowUnit} - ${high}${highUnit}`;
759
+ }
760
+ /**
761
+ * Formats a ratio value in a human-readable format
762
+ * @param valueRatio - The ratio object containing numerator and denominator values
763
+ */
764
+ formatRatio(valueRatio) {
765
+ if (!valueRatio || !valueRatio.numerator || !valueRatio.denominator) {
766
+ return "";
767
+ }
768
+ const numerator = valueRatio.numerator.value !== void 0 ? valueRatio.numerator.value.toString() : "";
769
+ const denominator = valueRatio.denominator.value !== void 0 ? valueRatio.denominator.value.toString() : "";
770
+ const numeratorUnit = valueRatio.numerator.unit ? ` ${valueRatio.numerator.unit}` : "";
771
+ const denominatorUnit = valueRatio.denominator.unit ? ` ${valueRatio.denominator.unit}` : "";
772
+ return `${numerator}${numeratorUnit} / ${denominator}${denominatorUnit}`;
773
+ }
774
+ };
775
+
776
+ // src/narratives/templates/typescript/PatientTemplate.ts
777
+ var PatientTemplate = class _PatientTemplate {
778
+ /**
779
+ * Generate HTML narrative for Patient resource
780
+ * @param resource - FHIR Bundle containing Patient resource
781
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
782
+ * @returns HTML string for rendering
783
+ */
784
+ generateNarrative(resource, timezone) {
785
+ return _PatientTemplate.generateStaticNarrative(resource, timezone);
786
+ }
787
+ /**
788
+ * Internal static implementation that actually generates the narrative
789
+ * @param resource - FHIR Bundle containing Patient resource
790
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
791
+ * @returns HTML string for rendering
792
+ */
793
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
794
+ static generateStaticNarrative(resource, timezone) {
795
+ const templateUtilities = new TemplateUtilities(resource);
796
+ let html = "";
797
+ for (const entry of resource.entry || []) {
798
+ if (entry.resource?.resourceType === "Patient") {
799
+ const patient = entry.resource;
800
+ html += `
801
+ <div>
802
+ <h2>Patient Summary</h2>
803
+ <ul>
804
+ <li><strong>Name(s):</strong>${this.renderNames(patient)}</li>
805
+ <li><strong>Gender:</strong>${patient.gender ? this.capitalize(patient.gender) : ""}</li>
806
+ <li><strong>Date of Birth:</strong>${patient.birthDate || ""}</li>
807
+ <li><strong>Identifier(s):</strong>${this.renderIdentifiers(patient)}</li>
808
+ <li><strong>Telecom:</strong>${this.renderTelecom(patient)}</li>
809
+ <li><strong>Address(es):</strong>${this.renderAddresses(patient)}</li>
810
+ <li><strong>Marital Status:</strong> ${patient.maritalStatus?.text || ""}</li>
811
+ <li><strong>Deceased:</strong>${this.renderDeceased(patient)}</li>
812
+ <li><strong>Language(s):</strong>${this.renderCommunication(templateUtilities, patient)}</li>
813
+ </ul>
814
+ </div>`;
815
+ }
816
+ }
817
+ return html;
818
+ }
819
+ /**
820
+ * Renders patient names as HTML list items
821
+ * @param patient - Patient resource
822
+ * @returns HTML string of list items
823
+ */
824
+ static renderNames(patient) {
825
+ if (!patient.name || patient.name.length === 0) {
826
+ return "";
827
+ }
828
+ return patient.name.map((name) => {
829
+ const nameText = name.text || ((name.given || []).join(" ") + " " + (name.family || "")).trim();
830
+ return `<ul><li>${nameText}</li></ul>`;
831
+ }).join("");
832
+ }
833
+ /**
834
+ * Renders patient identifiers as HTML list items
835
+ * @param patient - Patient resource
836
+ * @returns HTML string of list items
837
+ */
838
+ static renderIdentifiers(patient) {
839
+ if (!patient.identifier || patient.identifier.length === 0) {
840
+ return "";
841
+ }
842
+ return patient.identifier.map((id) => {
843
+ const system = id.system || "";
844
+ const value = id.value || "";
845
+ return `<ul><li>${system}: ${value}</li></ul>`;
846
+ }).join("");
847
+ }
848
+ /**
849
+ * Renders patient telecom information as HTML list items
850
+ * @param patient - Patient resource
851
+ * @returns HTML string of list items
852
+ */
853
+ static renderTelecom(patient) {
854
+ if (!patient.telecom || patient.telecom.length === 0) {
855
+ return "";
856
+ }
857
+ return patient.telecom.map((telecom) => {
858
+ const system = telecom.system ? this.capitalize(telecom.system) : "";
859
+ const value = telecom.value || "";
860
+ const use = telecom.use ? ` (${telecom.use})` : "";
861
+ return `<ul><li>${system}: ${value}${use}</li></ul>`;
862
+ }).join("");
863
+ }
864
+ /**
865
+ * Renders patient addresses as HTML list items
866
+ * @param patient - Patient resource
867
+ * @returns HTML string of list items
868
+ */
869
+ static renderAddresses(patient) {
870
+ if (!patient.address || patient.address.length === 0) {
871
+ return "";
872
+ }
873
+ return patient.address.map((address) => {
874
+ const addressText = address.text || ((address.line || []).join(", ") + ", " + (address.city || "") + ", " + (address.country || "")).trim();
875
+ return `<ul><li>${addressText}</li></ul>`;
876
+ }).join("");
877
+ }
878
+ /**
879
+ * Renders patient deceased status
880
+ * @param patient - Patient resource
881
+ * @returns HTML string for deceased status
882
+ */
883
+ static renderDeceased(patient) {
884
+ if (patient.deceasedBoolean !== void 0) {
885
+ return patient.deceasedBoolean ? "Yes" : "No";
886
+ }
887
+ if (patient.deceasedDateTime) {
888
+ return patient.deceasedDateTime;
889
+ }
890
+ return "";
891
+ }
892
+ /**
893
+ * Renders patient communication preferences as HTML list items
894
+ * @param templateUtilities - Instance of TemplateUtilities for utility functions
895
+ * @param patient - Patient resource
896
+ * @returns HTML string of list items
897
+ */
898
+ static renderCommunication(templateUtilities, patient) {
899
+ if (!patient.communication || patient.communication.length === 0) {
900
+ return "";
901
+ }
902
+ return patient.communication.map((comm) => {
903
+ if (!comm.language) return "";
904
+ const language = templateUtilities.codeableConcept(comm.language);
905
+ const preferred = comm.preferred ? " (preferred)" : "";
906
+ return `<ul><li>${language}${preferred}</li></ul>`;
907
+ }).join("");
908
+ }
909
+ /**
910
+ * Capitalizes first letter of a string
911
+ * @param str - String to capitalize
912
+ * @returns Capitalized string
913
+ */
914
+ static capitalize(str) {
915
+ if (!str) return "";
916
+ return str.charAt(0).toUpperCase() + str.slice(1);
917
+ }
918
+ };
919
+
920
+ // src/narratives/templates/typescript/AllergyIntoleranceTemplate.ts
921
+ var AllergyIntoleranceTemplate = class _AllergyIntoleranceTemplate {
922
+ /**
923
+ * Generate HTML narrative for AllergyIntolerance resources
924
+ * @param resource - FHIR Bundle containing AllergyIntolerance resources
925
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
926
+ * @returns HTML string for rendering
927
+ */
928
+ generateNarrative(resource, timezone) {
929
+ return _AllergyIntoleranceTemplate.generateStaticNarrative(resource, timezone);
930
+ }
931
+ /**
932
+ * Internal static implementation that actually generates the narrative
933
+ * @param resource - FHIR Bundle containing AllergyIntolerance resources
934
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
935
+ * @returns HTML string for rendering
936
+ */
937
+ static generateStaticNarrative(resource, timezone) {
938
+ const templateUtilities = new TemplateUtilities(resource);
939
+ const activeAllergies = [];
940
+ const resolvedAllergies = [];
941
+ if (resource.entry && Array.isArray(resource.entry)) {
942
+ for (const entry of resource.entry) {
943
+ const allergy = entry.resource;
944
+ const status = allergy.clinicalStatus?.coding?.[0]?.code || "";
945
+ if (status === "inactive" || status === "resolved") {
946
+ resolvedAllergies.push(allergy);
947
+ } else {
948
+ activeAllergies.push(allergy);
949
+ }
950
+ }
951
+ }
952
+ let html = `<div xmlns="http://www.w3.org/1999/xhtml">`;
953
+ html += `
954
+ <div class="ActiveAllergies">
955
+ <h3>Active Allergies and Intolerances</h3>
956
+ <table class="ActiveAllergyTable">
957
+ <thead>
958
+ <tr>
959
+ <th>Allergen</th>
960
+ <th>Status</th>
961
+ <th>Category</th>
962
+ <th>Reaction</th>
963
+ <th>Severity</th>
964
+ <th>Onset Date</th>
965
+ <th>Comments</th>
966
+ </tr>
967
+ </thead>
968
+ <tbody>`;
969
+ if (activeAllergies.length > 0) {
970
+ html += this.generateAllergyRows(activeAllergies, templateUtilities, timezone);
971
+ } else {
972
+ html += `
973
+ <tr>
974
+ <td colspan="7">No active allergies recorded</td>
975
+ </tr>`;
976
+ }
977
+ html += `
978
+ </tbody>
979
+ </table>
980
+ </div>`;
981
+ html += `
982
+ <div class="ResolvedAllergies">
983
+ <h3>Resolved Allergies and Intolerances</h3>
984
+ <table class="ResolvedAllergyTable">
985
+ <thead>
986
+ <tr>
987
+ <th>Allergen</th>
988
+ <th>Status</th>
989
+ <th>Category</th>
990
+ <th>Reaction</th>
991
+ <th>Severity</th>
992
+ <th>Onset Date</th>
993
+ <th>Comments</th>
994
+ <th>Resolved Date</th>
995
+ </tr>
996
+ </thead>
997
+ <tbody>`;
998
+ if (resolvedAllergies.length > 0) {
999
+ html += this.generateAllergyRows(resolvedAllergies, templateUtilities, timezone, true);
1000
+ } else {
1001
+ html += `
1002
+ <tr>
1003
+ <td colspan="8">No resolved allergies recorded</td>
1004
+ </tr>`;
1005
+ }
1006
+ html += `
1007
+ </tbody>
1008
+ </table>
1009
+ </div>
1010
+ </div>`;
1011
+ return html;
1012
+ }
1013
+ /**
1014
+ * Helper method to generate HTML table rows for allergies
1015
+ * @param allergies - Array of allergy resources to process
1016
+ * @param templateUtilities - Utilities for formatting
1017
+ * @param includeResolved - Whether to include resolved date column
1018
+ * @param timezone - Optional timezone to use for date formatting
1019
+ * @returns HTML string with table rows
1020
+ */
1021
+ static generateAllergyRows(allergies, templateUtilities, timezone, includeResolved = false) {
1022
+ let html = "";
1023
+ for (const allergy of allergies) {
1024
+ html += `
1025
+ <tr id="${templateUtilities.narrativeLinkId(allergy.extension)}">
1026
+ <td class="Name"><span class="AllergenName">${templateUtilities.codeableConcept(allergy.code)}</span></td>
1027
+ <td class="Status">${templateUtilities.codeableConcept(allergy.clinicalStatus) || "-"}</td>
1028
+ <td class="Category">${templateUtilities.safeConcat(allergy.category, "value") || "-"}</td>
1029
+ <td class="Reaction">${templateUtilities.concatReactionManifestation(allergy.reaction) || "-"}</td>
1030
+ <td class="Severity">${templateUtilities.safeConcat(allergy.reaction, "severity") || "-"}</td>
1031
+ <td class="OnsetDate">${templateUtilities.renderTime(allergy.onsetDateTime, timezone) || "-"}</td>
1032
+ <td class="Comments">${templateUtilities.renderNotes(allergy.note, timezone, { styled: true, warning: true })}</td>`;
1033
+ if (includeResolved) {
1034
+ let endDate = "-";
1035
+ if (allergy.extension && Array.isArray(allergy.extension)) {
1036
+ const endDateExt = allergy.extension.find(
1037
+ (ext) => ext.url === "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionDate"
1038
+ );
1039
+ if (endDateExt && endDateExt.valueDateTime) {
1040
+ endDate = templateUtilities.renderDate(endDateExt.valueDateTime);
1041
+ }
1042
+ }
1043
+ html += `
1044
+ <td class="ResolvedDate">${endDate}</td>`;
1045
+ }
1046
+ html += `</tr>`;
1047
+ }
1048
+ return html;
1049
+ }
1050
+ };
1051
+
1052
+ // src/narratives/templates/typescript/MedicationSummaryTemplate.ts
1053
+ var MedicationSummaryTemplate = class _MedicationSummaryTemplate {
1054
+ /**
1055
+ * Generate HTML narrative for Medication resources
1056
+ * @param resource - FHIR Bundle containing Medication resources
1057
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1058
+ * @returns HTML string for rendering
1059
+ */
1060
+ generateNarrative(resource, timezone) {
1061
+ return _MedicationSummaryTemplate.generateStaticNarrative(resource, timezone);
1062
+ }
1063
+ /**
1064
+ * Internal static implementation that actually generates the narrative
1065
+ * @param resource - FHIR Bundle containing Medication resources
1066
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1067
+ * @returns HTML string for rendering
1068
+ */
1069
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1070
+ static generateStaticNarrative(resource, timezone) {
1071
+ const templateUtilities = new TemplateUtilities(resource);
1072
+ let html = "";
1073
+ const medicationRequests = this.getMedicationRequests(templateUtilities, resource);
1074
+ if (medicationRequests.length > 0) {
1075
+ html += this.renderMedicationRequests(templateUtilities, medicationRequests);
1076
+ }
1077
+ const medicationStatements = this.getMedicationStatements(templateUtilities, resource);
1078
+ if (medicationStatements.length > 0) {
1079
+ html += this.renderMedicationStatements(templateUtilities, medicationStatements);
1080
+ }
1081
+ return html;
1082
+ }
1083
+ /**
1084
+ * Extract MedicationRequest resources from the bundle
1085
+ * @param templateUtilities - Instance of TemplateUtilities for utility functions
1086
+ * @param resource - FHIR Bundle
1087
+ * @returns Array of MedicationRequest resources
1088
+ */
1089
+ static getMedicationRequests(templateUtilities, resource) {
1090
+ if (!resource.entry || !Array.isArray(resource.entry)) {
1091
+ return [];
1092
+ }
1093
+ return resource.entry.filter((entry) => entry.resource?.resourceType === "MedicationRequest").map((entry) => ({
1094
+ resource: entry.resource,
1095
+ extension: templateUtilities.narrativeLinkExtension(entry.resource)
1096
+ }));
1097
+ }
1098
+ /**
1099
+ * Extract MedicationStatement resources from the bundle
1100
+ * @param templateUtilities - Instance of TemplateUtilities for utility functions
1101
+ * @param resource - FHIR Bundle
1102
+ * @returns Array of MedicationStatement resources
1103
+ */
1104
+ static getMedicationStatements(templateUtilities, resource) {
1105
+ if (!resource.entry || !Array.isArray(resource.entry)) {
1106
+ return [];
1107
+ }
1108
+ return resource.entry.filter((entry) => entry.resource?.resourceType === "MedicationStatement").map((entry) => ({
1109
+ resource: entry.resource,
1110
+ extension: templateUtilities.narrativeLinkExtension(entry.resource)
1111
+ }));
1112
+ }
1113
+ /**
1114
+ * Render HTML table for MedicationRequest resources
1115
+ * @param templateUtilities - Instance of TemplateUtilities for utility functions
1116
+ * @param medications - Array of MedicationRequest resources
1117
+ * @returns HTML string for rendering
1118
+ */
1119
+ static renderMedicationRequests(templateUtilities, medications) {
1120
+ let html = `<div xmlns="http://www.w3.org/1999/xhtml">
1121
+ <table>
1122
+ <thead>
1123
+ <tr>
1124
+ <th>Medication</th>
1125
+ <th>Sig</th>
1126
+ <th>Dispense Quantity</th>
1127
+ <th>Refills</th>
1128
+ <th>Start Date</th>
1129
+ <th>End Date</th>
1130
+ <th>Status</th>
1131
+ </tr>
1132
+ </thead>
1133
+ <tbody>`;
1134
+ for (const { resource: mr, extension } of medications) {
1135
+ const narrativeLinkId = templateUtilities.narrativeLinkId(extension);
1136
+ const status = mr.status ? String(mr.status) : "-";
1137
+ const medication = templateUtilities.getMedicationName(
1138
+ mr.medicationReference || mr.medicationCodeableConcept
1139
+ );
1140
+ const sig = templateUtilities.concat(mr.dosageInstruction, "text") || "-";
1141
+ let dispenseQuantity = "-";
1142
+ if (mr.dispenseRequest?.quantity) {
1143
+ const quantity = mr.dispenseRequest.quantity;
1144
+ if (quantity.value) {
1145
+ dispenseQuantity = `${quantity.value} ${quantity.unit || quantity.code || ""}`.trim();
1146
+ }
1147
+ }
1148
+ const refills = mr.dispenseRequest?.numberOfRepeatsAllowed?.toString() || "-";
1149
+ let startDate = "-";
1150
+ let endDate = "-";
1151
+ if (mr.dispenseRequest?.validityPeriod) {
1152
+ startDate = mr.dispenseRequest.validityPeriod.start || "-";
1153
+ endDate = mr.dispenseRequest.validityPeriod.end || "-";
1154
+ } else {
1155
+ startDate = mr.authoredOn || "-";
1156
+ }
1157
+ html += `
1158
+ <tr${narrativeLinkId ? ` id="${narrativeLinkId}"` : ""}>
1159
+ <td>${medication}<ul></ul></td>
1160
+ <td>${sig}</td>
1161
+ <td>${dispenseQuantity}</td>
1162
+ <td>${refills}</td>
1163
+ <td>${startDate}</td>
1164
+ <td>${endDate}</td>
1165
+ <td>${status}</td>
1166
+ </tr>`;
1167
+ }
1168
+ html += `
1169
+ </tbody>
1170
+ </table></div>`;
1171
+ return html;
1172
+ }
1173
+ /**
1174
+ * Render HTML table for MedicationStatement resources
1175
+ * @param templateUtilities - Instance of TemplateUtilities for utility functions
1176
+ * @param medications - Array of MedicationStatement resources
1177
+ * @returns HTML string for rendering
1178
+ */
1179
+ static renderMedicationStatements(templateUtilities, medications) {
1180
+ let html = `<div xmlns="http://www.w3.org/1999/xhtml">
1181
+ <table>
1182
+ <thead>
1183
+ <tr>
1184
+ <th>Medication</th>
1185
+ <th>Sig</th>
1186
+ <th>Dispense Quantity</th>
1187
+ <th>Refills</th>
1188
+ <th>Start Date</th>
1189
+ <th>End Date</th>
1190
+ <th>Status</th>
1191
+ </tr>
1192
+ </thead>
1193
+ <tbody>`;
1194
+ for (const { resource: ms, extension } of medications) {
1195
+ const narrativeLinkId = templateUtilities.narrativeLinkId(extension);
1196
+ const status = ms.status ? String(ms.status) : "-";
1197
+ const medication = templateUtilities.getMedicationName(
1198
+ ms.medicationReference || ms.medicationCodeableConcept
1199
+ );
1200
+ const sig = templateUtilities.concat(ms.dosage, "text") || "-";
1201
+ const dispenseQuantity = "-";
1202
+ const refills = "-";
1203
+ let startDate = "-";
1204
+ let endDate = "-";
1205
+ if (ms.effectiveDateTime) {
1206
+ startDate = ms.effectiveDateTime;
1207
+ } else if (ms.effectivePeriod) {
1208
+ startDate = ms.effectivePeriod.start || "-";
1209
+ endDate = ms.effectivePeriod.end || "-";
1210
+ }
1211
+ html += `
1212
+ <tr${narrativeLinkId ? ` id="${narrativeLinkId}"` : ""}>
1213
+ <td>${medication}<ul></ul></td>
1214
+ <td>${sig}</td>
1215
+ <td>${dispenseQuantity}</td>
1216
+ <td>${refills}</td>
1217
+ <td>${startDate}</td>
1218
+ <td>${endDate}</td>
1219
+ <td>${status}</td>
1220
+ </tr>`;
1221
+ }
1222
+ html += `
1223
+ </tbody>
1224
+ </table></div>`;
1225
+ return html;
1226
+ }
1227
+ };
1228
+
1229
+ // src/narratives/templates/typescript/ImmunizationsTemplate.ts
1230
+ var ImmunizationsTemplate = class _ImmunizationsTemplate {
1231
+ /**
1232
+ * Generate HTML narrative for Immunization resources
1233
+ * @param resource - FHIR Bundle containing Immunization resources
1234
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1235
+ * @returns HTML string for rendering
1236
+ */
1237
+ generateNarrative(resource, timezone) {
1238
+ return _ImmunizationsTemplate.generateStaticNarrative(resource, timezone);
1239
+ }
1240
+ /**
1241
+ * Internal static implementation that actually generates the narrative
1242
+ * @param resource - FHIR Bundle containing Immunization resources
1243
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1244
+ * @returns HTML string for rendering
1245
+ */
1246
+ static generateStaticNarrative(resource, timezone) {
1247
+ const templateUtilities = new TemplateUtilities(resource);
1248
+ let html = `
1249
+ <h5>Immunizations</h5>
1250
+ <table class="hapiPropertyTable">
1251
+ <thead>
1252
+ <tr>
1253
+ <th>Immunization</th>
1254
+ <th>Status</th>
1255
+ <th>Dose Number</th>
1256
+ <th>Manufacturer</th>
1257
+ <th>Lot Number</th>
1258
+ <th>Comments</th>
1259
+ <th>Date</th>
1260
+ </tr>
1261
+ </thead>
1262
+ <tbody>`;
1263
+ if (resource.entry && Array.isArray(resource.entry)) {
1264
+ for (const entry of resource.entry) {
1265
+ if (entry.resource?.resourceType === "Immunization") {
1266
+ const imm = entry.resource;
1267
+ html += `
1268
+ <tr id="${templateUtilities.narrativeLinkId(imm)}">
1269
+ <td>${templateUtilities.codeableConcept(imm.vaccineCode)}</td>
1270
+ <td>${imm.status || ""}</td>
1271
+ <td>${templateUtilities.concatDoseNumber(imm.protocolApplied)}</td>
1272
+ <td>${templateUtilities.renderVaccineManufacturer(imm)}</td>
1273
+ <td>${imm.lotNumber || ""}</td>
1274
+ <td>${templateUtilities.renderNotes(imm.note, timezone)}</td>
1275
+ <td>${templateUtilities.renderTime(imm.occurrenceDateTime, timezone)}</td>
1276
+ </tr>`;
1277
+ }
1278
+ }
1279
+ }
1280
+ html += `
1281
+ </tbody>
1282
+ </table>`;
1283
+ return html;
1284
+ }
1285
+ };
1286
+
1287
+ // src/narratives/templates/typescript/ProblemListTemplate.ts
1288
+ var ProblemListTemplate = class _ProblemListTemplate {
1289
+ /**
1290
+ * Generate HTML narrative for Problem List
1291
+ * @param resource - FHIR Bundle containing Condition resources
1292
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1293
+ * @returns HTML string for rendering
1294
+ */
1295
+ generateNarrative(resource, timezone) {
1296
+ return _ProblemListTemplate.generateStaticNarrative(resource, timezone);
1297
+ }
1298
+ /**
1299
+ * Internal static implementation that actually generates the narrative
1300
+ * @param resource - FHIR Bundle containing Condition resources
1301
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1302
+ * @returns HTML string for rendering
1303
+ */
1304
+ static generateStaticNarrative(resource, timezone) {
1305
+ const templateUtilities = new TemplateUtilities(resource);
1306
+ let html = `<div xmlns="http://www.w3.org/1999/xhtml">`;
1307
+ const activeConditions = [];
1308
+ const resolvedConditions = [];
1309
+ if (resource.entry && Array.isArray(resource.entry)) {
1310
+ for (const entry of resource.entry) {
1311
+ const cond = entry.resource;
1312
+ if (cond.resourceType === "Composition") {
1313
+ continue;
1314
+ }
1315
+ const isResolved = cond.clinicalStatus?.coding?.some((c) => c.code === "resolved" || c.code === "inactive" || c.display?.toLowerCase().includes("resolved"));
1316
+ if (isResolved) {
1317
+ resolvedConditions.push(cond);
1318
+ } else {
1319
+ activeConditions.push(cond);
1320
+ }
1321
+ }
1322
+ }
1323
+ if (activeConditions.length > 0) {
1324
+ html += `<div class="ActiveProblems">
1325
+ <h3>Active Problems</h3>
1326
+ <table class="ActiveProblemTable">
1327
+ <thead>
1328
+ <tr>
1329
+ <th>Problem</th>
1330
+ <th>Priority</th>
1331
+ <th>Noted Date</th>
1332
+ <th>Diagnosed Date</th>
1333
+ <th>Notes</th>
1334
+ </tr>
1335
+ </thead>
1336
+ <tbody>`;
1337
+ for (const cond of activeConditions) {
1338
+ html += `<tr id="${templateUtilities.narrativeLinkId(cond)}">
1339
+ <td class="Name">${templateUtilities.codeableConcept(cond.code)}</td>
1340
+ <td class="Priority">${templateUtilities.codeableConcept(cond.severity)}</td>
1341
+ <td class="NotedDate">${templateUtilities.renderDate(cond.onsetDateTime)}</td>
1342
+ <td class="DiagnosedDate">${templateUtilities.renderDate(cond.recordedDate)}</td>
1343
+ <td class="Notes">${templateUtilities.renderNotes(cond.note, timezone, { styled: true, warning: true })}</td>
1344
+ </tr>`;
1345
+ }
1346
+ html += `</tbody>
1347
+ </table>
1348
+ </div>`;
1349
+ }
1350
+ if (activeConditions.length > 0 && resolvedConditions.length > 0) {
1351
+ html += `<br />`;
1352
+ }
1353
+ if (resolvedConditions.length > 0) {
1354
+ html += `<div class="ResolvedProblems">
1355
+ <h3>Resolved Problems</h3>
1356
+ <table class="ResolvedProblemTable">
1357
+ <thead>
1358
+ <tr>
1359
+ <th>Problem</th>
1360
+ <th>Priority</th>
1361
+ <th>Noted Date</th>
1362
+ <th>Diagnosed Date</th>
1363
+ <th>Resolved Date</th>
1364
+ <th>Notes</th>
1365
+ </tr>
1366
+ </thead>
1367
+ <tbody>`;
1368
+ for (const cond of resolvedConditions) {
1369
+ html += `<tr id="${templateUtilities.narrativeLinkId(cond)}">
1370
+ <td class="Name">${templateUtilities.codeableConcept(cond.code)}</td>
1371
+ <td class="Priority">${templateUtilities.codeableConcept(cond.severity)}</td>
1372
+ <td class="NotedDate">${templateUtilities.renderDate(cond.onsetDateTime)}</td>
1373
+ <td class="DiagnosedDate">${templateUtilities.renderDate(cond.recordedDate)}</td>
1374
+ <td class="ResolvedDate">${templateUtilities.renderDate(cond.abatementDateTime)}</td>
1375
+ <td class="Notes">${templateUtilities.renderNotes(cond.note, timezone, { styled: true, warning: true })}</td>
1376
+ </tr>`;
1377
+ }
1378
+ html += `</tbody>
1379
+ </table>
1380
+ </div>`;
1381
+ }
1382
+ html += `</div>`;
1383
+ return html;
1384
+ }
1385
+ };
1386
+
1387
+ // src/narratives/templates/typescript/VitalSignsTemplate.ts
1388
+ var VitalSignsTemplate = class _VitalSignsTemplate {
1389
+ /**
1390
+ * Generate HTML narrative for Vital Signs
1391
+ * @param resource - FHIR Bundle containing Observation resources
1392
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1393
+ * @returns HTML string for rendering
1394
+ */
1395
+ generateNarrative(resource, timezone) {
1396
+ return _VitalSignsTemplate.generateStaticNarrative(resource, timezone);
1397
+ }
1398
+ /**
1399
+ * Internal static implementation that actually generates the narrative
1400
+ * @param resource - FHIR Bundle containing Observation resources
1401
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1402
+ * @returns HTML string for rendering
1403
+ */
1404
+ static generateStaticNarrative(resource, timezone) {
1405
+ const templateUtilities = new TemplateUtilities(resource);
1406
+ let html = `
1407
+ <h5>Vital Signs</h5>
1408
+ <table class="hapiPropertyTable">
1409
+ <thead>
1410
+ <tr>
1411
+ <th>Code</th>
1412
+ <th>Result</th>
1413
+ <th>Unit</th>
1414
+ <th>Interpretation</th>
1415
+ <th>Component(s)</th>
1416
+ <th>Comments</th>
1417
+ <th>Date</th>
1418
+ </tr>
1419
+ </thead>
1420
+ <tbody>`;
1421
+ if (resource.entry && Array.isArray(resource.entry)) {
1422
+ for (const entry of resource.entry) {
1423
+ const obs = entry.resource;
1424
+ if (obs.resourceType === "Composition") {
1425
+ continue;
1426
+ }
1427
+ html += `
1428
+ <tr id="${templateUtilities.narrativeLinkId(obs)}">
1429
+ <td>${templateUtilities.codeableConcept(obs.code, "display")}</td>
1430
+ <td>${templateUtilities.extractObservationValue(obs)}</td>
1431
+ <td>${templateUtilities.extractObservationValueUnit(obs)}</td>
1432
+ <td>${templateUtilities.firstFromCodeableConceptList(obs.interpretation)}</td>
1433
+ <td>${templateUtilities.renderComponent(obs.component)}</td>
1434
+ <td>${templateUtilities.renderNotes(obs.note, timezone)}</td>
1435
+ <td>${templateUtilities.renderEffective(obs.effectiveDateTime, timezone)}</td>
1436
+ </tr>`;
1437
+ }
1438
+ }
1439
+ html += `
1440
+ </tbody>
1441
+ </table>`;
1442
+ return html;
1443
+ }
1444
+ };
1445
+
1446
+ // src/narratives/templates/typescript/MedicalDevicesTemplate.ts
1447
+ var MedicalDevicesTemplate = class _MedicalDevicesTemplate {
1448
+ /**
1449
+ * Generate HTML narrative for Medical Device resources
1450
+ * @param resource - FHIR Bundle containing Device resources
1451
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1452
+ * @returns HTML string for rendering
1453
+ */
1454
+ generateNarrative(resource, timezone) {
1455
+ return _MedicalDevicesTemplate.generateStaticNarrative(resource, timezone);
1456
+ }
1457
+ /**
1458
+ * Internal static implementation that actually generates the narrative
1459
+ * @param resource - FHIR Bundle containing Device resources
1460
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1461
+ * @returns HTML string for rendering
1462
+ */
1463
+ static generateStaticNarrative(resource, timezone) {
1464
+ const templateUtilities = new TemplateUtilities(resource);
1465
+ let html = `
1466
+ <h5>Medical Devices</h5>
1467
+ <table class="hapiPropertyTable">
1468
+ <thead>
1469
+ <tr>
1470
+ <th>Device</th>
1471
+ <th>Status</th>
1472
+ <th>Comments</th>
1473
+ <th>Date Recorded</th>
1474
+ </tr>
1475
+ </thead>
1476
+ <tbody>`;
1477
+ if (resource.entry && Array.isArray(resource.entry)) {
1478
+ for (const entry of resource.entry) {
1479
+ if (entry.resource?.resourceType === "DeviceUseStatement") {
1480
+ const dus = entry.resource;
1481
+ html += `
1482
+ <tr id="${templateUtilities.narrativeLinkId(dus)}">
1483
+ <td>${templateUtilities.renderDevice(dus.device)}</td>
1484
+ <td>${dus.status || ""}</td>
1485
+ <td>${templateUtilities.renderNotes(dus.note, timezone)}</td>
1486
+ <td>${templateUtilities.renderRecorded(dus.recordedOn, timezone)}</td>
1487
+ </tr>`;
1488
+ }
1489
+ }
1490
+ }
1491
+ html += `
1492
+ </tbody>
1493
+ </table>`;
1494
+ return html;
1495
+ }
1496
+ };
1497
+
1498
+ // src/narratives/templates/typescript/DiagnosticResultsTemplate.ts
1499
+ var DiagnosticResultsTemplate = class _DiagnosticResultsTemplate {
1500
+ /**
1501
+ * Generate HTML narrative for Diagnostic Results
1502
+ * @param resource - FHIR Bundle containing Observation and DiagnosticReport resources
1503
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1504
+ * @returns HTML string for rendering
1505
+ */
1506
+ generateNarrative(resource, timezone) {
1507
+ return _DiagnosticResultsTemplate.generateStaticNarrative(resource, timezone);
1508
+ }
1509
+ /**
1510
+ * Internal static implementation that actually generates the narrative
1511
+ * @param resource - FHIR Bundle containing Observation and DiagnosticReport resources
1512
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1513
+ * @returns HTML string for rendering
1514
+ */
1515
+ static generateStaticNarrative(resource, timezone) {
1516
+ const templateUtilities = new TemplateUtilities(resource);
1517
+ let html = "";
1518
+ const observations = this.getObservations(resource);
1519
+ if (observations.length > 0) {
1520
+ html += this.renderObservations(templateUtilities, observations, timezone);
1521
+ }
1522
+ const diagnosticReports = this.getDiagnosticReports(resource);
1523
+ if (diagnosticReports.length > 0) {
1524
+ html += this.renderDiagnosticReports(templateUtilities, diagnosticReports, timezone);
1525
+ }
1526
+ return html;
1527
+ }
1528
+ /**
1529
+ * Extract Observation resources from the bundle
1530
+ * @param resource - FHIR Bundle
1531
+ * @returns Array of Observation resources
1532
+ */
1533
+ static getObservations(resource) {
1534
+ if (!resource.entry || !Array.isArray(resource.entry)) {
1535
+ return [];
1536
+ }
1537
+ return resource.entry.filter((entry) => entry.resource?.resourceType === "Observation").map((entry) => entry.resource);
1538
+ }
1539
+ /**
1540
+ * Extract DiagnosticReport resources from the bundle
1541
+ * @param resource - FHIR Bundle
1542
+ * @returns Array of DiagnosticReport resources
1543
+ */
1544
+ static getDiagnosticReports(resource) {
1545
+ if (!resource.entry || !Array.isArray(resource.entry)) {
1546
+ return [];
1547
+ }
1548
+ return resource.entry.filter((entry) => entry.resource?.resourceType === "DiagnosticReport").map((entry) => entry.resource);
1549
+ }
1550
+ /**
1551
+ * Render HTML table for Observation resources
1552
+ * @param templateUtilities - Instance of TemplateUtilities for utility functions
1553
+ * @param observations - Array of Observation resources
1554
+ * @param timezone - Optional timezone to use for date formatting
1555
+ * @returns HTML string for rendering
1556
+ */
1557
+ static renderObservations(templateUtilities, observations, timezone) {
1558
+ let html = `
1559
+ <h5>Diagnostic Results: Observations</h5>
1560
+ <table class="hapiPropertyTable">
1561
+ <thead>
1562
+ <tr>
1563
+ <th>Code</th>
1564
+ <th>Result</th>
1565
+ <th>Unit</th>
1566
+ <th>Interpretation</th>
1567
+ <th>Reference Range</th>
1568
+ <th>Comments</th>
1569
+ <th>Date</th>
1570
+ </tr>
1571
+ </thead>
1572
+ <tbody>`;
1573
+ for (const obs of observations) {
1574
+ html += `
1575
+ <tr id="${templateUtilities.narrativeLinkId(obs)}">
1576
+ <td>${templateUtilities.codeableConcept(obs.code)}</td>
1577
+ <td>${templateUtilities.extractObservationValue(obs)}</td>
1578
+ <td>${templateUtilities.extractObservationValueUnit(obs)}</td>
1579
+ <td>${templateUtilities.firstFromCodeableConceptList(obs.interpretation)}</td>
1580
+ <td>${templateUtilities.concatReferenceRange(obs.referenceRange)}</td>
1581
+ <td>${templateUtilities.renderNotes(obs.note, timezone)}</td>
1582
+ <td>${templateUtilities.renderTime(obs.effectiveDateTime, timezone)}</td>
1583
+ </tr>`;
1584
+ }
1585
+ html += `
1586
+ </tbody>
1587
+ </table>`;
1588
+ return html;
1589
+ }
1590
+ /**
1591
+ * Render HTML table for DiagnosticReport resources
1592
+ * @param templateUtilities - Instance of TemplateUtilities for utility functions
1593
+ * @param reports - Array of DiagnosticReport resources
1594
+ * @param timezone - Optional timezone to use for date formatting
1595
+ * @returns HTML string for rendering
1596
+ */
1597
+ static renderDiagnosticReports(templateUtilities, reports, timezone) {
1598
+ let html = `
1599
+ <h5>Diagnostic Results: Reports</h5>
1600
+ <table class="hapiPropertyTable">
1601
+ <thead>
1602
+ <tr>
1603
+ <th>Report</th>
1604
+ <th>Status</th>
1605
+ <th>Category</th>
1606
+ <th>Result</th>
1607
+ <th>Issued</th>
1608
+ </tr>
1609
+ </thead>
1610
+ <tbody>`;
1611
+ for (const report of reports) {
1612
+ let resultCount = "";
1613
+ if (report.result && Array.isArray(report.result)) {
1614
+ resultCount = `${report.result.length} result${report.result.length !== 1 ? "s" : ""}`;
1615
+ }
1616
+ html += `
1617
+ <tr id="${templateUtilities.narrativeLinkId(report)}">
1618
+ <td>${templateUtilities.codeableConcept(report.code)}</td>
1619
+ <td>${report.status || ""}</td>
1620
+ <td>${templateUtilities.firstFromCodeableConceptList(report.category)}</td>
1621
+ <td>${resultCount}</td>
1622
+ <td>${report.issued ? templateUtilities.renderTime(report.issued, timezone) : ""}</td>
1623
+ </tr>`;
1624
+ }
1625
+ html += `
1626
+ </tbody>
1627
+ </table>`;
1628
+ return html;
1629
+ }
1630
+ };
1631
+
1632
+ // src/narratives/templates/typescript/HistoryOfProceduresTemplate.ts
1633
+ var HistoryOfProceduresTemplate = class _HistoryOfProceduresTemplate {
1634
+ /**
1635
+ * Generate HTML narrative for Procedure resources
1636
+ * @param resource - FHIR Bundle containing Procedure resources
1637
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1638
+ * @returns HTML string for rendering
1639
+ */
1640
+ generateNarrative(resource, timezone) {
1641
+ return _HistoryOfProceduresTemplate.generateStaticNarrative(resource, timezone);
1642
+ }
1643
+ /**
1644
+ * Internal static implementation that actually generates the narrative
1645
+ * @param resource - FHIR Bundle containing Procedure resources
1646
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1647
+ * @returns HTML string for rendering
1648
+ */
1649
+ static generateStaticNarrative(resource, timezone) {
1650
+ const templateUtilities = new TemplateUtilities(resource);
1651
+ let html = `
1652
+ <h5>History Of Procedures</h5>
1653
+ <table class="hapiPropertyTable">
1654
+ <thead>
1655
+ <tr>
1656
+ <th>Procedure</th>
1657
+ <th>Comments</th>
1658
+ <th>Date</th>
1659
+ </tr>
1660
+ </thead>
1661
+ <tbody>`;
1662
+ if (resource.entry && Array.isArray(resource.entry)) {
1663
+ for (const entry of resource.entry) {
1664
+ const proc = entry.resource;
1665
+ if (proc.resourceType === "Composition") {
1666
+ continue;
1667
+ }
1668
+ html += `
1669
+ <tr id="${templateUtilities.narrativeLinkId(proc)}">
1670
+ <td>${templateUtilities.codeableConcept(proc.code, "display")}</td>
1671
+ <td>${templateUtilities.renderNotes(proc.note, timezone)}</td>
1672
+ <td>${templateUtilities.renderTime(proc.performedDateTime, timezone)}</td>
1673
+ </tr>`;
1674
+ }
1675
+ }
1676
+ html += `
1677
+ </tbody>
1678
+ </table>`;
1679
+ return html;
1680
+ }
1681
+ };
1682
+
1683
+ // src/narratives/templates/typescript/SocialHistoryTemplate.ts
1684
+ var SocialHistoryTemplate = class _SocialHistoryTemplate {
1685
+ /**
1686
+ * Generate HTML narrative for Social History
1687
+ * @param resource - FHIR Bundle containing Observation resources
1688
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1689
+ * @returns HTML string for rendering
1690
+ */
1691
+ generateNarrative(resource, timezone) {
1692
+ return _SocialHistoryTemplate.generateStaticNarrative(resource, timezone);
1693
+ }
1694
+ /**
1695
+ * Internal static implementation that actually generates the narrative
1696
+ * @param resource - FHIR Bundle containing Observation resources
1697
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1698
+ * @returns HTML string for rendering
1699
+ */
1700
+ static generateStaticNarrative(resource, timezone) {
1701
+ const templateUtilities = new TemplateUtilities(resource);
1702
+ let html = `
1703
+ <h5>Social History</h5>
1704
+ <table class="hapiPropertyTable">
1705
+ <thead>
1706
+ <tr>
1707
+ <th>Code</th>
1708
+ <th>Result</th>
1709
+ <th>Unit</th>
1710
+ <th>Comments</th>
1711
+ <th>Date</th>
1712
+ </tr>
1713
+ </thead>
1714
+ <tbody>`;
1715
+ if (resource.entry && Array.isArray(resource.entry)) {
1716
+ for (const entry of resource.entry) {
1717
+ const obs = entry.resource;
1718
+ if (obs.resourceType === "Composition") {
1719
+ continue;
1720
+ }
1721
+ html += `
1722
+ <tr id="${templateUtilities.narrativeLinkId(obs)}">
1723
+ <td>${templateUtilities.codeableConcept(obs.code, "display")}</td>
1724
+ <td>${templateUtilities.extractObservationValue(obs)}</td>
1725
+ <td>${templateUtilities.extractObservationValueUnit(obs)}</td>
1726
+ <td>${templateUtilities.renderNotes(obs.note, timezone)}</td>
1727
+ <td>${templateUtilities.renderTime(obs.effectiveDateTime, timezone)}</td>
1728
+ </tr>`;
1729
+ }
1730
+ }
1731
+ html += `
1732
+ </tbody>
1733
+ </table>`;
1734
+ return html;
1735
+ }
1736
+ };
1737
+
1738
+ // src/narratives/templates/typescript/PastHistoryOfIllnessTemplate.ts
1739
+ var PastHistoryOfIllnessTemplate = class {
1740
+ /**
1741
+ * Generate HTML narrative for Past History of Illnesses
1742
+ * @param resource - FHIR Bundle containing Condition resources
1743
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1744
+ * @returns HTML string for rendering
1745
+ */
1746
+ generateNarrative(resource, timezone) {
1747
+ const templateUtilities = new TemplateUtilities(resource);
1748
+ let html = `
1749
+ <h5>Past History of Illnesses</h5>
1750
+ <table class="hapiPropertyTable">
1751
+ <thead>
1752
+ <tr>
1753
+ <th>Medical Problems</th>
1754
+ <th>Status</th>
1755
+ <th>Comments</th>
1756
+ <th>Date</th>
1757
+ </tr>
1758
+ </thead>
1759
+ <tbody>`;
1760
+ if (resource.entry && Array.isArray(resource.entry)) {
1761
+ for (const entry of resource.entry) {
1762
+ const cond = entry.resource;
1763
+ if (cond.resourceType === "Composition") {
1764
+ continue;
1765
+ }
1766
+ html += `
1767
+ <tr id="${templateUtilities.narrativeLinkId(cond)}">
1768
+ <td>${templateUtilities.codeableConcept(cond.code, "display")}</td>
1769
+ <td>${templateUtilities.codeableConcept(cond.clinicalStatus, "code")}</td>
1770
+ <td>${templateUtilities.renderNotes(cond.note, timezone)}</td>
1771
+ <td>${templateUtilities.renderTime(cond.onsetDateTime, timezone)}</td>
1772
+ </tr>`;
1773
+ }
1774
+ }
1775
+ html += `
1776
+ </tbody>
1777
+ </table>`;
1778
+ return html;
1779
+ }
1780
+ };
1781
+
1782
+ // src/narratives/templates/typescript/PlanOfCareTemplate.ts
1783
+ var PlanOfCareTemplate = class {
1784
+ /**
1785
+ * Generate HTML narrative for Plan of Care
1786
+ * @param resource - FHIR Bundle containing CarePlan resources
1787
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1788
+ * @returns HTML string for rendering
1789
+ */
1790
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1791
+ generateNarrative(resource, timezone) {
1792
+ const templateUtilities = new TemplateUtilities(resource);
1793
+ let html = `
1794
+ <h5>Plan of Care</h5>
1795
+ <table class="hapiPropertyTable">
1796
+ <thead>
1797
+ <tr>
1798
+ <th>Activity</th>
1799
+ <th>Intent</th>
1800
+ <th>Comments</th>
1801
+ <th>Planned Start</th>
1802
+ <th>Planned End</th>
1803
+ </tr>
1804
+ </thead>
1805
+ <tbody>`;
1806
+ if (resource.entry && Array.isArray(resource.entry)) {
1807
+ for (const entry of resource.entry) {
1808
+ const cp = entry.resource;
1809
+ if (cp.resourceType === "Composition") {
1810
+ continue;
1811
+ }
1812
+ html += `
1813
+ <tr id="${templateUtilities.narrativeLinkId(cp)}">
1814
+ <td>${cp.description || ""}</td>
1815
+ <td>${cp.intent || cp.intent || ""}</td>
1816
+ <td>${templateUtilities.concat(cp.note, "text")}</td>
1817
+ <td>${cp.period?.start || ""}</td>
1818
+ <td>${cp.period?.end || ""}</td>
1819
+ </tr>`;
1820
+ }
1821
+ }
1822
+ html += `
1823
+ </tbody>
1824
+ </table>`;
1825
+ return html;
1826
+ }
1827
+ };
1828
+
1829
+ // src/narratives/templates/typescript/FunctionalStatusTemplate.ts
1830
+ var FunctionalStatusTemplate = class _FunctionalStatusTemplate {
1831
+ /**
1832
+ * Generate HTML narrative for Functional Status
1833
+ * @param resource - FHIR Bundle containing Observation resources
1834
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1835
+ * @returns HTML string for rendering
1836
+ */
1837
+ generateNarrative(resource, timezone) {
1838
+ return _FunctionalStatusTemplate.generateStaticNarrative(resource, timezone);
1839
+ }
1840
+ /**
1841
+ * Internal static implementation that actually generates the narrative
1842
+ * @param resource - FHIR Bundle containing Observation resources
1843
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1844
+ * @returns HTML string for rendering
1845
+ */
1846
+ static generateStaticNarrative(resource, timezone) {
1847
+ const templateUtilities = new TemplateUtilities(resource);
1848
+ let html = `
1849
+ <h5>Functional Status</h5>
1850
+ <table class="hapiPropertyTable">
1851
+ <thead>
1852
+ <tr>
1853
+ <th>Assessment</th>
1854
+ <th>Status</th>
1855
+ <th>Finding</th>
1856
+ <th>Comments</th>
1857
+ <th>Date</th>
1858
+ </tr>
1859
+ </thead>
1860
+ <tbody>`;
1861
+ if (resource.entry && Array.isArray(resource.entry)) {
1862
+ for (const entry of resource.entry) {
1863
+ const ci = entry.resource;
1864
+ if (ci.resourceType === "Composition") {
1865
+ continue;
1866
+ }
1867
+ html += `
1868
+ <tr id="${templateUtilities.narrativeLinkId(ci)}">
1869
+ <td>${templateUtilities.codeableConcept(ci.code, "display")}</td>
1870
+ <td>${ci.status || ""}</td>
1871
+ <td>${ci.summary || ""}</td>
1872
+ <td>${templateUtilities.renderNotes(ci.note, timezone)}</td>
1873
+ <td>${templateUtilities.renderEffective(ci.effectiveDateTime, timezone)}</td>
1874
+ </tr>`;
1875
+ }
1876
+ }
1877
+ html += `
1878
+ </tbody>
1879
+ </table>`;
1880
+ return html;
1881
+ }
1882
+ };
1883
+
1884
+ // src/narratives/templates/typescript/PregnancyTemplate.ts
1885
+ var PregnancyTemplate = class _PregnancyTemplate {
1886
+ /**
1887
+ * Generate HTML narrative for Pregnancy
1888
+ * @param resource - FHIR Bundle containing Observation resources
1889
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1890
+ * @returns HTML string for rendering
1891
+ */
1892
+ generateNarrative(resource, timezone) {
1893
+ return _PregnancyTemplate.generateStaticNarrative(resource, timezone);
1894
+ }
1895
+ /**
1896
+ * Internal static implementation that actually generates the narrative
1897
+ * @param resource - FHIR Bundle containing Observation resources
1898
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1899
+ * @returns HTML string for rendering
1900
+ */
1901
+ static generateStaticNarrative(resource, timezone) {
1902
+ const templateUtilities = new TemplateUtilities(resource);
1903
+ let html = `
1904
+ <h5>Pregnancy</h5>
1905
+ <table class="hapiPropertyTable">
1906
+ <thead>
1907
+ <tr>
1908
+ <th>Code</th>
1909
+ <th>Result</th>
1910
+ <th>Comments</th>
1911
+ <th>Date</th>
1912
+ </tr>
1913
+ </thead>
1914
+ <tbody>`;
1915
+ if (resource.entry && Array.isArray(resource.entry)) {
1916
+ for (const entry of resource.entry) {
1917
+ const obs = entry.resource;
1918
+ if (obs.resourceType === "Composition") {
1919
+ continue;
1920
+ }
1921
+ html += `
1922
+ <tr id="${templateUtilities.narrativeLinkId(obs)}">
1923
+ <td>${templateUtilities.codeableConcept(obs.code, "display")}</td>
1924
+ <td>${templateUtilities.extractObservationValue(obs)}</td>
1925
+ <td>${templateUtilities.renderNotes(obs.note, timezone)}</td>
1926
+ <td>${templateUtilities.renderEffective(obs.effectiveDateTime, timezone)}</td>
1927
+ </tr>`;
1928
+ }
1929
+ }
1930
+ html += `
1931
+ </tbody>
1932
+ </table>`;
1933
+ return html;
1934
+ }
1935
+ };
1936
+
1937
+ // src/narratives/templates/typescript/AdvanceDirectivesTemplate.ts
1938
+ var AdvanceDirectivesTemplate = class _AdvanceDirectivesTemplate {
1939
+ /**
1940
+ * Generate HTML narrative for Advance Directives
1941
+ * @param resource - FHIR Bundle containing Advance Directive resources
1942
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1943
+ * @returns HTML string for rendering
1944
+ */
1945
+ generateNarrative(resource, timezone) {
1946
+ return _AdvanceDirectivesTemplate.generateStaticNarrative(resource, timezone);
1947
+ }
1948
+ /**
1949
+ * Internal static implementation that actually generates the narrative
1950
+ * @param resource - FHIR Bundle containing Advance Directive resources
1951
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1952
+ * @returns HTML string for rendering
1953
+ */
1954
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1955
+ static generateStaticNarrative(resource, timezone) {
1956
+ const templateUtilities = new TemplateUtilities(resource);
1957
+ let html = `
1958
+ <h5>Advance Directives</h5>
1959
+ <table class="hapiPropertyTable">
1960
+ <thead>
1961
+ <tr>
1962
+ <th>Scope</th>
1963
+ <th>Status</th>
1964
+ <th>Action Controlled</th>
1965
+ <th>Date</th>
1966
+ </tr>
1967
+ </thead>
1968
+ <tbody>`;
1969
+ if (resource.entry && Array.isArray(resource.entry)) {
1970
+ for (const entry of resource.entry) {
1971
+ const consent = entry.resource;
1972
+ if (consent.resourceType === "Composition") {
1973
+ continue;
1974
+ }
1975
+ html += `
1976
+ <tr id="${templateUtilities.narrativeLinkId(consent)}">
1977
+ <td>${templateUtilities.codeableConcept(consent.scope, "display")}</td>
1978
+ <td>${consent.status || ""}</td>
1979
+ <td>${consent.provision?.action ? templateUtilities.concatCodeableConcept(consent.provision.action) : ""}</td>
1980
+ <td>${consent.dateTime || ""}</td>
1981
+ </tr>`;
1982
+ }
1983
+ }
1984
+ html += `
1985
+ </tbody>
1986
+ </table>`;
1987
+ return html;
1988
+ }
1989
+ };
1990
+
1991
+ // src/narratives/templates/typescript/FamilyHistoryTemplate.ts
1992
+ var FamilyHistoryTemplate = class {
1993
+ /**
1994
+ * Generate HTML narrative for Family History
1995
+ * @param resource - FHIR Bundle containing FamilyMemberHistory resources
1996
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
1997
+ * @returns HTML string for rendering
1998
+ */
1999
+ generateNarrative(resource, timezone) {
2000
+ const templateUtilities = new TemplateUtilities(resource);
2001
+ let html = `
2002
+ <h5>Family History</h5>
2003
+ <table class="hapiPropertyTable">
2004
+ <thead>
2005
+ <tr>
2006
+ <th>Relationship</th>
2007
+ <th>Condition</th>
2008
+ <th>Status</th>
2009
+ <th>Onset</th>
2010
+ <th>Notes</th>
2011
+ </tr>
2012
+ </thead>
2013
+ <tbody>`;
2014
+ if (resource.entry && Array.isArray(resource.entry)) {
2015
+ let hasFamilyHistory = false;
2016
+ for (const entry of resource.entry) {
2017
+ const familyHistory = entry.resource;
2018
+ if (!familyHistory || familyHistory.resourceType !== "FamilyMemberHistory") {
2019
+ continue;
2020
+ }
2021
+ hasFamilyHistory = true;
2022
+ const fmh = familyHistory;
2023
+ const relationship = templateUtilities.codeableConcept(fmh.relationship, "display");
2024
+ if (fmh.condition && Array.isArray(fmh.condition)) {
2025
+ for (const condition of fmh.condition) {
2026
+ const conditionCode = templateUtilities.codeableConcept(condition.code, "display");
2027
+ const status = fmh.status || "";
2028
+ let onset = "";
2029
+ if (condition.onsetAge) {
2030
+ onset = templateUtilities.renderOnset(condition.onsetAge, timezone);
2031
+ }
2032
+ const notes = condition.note ? templateUtilities.renderNotes(condition.note, timezone) : templateUtilities.renderNotes(fmh.note, timezone);
2033
+ html += `
2034
+ <tr id="${templateUtilities.narrativeLinkId(fmh)}">
2035
+ <td>${relationship}</td>
2036
+ <td>${conditionCode}</td>
2037
+ <td>${status}</td>
2038
+ <td>${onset}</td>
2039
+ <td>${notes}</td>
2040
+ </tr>`;
2041
+ }
2042
+ } else {
2043
+ html += `
2044
+ <tr id="${templateUtilities.narrativeLinkId(fmh)}">
2045
+ <td>${relationship}</td>
2046
+ <td>Not specified</td>
2047
+ <td>${fmh.status || ""}</td>
2048
+ <td></td>
2049
+ <td>${templateUtilities.renderNotes(fmh.note, timezone)}</td>
2050
+ </tr>`;
2051
+ }
2052
+ }
2053
+ if (!hasFamilyHistory) {
2054
+ html += `
2055
+ <tr>
2056
+ <td colspan="5">No family history recorded</td>
2057
+ </tr>`;
2058
+ }
2059
+ } else {
2060
+ html += `
2061
+ <tr>
2062
+ <td colspan="5">No family history recorded</td>
2063
+ </tr>`;
2064
+ }
2065
+ html += `
2066
+ </tbody>
2067
+ </table>`;
2068
+ return html;
2069
+ }
2070
+ };
2071
+
2072
+ // src/narratives/templates/typescript/ClinicalImpressionTemplate.ts
2073
+ var ClinicalImpressionTemplate = class {
2074
+ /**
2075
+ * Generate HTML narrative for Clinical Impressions
2076
+ * @param resource - FHIR Bundle containing ClinicalImpression resources
2077
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
2078
+ * @returns HTML string for rendering
2079
+ */
2080
+ generateNarrative(resource, timezone) {
2081
+ const templateUtilities = new TemplateUtilities(resource);
2082
+ let html = `
2083
+ <h5>Clinical Impressions</h5>
2084
+ <table class="hapiPropertyTable">
2085
+ <thead>
2086
+ <tr>
2087
+ <th>Date</th>
2088
+ <th>Status</th>
2089
+ <th>Description</th>
2090
+ <th>Summary</th>
2091
+ <th>Findings</th>
2092
+ <th>Notes</th>
2093
+ </tr>
2094
+ </thead>
2095
+ <tbody>`;
2096
+ if (resource.entry && Array.isArray(resource.entry)) {
2097
+ let hasClinicalImpressions = false;
2098
+ for (const entry of resource.entry) {
2099
+ const res = entry.resource;
2100
+ if (!res || res.resourceType !== "ClinicalImpression") {
2101
+ continue;
2102
+ }
2103
+ hasClinicalImpressions = true;
2104
+ const impression = res;
2105
+ let formattedDate = "";
2106
+ if (impression.effectiveDateTime) {
2107
+ formattedDate = templateUtilities.renderTime(impression.effectiveDateTime, timezone);
2108
+ } else if (impression.effectivePeriod) {
2109
+ formattedDate = templateUtilities.renderPeriod(impression.effectivePeriod, timezone);
2110
+ } else if (impression.date) {
2111
+ formattedDate = templateUtilities.renderDate(impression.date);
2112
+ }
2113
+ const status = impression.status || "";
2114
+ const description = impression.description || "";
2115
+ const summary = impression.summary || "";
2116
+ let findingsHtml = "";
2117
+ if (impression.finding && impression.finding.length > 0) {
2118
+ findingsHtml = "<ul>";
2119
+ for (const finding of impression.finding) {
2120
+ const findingText = finding.itemCodeableConcept ? templateUtilities.codeableConcept(finding.itemCodeableConcept, "display") : finding.itemReference ? templateUtilities.renderReference(finding.itemReference) : "";
2121
+ const cause = finding.basis || "";
2122
+ findingsHtml += `<li>${findingText}${cause ? ` - ${cause}` : ""}</li>`;
2123
+ }
2124
+ findingsHtml += "</ul>";
2125
+ }
2126
+ const notes = templateUtilities.renderNotes(impression.note, timezone);
2127
+ html += `
2128
+ <tr id="${templateUtilities.narrativeLinkId(impression)}">
2129
+ <td>${formattedDate}</td>
2130
+ <td>${status}</td>
2131
+ <td>${description}</td>
2132
+ <td>${summary}</td>
2133
+ <td>${findingsHtml}</td>
2134
+ <td>${notes}</td>
2135
+ </tr>`;
2136
+ }
2137
+ if (!hasClinicalImpressions) {
2138
+ html += `
2139
+ <tr>
2140
+ <td colspan="6">No clinical impressions recorded</td>
2141
+ </tr>`;
2142
+ }
2143
+ } else {
2144
+ html += `
2145
+ <tr>
2146
+ <td colspan="6">No clinical impressions recorded</td>
2147
+ </tr>`;
2148
+ }
2149
+ html += `
2150
+ </tbody>
2151
+ </table>`;
2152
+ return html;
2153
+ }
2154
+ };
2155
+
2156
+ // src/narratives/templates/typescript/TypeScriptTemplateMapper.ts
2157
+ var TypeScriptTemplateMapper = class {
2158
+ /**
2159
+ * Generates HTML narrative for a specific IPS section
2160
+ * @param section - The IPS section
2161
+ * @param resource - FHIR Bundle containing resources
2162
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
2163
+ * @returns HTML string for rendering
2164
+ */
2165
+ static generateNarrative(section, resource, timezone) {
2166
+ const templateClass = this.sectionToTemplate[section];
2167
+ if (!templateClass) {
2168
+ throw new Error(`No template found for section: ${section}`);
2169
+ }
2170
+ return templateClass.generateNarrative(resource, timezone);
2171
+ }
2172
+ };
2173
+ // Map of section types to their template classes
2174
+ // Each template either needs to be instantiated or has a static generateNarrative method
2175
+ TypeScriptTemplateMapper.sectionToTemplate = {
2176
+ ["Patient" /* PATIENT */]: new PatientTemplate(),
2177
+ ["AllergyIntoleranceSection" /* ALLERGIES */]: new AllergyIntoleranceTemplate(),
2178
+ ["MedicationSection" /* MEDICATIONS */]: new MedicationSummaryTemplate(),
2179
+ ["ImmunizationSection" /* IMMUNIZATIONS */]: new ImmunizationsTemplate(),
2180
+ ["ProblemSection" /* PROBLEMS */]: new ProblemListTemplate(),
2181
+ ["VitalSignsSection" /* VITAL_SIGNS */]: new VitalSignsTemplate(),
2182
+ ["MedicalDeviceSection" /* MEDICAL_DEVICES */]: new MedicalDevicesTemplate(),
2183
+ ["DiagnosticReportSection" /* DIAGNOSTIC_REPORTS */]: new DiagnosticResultsTemplate(),
2184
+ ["ProcedureSection" /* PROCEDURES */]: new HistoryOfProceduresTemplate(),
2185
+ ["FamilyHistorySection" /* FAMILY_HISTORY */]: new FamilyHistoryTemplate(),
2186
+ ["SocialHistorySection" /* SOCIAL_HISTORY */]: new SocialHistoryTemplate(),
2187
+ ["PregnancyHistorySection" /* PREGNANCY_HISTORY */]: new PregnancyTemplate(),
2188
+ ["FunctionalStatusSection" /* FUNCTIONAL_STATUS */]: new FunctionalStatusTemplate(),
2189
+ ["MedicalHistorySection" /* MEDICAL_HISTORY */]: new PastHistoryOfIllnessTemplate(),
2190
+ ["CarePlanSection" /* CARE_PLAN */]: new PlanOfCareTemplate(),
2191
+ ["ClinicalImpressionSection" /* CLINICAL_IMPRESSION */]: new ClinicalImpressionTemplate(),
2192
+ ["AdvanceDirectivesSection" /* ADVANCE_DIRECTIVES */]: new AdvanceDirectivesTemplate()
2193
+ };
2194
+
2195
+ // src/generators/narrative_generator.ts
2196
+ var NarrativeGenerator = class {
2197
+ /**
2198
+ * Generates narrative HTML content for a section
2199
+ * @param section - IPS section type
2200
+ * @param resources - Array of domain resources
2201
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
2202
+ * @returns Generated HTML content or undefined if no resources
2203
+ */
2204
+ static generateNarrativeContent(section, resources, timezone) {
2205
+ if (!resources || resources.length === 0) {
2206
+ return void 0;
2207
+ }
2208
+ try {
2209
+ const bundle = {
2210
+ resourceType: "Bundle",
2211
+ type: "collection",
2212
+ entry: resources.map((resource) => ({
2213
+ resource
2214
+ }))
2215
+ };
2216
+ return TypeScriptTemplateMapper.generateNarrative(section, bundle, timezone);
2217
+ } catch (error) {
2218
+ console.error(`Error generating narrative for section ${section}:`, error);
2219
+ return `<div class="error">Error generating narrative: ${error instanceof Error ? error.message : String(error)}</div>`;
2220
+ }
2221
+ }
2222
+ /**
2223
+ * Creates a complete FHIR Narrative object
2224
+ * @param content - HTML content
2225
+ * @returns FHIR Narrative object
2226
+ */
2227
+ static createNarrative(content) {
2228
+ content = content.replace(/\s+/g, " ").trim();
2229
+ const divMatch = content.match(/^<div[^>]*>(.*?)<\/div>$/);
2230
+ if (divMatch) {
2231
+ content = divMatch[1];
2232
+ }
2233
+ return {
2234
+ status: "generated",
2235
+ div: `<div xmlns="http://www.w3.org/1999/xhtml">${content}</div>`
2236
+ };
2237
+ }
2238
+ /**
2239
+ * Generates a complete FHIR Narrative object for a section
2240
+ * @param section - IPS section type
2241
+ * @param resources - Array of domain resources
2242
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
2243
+ * @returns FHIR Narrative object or undefined if no resources
2244
+ */
2245
+ static generateNarrative(section, resources, timezone) {
2246
+ const content = this.generateNarrativeContent(section, resources, timezone);
2247
+ if (!content) {
2248
+ return void 0;
2249
+ }
2250
+ return this.createNarrative(content);
2251
+ }
2252
+ /**
2253
+ * Wrap content in XHTML div with FHIR namespace
2254
+ * @param content - HTML content to wrap
2255
+ * @returns XHTML div string
2256
+ */
2257
+ static wrapInXhtml(content) {
2258
+ return `<div xmlns="http://www.w3.org/1999/xhtml">${content}</div>`;
2259
+ }
2260
+ };
2261
+
2262
+ // src/generators/fhir_summary_generator.ts
2263
+ var ComprehensiveIPSCompositionBuilder = class {
2264
+ constructor() {
2265
+ this.sections = [];
2266
+ this.mandatorySectionsAdded = /* @__PURE__ */ new Set();
2267
+ this.resources = /* @__PURE__ */ new Set();
2268
+ }
2269
+ /**
2270
+ * sets the patient resource for the IPS Composition.
2271
+ * This is not needed if you are calling read_bundle, but can be used to set the patient resource directly.
2272
+ * @param patient - FHIR Patient resource to set
2273
+ */
2274
+ setPatient(patient) {
2275
+ if (!patient || patient.resourceType !== "Patient") {
2276
+ throw new Error("Invalid Patient resource");
2277
+ }
2278
+ this.patient = patient;
2279
+ return this;
2280
+ }
2281
+ // Comprehensive method to add sections with validation
2282
+ addSection(sectionType, resources, timezone, options) {
2283
+ const validResources = resources;
2284
+ for (const resource of validResources) {
2285
+ this.resources.add(resource);
2286
+ }
2287
+ if (validResources.length === 0) {
2288
+ if (!options?.isOptional) {
2289
+ throw new Error(`No valid resources for mandatory section: ${sectionType}`);
2290
+ }
2291
+ return this;
2292
+ }
2293
+ if (sectionType !== "Patient" /* PATIENT */) {
2294
+ const narrative = NarrativeGenerator.generateNarrative(sectionType, validResources, timezone);
2295
+ const sectionEntry = {
2296
+ title: IPS_SECTION_DISPLAY_NAMES[sectionType] || sectionType,
2297
+ code: {
2298
+ coding: [{
2299
+ system: "http://loinc.org",
2300
+ code: options?.customLoincCode || IPS_SECTION_LOINC_CODES[sectionType],
2301
+ display: IPS_SECTION_DISPLAY_NAMES[sectionType] || sectionType
2302
+ }],
2303
+ text: IPS_SECTION_DISPLAY_NAMES[sectionType] || sectionType
2304
+ },
2305
+ text: narrative,
2306
+ entry: validResources.map((resource) => ({
2307
+ reference: `${resource.resourceType}/${resource.id}`,
2308
+ display: resource.resourceType
2309
+ }))
2310
+ };
2311
+ if (!options?.isOptional) {
2312
+ this.mandatorySectionsAdded.add(sectionType);
2313
+ }
2314
+ this.sections.push(sectionEntry);
2315
+ }
2316
+ return this;
2317
+ }
2318
+ /**
2319
+ * Reads a FHIR Bundle and extracts resources for each section defined in IPSSections.
2320
+ * @param bundle - FHIR Bundle containing resources
2321
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
2322
+ */
2323
+ read_bundle(bundle, timezone) {
2324
+ if (!bundle.entry) {
2325
+ return this;
2326
+ }
2327
+ const patientEntry = bundle.entry.find((e) => e.resource?.resourceType === "Patient");
2328
+ if (!patientEntry || !patientEntry.resource) {
2329
+ throw new Error("Patient resource not found in the bundle");
2330
+ }
2331
+ this.patient = patientEntry.resource;
2332
+ for (const sectionType of Object.values(IPSSections)) {
2333
+ const resourceTypesForSection = IPSSectionResourceHelper.getResourceTypesForSection(sectionType);
2334
+ const customFilter = IPSSectionResourceHelper.getResourceFilterForSection(sectionType);
2335
+ let resources = bundle.entry.map((e) => e.resource).filter((r) => typeof r?.resourceType === "string" && resourceTypesForSection.includes(r.resourceType));
2336
+ if (customFilter) {
2337
+ resources = resources.filter(customFilter);
2338
+ }
2339
+ if (resources.length > 0) {
2340
+ this.addSection(sectionType, resources, timezone, { isOptional: true });
2341
+ }
2342
+ }
2343
+ return this;
2344
+ }
2345
+ /**
2346
+ * Builds the final Composition sections, ensuring all mandatory sections are present.
2347
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
2348
+ */
2349
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2350
+ build(timezone) {
2351
+ const mandatorySections = [
2352
+ "AllergyIntoleranceSection" /* ALLERGIES */,
2353
+ "MedicationSection" /* MEDICATIONS */,
2354
+ "ProblemSection" /* PROBLEMS */,
2355
+ "ImmunizationSection" /* IMMUNIZATIONS */
2356
+ ];
2357
+ const missingMandatorySections = mandatorySections.filter(
2358
+ (section) => !this.mandatorySectionsAdded.has(section)
2359
+ );
2360
+ if (missingMandatorySections.length > 0) {
2361
+ throw new Error(
2362
+ `Missing mandatory IPS sections: ${missingMandatorySections.join(", ")}`
2363
+ );
2364
+ }
2365
+ return this.sections;
2366
+ }
2367
+ /**
2368
+ * Builds a complete FHIR Bundle containing the Composition and all resources.
2369
+ * @param authorOrganizationId - ID of the authoring organization (e.g., hospital or clinic)
2370
+ * @param authorOrganizationName - Name of the authoring organization
2371
+ * @param baseUrl - Base URL for the FHIR server (e.g., 'https://example.com/fhir')
2372
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
2373
+ */
2374
+ build_bundle(authorOrganizationId, authorOrganizationName, baseUrl, timezone) {
2375
+ if (baseUrl.endsWith("/")) {
2376
+ baseUrl = baseUrl.slice(0, -1);
2377
+ }
2378
+ if (!this.patient) {
2379
+ throw new Error("Patient resource must be set before building the bundle");
2380
+ }
2381
+ const composition = {
2382
+ id: `Composition-${this.patient.id}`,
2383
+ resourceType: "Composition",
2384
+ status: "final",
2385
+ type: {
2386
+ coding: [{
2387
+ system: "http://loinc.org",
2388
+ code: "60591-5",
2389
+ display: "Patient summary Document"
2390
+ }]
2391
+ },
2392
+ subject: {
2393
+ reference: `Patient/${this.patient.id}`
2394
+ },
2395
+ author: [{
2396
+ reference: `Organization/${authorOrganizationId}`,
2397
+ // Assuming patient is also a practitioner for simplicity
2398
+ display: authorOrganizationName
2399
+ }],
2400
+ date: (/* @__PURE__ */ new Date()).toISOString(),
2401
+ title: "International Patient Summary",
2402
+ section: this.sections,
2403
+ text: this.createCompositionNarrative(timezone)
2404
+ };
2405
+ const bundle = {
2406
+ resourceType: "Bundle",
2407
+ type: "document",
2408
+ timestamp: (/* @__PURE__ */ new Date()).toISOString(),
2409
+ identifier: {
2410
+ "system": "urn:ietf:rfc:3986",
2411
+ "value": "urn:uuid:4dcfd353-49fd-4ab0-b521-c8d57ced74d6"
2412
+ },
2413
+ entry: []
2414
+ };
2415
+ bundle.entry?.push({
2416
+ fullUrl: `${baseUrl}/Composition/${composition.id}`,
2417
+ resource: composition
2418
+ });
2419
+ bundle.entry?.push({
2420
+ fullUrl: `${baseUrl}/Patient/${this.patient.id}`,
2421
+ resource: this.patient
2422
+ });
2423
+ this.resources.forEach((resource) => {
2424
+ if (resource.resourceType !== "Patient") {
2425
+ bundle.entry?.push(
2426
+ {
2427
+ fullUrl: `${baseUrl}/${resource.resourceType}/${resource.id}`,
2428
+ resource
2429
+ }
2430
+ );
2431
+ }
2432
+ });
2433
+ bundle.entry?.push({
2434
+ fullUrl: `${baseUrl}/Organization/${authorOrganizationId}`,
2435
+ resource: {
2436
+ resourceType: "Organization",
2437
+ id: authorOrganizationId,
2438
+ name: authorOrganizationName
2439
+ }
2440
+ });
2441
+ return bundle;
2442
+ }
2443
+ /**
2444
+ * Creates a narrative for the composition based on the patient and sections.
2445
+ * @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
2446
+ * @private
2447
+ */
2448
+ createCompositionNarrative(timezone) {
2449
+ const patient = this.patient;
2450
+ let fullNarrativeContent = "";
2451
+ const patientNarrative = NarrativeGenerator.generateNarrativeContent(
2452
+ "Patient" /* PATIENT */,
2453
+ [patient],
2454
+ timezone
2455
+ );
2456
+ fullNarrativeContent = fullNarrativeContent.concat(patientNarrative || "");
2457
+ for (const sectionType of Object.values(IPSSections)) {
2458
+ const resourceTypesForSection = IPSSectionResourceHelper.getResourceTypesForSection(sectionType);
2459
+ const allResources = Array.from(this.resources);
2460
+ const resources = allResources.filter((r) => resourceTypesForSection.includes(r.resourceType));
2461
+ if (resources.length > 0) {
2462
+ const sectionNarrative = NarrativeGenerator.generateNarrativeContent(sectionType, resources, timezone);
2463
+ fullNarrativeContent = fullNarrativeContent.concat(sectionNarrative || "");
2464
+ }
2465
+ }
2466
+ return {
2467
+ status: "generated",
2468
+ div: NarrativeGenerator.wrapInXhtml(fullNarrativeContent)
2469
+ };
2470
+ }
2471
+ };
2472
+
2473
+ // src/index.ts
2474
+ var myPackage = (taco = "") => `${taco} from my package`;
2475
+ // Annotate the CommonJS export names for ESM import in node:
2476
+ 0 && (module.exports = {
2477
+ ComprehensiveIPSCompositionBuilder,
2478
+ NarrativeGenerator,
2479
+ myPackage
2480
+ });