@smile-cdr/fhirts 1.4.8 → 1.5.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 (303) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/GETTINGSTARTED.md +12 -0
  3. package/dist/FHIR-R3.d.ts +62 -31
  4. package/dist/FHIR-R3.js +33 -33
  5. package/dist/FHIR-R4/classes/account.d.ts +1 -1
  6. package/dist/FHIR-R4/classes/activityDefinition.d.ts +1 -1
  7. package/dist/FHIR-R4/classes/adverseEvent.d.ts +1 -1
  8. package/dist/FHIR-R4/classes/allergyIntolerance.d.ts +1 -1
  9. package/dist/FHIR-R4/classes/appointment.d.ts +1 -1
  10. package/dist/FHIR-R4/classes/appointmentResponse.d.ts +1 -1
  11. package/dist/FHIR-R4/classes/auditEvent.d.ts +1 -1
  12. package/dist/FHIR-R4/classes/base64Binary.d.ts +1 -1
  13. package/dist/FHIR-R4/classes/baseResource.d.ts +1 -0
  14. package/dist/FHIR-R4/classes/baseResource.js +4 -0
  15. package/dist/FHIR-R4/classes/binary.d.ts +1 -1
  16. package/dist/FHIR-R4/classes/biologicallyDerivedProduct.d.ts +1 -1
  17. package/dist/FHIR-R4/classes/bodyStructure.d.ts +1 -1
  18. package/dist/FHIR-R4/classes/bundle.d.ts +1 -1
  19. package/dist/FHIR-R4/classes/canonical.d.ts +1 -1
  20. package/dist/FHIR-R4/classes/capabilityStatement.d.ts +1 -1
  21. package/dist/FHIR-R4/classes/capabilityStatementResource.d.ts +2 -2
  22. package/dist/FHIR-R4/classes/carePlan.d.ts +1 -1
  23. package/dist/FHIR-R4/classes/careTeam.d.ts +1 -1
  24. package/dist/FHIR-R4/classes/catalogEntry.d.ts +1 -1
  25. package/dist/FHIR-R4/classes/chargeItem.d.ts +1 -1
  26. package/dist/FHIR-R4/classes/chargeItemDefinition.d.ts +1 -1
  27. package/dist/FHIR-R4/classes/claim.d.ts +1 -1
  28. package/dist/FHIR-R4/classes/claimResponse.d.ts +1 -1
  29. package/dist/FHIR-R4/classes/clinicalImpression.d.ts +1 -1
  30. package/dist/FHIR-R4/classes/code.d.ts +1 -1
  31. package/dist/FHIR-R4/classes/codeSystem.d.ts +1 -1
  32. package/dist/FHIR-R4/classes/communication.d.ts +1 -1
  33. package/dist/FHIR-R4/classes/communicationRequest.d.ts +1 -1
  34. package/dist/FHIR-R4/classes/compartmentDefinition.d.ts +1 -1
  35. package/dist/FHIR-R4/classes/compartmentDefinitionResource.d.ts +2 -13
  36. package/dist/FHIR-R4/classes/composition.d.ts +1 -1
  37. package/dist/FHIR-R4/classes/conceptMap.d.ts +1 -1
  38. package/dist/FHIR-R4/classes/condition.d.ts +1 -1
  39. package/dist/FHIR-R4/classes/consent.d.ts +1 -1
  40. package/dist/FHIR-R4/classes/contract.d.ts +1 -1
  41. package/dist/FHIR-R4/classes/coverage.d.ts +1 -1
  42. package/dist/FHIR-R4/classes/coverageEligibilityRequest.d.ts +1 -1
  43. package/dist/FHIR-R4/classes/coverageEligibilityResponse.d.ts +1 -1
  44. package/dist/FHIR-R4/classes/date.d.ts +1 -1
  45. package/dist/FHIR-R4/classes/dateTime.d.ts +1 -1
  46. package/dist/FHIR-R4/classes/decimal.d.ts +1 -1
  47. package/dist/FHIR-R4/classes/detectedIssue.d.ts +1 -1
  48. package/dist/FHIR-R4/classes/device.d.ts +1 -1
  49. package/dist/FHIR-R4/classes/deviceDefinition.d.ts +1 -1
  50. package/dist/FHIR-R4/classes/deviceMetric.d.ts +1 -1
  51. package/dist/FHIR-R4/classes/deviceRequest.d.ts +1 -1
  52. package/dist/FHIR-R4/classes/deviceUseStatement.d.ts +1 -1
  53. package/dist/FHIR-R4/classes/diagnosticReport.d.ts +1 -1
  54. package/dist/FHIR-R4/classes/documentManifest.d.ts +1 -1
  55. package/dist/FHIR-R4/classes/documentReference.d.ts +1 -1
  56. package/dist/FHIR-R4/classes/encounter.d.ts +1 -1
  57. package/dist/FHIR-R4/classes/endpoint.d.ts +1 -1
  58. package/dist/FHIR-R4/classes/enrollmentRequest.d.ts +1 -1
  59. package/dist/FHIR-R4/classes/enrollmentResponse.d.ts +1 -1
  60. package/dist/FHIR-R4/classes/episodeOfCare.d.ts +1 -1
  61. package/dist/FHIR-R4/classes/eventDefinition.d.ts +1 -1
  62. package/dist/FHIR-R4/classes/evidence.d.ts +1 -1
  63. package/dist/FHIR-R4/classes/evidenceVariable.d.ts +1 -1
  64. package/dist/FHIR-R4/classes/exampleScenario.d.ts +1 -1
  65. package/dist/FHIR-R4/classes/exampleScenarioInstance.d.ts +3 -14
  66. package/dist/FHIR-R4/classes/exampleScenarioVersion.d.ts +2 -2
  67. package/dist/FHIR-R4/classes/explanationOfBenefit.d.ts +1 -1
  68. package/dist/FHIR-R4/classes/familyMemberHistory.d.ts +1 -1
  69. package/dist/FHIR-R4/classes/flag.d.ts +1 -1
  70. package/dist/FHIR-R4/classes/goal.d.ts +1 -1
  71. package/dist/FHIR-R4/classes/graphDefinition.d.ts +3 -2
  72. package/dist/FHIR-R4/classes/group.d.ts +1 -1
  73. package/dist/FHIR-R4/classes/guidanceResponse.d.ts +1 -1
  74. package/dist/FHIR-R4/classes/healthcareService.d.ts +1 -1
  75. package/dist/FHIR-R4/classes/id.d.ts +1 -1
  76. package/dist/FHIR-R4/classes/imagingStudy.d.ts +1 -1
  77. package/dist/FHIR-R4/classes/immunization.d.ts +1 -1
  78. package/dist/FHIR-R4/classes/immunizationEvaluation.d.ts +1 -1
  79. package/dist/FHIR-R4/classes/immunizationRecommendation.d.ts +1 -1
  80. package/dist/FHIR-R4/classes/implementationGuide.d.ts +1 -1
  81. package/dist/FHIR-R4/classes/implementationGuideGlobal.d.ts +2 -2
  82. package/dist/FHIR-R4/classes/instant.d.ts +1 -1
  83. package/dist/FHIR-R4/classes/insurancePlan.d.ts +1 -1
  84. package/dist/FHIR-R4/classes/integer.d.ts +1 -1
  85. package/dist/FHIR-R4/classes/invoice.d.ts +1 -1
  86. package/dist/FHIR-R4/classes/library.d.ts +1 -1
  87. package/dist/FHIR-R4/classes/linkage.d.ts +1 -1
  88. package/dist/FHIR-R4/classes/list.d.ts +1 -1
  89. package/dist/FHIR-R4/classes/location.d.ts +1 -1
  90. package/dist/FHIR-R4/classes/markdown.d.ts +1 -1
  91. package/dist/FHIR-R4/classes/measure.d.ts +1 -1
  92. package/dist/FHIR-R4/classes/measureReport.d.ts +1 -1
  93. package/dist/FHIR-R4/classes/media.d.ts +1 -1
  94. package/dist/FHIR-R4/classes/medication.d.ts +1 -1
  95. package/dist/FHIR-R4/classes/medicationAdministration.d.ts +1 -1
  96. package/dist/FHIR-R4/classes/medicationDispense.d.ts +1 -1
  97. package/dist/FHIR-R4/classes/medicationKnowledge.d.ts +1 -1
  98. package/dist/FHIR-R4/classes/medicationRequest.d.ts +1 -1
  99. package/dist/FHIR-R4/classes/medicationStatement.d.ts +1 -1
  100. package/dist/FHIR-R4/classes/messageDefinition.d.ts +1 -1
  101. package/dist/FHIR-R4/classes/messageDefinitionFocus.d.ts +2 -2
  102. package/dist/FHIR-R4/classes/messageHeader.d.ts +1 -1
  103. package/dist/FHIR-R4/classes/modelBoolean.d.ts +1 -1
  104. package/dist/FHIR-R4/classes/modelString.d.ts +1 -1
  105. package/dist/FHIR-R4/classes/molecularSequence.d.ts +1 -1
  106. package/dist/FHIR-R4/classes/namingSystem.d.ts +1 -1
  107. package/dist/FHIR-R4/classes/nutritionOrder.d.ts +1 -1
  108. package/dist/FHIR-R4/classes/observation.d.ts +1 -1
  109. package/dist/FHIR-R4/classes/observationDefinition.d.ts +1 -1
  110. package/dist/FHIR-R4/classes/operationDefinition.d.ts +3 -2
  111. package/dist/FHIR-R4/classes/operationOutcome.d.ts +1 -1
  112. package/dist/FHIR-R4/classes/organization.d.ts +1 -1
  113. package/dist/FHIR-R4/classes/organizationAffiliation.d.ts +1 -1
  114. package/dist/FHIR-R4/classes/parameters.d.ts +1 -1
  115. package/dist/FHIR-R4/classes/parametersParameter.d.ts +2 -2
  116. package/dist/FHIR-R4/classes/patient.d.ts +1 -1
  117. package/dist/FHIR-R4/classes/paymentNotice.d.ts +1 -1
  118. package/dist/FHIR-R4/classes/paymentReconciliation.d.ts +1 -1
  119. package/dist/FHIR-R4/classes/person.d.ts +1 -1
  120. package/dist/FHIR-R4/classes/planDefinition.d.ts +1 -1
  121. package/dist/FHIR-R4/classes/positiveInt.d.ts +1 -1
  122. package/dist/FHIR-R4/classes/practitioner.d.ts +1 -1
  123. package/dist/FHIR-R4/classes/practitionerRole.d.ts +1 -1
  124. package/dist/FHIR-R4/classes/procedure.d.ts +1 -1
  125. package/dist/FHIR-R4/classes/provenance.d.ts +1 -1
  126. package/dist/FHIR-R4/classes/questionnaire.d.ts +3 -2
  127. package/dist/FHIR-R4/classes/questionnaireResponse.d.ts +1 -1
  128. package/dist/FHIR-R4/classes/relatedPerson.d.ts +1 -1
  129. package/dist/FHIR-R4/classes/requestGroup.d.ts +1 -1
  130. package/dist/FHIR-R4/classes/researchDefinition.d.ts +1 -1
  131. package/dist/FHIR-R4/classes/researchElementDefinition.d.ts +1 -1
  132. package/dist/FHIR-R4/classes/researchStudy.d.ts +1 -1
  133. package/dist/FHIR-R4/classes/researchSubject.d.ts +1 -1
  134. package/dist/FHIR-R4/classes/resource.d.ts +127 -19
  135. package/dist/FHIR-R4/classes/resource.js +0 -4
  136. package/dist/FHIR-R4/classes/resourceList.d.ts +1 -2
  137. package/dist/FHIR-R4/classes/resourceList.js +0 -4
  138. package/dist/FHIR-R4/classes/riskAssessment.d.ts +1 -1
  139. package/dist/FHIR-R4/classes/schedule.d.ts +1 -1
  140. package/dist/FHIR-R4/classes/searchParameter.d.ts +6 -5
  141. package/dist/FHIR-R4/classes/serviceRequest.d.ts +1 -1
  142. package/dist/FHIR-R4/classes/slot.d.ts +1 -1
  143. package/dist/FHIR-R4/classes/specimen.d.ts +1 -1
  144. package/dist/FHIR-R4/classes/specimenDefinition.d.ts +1 -1
  145. package/dist/FHIR-R4/classes/structureDefinition.d.ts +1 -1
  146. package/dist/FHIR-R4/classes/structureMap.d.ts +1 -1
  147. package/dist/FHIR-R4/classes/subscription.d.ts +1 -1
  148. package/dist/FHIR-R4/classes/substance.d.ts +1 -1
  149. package/dist/FHIR-R4/classes/supplyDelivery.d.ts +1 -1
  150. package/dist/FHIR-R4/classes/supplyRequest.d.ts +1 -1
  151. package/dist/FHIR-R4/classes/task.d.ts +1 -1
  152. package/dist/FHIR-R4/classes/terminologyCapabilities.d.ts +1 -1
  153. package/dist/FHIR-R4/classes/testReport.d.ts +1 -1
  154. package/dist/FHIR-R4/classes/testScript.d.ts +1 -1
  155. package/dist/FHIR-R4/classes/time.d.ts +1 -1
  156. package/dist/FHIR-R4/classes/unsignedInt.d.ts +1 -1
  157. package/dist/FHIR-R4/classes/uri.d.ts +1 -1
  158. package/dist/FHIR-R4/classes/url.d.ts +1 -1
  159. package/dist/FHIR-R4/classes/valueSet.d.ts +1 -1
  160. package/dist/FHIR-R4/classes/verificationResult.d.ts +1 -1
  161. package/dist/FHIR-R4/classes/visionPrescription.d.ts +1 -1
  162. package/dist/FHIR-R4/classes/xhtml.d.ts +1 -1
  163. package/package.json +1 -1
  164. package/src/FHIR-R3.ts +64 -32
  165. package/src/FHIR-R4/classes/account.ts +1 -1
  166. package/src/FHIR-R4/classes/activityDefinition.ts +1 -1
  167. package/src/FHIR-R4/classes/adverseEvent.ts +1 -1
  168. package/src/FHIR-R4/classes/allergyIntolerance.ts +1 -1
  169. package/src/FHIR-R4/classes/appointment.ts +1 -1
  170. package/src/FHIR-R4/classes/appointmentResponse.ts +1 -1
  171. package/src/FHIR-R4/classes/auditEvent.ts +1 -1
  172. package/src/FHIR-R4/classes/baseResource.ts +24 -0
  173. package/src/FHIR-R4/classes/basic.ts +1 -1
  174. package/src/FHIR-R4/classes/binary.ts +1 -1
  175. package/src/FHIR-R4/classes/biologicallyDerivedProduct.ts +1 -1
  176. package/src/FHIR-R4/classes/bodyStructure.ts +1 -1
  177. package/src/FHIR-R4/classes/bundle.ts +1 -1
  178. package/src/FHIR-R4/classes/capabilityStatement.ts +1 -1
  179. package/src/FHIR-R4/classes/capabilityStatementResource.ts +3 -2
  180. package/src/FHIR-R4/classes/carePlan.ts +1 -1
  181. package/src/FHIR-R4/classes/careTeam.ts +1 -1
  182. package/src/FHIR-R4/classes/catalogEntry.ts +1 -1
  183. package/src/FHIR-R4/classes/chargeItem.ts +1 -1
  184. package/src/FHIR-R4/classes/chargeItemDefinition.ts +1 -1
  185. package/src/FHIR-R4/classes/claim.ts +1 -1
  186. package/src/FHIR-R4/classes/claimResponse.ts +1 -1
  187. package/src/FHIR-R4/classes/clinicalImpression.ts +1 -1
  188. package/src/FHIR-R4/classes/codeSystem.ts +1 -1
  189. package/src/FHIR-R4/classes/communication.ts +1 -1
  190. package/src/FHIR-R4/classes/communicationRequest.ts +1 -1
  191. package/src/FHIR-R4/classes/compartmentDefinition.ts +1 -1
  192. package/src/FHIR-R4/classes/compartmentDefinitionResource.ts +3 -2
  193. package/src/FHIR-R4/classes/composition.ts +1 -1
  194. package/src/FHIR-R4/classes/conceptMap.ts +1 -1
  195. package/src/FHIR-R4/classes/condition.ts +1 -1
  196. package/src/FHIR-R4/classes/consent.ts +1 -1
  197. package/src/FHIR-R4/classes/contract.ts +1 -1
  198. package/src/FHIR-R4/classes/coverage.ts +1 -1
  199. package/src/FHIR-R4/classes/coverageEligibilityRequest.ts +1 -1
  200. package/src/FHIR-R4/classes/coverageEligibilityResponse.ts +1 -1
  201. package/src/FHIR-R4/classes/detectedIssue.ts +1 -1
  202. package/src/FHIR-R4/classes/device.ts +1 -1
  203. package/src/FHIR-R4/classes/deviceDefinition.ts +1 -1
  204. package/src/FHIR-R4/classes/deviceMetric.ts +1 -1
  205. package/src/FHIR-R4/classes/deviceRequest.ts +1 -1
  206. package/src/FHIR-R4/classes/deviceUseStatement.ts +1 -1
  207. package/src/FHIR-R4/classes/diagnosticReport.ts +1 -1
  208. package/src/FHIR-R4/classes/documentManifest.ts +1 -1
  209. package/src/FHIR-R4/classes/documentReference.ts +1 -1
  210. package/src/FHIR-R4/classes/encounter.ts +1 -1
  211. package/src/FHIR-R4/classes/endpoint.ts +1 -1
  212. package/src/FHIR-R4/classes/enrollmentRequest.ts +1 -1
  213. package/src/FHIR-R4/classes/enrollmentResponse.ts +1 -1
  214. package/src/FHIR-R4/classes/episodeOfCare.ts +1 -1
  215. package/src/FHIR-R4/classes/eventDefinition.ts +1 -1
  216. package/src/FHIR-R4/classes/evidence.ts +1 -1
  217. package/src/FHIR-R4/classes/evidenceVariable.ts +1 -1
  218. package/src/FHIR-R4/classes/exampleScenario.ts +1 -1
  219. package/src/FHIR-R4/classes/exampleScenarioInstance.ts +4 -3
  220. package/src/FHIR-R4/classes/exampleScenarioVersion.ts +3 -3
  221. package/src/FHIR-R4/classes/explanationOfBenefit.ts +1 -1
  222. package/src/FHIR-R4/classes/familyMemberHistory.ts +1 -1
  223. package/src/FHIR-R4/classes/flag.ts +1 -1
  224. package/src/FHIR-R4/classes/goal.ts +1 -1
  225. package/src/FHIR-R4/classes/graphDefinition.ts +4 -3
  226. package/src/FHIR-R4/classes/group.ts +1 -1
  227. package/src/FHIR-R4/classes/guidanceResponse.ts +1 -1
  228. package/src/FHIR-R4/classes/healthcareService.ts +1 -1
  229. package/src/FHIR-R4/classes/imagingStudy.ts +1 -1
  230. package/src/FHIR-R4/classes/immunization.ts +1 -1
  231. package/src/FHIR-R4/classes/immunizationEvaluation.ts +1 -1
  232. package/src/FHIR-R4/classes/immunizationRecommendation.ts +1 -1
  233. package/src/FHIR-R4/classes/implementationGuide.ts +1 -1
  234. package/src/FHIR-R4/classes/implementationGuideGlobal.ts +3 -2
  235. package/src/FHIR-R4/classes/insurancePlan.ts +1 -1
  236. package/src/FHIR-R4/classes/invoice.ts +1 -1
  237. package/src/FHIR-R4/classes/library.ts +1 -1
  238. package/src/FHIR-R4/classes/linkage.ts +1 -1
  239. package/src/FHIR-R4/classes/list.ts +1 -1
  240. package/src/FHIR-R4/classes/location.ts +1 -1
  241. package/src/FHIR-R4/classes/measure.ts +1 -1
  242. package/src/FHIR-R4/classes/measureReport.ts +1 -1
  243. package/src/FHIR-R4/classes/media.ts +1 -1
  244. package/src/FHIR-R4/classes/medication.ts +1 -1
  245. package/src/FHIR-R4/classes/medicationAdministration.ts +1 -1
  246. package/src/FHIR-R4/classes/medicationDispense.ts +1 -1
  247. package/src/FHIR-R4/classes/medicationKnowledge.ts +1 -1
  248. package/src/FHIR-R4/classes/medicationRequest.ts +1 -1
  249. package/src/FHIR-R4/classes/medicationStatement.ts +1 -1
  250. package/src/FHIR-R4/classes/messageDefinition.ts +2 -2
  251. package/src/FHIR-R4/classes/messageDefinitionFocus.ts +3 -2
  252. package/src/FHIR-R4/classes/messageHeader.ts +1 -1
  253. package/src/FHIR-R4/classes/molecularSequence.ts +1 -1
  254. package/src/FHIR-R4/classes/namingSystem.ts +1 -1
  255. package/src/FHIR-R4/classes/nutritionOrder.ts +1 -1
  256. package/src/FHIR-R4/classes/observation.ts +1 -1
  257. package/src/FHIR-R4/classes/observationDefinition.ts +1 -1
  258. package/src/FHIR-R4/classes/operationDefinition.ts +4 -3
  259. package/src/FHIR-R4/classes/operationOutcome.ts +1 -1
  260. package/src/FHIR-R4/classes/organization.ts +1 -1
  261. package/src/FHIR-R4/classes/organizationAffiliation.ts +1 -1
  262. package/src/FHIR-R4/classes/parameters.ts +1 -1
  263. package/src/FHIR-R4/classes/parametersParameter.ts +3 -3
  264. package/src/FHIR-R4/classes/patient.ts +1 -1
  265. package/src/FHIR-R4/classes/paymentNotice.ts +1 -1
  266. package/src/FHIR-R4/classes/paymentReconciliation.ts +1 -1
  267. package/src/FHIR-R4/classes/person.ts +1 -1
  268. package/src/FHIR-R4/classes/planDefinition.ts +1 -1
  269. package/src/FHIR-R4/classes/practitioner.ts +1 -1
  270. package/src/FHIR-R4/classes/practitionerRole.ts +1 -1
  271. package/src/FHIR-R4/classes/procedure.ts +1 -1
  272. package/src/FHIR-R4/classes/provenance.ts +1 -1
  273. package/src/FHIR-R4/classes/questionnaire.ts +4 -3
  274. package/src/FHIR-R4/classes/questionnaireResponse.ts +1 -1
  275. package/src/FHIR-R4/classes/reference.ts +1 -1
  276. package/src/FHIR-R4/classes/relatedPerson.ts +1 -1
  277. package/src/FHIR-R4/classes/requestGroup.ts +1 -1
  278. package/src/FHIR-R4/classes/researchDefinition.ts +1 -1
  279. package/src/FHIR-R4/classes/researchElementDefinition.ts +1 -1
  280. package/src/FHIR-R4/classes/researchStudy.ts +1 -1
  281. package/src/FHIR-R4/classes/researchSubject.ts +1 -1
  282. package/src/FHIR-R4/classes/resource.ts +128 -19
  283. package/src/FHIR-R4/classes/resourceList.ts +1 -2
  284. package/src/FHIR-R4/classes/riskAssessment.ts +1 -1
  285. package/src/FHIR-R4/classes/schedule.ts +1 -1
  286. package/src/FHIR-R4/classes/searchParameter.ts +7 -6
  287. package/src/FHIR-R4/classes/serviceRequest.ts +1 -1
  288. package/src/FHIR-R4/classes/slot.ts +1 -1
  289. package/src/FHIR-R4/classes/specimen.ts +1 -1
  290. package/src/FHIR-R4/classes/specimenDefinition.ts +1 -1
  291. package/src/FHIR-R4/classes/structureDefinition.ts +1 -1
  292. package/src/FHIR-R4/classes/structureMap.ts +1 -1
  293. package/src/FHIR-R4/classes/subscription.ts +1 -1
  294. package/src/FHIR-R4/classes/substance.ts +1 -1
  295. package/src/FHIR-R4/classes/supplyDelivery.ts +1 -1
  296. package/src/FHIR-R4/classes/supplyRequest.ts +1 -1
  297. package/src/FHIR-R4/classes/task.ts +1 -1
  298. package/src/FHIR-R4/classes/terminologyCapabilities.ts +1 -1
  299. package/src/FHIR-R4/classes/testReport.ts +1 -1
  300. package/src/FHIR-R4/classes/testScript.ts +1 -1
  301. package/src/FHIR-R4/classes/valueSet.ts +1 -1
  302. package/src/FHIR-R4/classes/verificationResult.ts +1 -1
  303. package/src/FHIR-R4/classes/visionPrescription.ts +1 -1
