@fhirforge/r4 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (615) hide show
  1. package/LICENSE +55 -0
  2. package/README.md +13 -2
  3. package/dist/generated/datatypes.d.ts +1750 -0
  4. package/dist/generated/datatypes.d.ts.map +1 -0
  5. package/dist/generated/datatypes.js +3 -0
  6. package/dist/generated/datatypes.js.map +1 -0
  7. package/dist/generated/helpers.d.ts +20 -0
  8. package/dist/generated/helpers.d.ts.map +1 -0
  9. package/dist/generated/helpers.js +3 -0
  10. package/dist/generated/helpers.js.map +1 -0
  11. package/dist/generated/index.d.ts +151 -0
  12. package/dist/generated/index.d.ts.map +1 -0
  13. package/dist/generated/index.js +3 -0
  14. package/dist/generated/index.js.map +1 -0
  15. package/dist/generated/primitives.d.ts +41 -0
  16. package/dist/generated/primitives.d.ts.map +1 -0
  17. package/dist/generated/primitives.js +3 -0
  18. package/dist/generated/primitives.js.map +1 -0
  19. package/dist/generated/resource-map.d.ts +300 -0
  20. package/dist/generated/resource-map.d.ts.map +1 -0
  21. package/dist/generated/resource-map.js +3 -0
  22. package/dist/generated/resource-map.js.map +1 -0
  23. package/dist/generated/resources/Account.d.ts +91 -0
  24. package/dist/generated/resources/Account.d.ts.map +1 -0
  25. package/dist/generated/resources/Account.js +3 -0
  26. package/dist/generated/resources/Account.js.map +1 -0
  27. package/dist/generated/resources/ActivityDefinition.d.ts +187 -0
  28. package/dist/generated/resources/ActivityDefinition.d.ts.map +1 -0
  29. package/dist/generated/resources/ActivityDefinition.js +3 -0
  30. package/dist/generated/resources/ActivityDefinition.js.map +1 -0
  31. package/dist/generated/resources/AdverseEvent.d.ts +123 -0
  32. package/dist/generated/resources/AdverseEvent.d.ts.map +1 -0
  33. package/dist/generated/resources/AdverseEvent.js +3 -0
  34. package/dist/generated/resources/AdverseEvent.js.map +1 -0
  35. package/dist/generated/resources/AllergyIntolerance.d.ts +103 -0
  36. package/dist/generated/resources/AllergyIntolerance.d.ts.map +1 -0
  37. package/dist/generated/resources/AllergyIntolerance.js +3 -0
  38. package/dist/generated/resources/AllergyIntolerance.js.map +1 -0
  39. package/dist/generated/resources/Appointment.d.ts +114 -0
  40. package/dist/generated/resources/Appointment.d.ts.map +1 -0
  41. package/dist/generated/resources/Appointment.js +3 -0
  42. package/dist/generated/resources/Appointment.js.map +1 -0
  43. package/dist/generated/resources/AppointmentResponse.d.ts +55 -0
  44. package/dist/generated/resources/AppointmentResponse.d.ts.map +1 -0
  45. package/dist/generated/resources/AppointmentResponse.js +3 -0
  46. package/dist/generated/resources/AppointmentResponse.js.map +1 -0
  47. package/dist/generated/resources/AuditEvent.d.ts +175 -0
  48. package/dist/generated/resources/AuditEvent.d.ts.map +1 -0
  49. package/dist/generated/resources/AuditEvent.js +3 -0
  50. package/dist/generated/resources/AuditEvent.js.map +1 -0
  51. package/dist/generated/resources/Basic.d.ts +43 -0
  52. package/dist/generated/resources/Basic.d.ts.map +1 -0
  53. package/dist/generated/resources/Basic.js +3 -0
  54. package/dist/generated/resources/Basic.js.map +1 -0
  55. package/dist/generated/resources/Binary.d.ts +26 -0
  56. package/dist/generated/resources/Binary.d.ts.map +1 -0
  57. package/dist/generated/resources/Binary.js +3 -0
  58. package/dist/generated/resources/Binary.js.map +1 -0
  59. package/dist/generated/resources/BiologicallyDerivedProduct.d.ts +135 -0
  60. package/dist/generated/resources/BiologicallyDerivedProduct.d.ts.map +1 -0
  61. package/dist/generated/resources/BiologicallyDerivedProduct.js +3 -0
  62. package/dist/generated/resources/BiologicallyDerivedProduct.js.map +1 -0
  63. package/dist/generated/resources/BodyStructure.d.ts +46 -0
  64. package/dist/generated/resources/BodyStructure.d.ts.map +1 -0
  65. package/dist/generated/resources/BodyStructure.js +3 -0
  66. package/dist/generated/resources/BodyStructure.js.map +1 -0
  67. package/dist/generated/resources/Bundle.d.ts +138 -0
  68. package/dist/generated/resources/Bundle.d.ts.map +1 -0
  69. package/dist/generated/resources/Bundle.js +3 -0
  70. package/dist/generated/resources/Bundle.js.map +1 -0
  71. package/dist/generated/resources/CapabilityStatement.d.ts +370 -0
  72. package/dist/generated/resources/CapabilityStatement.d.ts.map +1 -0
  73. package/dist/generated/resources/CapabilityStatement.js +3 -0
  74. package/dist/generated/resources/CapabilityStatement.js.map +1 -0
  75. package/dist/generated/resources/CarePlan.d.ts +182 -0
  76. package/dist/generated/resources/CarePlan.d.ts.map +1 -0
  77. package/dist/generated/resources/CarePlan.js +3 -0
  78. package/dist/generated/resources/CarePlan.js.map +1 -0
  79. package/dist/generated/resources/CareTeam.d.ts +80 -0
  80. package/dist/generated/resources/CareTeam.d.ts.map +1 -0
  81. package/dist/generated/resources/CareTeam.js +3 -0
  82. package/dist/generated/resources/CareTeam.js.map +1 -0
  83. package/dist/generated/resources/CatalogEntry.d.ts +82 -0
  84. package/dist/generated/resources/CatalogEntry.d.ts.map +1 -0
  85. package/dist/generated/resources/CatalogEntry.js +3 -0
  86. package/dist/generated/resources/CatalogEntry.js.map +1 -0
  87. package/dist/generated/resources/ChargeItem.d.ts +126 -0
  88. package/dist/generated/resources/ChargeItem.d.ts.map +1 -0
  89. package/dist/generated/resources/ChargeItem.js +3 -0
  90. package/dist/generated/resources/ChargeItem.js.map +1 -0
  91. package/dist/generated/resources/ChargeItemDefinition.d.ts +140 -0
  92. package/dist/generated/resources/ChargeItemDefinition.d.ts.map +1 -0
  93. package/dist/generated/resources/ChargeItemDefinition.js +3 -0
  94. package/dist/generated/resources/ChargeItemDefinition.js.map +1 -0
  95. package/dist/generated/resources/Claim.d.ts +403 -0
  96. package/dist/generated/resources/Claim.d.ts.map +1 -0
  97. package/dist/generated/resources/Claim.js +3 -0
  98. package/dist/generated/resources/Claim.js.map +1 -0
  99. package/dist/generated/resources/ClaimResponse.d.ts +378 -0
  100. package/dist/generated/resources/ClaimResponse.d.ts.map +1 -0
  101. package/dist/generated/resources/ClaimResponse.js +3 -0
  102. package/dist/generated/resources/ClaimResponse.js.map +1 -0
  103. package/dist/generated/resources/ClinicalImpression.d.ts +119 -0
  104. package/dist/generated/resources/ClinicalImpression.d.ts.map +1 -0
  105. package/dist/generated/resources/ClinicalImpression.js +3 -0
  106. package/dist/generated/resources/ClinicalImpression.js.map +1 -0
  107. package/dist/generated/resources/CodeSystem.d.ts +209 -0
  108. package/dist/generated/resources/CodeSystem.d.ts.map +1 -0
  109. package/dist/generated/resources/CodeSystem.js +3 -0
  110. package/dist/generated/resources/CodeSystem.js.map +1 -0
  111. package/dist/generated/resources/Communication.d.ts +109 -0
  112. package/dist/generated/resources/Communication.d.ts.map +1 -0
  113. package/dist/generated/resources/Communication.js +3 -0
  114. package/dist/generated/resources/Communication.js.map +1 -0
  115. package/dist/generated/resources/CommunicationRequest.d.ts +108 -0
  116. package/dist/generated/resources/CommunicationRequest.d.ts.map +1 -0
  117. package/dist/generated/resources/CommunicationRequest.js +3 -0
  118. package/dist/generated/resources/CommunicationRequest.js.map +1 -0
  119. package/dist/generated/resources/CompartmentDefinition.d.ts +84 -0
  120. package/dist/generated/resources/CompartmentDefinition.d.ts.map +1 -0
  121. package/dist/generated/resources/CompartmentDefinition.js +3 -0
  122. package/dist/generated/resources/CompartmentDefinition.js.map +1 -0
  123. package/dist/generated/resources/Composition.d.ts +148 -0
  124. package/dist/generated/resources/Composition.d.ts.map +1 -0
  125. package/dist/generated/resources/Composition.js +3 -0
  126. package/dist/generated/resources/Composition.js.map +1 -0
  127. package/dist/generated/resources/ConceptMap.d.ts +192 -0
  128. package/dist/generated/resources/ConceptMap.d.ts.map +1 -0
  129. package/dist/generated/resources/ConceptMap.js +3 -0
  130. package/dist/generated/resources/ConceptMap.js.map +1 -0
  131. package/dist/generated/resources/Condition.d.ts +114 -0
  132. package/dist/generated/resources/Condition.d.ts.map +1 -0
  133. package/dist/generated/resources/Condition.js +3 -0
  134. package/dist/generated/resources/Condition.js.map +1 -0
  135. package/dist/generated/resources/Consent.d.ts +160 -0
  136. package/dist/generated/resources/Consent.d.ts.map +1 -0
  137. package/dist/generated/resources/Consent.js +3 -0
  138. package/dist/generated/resources/Consent.js.map +1 -0
  139. package/dist/generated/resources/Contract.d.ts +517 -0
  140. package/dist/generated/resources/Contract.d.ts.map +1 -0
  141. package/dist/generated/resources/Contract.js +3 -0
  142. package/dist/generated/resources/Contract.js.map +1 -0
  143. package/dist/generated/resources/Coverage.d.ts +119 -0
  144. package/dist/generated/resources/Coverage.d.ts.map +1 -0
  145. package/dist/generated/resources/Coverage.js +3 -0
  146. package/dist/generated/resources/Coverage.js.map +1 -0
  147. package/dist/generated/resources/CoverageEligibilityRequest.d.ts +146 -0
  148. package/dist/generated/resources/CoverageEligibilityRequest.d.ts.map +1 -0
  149. package/dist/generated/resources/CoverageEligibilityRequest.js +3 -0
  150. package/dist/generated/resources/CoverageEligibilityRequest.js.map +1 -0
  151. package/dist/generated/resources/CoverageEligibilityResponse.d.ts +169 -0
  152. package/dist/generated/resources/CoverageEligibilityResponse.d.ts.map +1 -0
  153. package/dist/generated/resources/CoverageEligibilityResponse.js +3 -0
  154. package/dist/generated/resources/CoverageEligibilityResponse.js.map +1 -0
  155. package/dist/generated/resources/DetectedIssue.d.ts +92 -0
  156. package/dist/generated/resources/DetectedIssue.d.ts.map +1 -0
  157. package/dist/generated/resources/DetectedIssue.js +3 -0
  158. package/dist/generated/resources/DetectedIssue.js.map +1 -0
  159. package/dist/generated/resources/Device.d.ts +180 -0
  160. package/dist/generated/resources/Device.d.ts.map +1 -0
  161. package/dist/generated/resources/Device.js +3 -0
  162. package/dist/generated/resources/Device.js.map +1 -0
  163. package/dist/generated/resources/DeviceDefinition.d.ts +173 -0
  164. package/dist/generated/resources/DeviceDefinition.d.ts.map +1 -0
  165. package/dist/generated/resources/DeviceDefinition.js +3 -0
  166. package/dist/generated/resources/DeviceDefinition.js.map +1 -0
  167. package/dist/generated/resources/DeviceMetric.d.ts +69 -0
  168. package/dist/generated/resources/DeviceMetric.d.ts.map +1 -0
  169. package/dist/generated/resources/DeviceMetric.js +3 -0
  170. package/dist/generated/resources/DeviceMetric.js.map +1 -0
  171. package/dist/generated/resources/DeviceRequest.d.ts +124 -0
  172. package/dist/generated/resources/DeviceRequest.d.ts.map +1 -0
  173. package/dist/generated/resources/DeviceRequest.js +3 -0
  174. package/dist/generated/resources/DeviceRequest.js.map +1 -0
  175. package/dist/generated/resources/DeviceUseStatement.d.ts +75 -0
  176. package/dist/generated/resources/DeviceUseStatement.d.ts.map +1 -0
  177. package/dist/generated/resources/DeviceUseStatement.js +3 -0
  178. package/dist/generated/resources/DeviceUseStatement.js.map +1 -0
  179. package/dist/generated/resources/DiagnosticReport.d.ts +102 -0
  180. package/dist/generated/resources/DiagnosticReport.d.ts.map +1 -0
  181. package/dist/generated/resources/DiagnosticReport.js +3 -0
  182. package/dist/generated/resources/DiagnosticReport.js.map +1 -0
  183. package/dist/generated/resources/DocumentManifest.d.ts +75 -0
  184. package/dist/generated/resources/DocumentManifest.d.ts.map +1 -0
  185. package/dist/generated/resources/DocumentManifest.js +3 -0
  186. package/dist/generated/resources/DocumentManifest.js.map +1 -0
  187. package/dist/generated/resources/DocumentReference.d.ts +122 -0
  188. package/dist/generated/resources/DocumentReference.d.ts.map +1 -0
  189. package/dist/generated/resources/DocumentReference.js +3 -0
  190. package/dist/generated/resources/DocumentReference.js.map +1 -0
  191. package/dist/generated/resources/EffectEvidenceSynthesis.d.ts +216 -0
  192. package/dist/generated/resources/EffectEvidenceSynthesis.d.ts.map +1 -0
  193. package/dist/generated/resources/EffectEvidenceSynthesis.js +3 -0
  194. package/dist/generated/resources/EffectEvidenceSynthesis.js.map +1 -0
  195. package/dist/generated/resources/Encounter.d.ts +192 -0
  196. package/dist/generated/resources/Encounter.d.ts.map +1 -0
  197. package/dist/generated/resources/Encounter.js +3 -0
  198. package/dist/generated/resources/Encounter.js.map +1 -0
  199. package/dist/generated/resources/Endpoint.d.ts +55 -0
  200. package/dist/generated/resources/Endpoint.d.ts.map +1 -0
  201. package/dist/generated/resources/Endpoint.js +3 -0
  202. package/dist/generated/resources/Endpoint.js.map +1 -0
  203. package/dist/generated/resources/EnrollmentRequest.d.ts +48 -0
  204. package/dist/generated/resources/EnrollmentRequest.d.ts.map +1 -0
  205. package/dist/generated/resources/EnrollmentRequest.js +3 -0
  206. package/dist/generated/resources/EnrollmentRequest.js.map +1 -0
  207. package/dist/generated/resources/EnrollmentResponse.d.ts +51 -0
  208. package/dist/generated/resources/EnrollmentResponse.d.ts.map +1 -0
  209. package/dist/generated/resources/EnrollmentResponse.js +3 -0
  210. package/dist/generated/resources/EnrollmentResponse.js.map +1 -0
  211. package/dist/generated/resources/EpisodeOfCare.d.ts +90 -0
  212. package/dist/generated/resources/EpisodeOfCare.d.ts.map +1 -0
  213. package/dist/generated/resources/EpisodeOfCare.js +3 -0
  214. package/dist/generated/resources/EpisodeOfCare.js.map +1 -0
  215. package/dist/generated/resources/EventDefinition.d.ts +102 -0
  216. package/dist/generated/resources/EventDefinition.d.ts.map +1 -0
  217. package/dist/generated/resources/EventDefinition.js +3 -0
  218. package/dist/generated/resources/EventDefinition.js.map +1 -0
  219. package/dist/generated/resources/Evidence.d.ts +97 -0
  220. package/dist/generated/resources/Evidence.d.ts.map +1 -0
  221. package/dist/generated/resources/Evidence.js +3 -0
  222. package/dist/generated/resources/Evidence.js.map +1 -0
  223. package/dist/generated/resources/EvidenceVariable.d.ts +135 -0
  224. package/dist/generated/resources/EvidenceVariable.d.ts.map +1 -0
  225. package/dist/generated/resources/EvidenceVariable.js +3 -0
  226. package/dist/generated/resources/EvidenceVariable.js.map +1 -0
  227. package/dist/generated/resources/ExampleScenario.d.ts +242 -0
  228. package/dist/generated/resources/ExampleScenario.d.ts.map +1 -0
  229. package/dist/generated/resources/ExampleScenario.js +3 -0
  230. package/dist/generated/resources/ExampleScenario.js.map +1 -0
  231. package/dist/generated/resources/ExplanationOfBenefit.d.ts +680 -0
  232. package/dist/generated/resources/ExplanationOfBenefit.d.ts.map +1 -0
  233. package/dist/generated/resources/ExplanationOfBenefit.js +3 -0
  234. package/dist/generated/resources/ExplanationOfBenefit.js.map +1 -0
  235. package/dist/generated/resources/FamilyMemberHistory.d.ts +119 -0
  236. package/dist/generated/resources/FamilyMemberHistory.d.ts.map +1 -0
  237. package/dist/generated/resources/FamilyMemberHistory.js +3 -0
  238. package/dist/generated/resources/FamilyMemberHistory.js.map +1 -0
  239. package/dist/generated/resources/Flag.d.ts +55 -0
  240. package/dist/generated/resources/Flag.d.ts.map +1 -0
  241. package/dist/generated/resources/Flag.js +3 -0
  242. package/dist/generated/resources/Flag.js.map +1 -0
  243. package/dist/generated/resources/Goal.d.ts +106 -0
  244. package/dist/generated/resources/Goal.d.ts.map +1 -0
  245. package/dist/generated/resources/Goal.js +3 -0
  246. package/dist/generated/resources/Goal.js.map +1 -0
  247. package/dist/generated/resources/GraphDefinition.d.ts +140 -0
  248. package/dist/generated/resources/GraphDefinition.d.ts.map +1 -0
  249. package/dist/generated/resources/GraphDefinition.js +3 -0
  250. package/dist/generated/resources/GraphDefinition.js.map +1 -0
  251. package/dist/generated/resources/Group.d.ts +101 -0
  252. package/dist/generated/resources/Group.d.ts.map +1 -0
  253. package/dist/generated/resources/Group.js +3 -0
  254. package/dist/generated/resources/Group.js.map +1 -0
  255. package/dist/generated/resources/GuidanceResponse.d.ts +77 -0
  256. package/dist/generated/resources/GuidanceResponse.d.ts.map +1 -0
  257. package/dist/generated/resources/GuidanceResponse.js +3 -0
  258. package/dist/generated/resources/GuidanceResponse.js.map +1 -0
  259. package/dist/generated/resources/HealthcareService.d.ts +133 -0
  260. package/dist/generated/resources/HealthcareService.d.ts.map +1 -0
  261. package/dist/generated/resources/HealthcareService.js +3 -0
  262. package/dist/generated/resources/HealthcareService.js.map +1 -0
  263. package/dist/generated/resources/ImagingStudy.d.ts +166 -0
  264. package/dist/generated/resources/ImagingStudy.d.ts.map +1 -0
  265. package/dist/generated/resources/ImagingStudy.js +3 -0
  266. package/dist/generated/resources/ImagingStudy.js.map +1 -0
  267. package/dist/generated/resources/Immunization.d.ts +182 -0
  268. package/dist/generated/resources/Immunization.d.ts.map +1 -0
  269. package/dist/generated/resources/Immunization.js +3 -0
  270. package/dist/generated/resources/Immunization.js.map +1 -0
  271. package/dist/generated/resources/ImmunizationEvaluation.d.ts +69 -0
  272. package/dist/generated/resources/ImmunizationEvaluation.d.ts.map +1 -0
  273. package/dist/generated/resources/ImmunizationEvaluation.js +3 -0
  274. package/dist/generated/resources/ImmunizationEvaluation.js.map +1 -0
  275. package/dist/generated/resources/ImmunizationRecommendation.d.ts +100 -0
  276. package/dist/generated/resources/ImmunizationRecommendation.d.ts.map +1 -0
  277. package/dist/generated/resources/ImmunizationRecommendation.js +3 -0
  278. package/dist/generated/resources/ImmunizationRecommendation.js.map +1 -0
  279. package/dist/generated/resources/ImplementationGuide.d.ts +293 -0
  280. package/dist/generated/resources/ImplementationGuide.d.ts.map +1 -0
  281. package/dist/generated/resources/ImplementationGuide.js +3 -0
  282. package/dist/generated/resources/ImplementationGuide.js.map +1 -0
  283. package/dist/generated/resources/InsurancePlan.d.ts +205 -0
  284. package/dist/generated/resources/InsurancePlan.d.ts.map +1 -0
  285. package/dist/generated/resources/InsurancePlan.js +3 -0
  286. package/dist/generated/resources/InsurancePlan.js.map +1 -0
  287. package/dist/generated/resources/Invoice.d.ts +123 -0
  288. package/dist/generated/resources/Invoice.d.ts.map +1 -0
  289. package/dist/generated/resources/Invoice.js +3 -0
  290. package/dist/generated/resources/Invoice.js.map +1 -0
  291. package/dist/generated/resources/Library.d.ts +108 -0
  292. package/dist/generated/resources/Library.d.ts.map +1 -0
  293. package/dist/generated/resources/Library.js +3 -0
  294. package/dist/generated/resources/Library.js.map +1 -0
  295. package/dist/generated/resources/Linkage.d.ts +51 -0
  296. package/dist/generated/resources/Linkage.d.ts.map +1 -0
  297. package/dist/generated/resources/Linkage.js +3 -0
  298. package/dist/generated/resources/Linkage.js.map +1 -0
  299. package/dist/generated/resources/List.d.ts +83 -0
  300. package/dist/generated/resources/List.d.ts.map +1 -0
  301. package/dist/generated/resources/List.js +3 -0
  302. package/dist/generated/resources/List.js.map +1 -0
  303. package/dist/generated/resources/Location.d.ts +108 -0
  304. package/dist/generated/resources/Location.d.ts.map +1 -0
  305. package/dist/generated/resources/Location.js +3 -0
  306. package/dist/generated/resources/Location.js.map +1 -0
  307. package/dist/generated/resources/Measure.d.ts +222 -0
  308. package/dist/generated/resources/Measure.d.ts.map +1 -0
  309. package/dist/generated/resources/Measure.js +3 -0
  310. package/dist/generated/resources/Measure.js.map +1 -0
  311. package/dist/generated/resources/MeasureReport.d.ts +154 -0
  312. package/dist/generated/resources/MeasureReport.d.ts.map +1 -0
  313. package/dist/generated/resources/MeasureReport.js +3 -0
  314. package/dist/generated/resources/MeasureReport.js.map +1 -0
  315. package/dist/generated/resources/Media.d.ts +96 -0
  316. package/dist/generated/resources/Media.d.ts.map +1 -0
  317. package/dist/generated/resources/Media.js +3 -0
  318. package/dist/generated/resources/Media.js.map +1 -0
  319. package/dist/generated/resources/Medication.d.ts +80 -0
  320. package/dist/generated/resources/Medication.d.ts.map +1 -0
  321. package/dist/generated/resources/Medication.js +3 -0
  322. package/dist/generated/resources/Medication.js.map +1 -0
  323. package/dist/generated/resources/MedicationAdministration.d.ts +125 -0
  324. package/dist/generated/resources/MedicationAdministration.d.ts.map +1 -0
  325. package/dist/generated/resources/MedicationAdministration.js +3 -0
  326. package/dist/generated/resources/MedicationAdministration.js.map +1 -0
  327. package/dist/generated/resources/MedicationDispense.d.ts +129 -0
  328. package/dist/generated/resources/MedicationDispense.d.ts.map +1 -0
  329. package/dist/generated/resources/MedicationDispense.js +3 -0
  330. package/dist/generated/resources/MedicationDispense.js.map +1 -0
  331. package/dist/generated/resources/MedicationKnowledge.d.ts +317 -0
  332. package/dist/generated/resources/MedicationKnowledge.d.ts.map +1 -0
  333. package/dist/generated/resources/MedicationKnowledge.js +3 -0
  334. package/dist/generated/resources/MedicationKnowledge.js.map +1 -0
  335. package/dist/generated/resources/MedicationRequest.d.ts +176 -0
  336. package/dist/generated/resources/MedicationRequest.d.ts.map +1 -0
  337. package/dist/generated/resources/MedicationRequest.js +3 -0
  338. package/dist/generated/resources/MedicationRequest.js.map +1 -0
  339. package/dist/generated/resources/MedicationStatement.d.ts +87 -0
  340. package/dist/generated/resources/MedicationStatement.d.ts.map +1 -0
  341. package/dist/generated/resources/MedicationStatement.js +3 -0
  342. package/dist/generated/resources/MedicationStatement.js.map +1 -0
  343. package/dist/generated/resources/MedicinalProduct.d.ts +169 -0
  344. package/dist/generated/resources/MedicinalProduct.d.ts.map +1 -0
  345. package/dist/generated/resources/MedicinalProduct.js +3 -0
  346. package/dist/generated/resources/MedicinalProduct.js.map +1 -0
  347. package/dist/generated/resources/MedicinalProductAuthorization.d.ts +106 -0
  348. package/dist/generated/resources/MedicinalProductAuthorization.d.ts.map +1 -0
  349. package/dist/generated/resources/MedicinalProductAuthorization.js +3 -0
  350. package/dist/generated/resources/MedicinalProductAuthorization.js.map +1 -0
  351. package/dist/generated/resources/MedicinalProductContraindication.d.ts +62 -0
  352. package/dist/generated/resources/MedicinalProductContraindication.d.ts.map +1 -0
  353. package/dist/generated/resources/MedicinalProductContraindication.js +3 -0
  354. package/dist/generated/resources/MedicinalProductContraindication.js.map +1 -0
  355. package/dist/generated/resources/MedicinalProductIndication.d.ts +66 -0
  356. package/dist/generated/resources/MedicinalProductIndication.d.ts.map +1 -0
  357. package/dist/generated/resources/MedicinalProductIndication.js +3 -0
  358. package/dist/generated/resources/MedicinalProductIndication.js.map +1 -0
  359. package/dist/generated/resources/MedicinalProductIngredient.d.ts +115 -0
  360. package/dist/generated/resources/MedicinalProductIngredient.d.ts.map +1 -0
  361. package/dist/generated/resources/MedicinalProductIngredient.js +3 -0
  362. package/dist/generated/resources/MedicinalProductIngredient.js.map +1 -0
  363. package/dist/generated/resources/MedicinalProductInteraction.d.ts +60 -0
  364. package/dist/generated/resources/MedicinalProductInteraction.d.ts.map +1 -0
  365. package/dist/generated/resources/MedicinalProductInteraction.js +3 -0
  366. package/dist/generated/resources/MedicinalProductInteraction.js.map +1 -0
  367. package/dist/generated/resources/MedicinalProductManufactured.d.ts +43 -0
  368. package/dist/generated/resources/MedicinalProductManufactured.d.ts.map +1 -0
  369. package/dist/generated/resources/MedicinalProductManufactured.js +3 -0
  370. package/dist/generated/resources/MedicinalProductManufactured.js.map +1 -0
  371. package/dist/generated/resources/MedicinalProductPackaged.d.ts +97 -0
  372. package/dist/generated/resources/MedicinalProductPackaged.d.ts.map +1 -0
  373. package/dist/generated/resources/MedicinalProductPackaged.js +3 -0
  374. package/dist/generated/resources/MedicinalProductPackaged.js.map +1 -0
  375. package/dist/generated/resources/MedicinalProductPharmaceutical.d.ts +108 -0
  376. package/dist/generated/resources/MedicinalProductPharmaceutical.d.ts.map +1 -0
  377. package/dist/generated/resources/MedicinalProductPharmaceutical.js +3 -0
  378. package/dist/generated/resources/MedicinalProductPharmaceutical.js.map +1 -0
  379. package/dist/generated/resources/MedicinalProductUndesirableEffect.d.ts +39 -0
  380. package/dist/generated/resources/MedicinalProductUndesirableEffect.d.ts.map +1 -0
  381. package/dist/generated/resources/MedicinalProductUndesirableEffect.js +3 -0
  382. package/dist/generated/resources/MedicinalProductUndesirableEffect.js.map +1 -0
  383. package/dist/generated/resources/MessageDefinition.d.ts +132 -0
  384. package/dist/generated/resources/MessageDefinition.d.ts.map +1 -0
  385. package/dist/generated/resources/MessageDefinition.js +3 -0
  386. package/dist/generated/resources/MessageDefinition.js.map +1 -0
  387. package/dist/generated/resources/MessageHeader.d.ts +118 -0
  388. package/dist/generated/resources/MessageHeader.d.ts.map +1 -0
  389. package/dist/generated/resources/MessageHeader.js +3 -0
  390. package/dist/generated/resources/MessageHeader.js.map +1 -0
  391. package/dist/generated/resources/MolecularSequence.d.ts +285 -0
  392. package/dist/generated/resources/MolecularSequence.d.ts.map +1 -0
  393. package/dist/generated/resources/MolecularSequence.js +3 -0
  394. package/dist/generated/resources/MolecularSequence.js.map +1 -0
  395. package/dist/generated/resources/NamingSystem.d.ts +84 -0
  396. package/dist/generated/resources/NamingSystem.d.ts.map +1 -0
  397. package/dist/generated/resources/NamingSystem.js +3 -0
  398. package/dist/generated/resources/NamingSystem.js.map +1 -0
  399. package/dist/generated/resources/NutritionOrder.d.ts +189 -0
  400. package/dist/generated/resources/NutritionOrder.d.ts.map +1 -0
  401. package/dist/generated/resources/NutritionOrder.js +3 -0
  402. package/dist/generated/resources/NutritionOrder.js.map +1 -0
  403. package/dist/generated/resources/Observation.d.ts +185 -0
  404. package/dist/generated/resources/Observation.d.ts.map +1 -0
  405. package/dist/generated/resources/Observation.js +3 -0
  406. package/dist/generated/resources/Observation.js.map +1 -0
  407. package/dist/generated/resources/ObservationDefinition.d.ts +104 -0
  408. package/dist/generated/resources/ObservationDefinition.d.ts.map +1 -0
  409. package/dist/generated/resources/ObservationDefinition.js +3 -0
  410. package/dist/generated/resources/ObservationDefinition.js.map +1 -0
  411. package/dist/generated/resources/OperationDefinition.d.ts +184 -0
  412. package/dist/generated/resources/OperationDefinition.d.ts.map +1 -0
  413. package/dist/generated/resources/OperationDefinition.js +3 -0
  414. package/dist/generated/resources/OperationDefinition.js.map +1 -0
  415. package/dist/generated/resources/OperationOutcome.d.ts +55 -0
  416. package/dist/generated/resources/OperationOutcome.d.ts.map +1 -0
  417. package/dist/generated/resources/OperationOutcome.js +3 -0
  418. package/dist/generated/resources/OperationOutcome.js.map +1 -0
  419. package/dist/generated/resources/Organization.d.ts +68 -0
  420. package/dist/generated/resources/Organization.d.ts.map +1 -0
  421. package/dist/generated/resources/Organization.js +3 -0
  422. package/dist/generated/resources/Organization.js.map +1 -0
  423. package/dist/generated/resources/OrganizationAffiliation.d.ts +56 -0
  424. package/dist/generated/resources/OrganizationAffiliation.d.ts.map +1 -0
  425. package/dist/generated/resources/OrganizationAffiliation.js +3 -0
  426. package/dist/generated/resources/OrganizationAffiliation.js.map +1 -0
  427. package/dist/generated/resources/Parameters.d.ts +109 -0
  428. package/dist/generated/resources/Parameters.d.ts.map +1 -0
  429. package/dist/generated/resources/Parameters.js +3 -0
  430. package/dist/generated/resources/Parameters.js.map +1 -0
  431. package/dist/generated/resources/Patient.d.ts +127 -0
  432. package/dist/generated/resources/Patient.d.ts.map +1 -0
  433. package/dist/generated/resources/Patient.js +3 -0
  434. package/dist/generated/resources/Patient.js.map +1 -0
  435. package/dist/generated/resources/PaymentNotice.d.ts +58 -0
  436. package/dist/generated/resources/PaymentNotice.d.ts.map +1 -0
  437. package/dist/generated/resources/PaymentNotice.js +3 -0
  438. package/dist/generated/resources/PaymentNotice.js.map +1 -0
  439. package/dist/generated/resources/PaymentReconciliation.d.ts +111 -0
  440. package/dist/generated/resources/PaymentReconciliation.d.ts.map +1 -0
  441. package/dist/generated/resources/PaymentReconciliation.js +3 -0
  442. package/dist/generated/resources/PaymentReconciliation.js.map +1 -0
  443. package/dist/generated/resources/Person.d.ts +68 -0
  444. package/dist/generated/resources/Person.d.ts.map +1 -0
  445. package/dist/generated/resources/Person.js +3 -0
  446. package/dist/generated/resources/Person.js.map +1 -0
  447. package/dist/generated/resources/PlanDefinition.d.ts +299 -0
  448. package/dist/generated/resources/PlanDefinition.d.ts.map +1 -0
  449. package/dist/generated/resources/PlanDefinition.js +3 -0
  450. package/dist/generated/resources/PlanDefinition.js.map +1 -0
  451. package/dist/generated/resources/Practitioner.d.ts +68 -0
  452. package/dist/generated/resources/Practitioner.d.ts.map +1 -0
  453. package/dist/generated/resources/Practitioner.js +3 -0
  454. package/dist/generated/resources/Practitioner.js.map +1 -0
  455. package/dist/generated/resources/PractitionerRole.d.ts +97 -0
  456. package/dist/generated/resources/PractitionerRole.d.ts.map +1 -0
  457. package/dist/generated/resources/PractitionerRole.js +3 -0
  458. package/dist/generated/resources/PractitionerRole.js.map +1 -0
  459. package/dist/generated/resources/Procedure.d.ts +141 -0
  460. package/dist/generated/resources/Procedure.d.ts.map +1 -0
  461. package/dist/generated/resources/Procedure.js +3 -0
  462. package/dist/generated/resources/Procedure.js.map +1 -0
  463. package/dist/generated/resources/Provenance.d.ts +93 -0
  464. package/dist/generated/resources/Provenance.d.ts.map +1 -0
  465. package/dist/generated/resources/Provenance.js +3 -0
  466. package/dist/generated/resources/Provenance.js.map +1 -0
  467. package/dist/generated/resources/Questionnaire.d.ts +228 -0
  468. package/dist/generated/resources/Questionnaire.d.ts.map +1 -0
  469. package/dist/generated/resources/Questionnaire.js +3 -0
  470. package/dist/generated/resources/Questionnaire.js.map +1 -0
  471. package/dist/generated/resources/QuestionnaireResponse.d.ts +119 -0
  472. package/dist/generated/resources/QuestionnaireResponse.d.ts.map +1 -0
  473. package/dist/generated/resources/QuestionnaireResponse.js +3 -0
  474. package/dist/generated/resources/QuestionnaireResponse.js.map +1 -0
  475. package/dist/generated/resources/RelatedPerson.d.ts +69 -0
  476. package/dist/generated/resources/RelatedPerson.d.ts.map +1 -0
  477. package/dist/generated/resources/RelatedPerson.js +3 -0
  478. package/dist/generated/resources/RelatedPerson.js.map +1 -0
  479. package/dist/generated/resources/RequestGroup.d.ts +178 -0
  480. package/dist/generated/resources/RequestGroup.d.ts.map +1 -0
  481. package/dist/generated/resources/RequestGroup.js +3 -0
  482. package/dist/generated/resources/RequestGroup.js.map +1 -0
  483. package/dist/generated/resources/ResearchDefinition.d.ts +118 -0
  484. package/dist/generated/resources/ResearchDefinition.d.ts.map +1 -0
  485. package/dist/generated/resources/ResearchDefinition.js +3 -0
  486. package/dist/generated/resources/ResearchDefinition.js.map +1 -0
  487. package/dist/generated/resources/ResearchElementDefinition.d.ts +170 -0
  488. package/dist/generated/resources/ResearchElementDefinition.d.ts.map +1 -0
  489. package/dist/generated/resources/ResearchElementDefinition.js +3 -0
  490. package/dist/generated/resources/ResearchElementDefinition.js.map +1 -0
  491. package/dist/generated/resources/ResearchStudy.d.ts +115 -0
  492. package/dist/generated/resources/ResearchStudy.d.ts.map +1 -0
  493. package/dist/generated/resources/ResearchStudy.js +3 -0
  494. package/dist/generated/resources/ResearchStudy.js.map +1 -0
  495. package/dist/generated/resources/ResearchSubject.d.ts +49 -0
  496. package/dist/generated/resources/ResearchSubject.d.ts.map +1 -0
  497. package/dist/generated/resources/ResearchSubject.js +3 -0
  498. package/dist/generated/resources/ResearchSubject.js.map +1 -0
  499. package/dist/generated/resources/RiskAssessment.d.ts +105 -0
  500. package/dist/generated/resources/RiskAssessment.d.ts.map +1 -0
  501. package/dist/generated/resources/RiskAssessment.js +3 -0
  502. package/dist/generated/resources/RiskAssessment.js.map +1 -0
  503. package/dist/generated/resources/RiskEvidenceSynthesis.d.ts +196 -0
  504. package/dist/generated/resources/RiskEvidenceSynthesis.d.ts.map +1 -0
  505. package/dist/generated/resources/RiskEvidenceSynthesis.js +3 -0
  506. package/dist/generated/resources/RiskEvidenceSynthesis.js.map +1 -0
  507. package/dist/generated/resources/Schedule.d.ts +52 -0
  508. package/dist/generated/resources/Schedule.d.ts.map +1 -0
  509. package/dist/generated/resources/Schedule.js +3 -0
  510. package/dist/generated/resources/Schedule.js.map +1 -0
  511. package/dist/generated/resources/SearchParameter.d.ts +116 -0
  512. package/dist/generated/resources/SearchParameter.d.ts.map +1 -0
  513. package/dist/generated/resources/SearchParameter.js +3 -0
  514. package/dist/generated/resources/SearchParameter.js.map +1 -0
  515. package/dist/generated/resources/ServiceRequest.d.ts +133 -0
  516. package/dist/generated/resources/ServiceRequest.d.ts.map +1 -0
  517. package/dist/generated/resources/ServiceRequest.js +3 -0
  518. package/dist/generated/resources/ServiceRequest.js.map +1 -0
  519. package/dist/generated/resources/Slot.d.ts +55 -0
  520. package/dist/generated/resources/Slot.d.ts.map +1 -0
  521. package/dist/generated/resources/Slot.js +3 -0
  522. package/dist/generated/resources/Slot.js.map +1 -0
  523. package/dist/generated/resources/Specimen.d.ts +137 -0
  524. package/dist/generated/resources/Specimen.d.ts.map +1 -0
  525. package/dist/generated/resources/Specimen.js +3 -0
  526. package/dist/generated/resources/Specimen.js.map +1 -0
  527. package/dist/generated/resources/SpecimenDefinition.d.ts +131 -0
  528. package/dist/generated/resources/SpecimenDefinition.d.ts.map +1 -0
  529. package/dist/generated/resources/SpecimenDefinition.js +3 -0
  530. package/dist/generated/resources/SpecimenDefinition.js.map +1 -0
  531. package/dist/generated/resources/StructureDefinition.d.ts +157 -0
  532. package/dist/generated/resources/StructureDefinition.d.ts.map +1 -0
  533. package/dist/generated/resources/StructureDefinition.js +3 -0
  534. package/dist/generated/resources/StructureDefinition.js.map +1 -0
  535. package/dist/generated/resources/StructureMap.d.ts +344 -0
  536. package/dist/generated/resources/StructureMap.d.ts.map +1 -0
  537. package/dist/generated/resources/StructureMap.js +3 -0
  538. package/dist/generated/resources/StructureMap.js.map +1 -0
  539. package/dist/generated/resources/Subscription.d.ts +67 -0
  540. package/dist/generated/resources/Subscription.d.ts.map +1 -0
  541. package/dist/generated/resources/Subscription.js +3 -0
  542. package/dist/generated/resources/Subscription.js.map +1 -0
  543. package/dist/generated/resources/Substance.d.ts +75 -0
  544. package/dist/generated/resources/Substance.d.ts.map +1 -0
  545. package/dist/generated/resources/Substance.js +3 -0
  546. package/dist/generated/resources/Substance.js.map +1 -0
  547. package/dist/generated/resources/SubstanceNucleicAcid.d.ts +104 -0
  548. package/dist/generated/resources/SubstanceNucleicAcid.d.ts.map +1 -0
  549. package/dist/generated/resources/SubstanceNucleicAcid.js +3 -0
  550. package/dist/generated/resources/SubstanceNucleicAcid.js.map +1 -0
  551. package/dist/generated/resources/SubstancePolymer.d.ts +139 -0
  552. package/dist/generated/resources/SubstancePolymer.d.ts.map +1 -0
  553. package/dist/generated/resources/SubstancePolymer.js +3 -0
  554. package/dist/generated/resources/SubstancePolymer.js.map +1 -0
  555. package/dist/generated/resources/SubstanceProtein.d.ts +67 -0
  556. package/dist/generated/resources/SubstanceProtein.d.ts.map +1 -0
  557. package/dist/generated/resources/SubstanceProtein.js +3 -0
  558. package/dist/generated/resources/SubstanceProtein.js.map +1 -0
  559. package/dist/generated/resources/SubstanceReferenceInformation.d.ts +116 -0
  560. package/dist/generated/resources/SubstanceReferenceInformation.d.ts.map +1 -0
  561. package/dist/generated/resources/SubstanceReferenceInformation.js +3 -0
  562. package/dist/generated/resources/SubstanceReferenceInformation.js.map +1 -0
  563. package/dist/generated/resources/SubstanceSourceMaterial.d.ts +163 -0
  564. package/dist/generated/resources/SubstanceSourceMaterial.d.ts.map +1 -0
  565. package/dist/generated/resources/SubstanceSourceMaterial.js +3 -0
  566. package/dist/generated/resources/SubstanceSourceMaterial.js.map +1 -0
  567. package/dist/generated/resources/SubstanceSpecification.d.ts +306 -0
  568. package/dist/generated/resources/SubstanceSpecification.d.ts.map +1 -0
  569. package/dist/generated/resources/SubstanceSpecification.js +3 -0
  570. package/dist/generated/resources/SubstanceSpecification.js.map +1 -0
  571. package/dist/generated/resources/SupplyDelivery.d.ts +80 -0
  572. package/dist/generated/resources/SupplyDelivery.d.ts.map +1 -0
  573. package/dist/generated/resources/SupplyDelivery.js +3 -0
  574. package/dist/generated/resources/SupplyDelivery.js.map +1 -0
  575. package/dist/generated/resources/SupplyRequest.d.ts +99 -0
  576. package/dist/generated/resources/SupplyRequest.d.ts.map +1 -0
  577. package/dist/generated/resources/SupplyRequest.js +3 -0
  578. package/dist/generated/resources/SupplyRequest.js.map +1 -0
  579. package/dist/generated/resources/Task.d.ts +292 -0
  580. package/dist/generated/resources/Task.d.ts.map +1 -0
  581. package/dist/generated/resources/Task.js +3 -0
  582. package/dist/generated/resources/Task.js.map +1 -0
  583. package/dist/generated/resources/TerminologyCapabilities.d.ts +251 -0
  584. package/dist/generated/resources/TerminologyCapabilities.d.ts.map +1 -0
  585. package/dist/generated/resources/TerminologyCapabilities.js +3 -0
  586. package/dist/generated/resources/TerminologyCapabilities.js.map +1 -0
  587. package/dist/generated/resources/TestReport.d.ts +188 -0
  588. package/dist/generated/resources/TestReport.d.ts.map +1 -0
  589. package/dist/generated/resources/TestReport.js +3 -0
  590. package/dist/generated/resources/TestReport.js.map +1 -0
  591. package/dist/generated/resources/TestScript.d.ts +446 -0
  592. package/dist/generated/resources/TestScript.d.ts.map +1 -0
  593. package/dist/generated/resources/TestScript.js +3 -0
  594. package/dist/generated/resources/TestScript.js.map +1 -0
  595. package/dist/generated/resources/ValueSet.d.ts +253 -0
  596. package/dist/generated/resources/ValueSet.d.ts.map +1 -0
  597. package/dist/generated/resources/ValueSet.js +3 -0
  598. package/dist/generated/resources/ValueSet.js.map +1 -0
  599. package/dist/generated/resources/VerificationResult.d.ts +131 -0
  600. package/dist/generated/resources/VerificationResult.d.ts.map +1 -0
  601. package/dist/generated/resources/VerificationResult.js +3 -0
  602. package/dist/generated/resources/VerificationResult.js.map +1 -0
  603. package/dist/generated/resources/VisionPrescription.d.ts +112 -0
  604. package/dist/generated/resources/VisionPrescription.d.ts.map +1 -0
  605. package/dist/generated/resources/VisionPrescription.js +3 -0
  606. package/dist/generated/resources/VisionPrescription.js.map +1 -0
  607. package/dist/generated/search-parameters.d.ts +6 -0
  608. package/dist/generated/search-parameters.d.ts.map +1 -0
  609. package/dist/generated/search-parameters.js +2939 -0
  610. package/dist/generated/search-parameters.js.map +1 -0
  611. package/dist/index.d.ts +14 -0
  612. package/dist/index.d.ts.map +1 -0
  613. package/dist/index.js +14 -0
  614. package/dist/index.js.map +1 -0
  615. package/package.json +42 -3
