@imranq2/fhirpatientsummary 0.0.1

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 (307) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +81 -0
  3. package/lib/src/generators/fhir_summary_generator.d.ts +46 -0
  4. package/lib/src/generators/fhir_summary_generator.js +228 -0
  5. package/lib/src/generators/narrative_generator.d.ts +40 -0
  6. package/lib/src/generators/narrative_generator.js +80 -0
  7. package/lib/src/narratives/templates/typescript/AdvanceDirectivesTemplate.d.ts +22 -0
  8. package/lib/src/narratives/templates/typescript/AdvanceDirectivesTemplate.js +70 -0
  9. package/lib/src/narratives/templates/typescript/AllergyIntoleranceTemplate.d.ts +31 -0
  10. package/lib/src/narratives/templates/typescript/AllergyIntoleranceTemplate.js +155 -0
  11. package/lib/src/narratives/templates/typescript/ClinicalImpressionTemplate.d.ts +15 -0
  12. package/lib/src/narratives/templates/typescript/ClinicalImpressionTemplate.js +111 -0
  13. package/lib/src/narratives/templates/typescript/DiagnosticResultsTemplate.d.ts +50 -0
  14. package/lib/src/narratives/templates/typescript/DiagnosticResultsTemplate.js +153 -0
  15. package/lib/src/narratives/templates/typescript/FamilyHistoryTemplate.d.ts +15 -0
  16. package/lib/src/narratives/templates/typescript/FamilyHistoryTemplate.js +103 -0
  17. package/lib/src/narratives/templates/typescript/FunctionalStatusTemplate.d.ts +22 -0
  18. package/lib/src/narratives/templates/typescript/FunctionalStatusTemplate.js +70 -0
  19. package/lib/src/narratives/templates/typescript/HistoryOfProceduresTemplate.d.ts +22 -0
  20. package/lib/src/narratives/templates/typescript/HistoryOfProceduresTemplate.js +66 -0
  21. package/lib/src/narratives/templates/typescript/ImmunizationsTemplate.d.ts +22 -0
  22. package/lib/src/narratives/templates/typescript/ImmunizationsTemplate.js +73 -0
  23. package/lib/src/narratives/templates/typescript/MedicalDevicesTemplate.d.ts +22 -0
  24. package/lib/src/narratives/templates/typescript/MedicalDevicesTemplate.js +67 -0
  25. package/lib/src/narratives/templates/typescript/MedicationSummaryTemplate.d.ts +50 -0
  26. package/lib/src/narratives/templates/typescript/MedicationSummaryTemplate.js +206 -0
  27. package/lib/src/narratives/templates/typescript/PastHistoryOfIllnessTemplate.d.ts +15 -0
  28. package/lib/src/narratives/templates/typescript/PastHistoryOfIllnessTemplate.js +59 -0
  29. package/lib/src/narratives/templates/typescript/PatientTemplate.d.ts +65 -0
  30. package/lib/src/narratives/templates/typescript/PatientTemplate.js +158 -0
  31. package/lib/src/narratives/templates/typescript/PlanOfCareTemplate.d.ts +15 -0
  32. package/lib/src/narratives/templates/typescript/PlanOfCareTemplate.js +63 -0
  33. package/lib/src/narratives/templates/typescript/PregnancyTemplate.d.ts +22 -0
  34. package/lib/src/narratives/templates/typescript/PregnancyTemplate.js +68 -0
  35. package/lib/src/narratives/templates/typescript/ProblemListTemplate.d.ts +22 -0
  36. package/lib/src/narratives/templates/typescript/ProblemListTemplate.js +119 -0
  37. package/lib/src/narratives/templates/typescript/SocialHistoryTemplate.d.ts +22 -0
  38. package/lib/src/narratives/templates/typescript/SocialHistoryTemplate.js +70 -0
  39. package/lib/src/narratives/templates/typescript/TemplateUtilities.d.ts +251 -0
  40. package/lib/src/narratives/templates/typescript/TemplateUtilities.js +696 -0
  41. package/lib/src/narratives/templates/typescript/TypeScriptTemplateMapper.d.ts +17 -0
  42. package/lib/src/narratives/templates/typescript/TypeScriptTemplateMapper.js +64 -0
  43. package/lib/src/narratives/templates/typescript/VitalSignsTemplate.d.ts +22 -0
  44. package/lib/src/narratives/templates/typescript/VitalSignsTemplate.js +74 -0
  45. package/lib/src/narratives/templates/typescript/interfaces/ITemplate.d.ts +13 -0
  46. package/lib/src/narratives/templates/typescript/interfaces/ITemplate.js +2 -0
  47. package/lib/src/profiles/ips_resource_profile_registry.d.ts +7 -0
  48. package/lib/src/profiles/ips_resource_profile_registry.js +143 -0
  49. package/lib/src/structures/ips_mandatory_sections.d.ts +7 -0
  50. package/lib/src/structures/ips_mandatory_sections.js +11 -0
  51. package/lib/src/structures/ips_recommended_sections.d.ts +8 -0
  52. package/lib/src/structures/ips_recommended_sections.js +12 -0
  53. package/lib/src/structures/ips_resource_profile.d.ts +7 -0
  54. package/lib/src/structures/ips_resource_profile.js +2 -0
  55. package/lib/src/structures/ips_section_loinc_codes.d.ts +4 -0
  56. package/lib/src/structures/ips_section_loinc_codes.js +48 -0
  57. package/lib/src/structures/ips_section_resource_map.d.ts +8 -0
  58. package/lib/src/structures/ips_section_resource_map.js +69 -0
  59. package/lib/src/structures/ips_sections.d.ts +19 -0
  60. package/lib/src/structures/ips_sections.js +27 -0
  61. package/lib/src/types/partials/Address.d.ts +16 -0
  62. package/lib/src/types/partials/Address.js +3 -0
  63. package/lib/src/types/partials/AllergyIntoleranceReaction.d.ts +16 -0
  64. package/lib/src/types/partials/AllergyIntoleranceReaction.js +3 -0
  65. package/lib/src/types/partials/Annotation.d.ts +12 -0
  66. package/lib/src/types/partials/Annotation.js +3 -0
  67. package/lib/src/types/partials/Attachment.d.ts +17 -0
  68. package/lib/src/types/partials/Attachment.js +3 -0
  69. package/lib/src/types/partials/BundleEntry.d.ts +18 -0
  70. package/lib/src/types/partials/BundleEntry.js +3 -0
  71. package/lib/src/types/partials/BundleLink.d.ts +9 -0
  72. package/lib/src/types/partials/BundleLink.js +3 -0
  73. package/lib/src/types/partials/BundleRequest.d.ts +14 -0
  74. package/lib/src/types/partials/BundleRequest.js +3 -0
  75. package/lib/src/types/partials/BundleResponse.d.ts +14 -0
  76. package/lib/src/types/partials/BundleResponse.js +3 -0
  77. package/lib/src/types/partials/BundleSearch.d.ts +9 -0
  78. package/lib/src/types/partials/BundleSearch.js +3 -0
  79. package/lib/src/types/partials/CarePlanActivity.d.ts +15 -0
  80. package/lib/src/types/partials/CarePlanActivity.js +3 -0
  81. package/lib/src/types/partials/CarePlanDetail.d.ts +33 -0
  82. package/lib/src/types/partials/CarePlanDetail.js +3 -0
  83. package/lib/src/types/partials/ClinicalImpressionFinding.d.ts +11 -0
  84. package/lib/src/types/partials/ClinicalImpressionFinding.js +3 -0
  85. package/lib/src/types/partials/ClinicalImpressionInvestigation.d.ts +10 -0
  86. package/lib/src/types/partials/ClinicalImpressionInvestigation.js +3 -0
  87. package/lib/src/types/partials/CodeableConcept.d.ts +8 -0
  88. package/lib/src/types/partials/CodeableConcept.js +3 -0
  89. package/lib/src/types/partials/CodeableReference.d.ts +9 -0
  90. package/lib/src/types/partials/CodeableReference.js +3 -0
  91. package/lib/src/types/partials/Coding.d.ts +11 -0
  92. package/lib/src/types/partials/Coding.js +3 -0
  93. package/lib/src/types/partials/CompositionAttester.d.ts +11 -0
  94. package/lib/src/types/partials/CompositionAttester.js +3 -0
  95. package/lib/src/types/partials/CompositionEvent.d.ts +12 -0
  96. package/lib/src/types/partials/CompositionEvent.js +3 -0
  97. package/lib/src/types/partials/CompositionRelatesTo.d.ts +11 -0
  98. package/lib/src/types/partials/CompositionRelatesTo.js +3 -0
  99. package/lib/src/types/partials/CompositionSection.d.ts +19 -0
  100. package/lib/src/types/partials/CompositionSection.js +3 -0
  101. package/lib/src/types/partials/ConditionEvidence.d.ts +10 -0
  102. package/lib/src/types/partials/ConditionEvidence.js +3 -0
  103. package/lib/src/types/partials/ConditionStage.d.ts +11 -0
  104. package/lib/src/types/partials/ConditionStage.js +3 -0
  105. package/lib/src/types/partials/ConsentActor.d.ts +10 -0
  106. package/lib/src/types/partials/ConsentActor.js +3 -0
  107. package/lib/src/types/partials/ConsentData.d.ts +9 -0
  108. package/lib/src/types/partials/ConsentData.js +3 -0
  109. package/lib/src/types/partials/ConsentPolicy.d.ts +9 -0
  110. package/lib/src/types/partials/ConsentPolicy.js +3 -0
  111. package/lib/src/types/partials/ConsentProvision.d.ts +22 -0
  112. package/lib/src/types/partials/ConsentProvision.js +3 -0
  113. package/lib/src/types/partials/ConsentVerification.d.ts +11 -0
  114. package/lib/src/types/partials/ConsentVerification.js +3 -0
  115. package/lib/src/types/partials/ContactDetail.d.ts +8 -0
  116. package/lib/src/types/partials/ContactDetail.js +3 -0
  117. package/lib/src/types/partials/ContactPoint.d.ts +12 -0
  118. package/lib/src/types/partials/ContactPoint.js +3 -0
  119. package/lib/src/types/partials/Contributor.d.ts +9 -0
  120. package/lib/src/types/partials/Contributor.js +3 -0
  121. package/lib/src/types/partials/DataRequirement.d.ts +21 -0
  122. package/lib/src/types/partials/DataRequirement.js +3 -0
  123. package/lib/src/types/partials/DataRequirementCodeFilter.d.ts +11 -0
  124. package/lib/src/types/partials/DataRequirementCodeFilter.js +3 -0
  125. package/lib/src/types/partials/DataRequirementDateFilter.d.ts +13 -0
  126. package/lib/src/types/partials/DataRequirementDateFilter.js +3 -0
  127. package/lib/src/types/partials/DataRequirementSort.d.ts +7 -0
  128. package/lib/src/types/partials/DataRequirementSort.js +3 -0
  129. package/lib/src/types/partials/DeviceDeviceName.d.ts +8 -0
  130. package/lib/src/types/partials/DeviceDeviceName.js +3 -0
  131. package/lib/src/types/partials/DeviceProperty.d.ts +11 -0
  132. package/lib/src/types/partials/DeviceProperty.js +3 -0
  133. package/lib/src/types/partials/DeviceSpecialization.d.ts +9 -0
  134. package/lib/src/types/partials/DeviceSpecialization.js +3 -0
  135. package/lib/src/types/partials/DeviceUdiCarrier.d.ts +14 -0
  136. package/lib/src/types/partials/DeviceUdiCarrier.js +3 -0
  137. package/lib/src/types/partials/DeviceVersion.d.ts +11 -0
  138. package/lib/src/types/partials/DeviceVersion.js +3 -0
  139. package/lib/src/types/partials/DiagnosticReportMedia.d.ts +9 -0
  140. package/lib/src/types/partials/DiagnosticReportMedia.js +3 -0
  141. package/lib/src/types/partials/Dosage.d.ts +26 -0
  142. package/lib/src/types/partials/Dosage.js +3 -0
  143. package/lib/src/types/partials/DosageDoseAndRate.d.ts +16 -0
  144. package/lib/src/types/partials/DosageDoseAndRate.js +3 -0
  145. package/lib/src/types/partials/Expression.d.ts +12 -0
  146. package/lib/src/types/partials/Expression.js +3 -0
  147. package/lib/src/types/partials/Extension.d.ts +99 -0
  148. package/lib/src/types/partials/Extension.js +3 -0
  149. package/lib/src/types/partials/FamilyMemberHistoryCondition.d.ts +19 -0
  150. package/lib/src/types/partials/FamilyMemberHistoryCondition.js +3 -0
  151. package/lib/src/types/partials/HumanName.d.ts +13 -0
  152. package/lib/src/types/partials/HumanName.js +3 -0
  153. package/lib/src/types/partials/Identifier.d.ts +15 -0
  154. package/lib/src/types/partials/Identifier.js +3 -0
  155. package/lib/src/types/partials/ImmunizationEducation.d.ts +12 -0
  156. package/lib/src/types/partials/ImmunizationEducation.js +3 -0
  157. package/lib/src/types/partials/ImmunizationPerformer.d.ts +10 -0
  158. package/lib/src/types/partials/ImmunizationPerformer.js +3 -0
  159. package/lib/src/types/partials/ImmunizationProtocolApplied.d.ts +16 -0
  160. package/lib/src/types/partials/ImmunizationProtocolApplied.js +3 -0
  161. package/lib/src/types/partials/ImmunizationReaction.d.ts +11 -0
  162. package/lib/src/types/partials/ImmunizationReaction.js +3 -0
  163. package/lib/src/types/partials/MedicationBatch.d.ts +9 -0
  164. package/lib/src/types/partials/MedicationBatch.js +3 -0
  165. package/lib/src/types/partials/MedicationIngredient.d.ts +13 -0
  166. package/lib/src/types/partials/MedicationIngredient.js +3 -0
  167. package/lib/src/types/partials/MedicationRequestDispenseRequest.d.ts +18 -0
  168. package/lib/src/types/partials/MedicationRequestDispenseRequest.js +3 -0
  169. package/lib/src/types/partials/MedicationRequestInitialFill.d.ts +9 -0
  170. package/lib/src/types/partials/MedicationRequestInitialFill.js +3 -0
  171. package/lib/src/types/partials/MedicationRequestSubstitution.d.ts +10 -0
  172. package/lib/src/types/partials/MedicationRequestSubstitution.js +3 -0
  173. package/lib/src/types/partials/Meta.d.ts +16 -0
  174. package/lib/src/types/partials/Meta.js +3 -0
  175. package/lib/src/types/partials/Money.d.ts +8 -0
  176. package/lib/src/types/partials/Money.js +3 -0
  177. package/lib/src/types/partials/Narrative.d.ts +8 -0
  178. package/lib/src/types/partials/Narrative.js +3 -0
  179. package/lib/src/types/partials/ObservationComponent.d.ts +31 -0
  180. package/lib/src/types/partials/ObservationComponent.js +3 -0
  181. package/lib/src/types/partials/ObservationReferenceRange.d.ts +15 -0
  182. package/lib/src/types/partials/ObservationReferenceRange.js +3 -0
  183. package/lib/src/types/partials/OrganizationContact.d.ts +14 -0
  184. package/lib/src/types/partials/OrganizationContact.js +3 -0
  185. package/lib/src/types/partials/ParameterDefinition.d.ts +14 -0
  186. package/lib/src/types/partials/ParameterDefinition.js +3 -0
  187. package/lib/src/types/partials/PatientCommunication.d.ts +9 -0
  188. package/lib/src/types/partials/PatientCommunication.js +3 -0
  189. package/lib/src/types/partials/PatientContact.d.ts +19 -0
  190. package/lib/src/types/partials/PatientContact.js +3 -0
  191. package/lib/src/types/partials/PatientLink.d.ts +9 -0
  192. package/lib/src/types/partials/PatientLink.js +3 -0
  193. package/lib/src/types/partials/Period.d.ts +8 -0
  194. package/lib/src/types/partials/Period.js +3 -0
  195. package/lib/src/types/partials/ProcedureFocalDevice.d.ts +10 -0
  196. package/lib/src/types/partials/ProcedureFocalDevice.js +3 -0
  197. package/lib/src/types/partials/ProcedurePerformer.d.ts +11 -0
  198. package/lib/src/types/partials/ProcedurePerformer.js +3 -0
  199. package/lib/src/types/partials/Quantity.d.ts +12 -0
  200. package/lib/src/types/partials/Quantity.js +3 -0
  201. package/lib/src/types/partials/Range.d.ts +8 -0
  202. package/lib/src/types/partials/Range.js +3 -0
  203. package/lib/src/types/partials/Ratio.d.ts +8 -0
  204. package/lib/src/types/partials/Ratio.js +3 -0
  205. package/lib/src/types/partials/RatioRange.d.ts +9 -0
  206. package/lib/src/types/partials/RatioRange.js +3 -0
  207. package/lib/src/types/partials/Reference.d.ts +14 -0
  208. package/lib/src/types/partials/Reference.js +3 -0
  209. package/lib/src/types/partials/RelatedArtifact.d.ts +16 -0
  210. package/lib/src/types/partials/RelatedArtifact.js +3 -0
  211. package/lib/src/types/partials/SampledData.d.ts +15 -0
  212. package/lib/src/types/partials/SampledData.js +3 -0
  213. package/lib/src/types/partials/Signature.d.ts +16 -0
  214. package/lib/src/types/partials/Signature.js +3 -0
  215. package/lib/src/types/partials/Timing.d.ts +12 -0
  216. package/lib/src/types/partials/Timing.js +3 -0
  217. package/lib/src/types/partials/TimingRepeat.d.ts +30 -0
  218. package/lib/src/types/partials/TimingRepeat.js +3 -0
  219. package/lib/src/types/partials/TriggerDefinition.d.ts +19 -0
  220. package/lib/src/types/partials/TriggerDefinition.js +3 -0
  221. package/lib/src/types/partials/UsageContext.d.ts +15 -0
  222. package/lib/src/types/partials/UsageContext.js +3 -0
  223. package/lib/src/types/resources/AllergyIntolerance.d.ts +45 -0
  224. package/lib/src/types/resources/AllergyIntolerance.js +3 -0
  225. package/lib/src/types/resources/Bundle.d.ts +22 -0
  226. package/lib/src/types/resources/Bundle.js +3 -0
  227. package/lib/src/types/resources/CarePlan.d.ts +47 -0
  228. package/lib/src/types/resources/CarePlan.js +3 -0
  229. package/lib/src/types/resources/ClinicalImpression.d.ts +45 -0
  230. package/lib/src/types/resources/ClinicalImpression.js +3 -0
  231. package/lib/src/types/resources/Composition.d.ts +39 -0
  232. package/lib/src/types/resources/Composition.js +3 -0
  233. package/lib/src/types/resources/Condition.d.ts +51 -0
  234. package/lib/src/types/resources/Condition.js +3 -0
  235. package/lib/src/types/resources/Consent.d.ts +38 -0
  236. package/lib/src/types/resources/Consent.js +3 -0
  237. package/lib/src/types/resources/Device.d.ts +53 -0
  238. package/lib/src/types/resources/Device.js +3 -0
  239. package/lib/src/types/resources/DeviceUseStatement.d.ts +38 -0
  240. package/lib/src/types/resources/DeviceUseStatement.js +3 -0
  241. package/lib/src/types/resources/DiagnosticReport.d.ts +43 -0
  242. package/lib/src/types/resources/DiagnosticReport.js +3 -0
  243. package/lib/src/types/resources/DomainResource.d.ts +16 -0
  244. package/lib/src/types/resources/DomainResource.js +3 -0
  245. package/lib/src/types/resources/FamilyMemberHistory.d.ts +53 -0
  246. package/lib/src/types/resources/FamilyMemberHistory.js +3 -0
  247. package/lib/src/types/resources/Immunization.d.ts +56 -0
  248. package/lib/src/types/resources/Immunization.js +3 -0
  249. package/lib/src/types/resources/Medication.d.ts +30 -0
  250. package/lib/src/types/resources/Medication.js +3 -0
  251. package/lib/src/types/resources/MedicationRequest.d.ts +59 -0
  252. package/lib/src/types/resources/MedicationRequest.js +3 -0
  253. package/lib/src/types/resources/MedicationStatement.d.ts +42 -0
  254. package/lib/src/types/resources/MedicationStatement.js +3 -0
  255. package/lib/src/types/resources/Observation.d.ts +69 -0
  256. package/lib/src/types/resources/Observation.js +3 -0
  257. package/lib/src/types/resources/Organization.d.ts +32 -0
  258. package/lib/src/types/resources/Organization.js +3 -0
  259. package/lib/src/types/resources/Patient.d.ts +47 -0
  260. package/lib/src/types/resources/Patient.js +3 -0
  261. package/lib/src/types/resources/Procedure.d.ts +59 -0
  262. package/lib/src/types/resources/Procedure.js +3 -0
  263. package/lib/src/types/simpleTypes/Base64Binary.d.ts +1 -0
  264. package/lib/src/types/simpleTypes/Base64Binary.js +2 -0
  265. package/lib/src/types/simpleTypes/Canonical.d.ts +1 -0
  266. package/lib/src/types/simpleTypes/Canonical.js +2 -0
  267. package/lib/src/types/simpleTypes/Date.d.ts +1 -0
  268. package/lib/src/types/simpleTypes/Date.js +2 -0
  269. package/lib/src/types/simpleTypes/DateTime.d.ts +1 -0
  270. package/lib/src/types/simpleTypes/DateTime.js +2 -0
  271. package/lib/src/types/simpleTypes/Decimal.d.ts +1 -0
  272. package/lib/src/types/simpleTypes/Decimal.js +2 -0
  273. package/lib/src/types/simpleTypes/Id.d.ts +1 -0
  274. package/lib/src/types/simpleTypes/Id.js +2 -0
  275. package/lib/src/types/simpleTypes/Instant.d.ts +1 -0
  276. package/lib/src/types/simpleTypes/Instant.js +2 -0
  277. package/lib/src/types/simpleTypes/Int.d.ts +1 -0
  278. package/lib/src/types/simpleTypes/Int.js +2 -0
  279. package/lib/src/types/simpleTypes/Markdown.d.ts +1 -0
  280. package/lib/src/types/simpleTypes/Markdown.js +2 -0
  281. package/lib/src/types/simpleTypes/Oid.d.ts +1 -0
  282. package/lib/src/types/simpleTypes/Oid.js +2 -0
  283. package/lib/src/types/simpleTypes/ResourceContainer.d.ts +1 -0
  284. package/lib/src/types/simpleTypes/ResourceContainer.js +2 -0
  285. package/lib/src/types/simpleTypes/Time.d.ts +1 -0
  286. package/lib/src/types/simpleTypes/Time.js +2 -0
  287. package/lib/src/types/simpleTypes/UnsignedInt.d.ts +1 -0
  288. package/lib/src/types/simpleTypes/UnsignedInt.js +2 -0
  289. package/lib/src/types/simpleTypes/Uri.d.ts +1 -0
  290. package/lib/src/types/simpleTypes/Uri.js +2 -0
  291. package/lib/src/types/simpleTypes/Url.d.ts +1 -0
  292. package/lib/src/types/simpleTypes/Url.js +2 -0
  293. package/lib/src/types/simpleTypes/Uuid.d.ts +1 -0
  294. package/lib/src/types/simpleTypes/Uuid.js +2 -0
  295. package/lib/src/types/simpleTypes/Xhtml.d.ts +1 -0
  296. package/lib/src/types/simpleTypes/Xhtml.js +2 -0
  297. package/lib/test/fhir-summary-bundle/fhir-summary-bundle.test.d.ts +1 -0
  298. package/lib/test/fhir-summary-bundle/fhir-summary-bundle.test.js +72 -0
  299. package/lib/test/ips-test/ips.test.d.ts +1 -0
  300. package/lib/test/ips-test/ips.test.js +389 -0
  301. package/lib/test/narrativeGenerator/narrativeGenerator.test.d.ts +1 -0
  302. package/lib/test/narrativeGenerator/narrativeGenerator.test.js +676 -0
  303. package/lib/test/summary.test.d.ts +1 -0
  304. package/lib/test/summary.test.js +452 -0
  305. package/lib/test/utilities/testHelpers.d.ts +21 -0
  306. package/lib/test/utilities/testHelpers.js +137 -0
  307. package/package.json +126 -0