@@ -25,7 +25,7 @@ export declare class ResearchSubject {
25
25
  /**
26
26
  * This is a ResearchSubject resource
27
27
  */
28
- resourceType: string;
28
+ resourceType: 'ResearchSubject';
29
29
  /**
30
30
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
31
31
  */
@@ -1,22 +1,130 @@
1
1
  /**
2
2
  * Account-ActivityDefinition-AdverseEvent-AllergyIntolerance-Appointment-AppointmentResponse-AuditEvent-Basic-Binary-BiologicallyDerivedProduct-BodyStructure-Bundle-CapabilityStatement-CarePlan-CareTeam-CatalogEntry-ChargeItem-ChargeItemDefinition-Claim-ClaimResponse-ClinicalImpression-CodeSystem-Communication-CommunicationRequest-CompartmentDefinition-Composition-ConceptMap-Condition-Consent-Contract-Coverage-CoverageEligibilityRequest-CoverageEligibilityResponse-DetectedIssue-Device-DeviceDefinition-DeviceMetric-DeviceRequest-DeviceUseStatement-DiagnosticReport-DocumentManifest-DocumentReference-EffectEvidenceSynthesis-Encounter-Endpoint-EnrollmentRequest-EnrollmentResponse-EpisodeOfCare-EventDefinition-Evidence-EvidenceVariable-ExampleScenario-ExplanationOfBenefit-FamilyMemberHistory-Flag-Goal-GraphDefinition-Group-GuidanceResponse-HealthcareService-ImagingStudy-Immunization-ImmunizationEvaluation-ImmunizationRecommendation-ImplementationGuide-InsurancePlan-Invoice-Library-Linkage-List-Location-Measure-MeasureReport-Media-Medication-MedicationAdministration-MedicationDispense-MedicationKnowledge-MedicationRequest-MedicationStatement-MedicinalProduct-MedicinalProductAuthorization-MedicinalProductContraindication-MedicinalProductIndication-MedicinalProductIngredient-MedicinalProductInteraction-MedicinalProductManufactured-MedicinalProductPackaged-MedicinalProductPharmaceutical-MedicinalProductUndesirableEffect-MessageDefinition-MessageHeader-MolecularSequence-NamingSystem-NutritionOrder-Observation-ObservationDefinition-OperationDefinition-OperationOutcome-Organization-OrganizationAffiliation-Parameters-Patient-PaymentNotice-PaymentReconciliation-Person-PlanDefinition-Practitioner-PractitionerRole-Procedure-Provenance-Questionnaire-QuestionnaireResponse-RelatedPerson-RequestGroup-ResearchDefinition-ResearchElementDefinition-ResearchStudy-ResearchSubject-RiskAssessment-RiskEvidenceSynthesis-Schedule-SearchParameter-ServiceRequest-Slot-Specimen-SpecimenDefinition-StructureDefinition-StructureMap-Subscription-Substance-SubstanceNucleicAcid-SubstancePolymer-SubstanceProtein-SubstanceReferenceInformation-SubstanceSourceMaterial-SubstanceSpecification-SupplyDelivery-SupplyRequest-Task-TerminologyCapabilities-TestReport-TestScript-ValueSet-VerificationResult-VisionPrescription--FHIRAPI
3
- * Swagger for FHIR Resources Account, ActivityDefinition, AdverseEvent, AllergyIntolerance, Appointment, AppointmentResponse, AuditEvent, Basic, Binary, BiologicallyDerivedProduct, BodyStructure, Bundle, CapabilityStatement, CarePlan, CareTeam, CatalogEntry, ChargeItem, ChargeItemDefinition, Claim, ClaimResponse, ClinicalImpression, CodeSystem, Communication, CommunicationRequest, CompartmentDefinition, Composition, ConceptMap, Condition, Consent, Contract, Coverage, CoverageEligibilityRequest, CoverageEligibilityResponse, DetectedIssue, Device, DeviceDefinition, DeviceMetric, DeviceRequest, DeviceUseStatement, DiagnosticReport, DocumentManifest, DocumentReference, EffectEvidenceSynthesis, Encounter, Endpoint, EnrollmentRequest, EnrollmentResponse, EpisodeOfCare, EventDefinition, Evidence, EvidenceVariable, ExampleScenario, ExplanationOfBenefit, FamilyMemberHistory, Flag, Goal, GraphDefinition, Group, GuidanceResponse, HealthcareService, ImagingStudy, Immunization, ImmunizationEvaluation, ImmunizationRecommendation, ImplementationGuide, InsurancePlan, Invoice, Library, Linkage, List, Location, Measure, MeasureReport, Media, Medication, MedicationAdministration, MedicationDispense, MedicationKnowledge, MedicationRequest, MedicationStatement, MedicinalProduct, MedicinalProductAuthorization, MedicinalProductContraindication, MedicinalProductIndication, MedicinalProductIngredient, MedicinalProductInteraction, MedicinalProductManufactured, MedicinalProductPackaged, MedicinalProductPharmaceutical, MedicinalProductUndesirableEffect, MessageDefinition, MessageHeader, MolecularSequence, NamingSystem, NutritionOrder, Observation, ObservationDefinition, OperationDefinition, OperationOutcome, Organization, OrganizationAffiliation, Parameters, Patient, PaymentNotice, PaymentReconciliation, Person, PlanDefinition, Practitioner, PractitionerRole, Procedure, Provenance, Questionnaire, QuestionnaireResponse, RelatedPerson, RequestGroup, ResearchDefinition, ResearchElementDefinition, ResearchStudy, ResearchSubject, RiskAssessment, RiskEvidenceSynthesis, Schedule, SearchParameter, ServiceRequest, Slot, Specimen, SpecimenDefinition, StructureDefinition, StructureMap, Subscription, Substance, SubstanceNucleicAcid, SubstancePolymer, SubstanceProtein, SubstanceReferenceInformation, SubstanceSourceMaterial, SubstanceSpecification, SupplyDelivery, SupplyRequest, Task, TerminologyCapabilities, TestReport, TestScript, ValueSet, VerificationResult, VisionPrescription
4
- *
5
- * OpenAPI spec version: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by the swagger code generator program.
9
- * https://github.com/swagger-api/swagger-codegen.git
10
- * Do not edit the class manually.
11
3
  */
12
- import { Code } from './code';
13
- import { Id } from './id';
14
- import { Meta } from './meta';
15
- import { Uri } from './uri';
16
- export declare class Resource {
17
- resourceType: string;
18
- id?: Id;
19
- meta?: Meta;
20
- implicitRules?: Uri;
21
- language?: Code;
22
- }
4
+ import { Account } from './account';
5
+ import { ActivityDefinition } from './activityDefinition';
6
+ import { AdverseEvent } from './adverseEvent';
7
+ import { AllergyIntolerance } from './allergyIntolerance';
8
+ import { Appointment } from './appointment';
9
+ import { AppointmentResponse } from './appointmentResponse';
10
+ import { AuditEvent } from './auditEvent';
11
+ import { Binary } from './binary';
12
+ import { BiologicallyDerivedProduct } from './biologicallyDerivedProduct';
13
+ import { BodyStructure } from './bodyStructure';
14
+ import { Bundle } from './bundle';
15
+ import { CapabilityStatement } from './capabilityStatement';
16
+ import { CarePlan } from './carePlan';
17
+ import { CareTeam } from './careTeam';
18
+ import { CatalogEntry } from './catalogEntry';
19
+ import { ChargeItem } from './chargeItem';
20
+ import { ChargeItemDefinition } from './chargeItemDefinition';
21
+ import { Claim } from './claim';
22
+ import { ClaimResponse } from './claimResponse';
23
+ import { ClinicalImpression } from './clinicalImpression';
24
+ import { CodeSystem } from './codeSystem';
25
+ import { Communication } from './communication';
26
+ import { CommunicationRequest } from './communicationRequest';
27
+ import { CompartmentDefinition } from './compartmentDefinition';
28
+ import { Composition } from './composition';
29
+ import { ConceptMap } from './conceptMap';
30
+ import { Condition } from './condition';
31
+ import { Consent } from './consent';
32
+ import { Contract } from './contract';
33
+ import { Coverage } from './coverage';
34
+ import { CoverageEligibilityRequest } from './coverageEligibilityRequest';
35
+ import { CoverageEligibilityResponse } from './coverageEligibilityResponse';
36
+ import { DetectedIssue } from './detectedIssue';
37
+ import { Device } from './device';
38
+ import { DeviceDefinition } from './deviceDefinition';
39
+ import { DeviceMetric } from './deviceMetric';
40
+ import { DeviceRequest } from './deviceRequest';
41
+ import { DeviceUseStatement } from './deviceUseStatement';
42
+ import { DiagnosticReport } from './diagnosticReport';
43
+ import { DocumentManifest } from './documentManifest';
44
+ import { DocumentReference } from './documentReference';
45
+ import { Encounter } from './encounter';
46
+ import { Endpoint } from './endpoint';
47
+ import { EnrollmentRequest } from './enrollmentRequest';
48
+ import { EnrollmentResponse } from './enrollmentResponse';
49
+ import { EpisodeOfCare } from './episodeOfCare';
50
+ import { EventDefinition } from './eventDefinition';
51
+ import { Evidence } from './evidence';
52
+ import { EvidenceVariable } from './evidenceVariable';
53
+ import { ExampleScenario } from './exampleScenario';
54
+ import { ExplanationOfBenefit } from './explanationOfBenefit';
55
+ import { FamilyMemberHistory } from './familyMemberHistory';
56
+ import { Flag } from './flag';
57
+ import { Goal } from './goal';
58
+ import { GraphDefinition } from './graphDefinition';
59
+ import { Group } from './group';
60
+ import { GuidanceResponse } from './guidanceResponse';
61
+ import { HealthcareService } from './healthcareService';
62
+ import { ImagingStudy } from './imagingStudy';
63
+ import { Immunization } from './immunization';
64
+ import { ImmunizationEvaluation } from './immunizationEvaluation';
65
+ import { ImmunizationRecommendation } from './immunizationRecommendation';
66
+ import { ImplementationGuide } from './implementationGuide';
67
+ import { InsurancePlan } from './insurancePlan';
68
+ import { Invoice } from './invoice';
69
+ import { Library } from './library';
70
+ import { Linkage } from './linkage';
71
+ import { List } from './list';
72
+ import { Location } from './location';
73
+ import { Measure } from './measure';
74
+ import { MeasureReport } from './measureReport';
75
+ import { Media } from './media';
76
+ import { Medication } from './medication';
77
+ import { MedicationAdministration } from './medicationAdministration';
78
+ import { MedicationDispense } from './medicationDispense';
79
+ import { MedicationKnowledge } from './medicationKnowledge';
80
+ import { MedicationRequest } from './medicationRequest';
81
+ import { MedicationStatement } from './medicationStatement';
82
+ import { MessageDefinition } from './messageDefinition';
83
+ import { MessageHeader } from './messageHeader';
84
+ import { MolecularSequence } from './molecularSequence';
85
+ import { NamingSystem } from './namingSystem';
86
+ import { NutritionOrder } from './nutritionOrder';
87
+ import { Observation } from './observation';
88
+ import { ObservationDefinition } from './observationDefinition';
89
+ import { OperationDefinition } from './operationDefinition';
90
+ import { OperationOutcome } from './operationOutcome';
91
+ import { Organization } from './organization';
92
+ import { OrganizationAffiliation } from './organizationAffiliation';
93
+ import { Patient } from './patient';
94
+ import { PaymentNotice } from './paymentNotice';
95
+ import { PaymentReconciliation } from './paymentReconciliation';
96
+ import { Person } from './person';
97
+ import { PlanDefinition } from './planDefinition';
98
+ import { Practitioner } from './practitioner';
99
+ import { PractitionerRole } from './practitionerRole';
100
+ import { Procedure } from './procedure';
101
+ import { Provenance } from './provenance';
102
+ import { Questionnaire } from './questionnaire';
103
+ import { QuestionnaireResponse } from './questionnaireResponse';
104
+ import { RelatedPerson } from './relatedPerson';
105
+ import { RequestGroup } from './requestGroup';
106
+ import { ResearchDefinition } from './researchDefinition';
107
+ import { ResearchElementDefinition } from './researchElementDefinition';
108
+ import { ResearchStudy } from './researchStudy';
109
+ import { ResearchSubject } from './researchSubject';
110
+ import { RiskAssessment } from './riskAssessment';
111
+ import { Schedule } from './schedule';
112
+ import { SearchParameter } from './searchParameter';
113
+ import { ServiceRequest } from './serviceRequest';
114
+ import { Slot } from './slot';
115
+ import { Specimen } from './specimen';
116
+ import { SpecimenDefinition } from './specimenDefinition';
117
+ import { StructureDefinition } from './structureDefinition';
118
+ import { StructureMap } from './structureMap';
119
+ import { Subscription } from './subscription';
120
+ import { Substance } from './substance';
121
+ import { SupplyDelivery } from './supplyDelivery';
122
+ import { SupplyRequest } from './supplyRequest';
123
+ import { Task } from './task';
124
+ import { TerminologyCapabilities } from './terminologyCapabilities';
125
+ import { TestReport } from './testReport';
126
+ import { TestScript } from './testScript';
127
+ import { ValueSet } from './valueSet';
128
+ import { VerificationResult } from './verificationResult';
129
+ import { VisionPrescription } from './visionPrescription';
130
+ export type Resource = Account | ActivityDefinition | AdverseEvent | AllergyIntolerance | Appointment | AppointmentResponse | AuditEvent | Binary | BiologicallyDerivedProduct | BodyStructure | Bundle | CapabilityStatement | CarePlan | CareTeam | CatalogEntry | ChargeItem | ChargeItemDefinition | Claim | ClaimResponse | ClinicalImpression | CodeSystem | Communication | CommunicationRequest | CompartmentDefinition | Composition | ConceptMap | Condition | Consent | Contract | Coverage | CoverageEligibilityRequest | CoverageEligibilityResponse | DetectedIssue | Device | DeviceDefinition | DeviceMetric | DeviceRequest | DeviceUseStatement | DiagnosticReport | DocumentManifest | DocumentReference | Encounter | Endpoint | EnrollmentRequest | EnrollmentResponse | EpisodeOfCare | EventDefinition | Evidence | EvidenceVariable | ExampleScenario | ExplanationOfBenefit | FamilyMemberHistory | Flag | Goal | GraphDefinition | Group | GuidanceResponse | HealthcareService | ImagingStudy | Immunization | ImmunizationEvaluation | ImmunizationRecommendation | ImplementationGuide | InsurancePlan | Invoice | Library | Linkage | List | Location | Measure | MeasureReport | Media | Medication | MedicationAdministration | MedicationDispense | MedicationKnowledge | MedicationRequest | MedicationStatement | MessageDefinition | MessageHeader | MolecularSequence | NamingSystem | NutritionOrder | Observation | ObservationDefinition | OperationDefinition | OperationOutcome | Organization | OrganizationAffiliation | Patient | PaymentNotice | PaymentReconciliation | Person | PlanDefinition | Practitioner | PractitionerRole | Procedure | Provenance | Questionnaire | QuestionnaireResponse | RelatedPerson | RequestGroup | ResearchDefinition | ResearchElementDefinition | ResearchStudy | ResearchSubject | RiskAssessment | Schedule | SearchParameter | ServiceRequest | Slot | Specimen | SpecimenDefinition | StructureDefinition | StructureMap | Subscription | Substance | SupplyDelivery | SupplyRequest | Task | TerminologyCapabilities | TestReport | TestScript | ValueSet | VerificationResult | VisionPrescription;
@@ -1,6 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Resource = void 0;
4
- class Resource {
5
- }
6
- exports.Resource = Resource;
@@ -9,5 +9,4 @@
9
9
  * https://github.com/swagger-api/swagger-codegen.git
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare class ResourceList {
13
- }
12
+ export type ResourceList = "Account" | "ActivityDefinition" | "AdverseEvent" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "Binary" | "BiologicallyDerivedProduct" | "BodyStructure" | "Bundle" | "CapabilityStatement" | "CarePlan" | "CareTeam" | "CatalogEntry" | "ChargeItem" | "ChargeItemDefinition" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "CodeSystem" | "Communication" | "CommunicationRequest" | "CompartmentDefinition" | "Composition" | "ConceptMap" | "Condition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceDefinition" | "DeviceMetric" | "DeviceRequest" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "Encounter" | "Endpoint" | "EnrollmentRequest" | "EnrollmentResponse" | "EpisodeOfCare" | "EventDefinition" | "Evidence" | "EvidenceVariable" | "ExampleScenario" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "Goal" | "GraphDefinition" | "Group" | "GuidanceResponse" | "HealthcareService" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImplementationGuide" | "InsurancePlan" | "Invoice" | "Library" | "Linkage" | "List" | "Location" | "Measure" | "MeasureReport" | "Media" | "Medication" | "MedicationAdministration" | "MedicationDispense" | "MedicationKnowledge" | "MedicationRequest" | "MedicationStatement" | "MessageDefinition" | "MessageHeader" | "MolecularSequence" | "NamingSystem" | "NutritionOrder" | "Observation" | "ObservationDefinition" | "OperationDefinition" | "OperationOutcome" | "Organization" | "OrganizationAffiliation" | "Patient" | "PaymentNotice" | "PaymentReconciliation" | "Person" | "PlanDefinition" | "Practitioner" | "PractitionerRole" | "Procedure" | "Provenance" | "Questionnaire" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchSubject" | "RiskAssessment" | "Schedule" | "SearchParameter" | "ServiceRequest" | "Slot" | "Specimen" | "SpecimenDefinition" | "StructureDefinition" | "StructureMap" | "Subscription" | "Substance" | "SupplyDelivery" | "SupplyRequest" | "Task" | "TerminologyCapabilities" | "TestReport" | "TestScript" | "ValueSet" | "VerificationResult" | "VisionPrescription";
@@ -11,7 +11,3 @@
11
11
  * Do not edit the class manually.
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.ResourceList = void 0;
15
- class ResourceList {
16
- }
17
- exports.ResourceList = ResourceList;
@@ -28,7 +28,7 @@ export declare class RiskAssessment {
28
28
  /**
29
29
  * This is a RiskAssessment resource
30
30
  */
31
- resourceType: string;
31
+ resourceType: 'RiskAssessment';
32
32
  /**
33
33
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
34
34
  */
@@ -26,7 +26,7 @@ export declare class Schedule {
26
26
  /**
27
27
  * This is a Schedule resource
28
28
  */
29
- resourceType: string;
29
+ resourceType: 'Schedule';
30
30
  /**
31
31
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
32
32
  */
@@ -18,6 +18,7 @@ import { Id } from './id';
18
18
  import { Markdown } from './markdown';
19
19
  import { Meta } from './meta';
20
20
  import { Narrative } from './narrative';
21
+ import { ResourceList } from './resourceList';
21
22
  import { SearchParameterComponent } from './searchParameterComponent';
22
23
  import { Uri } from './uri';
23
24
  import { UsageContext } from './usageContext';
@@ -28,7 +29,7 @@ export declare class SearchParameter {
28
29
  /**
29
30
  * This is a SearchParameter resource
30
31
  */
31
- resourceType: string;
32
+ resourceType: 'SearchParameter';
32
33
  /**
33
34
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
34
35
  */
@@ -112,15 +113,15 @@ export declare class SearchParameter {
112
113
  /**
113
114
  * The code used in the URL or the parameter name in a parameters resource for this search parameter.
114
115
  */
115
- code?: Code;
116
+ code: Code;
116
117
  /**
117
118
  * The base resource type(s) that this search parameter can be used against.
118
119
  */
119
- base?: Array<Code>;
120
+ base: Array<ResourceList>;
120
121
  /**
121
122
  * The type of value that a search parameter may contain, and how the content is interpreted.
122
123
  */
123
- type?: SearchParameter.TypeEnum;
124
+ type: SearchParameter.TypeEnum;
124
125
  /**
125
126
  * A FHIRPath expression that returns a set of elements for the search parameter.
126
127
  */
@@ -136,7 +137,7 @@ export declare class SearchParameter {
136
137
  /**
137
138
  * Types of resource (if a resource is referenced).
138
139
  */
139
- target?: Array<Code>;
140
+ target: Array<ResourceList>;
140
141
  /**
141
142
  * Whether multiple values are allowed for each time the parameter exists. Values are separated by commas, and the parameter matches if any of the values match.
142
143
  */
@@ -32,7 +32,7 @@ export declare class ServiceRequest {
32
32
  /**
33
33
  * This is a ServiceRequest resource
34
34
  */
35
- resourceType: string;
35
+ resourceType: 'ServiceRequest';
36
36
  /**
37
37
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
38
38
  */
@@ -26,7 +26,7 @@ export declare class Slot {
26
26
  /**
27
27
  * This is a Slot resource
28
28
  */
29
- resourceType: string;
29
+ resourceType: 'Slot';
30
30
  /**
31
31
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
32
32
  */
@@ -29,7 +29,7 @@ export declare class Specimen {
29
29
  /**
30
30
  * This is a Specimen resource
31
31
  */
32
- resourceType: string;
32
+ resourceType: 'Specimen';
33
33
  /**
34
34
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
35
35
  */
@@ -25,7 +25,7 @@ export declare class SpecimenDefinition {
25
25
  /**
26
26
  * This is a SpecimenDefinition resource
27
27
  */
28
- resourceType: string;
28
+ resourceType: 'SpecimenDefinition';
29
29
  /**
30
30
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
31
31
  */
@@ -33,7 +33,7 @@ export declare class StructureDefinition {
33
33
  /**
34
34
  * This is a StructureDefinition resource
35
35
  */
36
- resourceType: string;
36
+ resourceType: 'StructureDefinition';
37
37
  /**
38
38
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
39
39
  */
@@ -30,7 +30,7 @@ export declare class StructureMap {
30
30
  /**
31
31
  * This is a StructureMap resource
32
32
  */
33
- resourceType: string;
33
+ resourceType: 'StructureMap';
34
34
  /**
35
35
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
36
36
  */
@@ -25,7 +25,7 @@ export declare class Subscription {
25
25
  /**
26
26
  * This is a Subscription resource
27
27
  */
28
- resourceType: string;
28
+ resourceType: 'Subscription';
29
29
  /**
30
30
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
31
31
  */
@@ -26,7 +26,7 @@ export declare class Substance {
26
26
  /**
27
27
  * This is a Substance resource
28
28
  */
29
- resourceType: string;
29
+ resourceType: 'Substance';
30
30
  /**
31
31
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
32
32
  */
@@ -28,7 +28,7 @@ export declare class SupplyDelivery {
28
28
  /**
29
29
  * This is a SupplyDelivery resource
30
30
  */
31
- resourceType: string;
31
+ resourceType: 'SupplyDelivery';
32
32
  /**
33
33
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
34
34
  */
@@ -29,7 +29,7 @@ export declare class SupplyRequest {
29
29
  /**
30
30
  * This is a SupplyRequest resource
31
31
  */
32
- resourceType: string;
32
+ resourceType: 'SupplyRequest';
33
33
  /**
34
34
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
35
35
  */
@@ -31,7 +31,7 @@ export declare class Task {
31
31
  /**
32
32
  * This is a Task resource
33
33
  */
34
- resourceType: string;
34
+ resourceType: 'Task';
35
35
  /**
36
36
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
37
37
  */
@@ -33,7 +33,7 @@ export declare class TerminologyCapabilities {
33
33
  /**
34
34
  * This is a TerminologyCapabilities resource
35
35
  */
36
- resourceType: string;
36
+ resourceType: 'TerminologyCapabilities';
37
37
  /**
38
38
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
39
39
  */
@@ -29,7 +29,7 @@ export declare class TestReport {
29
29
  /**
30
30
  * This is a TestReport resource
31
31
  */
32
- resourceType: string;
32
+ resourceType: 'TestReport';
33
33
  /**
34
34
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
35
35
  */
@@ -36,7 +36,7 @@ export declare class TestScript {
36
36
  /**
37
37
  * This is a TestScript resource
38
38
  */
39
- resourceType: string;
39
+ resourceType: 'TestScript';
40
40
  /**
41
41
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
42
42
  */
@@ -12,4 +12,4 @@
12
12
  /**
13
13
  * A time during the day, with no date specified
14
14
  */
15
- export declare type Time = string;
15
+ export type Time = string;
@@ -12,4 +12,4 @@
12
12
  /**
13
13
  * An integer with a value that is not negative (e.g. >= 0)
14
14
  */
15
- export declare type UnsignedInt = number;
15
+ export type UnsignedInt = number;
@@ -12,4 +12,4 @@
12
12
  /**
13
13
  * String of characters used to identify a name or a resource
14
14
  */
15
- export declare type Uri = string;
15
+ export type Uri = string;
@@ -12,4 +12,4 @@
12
12
  /**
13
13
  * A URI that is a literal reference
14
14
  */
15
- export declare type Url = string;
15
+ export type Url = string;
@@ -29,7 +29,7 @@ export declare class ValueSet {
29
29
  /**
30
30
  * This is a ValueSet resource
31
31
  */
32
- resourceType: string;
32
+ resourceType: 'ValueSet';
33
33
  /**
34
34
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
35
35
  */
@@ -28,7 +28,7 @@ export declare class VerificationResult {
28
28
  /**
29
29
  * This is a VerificationResult resource
30
30
  */
31
- resourceType: string;
31
+ resourceType: 'VerificationResult';
32
32
  /**
33
33
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
34
34
  */
@@ -25,7 +25,7 @@ export declare class VisionPrescription {
25
25
  /**
26
26
  * This is a VisionPrescription resource
27
27
  */
28
- resourceType: string;
28
+ resourceType: 'VisionPrescription';
29
29
  /**
30
30
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
31
31
  */
@@ -12,4 +12,4 @@
12
12
  /**
13
13
  * xhtml - escaped html (see specfication)
14
14
  */
15
- export declare type Xhtml = string;
15
+ export type Xhtml = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smile-cdr/fhirts",
3
- "version": "1.4.8",
3
+ "version": "1.5.0",
4
4
  "description": "Fhir ts/js library for frontend apps",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",