@@ -0,0 +1,1750 @@
1
+ import type { OneOf, OptionalOneOf, ReferenceString } from './helpers.js';
2
+ import type { FhirBase64Binary, FhirBoolean, FhirCanonical, FhirCode, FhirDate, FhirDateTime, FhirDecimal, FhirId, FhirInstant, FhirInteger, FhirMarkdown, FhirOid, FhirPositiveInt, FhirString, FhirTime, FhirUnsignedInt, FhirUri, FhirUrl, FhirUuid, FhirXhtml } from './primitives.js';
3
+ import type { Resource } from './resource-map.js';
4
+ import type { Device } from './resources/Device.js';
5
+ import type { Group } from './resources/Group.js';
6
+ import type { HealthcareService } from './resources/HealthcareService.js';
7
+ import type { InsurancePlan } from './resources/InsurancePlan.js';
8
+ import type { Location } from './resources/Location.js';
9
+ import type { Organization } from './resources/Organization.js';
10
+ import type { Patient } from './resources/Patient.js';
11
+ import type { PlanDefinition } from './resources/PlanDefinition.js';
12
+ import type { Practitioner } from './resources/Practitioner.js';
13
+ import type { PractitionerRole } from './resources/PractitionerRole.js';
14
+ import type { RelatedPerson } from './resources/RelatedPerson.js';
15
+ import type { ResearchStudy } from './resources/ResearchStudy.js';
16
+ import type { Schedule } from './resources/Schedule.js';
17
+ /** Base StructureDefinition for Address Type: An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world. */
18
+ export interface Address {
19
+ /** Unique id for inter-element referencing */
20
+ id?: FhirString;
21
+ /** Additional content defined by implementations */
22
+ extension?: Extension[];
23
+ /** home | work | temp | old | billing - purpose of this address */
24
+ use?: 'home' | 'work' | 'temp' | 'old' | 'billing';
25
+ _use?: Element;
26
+ /** postal | physical | both */
27
+ type?: 'postal' | 'physical' | 'both';
28
+ _type?: Element;
29
+ /** Text representation of the address */
30
+ text?: FhirString;
31
+ _text?: Element;
32
+ /** Street name, number, direction & P.O. Box etc. */
33
+ line?: FhirString[];
34
+ _line?: (Element | null)[];
35
+ /** Name of city, town etc. */
36
+ city?: FhirString;
37
+ _city?: Element;
38
+ /** District name (aka county) */
39
+ district?: FhirString;
40
+ _district?: Element;
41
+ /** Sub-unit of country (abbreviations ok) */
42
+ state?: FhirString;
43
+ _state?: Element;
44
+ /** Postal code for area */
45
+ postalCode?: FhirString;
46
+ _postalCode?: Element;
47
+ /** Country (e.g. can be ISO 3166 2 or 3 letter code) */
48
+ country?: FhirString;
49
+ _country?: Element;
50
+ /** Time period when address was/is in use */
51
+ period?: Period;
52
+ }
53
+ /** Base StructureDefinition for Age Type: A duration of time during which an organism (or a process) has existed. */
54
+ export interface Age {
55
+ /** Unique id for inter-element referencing */
56
+ id?: FhirString;
57
+ /** Additional content defined by implementations */
58
+ extension?: Extension[];
59
+ /** Numerical value (with implicit precision) */
60
+ value?: FhirDecimal;
61
+ _value?: Element;
62
+ /** < | <= | >= | > - how to understand the value */
63
+ comparator?: '<' | '<=' | '>=' | '>';
64
+ _comparator?: Element;
65
+ /** Unit representation */
66
+ unit?: FhirString;
67
+ _unit?: Element;
68
+ /** System that defines coded unit form */
69
+ system?: FhirUri;
70
+ _system?: Element;
71
+ /** Coded form of the unit */
72
+ code?: FhirCode;
73
+ _code?: Element;
74
+ }
75
+ /** Base StructureDefinition for Annotation Type: A text note which also contains information about who made the statement and when. */
76
+ export type Annotation = {
77
+ /** Unique id for inter-element referencing */
78
+ id?: FhirString;
79
+ /** Additional content defined by implementations */
80
+ extension?: Extension[];
81
+ /** When the annotation was made */
82
+ time?: FhirDateTime;
83
+ _time?: Element;
84
+ /** The annotation - text content (as markdown) */
85
+ text: FhirMarkdown;
86
+ _text?: Element;
87
+ _authorString?: Element;
88
+ } & OptionalOneOf<{
89
+ /** Individual responsible for the annotation */
90
+ authorReference: Reference<Practitioner | Patient | RelatedPerson | Organization>;
91
+ authorString: FhirString;
92
+ }>;
93
+ /** Base StructureDefinition for Attachment Type: For referring to data content defined in other formats. */
94
+ export interface Attachment {
95
+ /** Unique id for inter-element referencing */
96
+ id?: FhirString;
97
+ /** Additional content defined by implementations */
98
+ extension?: Extension[];
99
+ /** Mime type of the content, with charset etc. */
100
+ contentType?: FhirCode;
101
+ _contentType?: Element;
102
+ /** Human language of the content (BCP-47) */
103
+ language?: FhirCode;
104
+ _language?: Element;
105
+ /** Data inline, base64ed */
106
+ data?: FhirBase64Binary;
107
+ _data?: Element;
108
+ /** Uri where the data can be found */
109
+ url?: FhirUrl;
110
+ _url?: Element;
111
+ /** Number of bytes of content (if url provided) */
112
+ size?: FhirUnsignedInt;
113
+ _size?: Element;
114
+ /** Hash of the data (sha-1, base64ed) */
115
+ hash?: FhirBase64Binary;
116
+ _hash?: Element;
117
+ /** Label to display in place of the data */
118
+ title?: FhirString;
119
+ _title?: Element;
120
+ /** Date attachment was first created */
121
+ creation?: FhirDateTime;
122
+ _creation?: Element;
123
+ }
124
+ /** Base StructureDefinition for BackboneElement Type: Base definition for all elements that are defined inside a resource - but not those in a data type. */
125
+ export interface BackboneElement {
126
+ /** Unique id for inter-element referencing */
127
+ id?: FhirString;
128
+ /** Additional content defined by implementations */
129
+ extension?: Extension[];
130
+ /** Extensions that cannot be ignored even if unrecognized */
131
+ modifierExtension?: Extension[];
132
+ }
133
+ /** Base StructureDefinition for CodeableConcept Type: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. */
134
+ export interface CodeableConcept {
135
+ /** Unique id for inter-element referencing */
136
+ id?: FhirString;
137
+ /** Additional content defined by implementations */
138
+ extension?: Extension[];
139
+ /** Code defined by a terminology system */
140
+ coding?: Coding[];
141
+ /** Plain text representation of the concept */
142
+ text?: FhirString;
143
+ _text?: Element;
144
+ }
145
+ /** Base StructureDefinition for Coding Type: A reference to a code defined by a terminology system. */
146
+ export interface Coding {
147
+ /** Unique id for inter-element referencing */
148
+ id?: FhirString;
149
+ /** Additional content defined by implementations */
150
+ extension?: Extension[];
151
+ /** Identity of the terminology system */
152
+ system?: FhirUri;
153
+ _system?: Element;
154
+ /** Version of the system - if relevant */
155
+ version?: FhirString;
156
+ _version?: Element;
157
+ /** Symbol in syntax defined by the system */
158
+ code?: FhirCode;
159
+ _code?: Element;
160
+ /** Representation defined by the system */
161
+ display?: FhirString;
162
+ _display?: Element;
163
+ /** If this coding was chosen directly by the user */
164
+ userSelected?: FhirBoolean;
165
+ _userSelected?: Element;
166
+ }
167
+ /** Base StructureDefinition for ContactDetail Type: Specifies contact information for a person or organization. */
168
+ export interface ContactDetail {
169
+ /** Unique id for inter-element referencing */
170
+ id?: FhirString;
171
+ /** Additional content defined by implementations */
172
+ extension?: Extension[];
173
+ /** Name of an individual to contact */
174
+ name?: FhirString;
175
+ _name?: Element;
176
+ /** Contact details for individual or organization */
177
+ telecom?: ContactPoint[];
178
+ }
179
+ /** Base StructureDefinition for ContactPoint Type: Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc. */
180
+ export interface ContactPoint {
181
+ /** Unique id for inter-element referencing */
182
+ id?: FhirString;
183
+ /** Additional content defined by implementations */
184
+ extension?: Extension[];
185
+ /** phone | fax | email | pager | url | sms | other */
186
+ system?: 'phone' | 'fax' | 'email' | 'pager' | 'url' | 'sms' | 'other';
187
+ _system?: Element;
188
+ /** The actual contact point details */
189
+ value?: FhirString;
190
+ _value?: Element;
191
+ /** home | work | temp | old | mobile - purpose of this contact point */
192
+ use?: 'home' | 'work' | 'temp' | 'old' | 'mobile';
193
+ _use?: Element;
194
+ /** Specify preferred order of use (1 = highest) */
195
+ rank?: FhirPositiveInt;
196
+ _rank?: Element;
197
+ /** Time period when the contact point was/is in use */
198
+ period?: Period;
199
+ }
200
+ /** Base StructureDefinition for Contributor Type: A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers. */
201
+ export interface Contributor {
202
+ /** Unique id for inter-element referencing */
203
+ id?: FhirString;
204
+ /** Additional content defined by implementations */
205
+ extension?: Extension[];
206
+ /** author | editor | reviewer | endorser */
207
+ type: 'author' | 'editor' | 'reviewer' | 'endorser';
208
+ _type?: Element;
209
+ /** Who contributed the content */
210
+ name: FhirString;
211
+ _name?: Element;
212
+ /** Contact details of the contributor */
213
+ contact?: ContactDetail[];
214
+ }
215
+ /** Base StructureDefinition for Count Type: A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies. */
216
+ export interface Count {
217
+ /** Unique id for inter-element referencing */
218
+ id?: FhirString;
219
+ /** Additional content defined by implementations */
220
+ extension?: Extension[];
221
+ /** Numerical value (with implicit precision) */
222
+ value?: FhirDecimal;
223
+ _value?: Element;
224
+ /** < | <= | >= | > - how to understand the value */
225
+ comparator?: '<' | '<=' | '>=' | '>';
226
+ _comparator?: Element;
227
+ /** Unit representation */
228
+ unit?: FhirString;
229
+ _unit?: Element;
230
+ /** System that defines coded unit form */
231
+ system?: FhirUri;
232
+ _system?: Element;
233
+ /** Coded form of the unit */
234
+ code?: FhirCode;
235
+ _code?: Element;
236
+ }
237
+ /** Base StructureDefinition for DataRequirement Type: Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data. */
238
+ export type DataRequirement = {
239
+ /** Unique id for inter-element referencing */
240
+ id?: FhirString;
241
+ /** Additional content defined by implementations */
242
+ extension?: Extension[];
243
+ /** The type of the required data */
244
+ type: FhirCode;
245
+ _type?: Element;
246
+ /** The profile of the required data */
247
+ profile?: FhirCanonical[];
248
+ _profile?: (Element | null)[];
249
+ /** Indicates specific structure elements that are referenced by the knowledge module */
250
+ mustSupport?: FhirString[];
251
+ _mustSupport?: (Element | null)[];
252
+ /** What codes are expected */
253
+ codeFilter?: DataRequirementCodeFilter[];
254
+ /** What dates/date ranges are expected */
255
+ dateFilter?: DataRequirementDateFilter[];
256
+ /** Number of results */
257
+ limit?: FhirPositiveInt;
258
+ _limit?: Element;
259
+ /** Order of the results */
260
+ sort?: DataRequirementSort[];
261
+ } & OptionalOneOf<{
262
+ /** E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device */
263
+ subjectCodeableConcept: CodeableConcept;
264
+ subjectReference: Reference<Group>;
265
+ }>;
266
+ /** What codes are expected */
267
+ export interface DataRequirementCodeFilter {
268
+ /** Unique id for inter-element referencing */
269
+ id?: FhirString;
270
+ /** Additional content defined by implementations */
271
+ extension?: Extension[];
272
+ /** A code-valued attribute to filter on */
273
+ path?: FhirString;
274
+ _path?: Element;
275
+ /** A coded (token) parameter to search on */
276
+ searchParam?: FhirString;
277
+ _searchParam?: Element;
278
+ /** Valueset for the filter */
279
+ valueSet?: FhirCanonical;
280
+ _valueSet?: Element;
281
+ /** What code is expected */
282
+ code?: Coding[];
283
+ }
284
+ /** What dates/date ranges are expected */
285
+ export type DataRequirementDateFilter = {
286
+ /** Unique id for inter-element referencing */
287
+ id?: FhirString;
288
+ /** Additional content defined by implementations */
289
+ extension?: Extension[];
290
+ /** A date-valued attribute to filter on */
291
+ path?: FhirString;
292
+ _path?: Element;
293
+ /** A date valued parameter to search on */
294
+ searchParam?: FhirString;
295
+ _searchParam?: Element;
296
+ _valueDateTime?: Element;
297
+ } & OptionalOneOf<{
298
+ /** The value of the filter, as a Period, DateTime, or Duration value */
299
+ valueDateTime: FhirDateTime;
300
+ valuePeriod: Period;
301
+ valueDuration: Duration;
302
+ }>;
303
+ /** Order of the results */
304
+ export interface DataRequirementSort {
305
+ /** Unique id for inter-element referencing */
306
+ id?: FhirString;
307
+ /** Additional content defined by implementations */
308
+ extension?: Extension[];
309
+ /** The name of the attribute to perform the sort */
310
+ path: FhirString;
311
+ _path?: Element;
312
+ /** ascending | descending */
313
+ direction: 'ascending' | 'descending';
314
+ _direction?: Element;
315
+ }
316
+ /** Base StructureDefinition for Distance Type: A length - a value with a unit that is a physical distance. */
317
+ export interface Distance {
318
+ /** Unique id for inter-element referencing */
319
+ id?: FhirString;
320
+ /** Additional content defined by implementations */
321
+ extension?: Extension[];
322
+ /** Numerical value (with implicit precision) */
323
+ value?: FhirDecimal;
324
+ _value?: Element;
325
+ /** < | <= | >= | > - how to understand the value */
326
+ comparator?: '<' | '<=' | '>=' | '>';
327
+ _comparator?: Element;
328
+ /** Unit representation */
329
+ unit?: FhirString;
330
+ _unit?: Element;
331
+ /** System that defines coded unit form */
332
+ system?: FhirUri;
333
+ _system?: Element;
334
+ /** Coded form of the unit */
335
+ code?: FhirCode;
336
+ _code?: Element;
337
+ }
338
+ /** Base StructureDefinition for Dosage Type: Indicates how the medication is/was taken or should be taken by the patient. */
339
+ export type Dosage = {
340
+ /** Unique id for inter-element referencing */
341
+ id?: FhirString;
342
+ /** Additional content defined by implementations */
343
+ extension?: Extension[];
344
+ /** Extensions that cannot be ignored even if unrecognized */
345
+ modifierExtension?: Extension[];
346
+ /** The order of the dosage instructions */
347
+ sequence?: FhirInteger;
348
+ _sequence?: Element;
349
+ /** Free text dosage instructions e.g. SIG */
350
+ text?: FhirString;
351
+ _text?: Element;
352
+ /** Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" */
353
+ additionalInstruction?: CodeableConcept[];
354
+ /** Patient or consumer oriented instructions */
355
+ patientInstruction?: FhirString;
356
+ _patientInstruction?: Element;
357
+ /** When medication should be administered */
358
+ timing?: Timing;
359
+ /** Body site to administer to */
360
+ site?: CodeableConcept;
361
+ /** How drug should enter body */
362
+ route?: CodeableConcept;
363
+ /** Technique for administering medication */
364
+ method?: CodeableConcept;
365
+ /** Amount of medication administered */
366
+ doseAndRate?: DosageDoseAndRate[];
367
+ /** Upper limit on medication per unit of time */
368
+ maxDosePerPeriod?: Ratio;
369
+ /** Upper limit on medication per administration */
370
+ maxDosePerAdministration?: Quantity;
371
+ /** Upper limit on medication per lifetime of the patient */
372
+ maxDosePerLifetime?: Quantity;
373
+ _asNeededBoolean?: Element;
374
+ } & OptionalOneOf<{
375
+ /** Take "as needed" (for x) */
376
+ asNeededBoolean: FhirBoolean;
377
+ asNeededCodeableConcept: CodeableConcept;
378
+ }>;
379
+ /** Amount of medication administered */
380
+ export type DosageDoseAndRate = {
381
+ /** Unique id for inter-element referencing */
382
+ id?: FhirString;
383
+ /** Additional content defined by implementations */
384
+ extension?: Extension[];
385
+ /** The kind of dose or rate specified */
386
+ type?: CodeableConcept;
387
+ } & OptionalOneOf<{
388
+ /** Amount of medication per dose */
389
+ doseRange: Range;
390
+ doseQuantity: Quantity;
391
+ }> & OptionalOneOf<{
392
+ /** Amount of medication per unit of time */
393
+ rateRatio: Ratio;
394
+ rateRange: Range;
395
+ rateQuantity: Quantity;
396
+ }>;
397
+ /** Base StructureDefinition for Duration Type: A length of time. */
398
+ export interface Duration {
399
+ /** Unique id for inter-element referencing */
400
+ id?: FhirString;
401
+ /** Additional content defined by implementations */
402
+ extension?: Extension[];
403
+ /** Numerical value (with implicit precision) */
404
+ value?: FhirDecimal;
405
+ _value?: Element;
406
+ /** < | <= | >= | > - how to understand the value */
407
+ comparator?: '<' | '<=' | '>=' | '>';
408
+ _comparator?: Element;
409
+ /** Unit representation */
410
+ unit?: FhirString;
411
+ _unit?: Element;
412
+ /** System that defines coded unit form */
413
+ system?: FhirUri;
414
+ _system?: Element;
415
+ /** Coded form of the unit */
416
+ code?: FhirCode;
417
+ _code?: Element;
418
+ }
419
+ /** Base StructureDefinition for Element Type: Base definition for all elements in a resource. */
420
+ export interface Element {
421
+ /** Unique id for inter-element referencing */
422
+ id?: FhirString;
423
+ /** Additional content defined by implementations */
424
+ extension?: Extension[];
425
+ }
426
+ /** Base StructureDefinition for ElementDefinition Type: Captures constraints on each element within the resource, profile, or extension. */
427
+ export interface ElementDefinition {
428
+ /** Unique id for inter-element referencing */
429
+ id?: FhirString;
430
+ /** Additional content defined by implementations */
431
+ extension?: Extension[];
432
+ /** Extensions that cannot be ignored even if unrecognized */
433
+ modifierExtension?: Extension[];
434
+ /** Path of the element in the hierarchy of elements */
435
+ path: FhirString;
436
+ _path?: Element;
437
+ /** xmlAttr | xmlText | typeAttr | cdaText | xhtml */
438
+ representation?: ('xmlAttr' | 'xmlText' | 'typeAttr' | 'cdaText' | 'xhtml')[];
439
+ _representation?: (Element | null)[];
440
+ /** Name for this particular element (in a set of slices) */
441
+ sliceName?: FhirString;
442
+ _sliceName?: Element;
443
+ /** If this slice definition constrains an inherited slice definition (or not) */
444
+ sliceIsConstraining?: FhirBoolean;
445
+ _sliceIsConstraining?: Element;
446
+ /** Name for element to display with or prompt for element */
447
+ label?: FhirString;
448
+ _label?: Element;
449
+ /** Corresponding codes in terminologies */
450
+ code?: Coding[];
451
+ /** This element is sliced - slices follow */
452
+ slicing?: ElementDefinitionSlicing;
453
+ /** Concise definition for space-constrained presentation */
454
+ short?: FhirString;
455
+ _short?: Element;
456
+ /** Full formal definition as narrative text */
457
+ definition?: FhirMarkdown;
458
+ _definition?: Element;
459
+ /** Comments about the use of this element */
460
+ comment?: FhirMarkdown;
461
+ _comment?: Element;
462
+ /** Why this resource has been created */
463
+ requirements?: FhirMarkdown;
464
+ _requirements?: Element;
465
+ /** Other names */
466
+ alias?: FhirString[];
467
+ _alias?: (Element | null)[];
468
+ /** Minimum Cardinality */
469
+ min?: FhirUnsignedInt;
470
+ _min?: Element;
471
+ /** Maximum Cardinality (a number or *) */
472
+ max?: FhirString;
473
+ _max?: Element;
474
+ /** Base definition information for tools */
475
+ base?: ElementDefinitionBase;
476
+ /** Reference to definition of content for the element */
477
+ contentReference?: FhirUri;
478
+ _contentReference?: Element;
479
+ /** Data type and Profile for this element */
480
+ type?: ElementDefinitionType[];
481
+ /** Implicit meaning when this element is missing */
482
+ meaningWhenMissing?: FhirMarkdown;
483
+ _meaningWhenMissing?: Element;
484
+ /** What the order of the elements means */
485
+ orderMeaning?: FhirString;
486
+ _orderMeaning?: Element;
487
+ /** Example value (as defined for type) */
488
+ example?: ElementDefinitionExample[];
489
+ /** Max length for strings */
490
+ maxLength?: FhirInteger;
491
+ _maxLength?: Element;
492
+ /** Reference to invariant about presence */
493
+ condition?: FhirId[];
494
+ _condition?: (Element | null)[];
495
+ /** Condition that must evaluate to true */
496
+ constraint?: ElementDefinitionConstraint[];
497
+ /** If the element must be supported */
498
+ mustSupport?: FhirBoolean;
499
+ _mustSupport?: Element;
500
+ /** If this modifies the meaning of other elements */
501
+ isModifier?: FhirBoolean;
502
+ _isModifier?: Element;
503
+ /** Reason that this element is marked as a modifier */
504
+ isModifierReason?: FhirString;
505
+ _isModifierReason?: Element;
506
+ /** Include when _summary = true? */
507
+ isSummary?: FhirBoolean;
508
+ _isSummary?: Element;
509
+ /** ValueSet details if this is coded */
510
+ binding?: ElementDefinitionBinding;
511
+ /** Map element to another set of definitions */
512
+ mapping?: ElementDefinitionMapping[];
513
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
514
+ defaultValueBase64Binary?: FhirBase64Binary;
515
+ _defaultValueBase64Binary?: Element;
516
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
517
+ defaultValueBoolean?: FhirBoolean;
518
+ _defaultValueBoolean?: Element;
519
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
520
+ defaultValueCanonical?: FhirCanonical;
521
+ _defaultValueCanonical?: Element;
522
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
523
+ defaultValueCode?: FhirCode;
524
+ _defaultValueCode?: Element;
525
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
526
+ defaultValueDate?: FhirDate;
527
+ _defaultValueDate?: Element;
528
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
529
+ defaultValueDateTime?: FhirDateTime;
530
+ _defaultValueDateTime?: Element;
531
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
532
+ defaultValueDecimal?: FhirDecimal;
533
+ _defaultValueDecimal?: Element;
534
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
535
+ defaultValueId?: FhirId;
536
+ _defaultValueId?: Element;
537
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
538
+ defaultValueInstant?: FhirInstant;
539
+ _defaultValueInstant?: Element;
540
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
541
+ defaultValueInteger?: FhirInteger;
542
+ _defaultValueInteger?: Element;
543
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
544
+ defaultValueMarkdown?: FhirMarkdown;
545
+ _defaultValueMarkdown?: Element;
546
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
547
+ defaultValueOid?: FhirOid;
548
+ _defaultValueOid?: Element;
549
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
550
+ defaultValuePositiveInt?: FhirPositiveInt;
551
+ _defaultValuePositiveInt?: Element;
552
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
553
+ defaultValueString?: FhirString;
554
+ _defaultValueString?: Element;
555
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
556
+ defaultValueTime?: FhirTime;
557
+ _defaultValueTime?: Element;
558
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
559
+ defaultValueUnsignedInt?: FhirUnsignedInt;
560
+ _defaultValueUnsignedInt?: Element;
561
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
562
+ defaultValueUri?: FhirUri;
563
+ _defaultValueUri?: Element;
564
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
565
+ defaultValueUrl?: FhirUrl;
566
+ _defaultValueUrl?: Element;
567
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
568
+ defaultValueUuid?: FhirUuid;
569
+ _defaultValueUuid?: Element;
570
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
571
+ defaultValueAddress?: Address;
572
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
573
+ defaultValueAge?: Age;
574
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
575
+ defaultValueAnnotation?: Annotation;
576
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
577
+ defaultValueAttachment?: Attachment;
578
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
579
+ defaultValueCodeableConcept?: CodeableConcept;
580
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
581
+ defaultValueCoding?: Coding;
582
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
583
+ defaultValueContactPoint?: ContactPoint;
584
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
585
+ defaultValueCount?: Count;
586
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
587
+ defaultValueDistance?: Distance;
588
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
589
+ defaultValueDuration?: Duration;
590
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
591
+ defaultValueHumanName?: HumanName;
592
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
593
+ defaultValueIdentifier?: Identifier;
594
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
595
+ defaultValueMoney?: Money;
596
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
597
+ defaultValuePeriod?: Period;
598
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
599
+ defaultValueQuantity?: Quantity;
600
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
601
+ defaultValueRange?: Range;
602
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
603
+ defaultValueRatio?: Ratio;
604
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
605
+ defaultValueReference?: Reference;
606
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
607
+ defaultValueSampledData?: SampledData;
608
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
609
+ defaultValueSignature?: Signature;
610
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
611
+ defaultValueTiming?: Timing;
612
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
613
+ defaultValueContactDetail?: ContactDetail;
614
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
615
+ defaultValueContributor?: Contributor;
616
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
617
+ defaultValueDataRequirement?: DataRequirement;
618
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
619
+ defaultValueExpression?: Expression;
620
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
621
+ defaultValueParameterDefinition?: ParameterDefinition;
622
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
623
+ defaultValueRelatedArtifact?: RelatedArtifact;
624
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
625
+ defaultValueTriggerDefinition?: TriggerDefinition;
626
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
627
+ defaultValueUsageContext?: UsageContext;
628
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
629
+ defaultValueDosage?: Dosage;
630
+ /** Specified value if missing from instance (only one defaultValue[x] may be set) */
631
+ defaultValueMeta?: Meta;
632
+ /** Value must be exactly this (only one fixed[x] may be set) */
633
+ fixedBase64Binary?: FhirBase64Binary;
634
+ _fixedBase64Binary?: Element;
635
+ /** Value must be exactly this (only one fixed[x] may be set) */
636
+ fixedBoolean?: FhirBoolean;
637
+ _fixedBoolean?: Element;
638
+ /** Value must be exactly this (only one fixed[x] may be set) */
639
+ fixedCanonical?: FhirCanonical;
640
+ _fixedCanonical?: Element;
641
+ /** Value must be exactly this (only one fixed[x] may be set) */
642
+ fixedCode?: FhirCode;
643
+ _fixedCode?: Element;
644
+ /** Value must be exactly this (only one fixed[x] may be set) */
645
+ fixedDate?: FhirDate;
646
+ _fixedDate?: Element;
647
+ /** Value must be exactly this (only one fixed[x] may be set) */
648
+ fixedDateTime?: FhirDateTime;
649
+ _fixedDateTime?: Element;
650
+ /** Value must be exactly this (only one fixed[x] may be set) */
651
+ fixedDecimal?: FhirDecimal;
652
+ _fixedDecimal?: Element;
653
+ /** Value must be exactly this (only one fixed[x] may be set) */
654
+ fixedId?: FhirId;
655
+ _fixedId?: Element;
656
+ /** Value must be exactly this (only one fixed[x] may be set) */
657
+ fixedInstant?: FhirInstant;
658
+ _fixedInstant?: Element;
659
+ /** Value must be exactly this (only one fixed[x] may be set) */
660
+ fixedInteger?: FhirInteger;
661
+ _fixedInteger?: Element;
662
+ /** Value must be exactly this (only one fixed[x] may be set) */
663
+ fixedMarkdown?: FhirMarkdown;
664
+ _fixedMarkdown?: Element;
665
+ /** Value must be exactly this (only one fixed[x] may be set) */
666
+ fixedOid?: FhirOid;
667
+ _fixedOid?: Element;
668
+ /** Value must be exactly this (only one fixed[x] may be set) */
669
+ fixedPositiveInt?: FhirPositiveInt;
670
+ _fixedPositiveInt?: Element;
671
+ /** Value must be exactly this (only one fixed[x] may be set) */
672
+ fixedString?: FhirString;
673
+ _fixedString?: Element;
674
+ /** Value must be exactly this (only one fixed[x] may be set) */
675
+ fixedTime?: FhirTime;
676
+ _fixedTime?: Element;
677
+ /** Value must be exactly this (only one fixed[x] may be set) */
678
+ fixedUnsignedInt?: FhirUnsignedInt;
679
+ _fixedUnsignedInt?: Element;
680
+ /** Value must be exactly this (only one fixed[x] may be set) */
681
+ fixedUri?: FhirUri;
682
+ _fixedUri?: Element;
683
+ /** Value must be exactly this (only one fixed[x] may be set) */
684
+ fixedUrl?: FhirUrl;
685
+ _fixedUrl?: Element;
686
+ /** Value must be exactly this (only one fixed[x] may be set) */
687
+ fixedUuid?: FhirUuid;
688
+ _fixedUuid?: Element;
689
+ /** Value must be exactly this (only one fixed[x] may be set) */
690
+ fixedAddress?: Address;
691
+ /** Value must be exactly this (only one fixed[x] may be set) */
692
+ fixedAge?: Age;
693
+ /** Value must be exactly this (only one fixed[x] may be set) */
694
+ fixedAnnotation?: Annotation;
695
+ /** Value must be exactly this (only one fixed[x] may be set) */
696
+ fixedAttachment?: Attachment;
697
+ /** Value must be exactly this (only one fixed[x] may be set) */
698
+ fixedCodeableConcept?: CodeableConcept;
699
+ /** Value must be exactly this (only one fixed[x] may be set) */
700
+ fixedCoding?: Coding;
701
+ /** Value must be exactly this (only one fixed[x] may be set) */
702
+ fixedContactPoint?: ContactPoint;
703
+ /** Value must be exactly this (only one fixed[x] may be set) */
704
+ fixedCount?: Count;
705
+ /** Value must be exactly this (only one fixed[x] may be set) */
706
+ fixedDistance?: Distance;
707
+ /** Value must be exactly this (only one fixed[x] may be set) */
708
+ fixedDuration?: Duration;
709
+ /** Value must be exactly this (only one fixed[x] may be set) */
710
+ fixedHumanName?: HumanName;
711
+ /** Value must be exactly this (only one fixed[x] may be set) */
712
+ fixedIdentifier?: Identifier;
713
+ /** Value must be exactly this (only one fixed[x] may be set) */
714
+ fixedMoney?: Money;
715
+ /** Value must be exactly this (only one fixed[x] may be set) */
716
+ fixedPeriod?: Period;
717
+ /** Value must be exactly this (only one fixed[x] may be set) */
718
+ fixedQuantity?: Quantity;
719
+ /** Value must be exactly this (only one fixed[x] may be set) */
720
+ fixedRange?: Range;
721
+ /** Value must be exactly this (only one fixed[x] may be set) */
722
+ fixedRatio?: Ratio;
723
+ /** Value must be exactly this (only one fixed[x] may be set) */
724
+ fixedReference?: Reference;
725
+ /** Value must be exactly this (only one fixed[x] may be set) */
726
+ fixedSampledData?: SampledData;
727
+ /** Value must be exactly this (only one fixed[x] may be set) */
728
+ fixedSignature?: Signature;
729
+ /** Value must be exactly this (only one fixed[x] may be set) */
730
+ fixedTiming?: Timing;
731
+ /** Value must be exactly this (only one fixed[x] may be set) */
732
+ fixedContactDetail?: ContactDetail;
733
+ /** Value must be exactly this (only one fixed[x] may be set) */
734
+ fixedContributor?: Contributor;
735
+ /** Value must be exactly this (only one fixed[x] may be set) */
736
+ fixedDataRequirement?: DataRequirement;
737
+ /** Value must be exactly this (only one fixed[x] may be set) */
738
+ fixedExpression?: Expression;
739
+ /** Value must be exactly this (only one fixed[x] may be set) */
740
+ fixedParameterDefinition?: ParameterDefinition;
741
+ /** Value must be exactly this (only one fixed[x] may be set) */
742
+ fixedRelatedArtifact?: RelatedArtifact;
743
+ /** Value must be exactly this (only one fixed[x] may be set) */
744
+ fixedTriggerDefinition?: TriggerDefinition;
745
+ /** Value must be exactly this (only one fixed[x] may be set) */
746
+ fixedUsageContext?: UsageContext;
747
+ /** Value must be exactly this (only one fixed[x] may be set) */
748
+ fixedDosage?: Dosage;
749
+ /** Value must be exactly this (only one fixed[x] may be set) */
750
+ fixedMeta?: Meta;
751
+ /** Value must have at least these property values (only one pattern[x] may be set) */
752
+ patternBase64Binary?: FhirBase64Binary;
753
+ _patternBase64Binary?: Element;
754
+ /** Value must have at least these property values (only one pattern[x] may be set) */
755
+ patternBoolean?: FhirBoolean;
756
+ _patternBoolean?: Element;
757
+ /** Value must have at least these property values (only one pattern[x] may be set) */
758
+ patternCanonical?: FhirCanonical;
759
+ _patternCanonical?: Element;
760
+ /** Value must have at least these property values (only one pattern[x] may be set) */
761
+ patternCode?: FhirCode;
762
+ _patternCode?: Element;
763
+ /** Value must have at least these property values (only one pattern[x] may be set) */
764
+ patternDate?: FhirDate;
765
+ _patternDate?: Element;
766
+ /** Value must have at least these property values (only one pattern[x] may be set) */
767
+ patternDateTime?: FhirDateTime;
768
+ _patternDateTime?: Element;
769
+ /** Value must have at least these property values (only one pattern[x] may be set) */
770
+ patternDecimal?: FhirDecimal;
771
+ _patternDecimal?: Element;
772
+ /** Value must have at least these property values (only one pattern[x] may be set) */
773
+ patternId?: FhirId;
774
+ _patternId?: Element;
775
+ /** Value must have at least these property values (only one pattern[x] may be set) */
776
+ patternInstant?: FhirInstant;
777
+ _patternInstant?: Element;
778
+ /** Value must have at least these property values (only one pattern[x] may be set) */
779
+ patternInteger?: FhirInteger;
780
+ _patternInteger?: Element;
781
+ /** Value must have at least these property values (only one pattern[x] may be set) */
782
+ patternMarkdown?: FhirMarkdown;
783
+ _patternMarkdown?: Element;
784
+ /** Value must have at least these property values (only one pattern[x] may be set) */
785
+ patternOid?: FhirOid;
786
+ _patternOid?: Element;
787
+ /** Value must have at least these property values (only one pattern[x] may be set) */
788
+ patternPositiveInt?: FhirPositiveInt;
789
+ _patternPositiveInt?: Element;
790
+ /** Value must have at least these property values (only one pattern[x] may be set) */
791
+ patternString?: FhirString;
792
+ _patternString?: Element;
793
+ /** Value must have at least these property values (only one pattern[x] may be set) */
794
+ patternTime?: FhirTime;
795
+ _patternTime?: Element;
796
+ /** Value must have at least these property values (only one pattern[x] may be set) */
797
+ patternUnsignedInt?: FhirUnsignedInt;
798
+ _patternUnsignedInt?: Element;
799
+ /** Value must have at least these property values (only one pattern[x] may be set) */
800
+ patternUri?: FhirUri;
801
+ _patternUri?: Element;
802
+ /** Value must have at least these property values (only one pattern[x] may be set) */
803
+ patternUrl?: FhirUrl;
804
+ _patternUrl?: Element;
805
+ /** Value must have at least these property values (only one pattern[x] may be set) */
806
+ patternUuid?: FhirUuid;
807
+ _patternUuid?: Element;
808
+ /** Value must have at least these property values (only one pattern[x] may be set) */
809
+ patternAddress?: Address;
810
+ /** Value must have at least these property values (only one pattern[x] may be set) */
811
+ patternAge?: Age;
812
+ /** Value must have at least these property values (only one pattern[x] may be set) */
813
+ patternAnnotation?: Annotation;
814
+ /** Value must have at least these property values (only one pattern[x] may be set) */
815
+ patternAttachment?: Attachment;
816
+ /** Value must have at least these property values (only one pattern[x] may be set) */
817
+ patternCodeableConcept?: CodeableConcept;
818
+ /** Value must have at least these property values (only one pattern[x] may be set) */
819
+ patternCoding?: Coding;
820
+ /** Value must have at least these property values (only one pattern[x] may be set) */
821
+ patternContactPoint?: ContactPoint;
822
+ /** Value must have at least these property values (only one pattern[x] may be set) */
823
+ patternCount?: Count;
824
+ /** Value must have at least these property values (only one pattern[x] may be set) */
825
+ patternDistance?: Distance;
826
+ /** Value must have at least these property values (only one pattern[x] may be set) */
827
+ patternDuration?: Duration;
828
+ /** Value must have at least these property values (only one pattern[x] may be set) */
829
+ patternHumanName?: HumanName;
830
+ /** Value must have at least these property values (only one pattern[x] may be set) */
831
+ patternIdentifier?: Identifier;
832
+ /** Value must have at least these property values (only one pattern[x] may be set) */
833
+ patternMoney?: Money;
834
+ /** Value must have at least these property values (only one pattern[x] may be set) */
835
+ patternPeriod?: Period;
836
+ /** Value must have at least these property values (only one pattern[x] may be set) */
837
+ patternQuantity?: Quantity;
838
+ /** Value must have at least these property values (only one pattern[x] may be set) */
839
+ patternRange?: Range;
840
+ /** Value must have at least these property values (only one pattern[x] may be set) */
841
+ patternRatio?: Ratio;
842
+ /** Value must have at least these property values (only one pattern[x] may be set) */
843
+ patternReference?: Reference;
844
+ /** Value must have at least these property values (only one pattern[x] may be set) */
845
+ patternSampledData?: SampledData;
846
+ /** Value must have at least these property values (only one pattern[x] may be set) */
847
+ patternSignature?: Signature;
848
+ /** Value must have at least these property values (only one pattern[x] may be set) */
849
+ patternTiming?: Timing;
850
+ /** Value must have at least these property values (only one pattern[x] may be set) */
851
+ patternContactDetail?: ContactDetail;
852
+ /** Value must have at least these property values (only one pattern[x] may be set) */
853
+ patternContributor?: Contributor;
854
+ /** Value must have at least these property values (only one pattern[x] may be set) */
855
+ patternDataRequirement?: DataRequirement;
856
+ /** Value must have at least these property values (only one pattern[x] may be set) */
857
+ patternExpression?: Expression;
858
+ /** Value must have at least these property values (only one pattern[x] may be set) */
859
+ patternParameterDefinition?: ParameterDefinition;
860
+ /** Value must have at least these property values (only one pattern[x] may be set) */
861
+ patternRelatedArtifact?: RelatedArtifact;
862
+ /** Value must have at least these property values (only one pattern[x] may be set) */
863
+ patternTriggerDefinition?: TriggerDefinition;
864
+ /** Value must have at least these property values (only one pattern[x] may be set) */
865
+ patternUsageContext?: UsageContext;
866
+ /** Value must have at least these property values (only one pattern[x] may be set) */
867
+ patternDosage?: Dosage;
868
+ /** Value must have at least these property values (only one pattern[x] may be set) */
869
+ patternMeta?: Meta;
870
+ /** Minimum Allowed Value (for some types) (only one minValue[x] may be set) */
871
+ minValueDate?: FhirDate;
872
+ _minValueDate?: Element;
873
+ /** Minimum Allowed Value (for some types) (only one minValue[x] may be set) */
874
+ minValueDateTime?: FhirDateTime;
875
+ _minValueDateTime?: Element;
876
+ /** Minimum Allowed Value (for some types) (only one minValue[x] may be set) */
877
+ minValueInstant?: FhirInstant;
878
+ _minValueInstant?: Element;
879
+ /** Minimum Allowed Value (for some types) (only one minValue[x] may be set) */
880
+ minValueTime?: FhirTime;
881
+ _minValueTime?: Element;
882
+ /** Minimum Allowed Value (for some types) (only one minValue[x] may be set) */
883
+ minValueDecimal?: FhirDecimal;
884
+ _minValueDecimal?: Element;
885
+ /** Minimum Allowed Value (for some types) (only one minValue[x] may be set) */
886
+ minValueInteger?: FhirInteger;
887
+ _minValueInteger?: Element;
888
+ /** Minimum Allowed Value (for some types) (only one minValue[x] may be set) */
889
+ minValuePositiveInt?: FhirPositiveInt;
890
+ _minValuePositiveInt?: Element;
891
+ /** Minimum Allowed Value (for some types) (only one minValue[x] may be set) */
892
+ minValueUnsignedInt?: FhirUnsignedInt;
893
+ _minValueUnsignedInt?: Element;
894
+ /** Minimum Allowed Value (for some types) (only one minValue[x] may be set) */
895
+ minValueQuantity?: Quantity;
896
+ /** Maximum Allowed Value (for some types) (only one maxValue[x] may be set) */
897
+ maxValueDate?: FhirDate;
898
+ _maxValueDate?: Element;
899
+ /** Maximum Allowed Value (for some types) (only one maxValue[x] may be set) */
900
+ maxValueDateTime?: FhirDateTime;
901
+ _maxValueDateTime?: Element;
902
+ /** Maximum Allowed Value (for some types) (only one maxValue[x] may be set) */
903
+ maxValueInstant?: FhirInstant;
904
+ _maxValueInstant?: Element;
905
+ /** Maximum Allowed Value (for some types) (only one maxValue[x] may be set) */
906
+ maxValueTime?: FhirTime;
907
+ _maxValueTime?: Element;
908
+ /** Maximum Allowed Value (for some types) (only one maxValue[x] may be set) */
909
+ maxValueDecimal?: FhirDecimal;
910
+ _maxValueDecimal?: Element;
911
+ /** Maximum Allowed Value (for some types) (only one maxValue[x] may be set) */
912
+ maxValueInteger?: FhirInteger;
913
+ _maxValueInteger?: Element;
914
+ /** Maximum Allowed Value (for some types) (only one maxValue[x] may be set) */
915
+ maxValuePositiveInt?: FhirPositiveInt;
916
+ _maxValuePositiveInt?: Element;
917
+ /** Maximum Allowed Value (for some types) (only one maxValue[x] may be set) */
918
+ maxValueUnsignedInt?: FhirUnsignedInt;
919
+ _maxValueUnsignedInt?: Element;
920
+ /** Maximum Allowed Value (for some types) (only one maxValue[x] may be set) */
921
+ maxValueQuantity?: Quantity;
922
+ }
923
+ /** This element is sliced - slices follow */
924
+ export interface ElementDefinitionSlicing {
925
+ /** Unique id for inter-element referencing */
926
+ id?: FhirString;
927
+ /** Additional content defined by implementations */
928
+ extension?: Extension[];
929
+ /** Element values that are used to distinguish the slices */
930
+ discriminator?: ElementDefinitionSlicingDiscriminator[];
931
+ /** Text description of how slicing works (or not) */
932
+ description?: FhirString;
933
+ _description?: Element;
934
+ /** If elements must be in same order as slices */
935
+ ordered?: FhirBoolean;
936
+ _ordered?: Element;
937
+ /** closed | open | openAtEnd */
938
+ rules: 'closed' | 'open' | 'openAtEnd';
939
+ _rules?: Element;
940
+ }
941
+ /** Element values that are used to distinguish the slices */
942
+ export interface ElementDefinitionSlicingDiscriminator {
943
+ /** Unique id for inter-element referencing */
944
+ id?: FhirString;
945
+ /** Additional content defined by implementations */
946
+ extension?: Extension[];
947
+ /** value | exists | pattern | type | profile */
948
+ type: 'value' | 'exists' | 'pattern' | 'type' | 'profile';
949
+ _type?: Element;
950
+ /** Path to element value */
951
+ path: FhirString;
952
+ _path?: Element;
953
+ }
954
+ /** Base definition information for tools */
955
+ export interface ElementDefinitionBase {
956
+ /** Unique id for inter-element referencing */
957
+ id?: FhirString;
958
+ /** Additional content defined by implementations */
959
+ extension?: Extension[];
960
+ /** Path that identifies the base element */
961
+ path: FhirString;
962
+ _path?: Element;
963
+ /** Min cardinality of the base element */
964
+ min: FhirUnsignedInt;
965
+ _min?: Element;
966
+ /** Max cardinality of the base element */
967
+ max: FhirString;
968
+ _max?: Element;
969
+ }
970
+ /** Data type and Profile for this element */
971
+ export interface ElementDefinitionType {
972
+ /** Unique id for inter-element referencing */
973
+ id?: FhirString;
974
+ /** Additional content defined by implementations */
975
+ extension?: Extension[];
976
+ /** Data type or Resource (reference to definition) */
977
+ code: FhirUri;
978
+ _code?: Element;
979
+ /** Profiles (StructureDefinition or IG) - one must apply */
980
+ profile?: FhirCanonical[];
981
+ _profile?: (Element | null)[];
982
+ /** Profile (StructureDefinition or IG) on the Reference/canonical target - one must apply */
983
+ targetProfile?: FhirCanonical[];
984
+ _targetProfile?: (Element | null)[];
985
+ /** contained | referenced | bundled - how aggregated */
986
+ aggregation?: ('contained' | 'referenced' | 'bundled')[];
987
+ _aggregation?: (Element | null)[];
988
+ /** either | independent | specific */
989
+ versioning?: 'either' | 'independent' | 'specific';
990
+ _versioning?: Element;
991
+ }
992
+ /** Example value (as defined for type) */
993
+ export type ElementDefinitionExample = {
994
+ /** Unique id for inter-element referencing */
995
+ id?: FhirString;
996
+ /** Additional content defined by implementations */
997
+ extension?: Extension[];
998
+ /** Describes the purpose of this example */
999
+ label: FhirString;
1000
+ _label?: Element;
1001
+ _valueBase64Binary?: Element;
1002
+ _valueBoolean?: Element;
1003
+ _valueCanonical?: Element;
1004
+ _valueCode?: Element;
1005
+ _valueDate?: Element;
1006
+ _valueDateTime?: Element;
1007
+ _valueDecimal?: Element;
1008
+ _valueId?: Element;
1009
+ _valueInstant?: Element;
1010
+ _valueInteger?: Element;
1011
+ _valueMarkdown?: Element;
1012
+ _valueOid?: Element;
1013
+ _valuePositiveInt?: Element;
1014
+ _valueString?: Element;
1015
+ _valueTime?: Element;
1016
+ _valueUnsignedInt?: Element;
1017
+ _valueUri?: Element;
1018
+ _valueUrl?: Element;
1019
+ _valueUuid?: Element;
1020
+ } & OneOf<{
1021
+ /** Value of Example (one of allowed types) */
1022
+ valueBase64Binary: FhirBase64Binary;
1023
+ valueBoolean: FhirBoolean;
1024
+ valueCanonical: FhirCanonical;
1025
+ valueCode: FhirCode;
1026
+ valueDate: FhirDate;
1027
+ valueDateTime: FhirDateTime;
1028
+ valueDecimal: FhirDecimal;
1029
+ valueId: FhirId;
1030
+ valueInstant: FhirInstant;
1031
+ valueInteger: FhirInteger;
1032
+ valueMarkdown: FhirMarkdown;
1033
+ valueOid: FhirOid;
1034
+ valuePositiveInt: FhirPositiveInt;
1035
+ valueString: FhirString;
1036
+ valueTime: FhirTime;
1037
+ valueUnsignedInt: FhirUnsignedInt;
1038
+ valueUri: FhirUri;
1039
+ valueUrl: FhirUrl;
1040
+ valueUuid: FhirUuid;
1041
+ valueAddress: Address;
1042
+ valueAge: Age;
1043
+ valueAnnotation: Annotation;
1044
+ valueAttachment: Attachment;
1045
+ valueCodeableConcept: CodeableConcept;
1046
+ valueCoding: Coding;
1047
+ valueContactPoint: ContactPoint;
1048
+ valueCount: Count;
1049
+ valueDistance: Distance;
1050
+ valueDuration: Duration;
1051
+ valueHumanName: HumanName;
1052
+ valueIdentifier: Identifier;
1053
+ valueMoney: Money;
1054
+ valuePeriod: Period;
1055
+ valueQuantity: Quantity;
1056
+ valueRange: Range;
1057
+ valueRatio: Ratio;
1058
+ valueReference: Reference;
1059
+ valueSampledData: SampledData;
1060
+ valueSignature: Signature;
1061
+ valueTiming: Timing;
1062
+ valueContactDetail: ContactDetail;
1063
+ valueContributor: Contributor;
1064
+ valueDataRequirement: DataRequirement;
1065
+ valueExpression: Expression;
1066
+ valueParameterDefinition: ParameterDefinition;
1067
+ valueRelatedArtifact: RelatedArtifact;
1068
+ valueTriggerDefinition: TriggerDefinition;
1069
+ valueUsageContext: UsageContext;
1070
+ valueDosage: Dosage;
1071
+ valueMeta: Meta;
1072
+ }>;
1073
+ /** Condition that must evaluate to true */
1074
+ export interface ElementDefinitionConstraint {
1075
+ /** Unique id for inter-element referencing */
1076
+ id?: FhirString;
1077
+ /** Additional content defined by implementations */
1078
+ extension?: Extension[];
1079
+ /** Target of 'condition' reference above */
1080
+ key: FhirId;
1081
+ _key?: Element;
1082
+ /** Why this constraint is necessary or appropriate */
1083
+ requirements?: FhirString;
1084
+ _requirements?: Element;
1085
+ /** error | warning */
1086
+ severity: 'error' | 'warning';
1087
+ _severity?: Element;
1088
+ /** Human description of constraint */
1089
+ human: FhirString;
1090
+ _human?: Element;
1091
+ /** FHIRPath expression of constraint */
1092
+ expression?: FhirString;
1093
+ _expression?: Element;
1094
+ /** XPath expression of constraint */
1095
+ xpath?: FhirString;
1096
+ _xpath?: Element;
1097
+ /** Reference to original source of constraint */
1098
+ source?: FhirCanonical;
1099
+ _source?: Element;
1100
+ }
1101
+ /** ValueSet details if this is coded */
1102
+ export interface ElementDefinitionBinding {
1103
+ /** Unique id for inter-element referencing */
1104
+ id?: FhirString;
1105
+ /** Additional content defined by implementations */
1106
+ extension?: Extension[];
1107
+ /** required | extensible | preferred | example */
1108
+ strength: 'required' | 'extensible' | 'preferred' | 'example';
1109
+ _strength?: Element;
1110
+ /** Human explanation of the value set */
1111
+ description?: FhirString;
1112
+ _description?: Element;
1113
+ /** Source of value set */
1114
+ valueSet?: FhirCanonical;
1115
+ _valueSet?: Element;
1116
+ }
1117
+ /** Map element to another set of definitions */
1118
+ export interface ElementDefinitionMapping {
1119
+ /** Unique id for inter-element referencing */
1120
+ id?: FhirString;
1121
+ /** Additional content defined by implementations */
1122
+ extension?: Extension[];
1123
+ /** Reference to mapping declaration */
1124
+ identity: FhirId;
1125
+ _identity?: Element;
1126
+ /** Computable language of mapping */
1127
+ language?: FhirCode;
1128
+ _language?: Element;
1129
+ /** Details of the mapping */
1130
+ map: FhirString;
1131
+ _map?: Element;
1132
+ /** Comments about the mapping or its use */
1133
+ comment?: FhirString;
1134
+ _comment?: Element;
1135
+ }
1136
+ /** Base StructureDefinition for Expression Type: A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used. */
1137
+ export interface Expression {
1138
+ /** Unique id for inter-element referencing */
1139
+ id?: FhirString;
1140
+ /** Additional content defined by implementations */
1141
+ extension?: Extension[];
1142
+ /** Natural language description of the condition */
1143
+ description?: FhirString;
1144
+ _description?: Element;
1145
+ /** Short name assigned to expression for reuse */
1146
+ name?: FhirId;
1147
+ _name?: Element;
1148
+ /** text/cql | text/fhirpath | application/x-fhir-query | etc. */
1149
+ language: FhirCode;
1150
+ _language?: Element;
1151
+ /** Expression in specified language */
1152
+ expression?: FhirString;
1153
+ _expression?: Element;
1154
+ /** Where the expression is found */
1155
+ reference?: FhirUri;
1156
+ _reference?: Element;
1157
+ }
1158
+ /** Base StructureDefinition for Extension Type: Optional Extension Element - found in all resources. */
1159
+ export type Extension = {
1160
+ /** Unique id for inter-element referencing */
1161
+ id?: FhirString;
1162
+ /** Additional content defined by implementations */
1163
+ extension?: Extension[];
1164
+ /** identifies the meaning of the extension */
1165
+ url: FhirUri;
1166
+ _valueBase64Binary?: Element;
1167
+ _valueBoolean?: Element;
1168
+ _valueCanonical?: Element;
1169
+ _valueCode?: Element;
1170
+ _valueDate?: Element;
1171
+ _valueDateTime?: Element;
1172
+ _valueDecimal?: Element;
1173
+ _valueId?: Element;
1174
+ _valueInstant?: Element;
1175
+ _valueInteger?: Element;
1176
+ _valueMarkdown?: Element;
1177
+ _valueOid?: Element;
1178
+ _valuePositiveInt?: Element;
1179
+ _valueString?: Element;
1180
+ _valueTime?: Element;
1181
+ _valueUnsignedInt?: Element;
1182
+ _valueUri?: Element;
1183
+ _valueUrl?: Element;
1184
+ _valueUuid?: Element;
1185
+ } & OptionalOneOf<{
1186
+ /** Value of extension */
1187
+ valueBase64Binary: FhirBase64Binary;
1188
+ valueBoolean: FhirBoolean;
1189
+ valueCanonical: FhirCanonical;
1190
+ valueCode: FhirCode;
1191
+ valueDate: FhirDate;
1192
+ valueDateTime: FhirDateTime;
1193
+ valueDecimal: FhirDecimal;
1194
+ valueId: FhirId;
1195
+ valueInstant: FhirInstant;
1196
+ valueInteger: FhirInteger;
1197
+ valueMarkdown: FhirMarkdown;
1198
+ valueOid: FhirOid;
1199
+ valuePositiveInt: FhirPositiveInt;
1200
+ valueString: FhirString;
1201
+ valueTime: FhirTime;
1202
+ valueUnsignedInt: FhirUnsignedInt;
1203
+ valueUri: FhirUri;
1204
+ valueUrl: FhirUrl;
1205
+ valueUuid: FhirUuid;
1206
+ valueAddress: Address;
1207
+ valueAge: Age;
1208
+ valueAnnotation: Annotation;
1209
+ valueAttachment: Attachment;
1210
+ valueCodeableConcept: CodeableConcept;
1211
+ valueCoding: Coding;
1212
+ valueContactPoint: ContactPoint;
1213
+ valueCount: Count;
1214
+ valueDistance: Distance;
1215
+ valueDuration: Duration;
1216
+ valueHumanName: HumanName;
1217
+ valueIdentifier: Identifier;
1218
+ valueMoney: Money;
1219
+ valuePeriod: Period;
1220
+ valueQuantity: Quantity;
1221
+ valueRange: Range;
1222
+ valueRatio: Ratio;
1223
+ valueReference: Reference;
1224
+ valueSampledData: SampledData;
1225
+ valueSignature: Signature;
1226
+ valueTiming: Timing;
1227
+ valueContactDetail: ContactDetail;
1228
+ valueContributor: Contributor;
1229
+ valueDataRequirement: DataRequirement;
1230
+ valueExpression: Expression;
1231
+ valueParameterDefinition: ParameterDefinition;
1232
+ valueRelatedArtifact: RelatedArtifact;
1233
+ valueTriggerDefinition: TriggerDefinition;
1234
+ valueUsageContext: UsageContext;
1235
+ valueDosage: Dosage;
1236
+ valueMeta: Meta;
1237
+ }>;
1238
+ /** Base StructureDefinition for HumanName Type: A human's name with the ability to identify parts and usage. */
1239
+ export interface HumanName {
1240
+ /** Unique id for inter-element referencing */
1241
+ id?: FhirString;
1242
+ /** Additional content defined by implementations */
1243
+ extension?: Extension[];
1244
+ /** usual | official | temp | nickname | anonymous | old | maiden */
1245
+ use?: 'usual' | 'official' | 'temp' | 'nickname' | 'anonymous' | 'old' | 'maiden';
1246
+ _use?: Element;
1247
+ /** Text representation of the full name */
1248
+ text?: FhirString;
1249
+ _text?: Element;
1250
+ /** Family name (often called 'Surname') */
1251
+ family?: FhirString;
1252
+ _family?: Element;
1253
+ /** Given names (not always 'first'). Includes middle names */
1254
+ given?: FhirString[];
1255
+ _given?: (Element | null)[];
1256
+ /** Parts that come before the name */
1257
+ prefix?: FhirString[];
1258
+ _prefix?: (Element | null)[];
1259
+ /** Parts that come after the name */
1260
+ suffix?: FhirString[];
1261
+ _suffix?: (Element | null)[];
1262
+ /** Time period when name was/is in use */
1263
+ period?: Period;
1264
+ }
1265
+ /** Base StructureDefinition for Identifier Type: An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers. */
1266
+ export interface Identifier {
1267
+ /** Unique id for inter-element referencing */
1268
+ id?: FhirString;
1269
+ /** Additional content defined by implementations */
1270
+ extension?: Extension[];
1271
+ /** usual | official | temp | secondary | old (If known) */
1272
+ use?: 'usual' | 'official' | 'temp' | 'secondary' | 'old';
1273
+ _use?: Element;
1274
+ /** Description of identifier */
1275
+ type?: CodeableConcept;
1276
+ /** The namespace for the identifier value */
1277
+ system?: FhirUri;
1278
+ _system?: Element;
1279
+ /** The value that is unique */
1280
+ value?: FhirString;
1281
+ _value?: Element;
1282
+ /** Time period when id is/was valid for use */
1283
+ period?: Period;
1284
+ /** Organization that issued id (may be just text) */
1285
+ assigner?: Reference<Organization>;
1286
+ }
1287
+ /** Base StructureDefinition for MarketingStatus Type: The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available. */
1288
+ export interface MarketingStatus {
1289
+ /** Unique id for inter-element referencing */
1290
+ id?: FhirString;
1291
+ /** Additional content defined by implementations */
1292
+ extension?: Extension[];
1293
+ /** Extensions that cannot be ignored even if unrecognized */
1294
+ modifierExtension?: Extension[];
1295
+ /** The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements */
1296
+ country: CodeableConcept;
1297
+ /** Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified */
1298
+ jurisdiction?: CodeableConcept;
1299
+ /** This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples */
1300
+ status: CodeableConcept;
1301
+ /** The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain */
1302
+ dateRange: Period;
1303
+ /** The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain */
1304
+ restoreDate?: FhirDateTime;
1305
+ _restoreDate?: Element;
1306
+ }
1307
+ /** Base StructureDefinition for Meta Type: The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource. */
1308
+ export interface Meta {
1309
+ /** Unique id for inter-element referencing */
1310
+ id?: FhirString;
1311
+ /** Additional content defined by implementations */
1312
+ extension?: Extension[];
1313
+ /** Version specific identifier */
1314
+ versionId?: FhirId;
1315
+ _versionId?: Element;
1316
+ /** When the resource version last changed */
1317
+ lastUpdated?: FhirInstant;
1318
+ _lastUpdated?: Element;
1319
+ /** Identifies where the resource comes from */
1320
+ source?: FhirUri;
1321
+ _source?: Element;
1322
+ /** Profiles this resource claims to conform to */
1323
+ profile?: FhirCanonical[];
1324
+ _profile?: (Element | null)[];
1325
+ /** Security Labels applied to this resource */
1326
+ security?: Coding[];
1327
+ /** Tags applied to this resource */
1328
+ tag?: Coding[];
1329
+ }
1330
+ /** Base StructureDefinition for Money Type: An amount of economic utility in some recognized currency. */
1331
+ export interface Money {
1332
+ /** Unique id for inter-element referencing */
1333
+ id?: FhirString;
1334
+ /** Additional content defined by implementations */
1335
+ extension?: Extension[];
1336
+ /** Numerical value (with implicit precision) */
1337
+ value?: FhirDecimal;
1338
+ _value?: Element;
1339
+ /** ISO 4217 Currency Code */
1340
+ currency?: FhirCode;
1341
+ _currency?: Element;
1342
+ }
1343
+ /** Base StructureDefinition for Narrative Type: A human-readable summary of the resource conveying the essential clinical and business information for the resource. */
1344
+ export interface Narrative {
1345
+ /** Unique id for inter-element referencing */
1346
+ id?: FhirString;
1347
+ /** Additional content defined by implementations */
1348
+ extension?: Extension[];
1349
+ /** generated | extensions | additional | empty */
1350
+ status: 'generated' | 'extensions' | 'additional' | 'empty';
1351
+ _status?: Element;
1352
+ /** Limited xhtml content */
1353
+ div: FhirXhtml;
1354
+ _div?: Element;
1355
+ }
1356
+ /** Base StructureDefinition for ParameterDefinition Type: The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse. */
1357
+ export interface ParameterDefinition {
1358
+ /** Unique id for inter-element referencing */
1359
+ id?: FhirString;
1360
+ /** Additional content defined by implementations */
1361
+ extension?: Extension[];
1362
+ /** Name used to access the parameter value */
1363
+ name?: FhirCode;
1364
+ _name?: Element;
1365
+ /** in | out */
1366
+ use: 'in' | 'out';
1367
+ _use?: Element;
1368
+ /** Minimum cardinality */
1369
+ min?: FhirInteger;
1370
+ _min?: Element;
1371
+ /** Maximum cardinality (a number of *) */
1372
+ max?: FhirString;
1373
+ _max?: Element;
1374
+ /** A brief description of the parameter */
1375
+ documentation?: FhirString;
1376
+ _documentation?: Element;
1377
+ /** What type of value */
1378
+ type: FhirCode;
1379
+ _type?: Element;
1380
+ /** What profile the value is expected to be */
1381
+ profile?: FhirCanonical;
1382
+ _profile?: Element;
1383
+ }
1384
+ /** Base StructureDefinition for Period Type: A time period defined by a start and end date and optionally time. */
1385
+ export interface Period {
1386
+ /** Unique id for inter-element referencing */
1387
+ id?: FhirString;
1388
+ /** Additional content defined by implementations */
1389
+ extension?: Extension[];
1390
+ /** Starting time with inclusive boundary */
1391
+ start?: FhirDateTime;
1392
+ _start?: Element;
1393
+ /** End time with inclusive boundary, if not ongoing */
1394
+ end?: FhirDateTime;
1395
+ _end?: Element;
1396
+ }
1397
+ /** Base StructureDefinition for Population Type: A populatioof people with some set of grouping criteria. */
1398
+ export type Population = {
1399
+ /** Unique id for inter-element referencing */
1400
+ id?: FhirString;
1401
+ /** Additional content defined by implementations */
1402
+ extension?: Extension[];
1403
+ /** Extensions that cannot be ignored even if unrecognized */
1404
+ modifierExtension?: Extension[];
1405
+ /** The gender of the specific population */
1406
+ gender?: CodeableConcept;
1407
+ /** Race of the specific population */
1408
+ race?: CodeableConcept;
1409
+ /** The existing physiological conditions of the specific population to which this applies */
1410
+ physiologicalCondition?: CodeableConcept;
1411
+ } & OptionalOneOf<{
1412
+ /** The age of the specific population */
1413
+ ageRange: Range;
1414
+ ageCodeableConcept: CodeableConcept;
1415
+ }>;
1416
+ /** Base StructureDefinition for ProdCharacteristic Type: The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available. */
1417
+ export interface ProdCharacteristic {
1418
+ /** Unique id for inter-element referencing */
1419
+ id?: FhirString;
1420
+ /** Additional content defined by implementations */
1421
+ extension?: Extension[];
1422
+ /** Extensions that cannot be ignored even if unrecognized */
1423
+ modifierExtension?: Extension[];
1424
+ /** Where applicable, the height can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used */
1425
+ height?: Quantity;
1426
+ /** Where applicable, the width can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used */
1427
+ width?: Quantity;
1428
+ /** Where applicable, the depth can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used */
1429
+ depth?: Quantity;
1430
+ /** Where applicable, the weight can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used */
1431
+ weight?: Quantity;
1432
+ /** Where applicable, the nominal volume can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used */
1433
+ nominalVolume?: Quantity;
1434
+ /** Where applicable, the external diameter can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used */
1435
+ externalDiameter?: Quantity;
1436
+ /** Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used */
1437
+ shape?: FhirString;
1438
+ _shape?: Element;
1439
+ /** Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used */
1440
+ color?: FhirString[];
1441
+ _color?: (Element | null)[];
1442
+ /** Where applicable, the imprint can be specified as text */
1443
+ imprint?: FhirString[];
1444
+ _imprint?: (Element | null)[];
1445
+ /** Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations */
1446
+ image?: Attachment[];
1447
+ /** Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used */
1448
+ scoring?: CodeableConcept;
1449
+ }
1450
+ /** Base StructureDefinition for ProductShelfLife Type: The shelf-life and storage information for a medicinal product item or container can be described using this class. */
1451
+ export interface ProductShelfLife {
1452
+ /** Unique id for inter-element referencing */
1453
+ id?: FhirString;
1454
+ /** Additional content defined by implementations */
1455
+ extension?: Extension[];
1456
+ /** Extensions that cannot be ignored even if unrecognized */
1457
+ modifierExtension?: Extension[];
1458
+ /** Unique identifier for the packaged Medicinal Product */
1459
+ identifier?: Identifier;
1460
+ /** This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified */
1461
+ type: CodeableConcept;
1462
+ /** The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used */
1463
+ period: Quantity;
1464
+ /** Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified */
1465
+ specialPrecautionsForStorage?: CodeableConcept[];
1466
+ }
1467
+ /** Base StructureDefinition for Quantity Type: A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies. */
1468
+ export interface Quantity {
1469
+ /** Unique id for inter-element referencing */
1470
+ id?: FhirString;
1471
+ /** Additional content defined by implementations */
1472
+ extension?: Extension[];
1473
+ /** Numerical value (with implicit precision) */
1474
+ value?: FhirDecimal;
1475
+ _value?: Element;
1476
+ /** < | <= | >= | > - how to understand the value */
1477
+ comparator?: '<' | '<=' | '>=' | '>';
1478
+ _comparator?: Element;
1479
+ /** Unit representation */
1480
+ unit?: FhirString;
1481
+ _unit?: Element;
1482
+ /** System that defines coded unit form */
1483
+ system?: FhirUri;
1484
+ _system?: Element;
1485
+ /** Coded form of the unit */
1486
+ code?: FhirCode;
1487
+ _code?: Element;
1488
+ }
1489
+ /** Base StructureDefinition for Range Type: A set of ordered Quantities defined by a low and high limit. */
1490
+ export interface Range {
1491
+ /** Unique id for inter-element referencing */
1492
+ id?: FhirString;
1493
+ /** Additional content defined by implementations */
1494
+ extension?: Extension[];
1495
+ /** Low limit */
1496
+ low?: Quantity;
1497
+ /** High limit */
1498
+ high?: Quantity;
1499
+ }
1500
+ /** Base StructureDefinition for Ratio Type: A relationship of two Quantity values - expressed as a numerator and a denominator. */
1501
+ export interface Ratio {
1502
+ /** Unique id for inter-element referencing */
1503
+ id?: FhirString;
1504
+ /** Additional content defined by implementations */
1505
+ extension?: Extension[];
1506
+ /** Numerator value */
1507
+ numerator?: Quantity;
1508
+ /** Denominator value */
1509
+ denominator?: Quantity;
1510
+ }
1511
+ /** Base StructureDefinition for Reference Type: A reference from one resource to another. */
1512
+ export interface Reference<T extends Resource = Resource> {
1513
+ /** Unique id for inter-element referencing */
1514
+ id?: FhirString;
1515
+ /** Additional content defined by implementations */
1516
+ extension?: Extension[];
1517
+ /** Literal reference, Relative, internal or absolute URL */
1518
+ reference?: ReferenceString<T>;
1519
+ _reference?: Element;
1520
+ /** Type the reference refers to (e.g. "Patient") */
1521
+ type?: Resource extends T ? FhirUri : T['resourceType'];
1522
+ /** Logical reference, when literal reference is not known */
1523
+ identifier?: Identifier;
1524
+ /** Text alternative for the resource */
1525
+ display?: FhirString;
1526
+ _display?: Element;
1527
+ }
1528
+ /** Base StructureDefinition for RelatedArtifact Type: Related artifacts such as additional documentation, justification, or bibliographic references. */
1529
+ export interface RelatedArtifact {
1530
+ /** Unique id for inter-element referencing */
1531
+ id?: FhirString;
1532
+ /** Additional content defined by implementations */
1533
+ extension?: Extension[];
1534
+ /** documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of */
1535
+ type: 'documentation' | 'justification' | 'citation' | 'predecessor' | 'successor' | 'derived-from' | 'depends-on' | 'composed-of';
1536
+ _type?: Element;
1537
+ /** Short label */
1538
+ label?: FhirString;
1539
+ _label?: Element;
1540
+ /** Brief description of the related artifact */
1541
+ display?: FhirString;
1542
+ _display?: Element;
1543
+ /** Bibliographic citation for the artifact */
1544
+ citation?: FhirMarkdown;
1545
+ _citation?: Element;
1546
+ /** Where the artifact can be accessed */
1547
+ url?: FhirUrl;
1548
+ _url?: Element;
1549
+ /** What document is being referenced */
1550
+ document?: Attachment;
1551
+ /** What resource is being referenced */
1552
+ resource?: FhirCanonical;
1553
+ _resource?: Element;
1554
+ }
1555
+ /** Base StructureDefinition for SampledData Type: A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. */
1556
+ export interface SampledData {
1557
+ /** Unique id for inter-element referencing */
1558
+ id?: FhirString;
1559
+ /** Additional content defined by implementations */
1560
+ extension?: Extension[];
1561
+ /** Zero value and units */
1562
+ origin: Quantity;
1563
+ /** Number of milliseconds between samples */
1564
+ period: FhirDecimal;
1565
+ _period?: Element;
1566
+ /** Multiply data by this before adding to origin */
1567
+ factor?: FhirDecimal;
1568
+ _factor?: Element;
1569
+ /** Lower limit of detection */
1570
+ lowerLimit?: FhirDecimal;
1571
+ _lowerLimit?: Element;
1572
+ /** Upper limit of detection */
1573
+ upperLimit?: FhirDecimal;
1574
+ _upperLimit?: Element;
1575
+ /** Number of sample points at each time point */
1576
+ dimensions: FhirPositiveInt;
1577
+ _dimensions?: Element;
1578
+ /** Decimal values with spaces, or "E" | "U" | "L" */
1579
+ data?: FhirString;
1580
+ _data?: Element;
1581
+ }
1582
+ /** Base StructureDefinition for Signature Type: A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities. */
1583
+ export interface Signature {
1584
+ /** Unique id for inter-element referencing */
1585
+ id?: FhirString;
1586
+ /** Additional content defined by implementations */
1587
+ extension?: Extension[];
1588
+ /** Indication of the reason the entity signed the object(s) */
1589
+ type: Coding[];
1590
+ /** When the signature was created */
1591
+ when: FhirInstant;
1592
+ _when?: Element;
1593
+ /** Who signed */
1594
+ who: Reference<Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization>;
1595
+ /** The party represented */
1596
+ onBehalfOf?: Reference<Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization>;
1597
+ /** The technical format of the signed resources */
1598
+ targetFormat?: FhirCode;
1599
+ _targetFormat?: Element;
1600
+ /** The technical format of the signature */
1601
+ sigFormat?: FhirCode;
1602
+ _sigFormat?: Element;
1603
+ /** The actual signature content (XML DigSig. JWS, picture, etc.) */
1604
+ data?: FhirBase64Binary;
1605
+ _data?: Element;
1606
+ }
1607
+ /** Base StructureDefinition for SubstanceAmount Type: Chemical substances are a single substance type whose primary defining element is the molecular structure. Chemical substances shall be defined on the basis of their complete covalent molecular structure; the presence of a salt (counter-ion) and/or solvates (water, alcohols) is also captured. Purity, grade, physical form or particle size are not taken into account in the definition of a chemical substance or in the assignment of a Substance ID. */
1608
+ export type SubstanceAmount = {
1609
+ /** Unique id for inter-element referencing */
1610
+ id?: FhirString;
1611
+ /** Additional content defined by implementations */
1612
+ extension?: Extension[];
1613
+ /** Extensions that cannot be ignored even if unrecognized */
1614
+ modifierExtension?: Extension[];
1615
+ /** Most elements that require a quantitative value will also have a field called amount type. Amount type should always be specified because the actual value of the amount is often dependent on it. EXAMPLE: In capturing the actual relative amounts of substances or molecular fragments it is essential to indicate whether the amount refers to a mole ratio or weight ratio. For any given element an effort should be made to use same the amount type for all related definitional elements */
1616
+ amountType?: CodeableConcept;
1617
+ /** A textual comment on a numeric value */
1618
+ amountText?: FhirString;
1619
+ _amountText?: Element;
1620
+ /** Reference range of possible or expected values */
1621
+ referenceRange?: SubstanceAmountReferenceRange;
1622
+ _amountString?: Element;
1623
+ } & OptionalOneOf<{
1624
+ /** Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field */
1625
+ amountQuantity: Quantity;
1626
+ amountRange: Range;
1627
+ amountString: FhirString;
1628
+ }>;
1629
+ /** Reference range of possible or expected values */
1630
+ export interface SubstanceAmountReferenceRange {
1631
+ /** Unique id for inter-element referencing */
1632
+ id?: FhirString;
1633
+ /** Additional content defined by implementations */
1634
+ extension?: Extension[];
1635
+ /** Lower limit possible or expected */
1636
+ lowLimit?: Quantity;
1637
+ /** Upper limit possible or expected */
1638
+ highLimit?: Quantity;
1639
+ }
1640
+ /** Base StructureDefinition for Timing Type: Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out. */
1641
+ export interface Timing {
1642
+ /** Unique id for inter-element referencing */
1643
+ id?: FhirString;
1644
+ /** Additional content defined by implementations */
1645
+ extension?: Extension[];
1646
+ /** Extensions that cannot be ignored even if unrecognized */
1647
+ modifierExtension?: Extension[];
1648
+ /** When the event occurs */
1649
+ event?: FhirDateTime[];
1650
+ _event?: (Element | null)[];
1651
+ /** When the event is to occur */
1652
+ repeat?: TimingRepeat;
1653
+ /** BID | TID | QID | AM | PM | QD | QOD | + */
1654
+ code?: CodeableConcept;
1655
+ }
1656
+ /** When the event is to occur */
1657
+ export type TimingRepeat = {
1658
+ /** Unique id for inter-element referencing */
1659
+ id?: FhirString;
1660
+ /** Additional content defined by implementations */
1661
+ extension?: Extension[];
1662
+ /** Number of times to repeat */
1663
+ count?: FhirPositiveInt;
1664
+ _count?: Element;
1665
+ /** Maximum number of times to repeat */
1666
+ countMax?: FhirPositiveInt;
1667
+ _countMax?: Element;
1668
+ /** How long when it happens */
1669
+ duration?: FhirDecimal;
1670
+ _duration?: Element;
1671
+ /** How long when it happens (Max) */
1672
+ durationMax?: FhirDecimal;
1673
+ _durationMax?: Element;
1674
+ /** s | min | h | d | wk | mo | a - unit of time (UCUM) */
1675
+ durationUnit?: 's' | 'min' | 'h' | 'd' | 'wk' | 'mo' | 'a';
1676
+ _durationUnit?: Element;
1677
+ /** Event occurs frequency times per period */
1678
+ frequency?: FhirPositiveInt;
1679
+ _frequency?: Element;
1680
+ /** Event occurs up to frequencyMax times per period */
1681
+ frequencyMax?: FhirPositiveInt;
1682
+ _frequencyMax?: Element;
1683
+ /** Event occurs frequency times per period */
1684
+ period?: FhirDecimal;
1685
+ _period?: Element;
1686
+ /** Upper limit of period (3-4 hours) */
1687
+ periodMax?: FhirDecimal;
1688
+ _periodMax?: Element;
1689
+ /** s | min | h | d | wk | mo | a - unit of time (UCUM) */
1690
+ periodUnit?: 's' | 'min' | 'h' | 'd' | 'wk' | 'mo' | 'a';
1691
+ _periodUnit?: Element;
1692
+ /** mon | tue | wed | thu | fri | sat | sun */
1693
+ dayOfWeek?: ('mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat' | 'sun')[];
1694
+ _dayOfWeek?: (Element | null)[];
1695
+ /** Time of day for action */
1696
+ timeOfDay?: FhirTime[];
1697
+ _timeOfDay?: (Element | null)[];
1698
+ /** Code for time period of occurrence */
1699
+ when?: ('MORN' | 'MORN.early' | 'MORN.late' | 'NOON' | 'AFT' | 'AFT.early' | 'AFT.late' | 'EVE' | 'EVE.early' | 'EVE.late' | 'NIGHT' | 'PHS' | 'HS' | 'WAKE' | 'C' | 'CM' | 'CD' | 'CV' | 'AC' | 'ACM' | 'ACD' | 'ACV' | 'PC' | 'PCM' | 'PCD' | 'PCV')[];
1700
+ _when?: (Element | null)[];
1701
+ /** Minutes from event (before or after) */
1702
+ offset?: FhirUnsignedInt;
1703
+ _offset?: Element;
1704
+ } & OptionalOneOf<{
1705
+ /** Length/Range of lengths, or (Start and/or end) limits */
1706
+ boundsDuration: Duration;
1707
+ boundsRange: Range;
1708
+ boundsPeriod: Period;
1709
+ }>;
1710
+ /** Base StructureDefinition for TriggerDefinition Type: A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element. */
1711
+ export type TriggerDefinition = {
1712
+ /** Unique id for inter-element referencing */
1713
+ id?: FhirString;
1714
+ /** Additional content defined by implementations */
1715
+ extension?: Extension[];
1716
+ /** named-event | periodic | data-changed | data-added | data-modified | data-removed | data-accessed | data-access-ended */
1717
+ type: 'named-event' | 'periodic' | 'data-changed' | 'data-added' | 'data-modified' | 'data-removed' | 'data-accessed' | 'data-access-ended';
1718
+ _type?: Element;
1719
+ /** Name or URI that identifies the event */
1720
+ name?: FhirString;
1721
+ _name?: Element;
1722
+ /** Triggering data of the event (multiple = 'and') */
1723
+ data?: DataRequirement[];
1724
+ /** Whether the event triggers (boolean expression) */
1725
+ condition?: Expression;
1726
+ _timingDate?: Element;
1727
+ _timingDateTime?: Element;
1728
+ } & OptionalOneOf<{
1729
+ /** Timing of the event */
1730
+ timingTiming: Timing;
1731
+ timingReference: Reference<Schedule>;
1732
+ timingDate: FhirDate;
1733
+ timingDateTime: FhirDateTime;
1734
+ }>;
1735
+ /** Base StructureDefinition for UsageContext Type: Specifies clinical/business/etc. metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care). */
1736
+ export type UsageContext = {
1737
+ /** Unique id for inter-element referencing */
1738
+ id?: FhirString;
1739
+ /** Additional content defined by implementations */
1740
+ extension?: Extension[];
1741
+ /** Type of context being specified */
1742
+ code: Coding;
1743
+ } & OneOf<{
1744
+ /** Value that defines the context */
1745
+ valueCodeableConcept: CodeableConcept;
1746
+ valueQuantity: Quantity;
1747
+ valueRange: Range;
1748
+ valueReference: Reference<PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization>;
1749
+ }>;
1750
+ //# sourceMappingURL=datatypes.d.ts.map