@@ -0,0 +1,51 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ import { TIdentifier } from '../partials/Identifier';
7
+ import { TCodeableConcept } from '../partials/CodeableConcept';
8
+ import { TReference } from '../partials/Reference';
9
+ import { TDateTime } from '../simpleTypes/DateTime';
10
+ import { TQuantity } from '../partials/Quantity';
11
+ import { TPeriod } from '../partials/Period';
12
+ import { TRange } from '../partials/Range';
13
+ import { TConditionStage } from '../partials/ConditionStage';
14
+ import { TConditionEvidence } from '../partials/ConditionEvidence';
15
+ import { TAnnotation } from '../partials/Annotation';
16
+ export type TCondition = {
17
+ resourceType?: string;
18
+ id?: string;
19
+ meta?: TMeta;
20
+ implicitRules?: TUri;
21
+ language?: string;
22
+ text?: TNarrative;
23
+ contained?: TResourceContainer[];
24
+ extension?: TExtension[];
25
+ modifierExtension?: TExtension[];
26
+ identifier?: TIdentifier[];
27
+ clinicalStatus?: TCodeableConcept;
28
+ verificationStatus?: TCodeableConcept;
29
+ category?: TCodeableConcept[];
30
+ severity?: TCodeableConcept;
31
+ code?: TCodeableConcept;
32
+ bodySite?: TCodeableConcept[];
33
+ subject: TReference;
34
+ encounter?: TReference;
35
+ onsetDateTime?: TDateTime;
36
+ onsetAge?: TQuantity;
37
+ onsetPeriod?: TPeriod;
38
+ onsetRange?: TRange;
39
+ onsetString?: string;
40
+ abatementDateTime?: TDateTime;
41
+ abatementAge?: TQuantity;
42
+ abatementPeriod?: TPeriod;
43
+ abatementRange?: TRange;
44
+ abatementString?: string;
45
+ recordedDate?: TDateTime;
46
+ recorder?: TReference;
47
+ asserter?: TReference;
48
+ stage?: TConditionStage[];
49
+ evidence?: TConditionEvidence[];
50
+ note?: TAnnotation[];
51
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,38 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ import { TIdentifier } from '../partials/Identifier';
7
+ import { TCodeableConcept } from '../partials/CodeableConcept';
8
+ import { TReference } from '../partials/Reference';
9
+ import { TDateTime } from '../simpleTypes/DateTime';
10
+ import { TAttachment } from '../partials/Attachment';
11
+ import { TConsentPolicy } from '../partials/ConsentPolicy';
12
+ import { TConsentVerification } from '../partials/ConsentVerification';
13
+ import { TConsentProvision } from '../partials/ConsentProvision';
14
+ export type TConsent = {
15
+ resourceType?: string;
16
+ id?: string;
17
+ meta?: TMeta;
18
+ implicitRules?: TUri;
19
+ language?: string;
20
+ text?: TNarrative;
21
+ contained?: TResourceContainer[];
22
+ extension?: TExtension[];
23
+ modifierExtension?: TExtension[];
24
+ identifier?: TIdentifier[];
25
+ status: string;
26
+ scope: TCodeableConcept;
27
+ category: TCodeableConcept[];
28
+ patient?: TReference;
29
+ dateTime?: TDateTime;
30
+ performer?: TReference[];
31
+ organization?: TReference[];
32
+ sourceAttachment?: TAttachment;
33
+ sourceReference?: TReference;
34
+ policy?: TConsentPolicy[];
35
+ policyRule?: TCodeableConcept;
36
+ verification?: TConsentVerification[];
37
+ provision?: TConsentProvision;
38
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,53 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ import { TIdentifier } from '../partials/Identifier';
7
+ import { TReference } from '../partials/Reference';
8
+ import { TDeviceUdiCarrier } from '../partials/DeviceUdiCarrier';
9
+ import { TCodeableConcept } from '../partials/CodeableConcept';
10
+ import { TDateTime } from '../simpleTypes/DateTime';
11
+ import { TDeviceDeviceName } from '../partials/DeviceDeviceName';
12
+ import { TDeviceSpecialization } from '../partials/DeviceSpecialization';
13
+ import { TDeviceVersion } from '../partials/DeviceVersion';
14
+ import { TDeviceProperty } from '../partials/DeviceProperty';
15
+ import { TContactPoint } from '../partials/ContactPoint';
16
+ import { TAnnotation } from '../partials/Annotation';
17
+ export type TDevice = {
18
+ resourceType?: string;
19
+ id?: string;
20
+ meta?: TMeta;
21
+ implicitRules?: TUri;
22
+ language?: string;
23
+ text?: TNarrative;
24
+ contained?: TResourceContainer[];
25
+ extension?: TExtension[];
26
+ modifierExtension?: TExtension[];
27
+ identifier?: TIdentifier[];
28
+ definition?: TReference;
29
+ udiCarrier?: TDeviceUdiCarrier[];
30
+ status?: string;
31
+ statusReason?: TCodeableConcept[];
32
+ distinctIdentifier?: string;
33
+ manufacturer?: string;
34
+ manufactureDate?: TDateTime;
35
+ expirationDate?: TDateTime;
36
+ lotNumber?: string;
37
+ serialNumber?: string;
38
+ deviceName?: TDeviceDeviceName[];
39
+ modelNumber?: string;
40
+ partNumber?: string;
41
+ type?: TCodeableConcept;
42
+ specialization?: TDeviceSpecialization[];
43
+ version?: TDeviceVersion[];
44
+ property?: TDeviceProperty[];
45
+ patient?: TReference;
46
+ owner?: TReference;
47
+ contact?: TContactPoint[];
48
+ location?: TReference;
49
+ url?: TUri;
50
+ note?: TAnnotation[];
51
+ safety?: TCodeableConcept[];
52
+ parent?: TReference;
53
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,38 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ import { TIdentifier } from '../partials/Identifier';
7
+ import { TReference } from '../partials/Reference';
8
+ import { TTiming } from '../partials/Timing';
9
+ import { TPeriod } from '../partials/Period';
10
+ import { TDateTime } from '../simpleTypes/DateTime';
11
+ import { TCodeableConcept } from '../partials/CodeableConcept';
12
+ import { TAnnotation } from '../partials/Annotation';
13
+ export type TDeviceUseStatement = {
14
+ resourceType?: string;
15
+ id?: string;
16
+ meta?: TMeta;
17
+ implicitRules?: TUri;
18
+ language?: string;
19
+ text?: TNarrative;
20
+ contained?: TResourceContainer[];
21
+ extension?: TExtension[];
22
+ modifierExtension?: TExtension[];
23
+ identifier?: TIdentifier[];
24
+ basedOn?: TReference[];
25
+ status: string;
26
+ subject: TReference;
27
+ derivedFrom?: TReference[];
28
+ timingTiming?: TTiming;
29
+ timingPeriod?: TPeriod;
30
+ timingDateTime?: TDateTime;
31
+ recordedOn?: TDateTime;
32
+ source?: TReference;
33
+ device: TReference;
34
+ reasonCode?: TCodeableConcept[];
35
+ reasonReference?: TReference[];
36
+ bodySite?: TCodeableConcept;
37
+ note?: TAnnotation[];
38
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,43 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ import { TIdentifier } from '../partials/Identifier';
7
+ import { TReference } from '../partials/Reference';
8
+ import { TCodeableConcept } from '../partials/CodeableConcept';
9
+ import { TDateTime } from '../simpleTypes/DateTime';
10
+ import { TPeriod } from '../partials/Period';
11
+ import { TInstant } from '../simpleTypes/Instant';
12
+ import { TDiagnosticReportMedia } from '../partials/DiagnosticReportMedia';
13
+ import { TAttachment } from '../partials/Attachment';
14
+ export type TDiagnosticReport = {
15
+ resourceType?: string;
16
+ id?: string;
17
+ meta?: TMeta;
18
+ implicitRules?: TUri;
19
+ language?: string;
20
+ text?: TNarrative;
21
+ contained?: TResourceContainer[];
22
+ extension?: TExtension[];
23
+ modifierExtension?: TExtension[];
24
+ identifier?: TIdentifier[];
25
+ basedOn?: TReference[];
26
+ status: string;
27
+ category?: TCodeableConcept[];
28
+ code: TCodeableConcept;
29
+ subject?: TReference;
30
+ encounter?: TReference;
31
+ effectiveDateTime?: TDateTime;
32
+ effectivePeriod?: TPeriod;
33
+ issued?: TInstant;
34
+ performer?: TReference[];
35
+ resultsInterpreter?: TReference[];
36
+ specimen?: TReference[];
37
+ result?: TReference[];
38
+ imagingStudy?: TReference[];
39
+ media?: TDiagnosticReportMedia[];
40
+ conclusion?: string;
41
+ conclusionCode?: TCodeableConcept[];
42
+ presentedForm?: TAttachment[];
43
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ export type TDomainResource = {
7
+ resourceType?: string;
8
+ id?: string;
9
+ meta?: TMeta;
10
+ implicitRules?: TUri;
11
+ language?: string;
12
+ text?: TNarrative;
13
+ contained?: TResourceContainer[];
14
+ extension?: TExtension[];
15
+ modifierExtension?: TExtension[];
16
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,53 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ import { TIdentifier } from '../partials/Identifier';
7
+ import { TCanonical } from '../simpleTypes/Canonical';
8
+ import { TCodeableConcept } from '../partials/CodeableConcept';
9
+ import { TReference } from '../partials/Reference';
10
+ import { TDateTime } from '../simpleTypes/DateTime';
11
+ import { TPeriod } from '../partials/Period';
12
+ import { TDate } from '../simpleTypes/Date';
13
+ import { TQuantity } from '../partials/Quantity';
14
+ import { TRange } from '../partials/Range';
15
+ import { TAnnotation } from '../partials/Annotation';
16
+ import { TFamilyMemberHistoryCondition } from '../partials/FamilyMemberHistoryCondition';
17
+ export type TFamilyMemberHistory = {
18
+ resourceType?: string;
19
+ id?: string;
20
+ meta?: TMeta;
21
+ implicitRules?: TUri;
22
+ language?: string;
23
+ text?: TNarrative;
24
+ contained?: TResourceContainer[];
25
+ extension?: TExtension[];
26
+ modifierExtension?: TExtension[];
27
+ identifier?: TIdentifier[];
28
+ instantiatesCanonical?: TCanonical[];
29
+ instantiatesUri?: TUri[];
30
+ status: string;
31
+ dataAbsentReason?: TCodeableConcept;
32
+ patient: TReference;
33
+ date?: TDateTime;
34
+ name?: string;
35
+ relationship: TCodeableConcept;
36
+ sex?: TCodeableConcept;
37
+ bornPeriod?: TPeriod;
38
+ bornDate?: TDate;
39
+ bornString?: string;
40
+ ageAge?: TQuantity;
41
+ ageRange?: TRange;
42
+ ageString?: string;
43
+ estimatedAge?: boolean;
44
+ deceasedBoolean?: boolean;
45
+ deceasedAge?: TQuantity;
46
+ deceasedRange?: TRange;
47
+ deceasedDate?: TDate;
48
+ deceasedString?: string;
49
+ reasonCode?: TCodeableConcept[];
50
+ reasonReference?: TReference[];
51
+ note?: TAnnotation[];
52
+ condition?: TFamilyMemberHistoryCondition[];
53
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,56 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ import { TIdentifier } from '../partials/Identifier';
7
+ import { TCodeableConcept } from '../partials/CodeableConcept';
8
+ import { TReference } from '../partials/Reference';
9
+ import { TDateTime } from '../simpleTypes/DateTime';
10
+ import { TDate } from '../simpleTypes/Date';
11
+ import { TQuantity } from '../partials/Quantity';
12
+ import { TImmunizationPerformer } from '../partials/ImmunizationPerformer';
13
+ import { TAnnotation } from '../partials/Annotation';
14
+ import { TImmunizationEducation } from '../partials/ImmunizationEducation';
15
+ import { TImmunizationReaction } from '../partials/ImmunizationReaction';
16
+ import { TImmunizationProtocolApplied } from '../partials/ImmunizationProtocolApplied';
17
+ export type TImmunization = {
18
+ resourceType?: string;
19
+ id?: string;
20
+ meta?: TMeta;
21
+ implicitRules?: TUri;
22
+ language?: string;
23
+ text?: TNarrative;
24
+ contained?: TResourceContainer[];
25
+ extension?: TExtension[];
26
+ modifierExtension?: TExtension[];
27
+ identifier?: TIdentifier[];
28
+ status: string;
29
+ statusReason?: TCodeableConcept;
30
+ vaccineCode: TCodeableConcept;
31
+ patient: TReference;
32
+ encounter?: TReference;
33
+ occurrenceDateTime?: TDateTime;
34
+ occurrenceString?: string;
35
+ recorded?: TDateTime;
36
+ primarySource?: boolean;
37
+ reportOrigin?: TCodeableConcept;
38
+ location?: TReference;
39
+ manufacturer?: TReference;
40
+ lotNumber?: string;
41
+ expirationDate?: TDate;
42
+ site?: TCodeableConcept;
43
+ route?: TCodeableConcept;
44
+ doseQuantity?: TQuantity;
45
+ performer?: TImmunizationPerformer[];
46
+ note?: TAnnotation[];
47
+ reasonCode?: TCodeableConcept[];
48
+ reasonReference?: TReference[];
49
+ isSubpotent?: boolean;
50
+ subpotentReason?: TCodeableConcept[];
51
+ education?: TImmunizationEducation[];
52
+ programEligibility?: TCodeableConcept[];
53
+ fundingSource?: TCodeableConcept;
54
+ reaction?: TImmunizationReaction[];
55
+ protocolApplied?: TImmunizationProtocolApplied[];
56
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ import { TIdentifier } from '../partials/Identifier';
7
+ import { TCodeableConcept } from '../partials/CodeableConcept';
8
+ import { TReference } from '../partials/Reference';
9
+ import { TRatio } from '../partials/Ratio';
10
+ import { TMedicationIngredient } from '../partials/MedicationIngredient';
11
+ import { TMedicationBatch } from '../partials/MedicationBatch';
12
+ export type TMedication = {
13
+ resourceType?: string;
14
+ id?: string;
15
+ meta?: TMeta;
16
+ implicitRules?: TUri;
17
+ language?: string;
18
+ text?: TNarrative;
19
+ contained?: TResourceContainer[];
20
+ extension?: TExtension[];
21
+ modifierExtension?: TExtension[];
22
+ identifier?: TIdentifier[];
23
+ code?: TCodeableConcept;
24
+ status?: string;
25
+ manufacturer?: TReference;
26
+ form?: TCodeableConcept;
27
+ amount?: TRatio;
28
+ ingredient?: TMedicationIngredient[];
29
+ batch?: TMedicationBatch;
30
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,59 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ import { TIdentifier } from '../partials/Identifier';
7
+ import { TCodeableConcept } from '../partials/CodeableConcept';
8
+ import { TReference } from '../partials/Reference';
9
+ import { TDateTime } from '../simpleTypes/DateTime';
10
+ import { TCanonical } from '../simpleTypes/Canonical';
11
+ import { TAnnotation } from '../partials/Annotation';
12
+ import { TDosage } from '../partials/Dosage';
13
+ import { TMedicationRequestDispenseRequest } from '../partials/MedicationRequestDispenseRequest';
14
+ import { TMedicationRequestSubstitution } from '../partials/MedicationRequestSubstitution';
15
+ export type TMedicationRequest = {
16
+ resourceType?: string;
17
+ id?: string;
18
+ meta?: TMeta;
19
+ implicitRules?: TUri;
20
+ language?: string;
21
+ text?: TNarrative;
22
+ contained?: TResourceContainer[];
23
+ extension?: TExtension[];
24
+ modifierExtension?: TExtension[];
25
+ identifier?: TIdentifier[];
26
+ status: string;
27
+ statusReason?: TCodeableConcept;
28
+ intent: string;
29
+ category?: TCodeableConcept[];
30
+ priority?: string;
31
+ doNotPerform?: boolean;
32
+ reportedBoolean?: boolean;
33
+ reportedReference?: TReference;
34
+ medicationCodeableConcept?: TCodeableConcept;
35
+ medicationReference?: TReference;
36
+ subject: TReference;
37
+ encounter?: TReference;
38
+ supportingInformation?: TReference[];
39
+ authoredOn?: TDateTime;
40
+ requester?: TReference;
41
+ performer?: TReference;
42
+ performerType?: TCodeableConcept;
43
+ recorder?: TReference;
44
+ reasonCode?: TCodeableConcept[];
45
+ reasonReference?: TReference[];
46
+ instantiatesCanonical?: TCanonical[];
47
+ instantiatesUri?: TUri[];
48
+ basedOn?: TReference[];
49
+ groupIdentifier?: TIdentifier;
50
+ courseOfTherapyType?: TCodeableConcept;
51
+ insurance?: TReference[];
52
+ note?: TAnnotation[];
53
+ dosageInstruction?: TDosage[];
54
+ dispenseRequest?: TMedicationRequestDispenseRequest;
55
+ substitution?: TMedicationRequestSubstitution;
56
+ priorPrescription?: TReference;
57
+ detectedIssue?: TReference[];
58
+ eventHistory?: TReference[];
59
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,42 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ import { TIdentifier } from '../partials/Identifier';
7
+ import { TReference } from '../partials/Reference';
8
+ import { TCodeableConcept } from '../partials/CodeableConcept';
9
+ import { TDateTime } from '../simpleTypes/DateTime';
10
+ import { TPeriod } from '../partials/Period';
11
+ import { TAnnotation } from '../partials/Annotation';
12
+ import { TDosage } from '../partials/Dosage';
13
+ export type TMedicationStatement = {
14
+ resourceType?: string;
15
+ id?: string;
16
+ meta?: TMeta;
17
+ implicitRules?: TUri;
18
+ language?: string;
19
+ text?: TNarrative;
20
+ contained?: TResourceContainer[];
21
+ extension?: TExtension[];
22
+ modifierExtension?: TExtension[];
23
+ identifier?: TIdentifier[];
24
+ basedOn?: TReference[];
25
+ partOf?: TReference[];
26
+ status: string;
27
+ statusReason?: TCodeableConcept[];
28
+ category?: TCodeableConcept;
29
+ medicationCodeableConcept?: TCodeableConcept;
30
+ medicationReference?: TReference;
31
+ subject: TReference;
32
+ context?: TReference;
33
+ effectiveDateTime?: TDateTime;
34
+ effectivePeriod?: TPeriod;
35
+ dateAsserted?: TDateTime;
36
+ informationSource?: TReference;
37
+ derivedFrom?: TReference[];
38
+ reasonCode?: TCodeableConcept[];
39
+ reasonReference?: TReference[];
40
+ note?: TAnnotation[];
41
+ dosage?: TDosage[];
42
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,69 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ import { TIdentifier } from '../partials/Identifier';
7
+ import { TReference } from '../partials/Reference';
8
+ import { TCodeableConcept } from '../partials/CodeableConcept';
9
+ import { TDateTime } from '../simpleTypes/DateTime';
10
+ import { TPeriod } from '../partials/Period';
11
+ import { TTiming } from '../partials/Timing';
12
+ import { TInstant } from '../simpleTypes/Instant';
13
+ import { TQuantity } from '../partials/Quantity';
14
+ import { TInt } from '../simpleTypes/Int';
15
+ import { TRange } from '../partials/Range';
16
+ import { TRatio } from '../partials/Ratio';
17
+ import { TSampledData } from '../partials/SampledData';
18
+ import { TTime } from '../simpleTypes/Time';
19
+ import { TAnnotation } from '../partials/Annotation';
20
+ import { TObservationReferenceRange } from '../partials/ObservationReferenceRange';
21
+ import { TObservationComponent } from '../partials/ObservationComponent';
22
+ export type TObservation = {
23
+ resourceType?: string;
24
+ id?: string;
25
+ meta?: TMeta;
26
+ implicitRules?: TUri;
27
+ language?: string;
28
+ text?: TNarrative;
29
+ contained?: TResourceContainer[];
30
+ extension?: TExtension[];
31
+ modifierExtension?: TExtension[];
32
+ identifier?: TIdentifier[];
33
+ basedOn?: TReference[];
34
+ partOf?: TReference[];
35
+ status: string;
36
+ category?: TCodeableConcept[];
37
+ code: TCodeableConcept;
38
+ subject?: TReference;
39
+ focus?: TReference[];
40
+ encounter?: TReference;
41
+ effectiveDateTime?: TDateTime;
42
+ effectivePeriod?: TPeriod;
43
+ effectiveTiming?: TTiming;
44
+ effectiveInstant?: TInstant;
45
+ issued?: TInstant;
46
+ performer?: TReference[];
47
+ valueQuantity?: TQuantity;
48
+ valueCodeableConcept?: TCodeableConcept;
49
+ valueString?: string;
50
+ valueBoolean?: boolean;
51
+ valueInteger?: TInt;
52
+ valueRange?: TRange;
53
+ valueRatio?: TRatio;
54
+ valueSampledData?: TSampledData;
55
+ valueTime?: TTime;
56
+ valueDateTime?: TDateTime;
57
+ valuePeriod?: TPeriod;
58
+ dataAbsentReason?: TCodeableConcept;
59
+ interpretation?: TCodeableConcept[];
60
+ note?: TAnnotation[];
61
+ bodySite?: TCodeableConcept;
62
+ method?: TCodeableConcept;
63
+ specimen?: TReference;
64
+ device?: TReference;
65
+ referenceRange?: TObservationReferenceRange[];
66
+ hasMember?: TReference[];
67
+ derivedFrom?: TReference[];
68
+ component?: TObservationComponent[];
69
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,32 @@
1
+ import { TMeta } from '../partials/Meta';
2
+ import { TUri } from '../simpleTypes/Uri';
3
+ import { TNarrative } from '../partials/Narrative';
4
+ import { TResourceContainer } from '../simpleTypes/ResourceContainer';
5
+ import { TExtension } from '../partials/Extension';
6
+ import { TIdentifier } from '../partials/Identifier';
7
+ import { TCodeableConcept } from '../partials/CodeableConcept';
8
+ import { TContactPoint } from '../partials/ContactPoint';
9
+ import { TAddress } from '../partials/Address';
10
+ import { TReference } from '../partials/Reference';
11
+ import { TOrganizationContact } from '../partials/OrganizationContact';
12
+ export type TOrganization = {
13
+ resourceType?: string;
14
+ id?: string;
15
+ meta?: TMeta;
16
+ implicitRules?: TUri;
17
+ language?: string;
18
+ text?: TNarrative;
19
+ contained?: TResourceContainer[];
20
+ extension?: TExtension[];
21
+ modifierExtension?: TExtension[];
22
+ identifier?: TIdentifier[];
23
+ active?: boolean;
24
+ type?: TCodeableConcept[];
25
+ name?: string;
26
+ alias?: string[];
27
+ telecom?: TContactPoint[];
28
+ address?: TAddress[];
29
+ partOf?: TReference;
30
+ contact?: TOrganizationContact[];
31
+ endpoint?: TReference[];
32
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated by generate_types so do not edit manually
3
+ Object.defineProperty(exports, "__esModule", { value: true });