@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
@@ -30,11 +30,11 @@ import { UsageContext } from './usageContext';
30
30
  /**
31
31
  * Defines the characteristics of a message that can be shared between systems, including the type of event that initiates the message, the content to be transmitted and what response(s), if any, are permitted.
32
32
  */
33
- export class MessageDefinition {
33
+ export class MessageDefinition {
34
34
  /**
35
35
  * This is a MessageDefinition resource
36
36
  */
37
- resourceType: string;
37
+ resourceType: 'MessageDefinition';
38
38
  /**
39
39
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
40
40
  */
@@ -12,13 +12,14 @@
12
12
  import { Canonical } from './canonical';
13
13
  import { Code } from './code';
14
14
  import { Extension } from './extension';
15
+ import { ResourceList } from './resourceList';
15
16
  import { UnsignedInt } from './unsignedInt';
16
17
 
17
18
 
18
19
  /**
19
20
  * Defines the characteristics of a message that can be shared between systems, including the type of event that initiates the message, the content to be transmitted and what response(s), if any, are permitted.
20
21
  */
21
- export class MessageDefinitionFocus {
22
+ export class MessageDefinitionFocus {
22
23
  /**
23
24
  * Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
24
25
  */
@@ -34,7 +35,7 @@ export class MessageDefinitionFocus {
34
35
  /**
35
36
  * The kind of resource that must be the focus for this message.
36
37
  */
37
- code?: Code;
38
+ code: ResourceList;
38
39
  /**
39
40
  * A profile that reflects constraints for the focal resource (and potentially for related resources).
40
41
  */
@@ -31,7 +31,7 @@ export class MessageHeader {
31
31
  /**
32
32
  * This is a MessageHeader resource
33
33
  */
34
- resourceType: string;
34
+ resourceType: 'MessageHeader';
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
  */
@@ -32,7 +32,7 @@ export class MolecularSequence {
32
32
  /**
33
33
  * This is a MolecularSequence resource
34
34
  */
35
- resourceType: string;
35
+ resourceType: 'MolecularSequence';
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
  */
@@ -30,7 +30,7 @@ export class NamingSystem {
30
30
  /**
31
31
  * This is a NamingSystem resource
32
32
  */
33
- resourceType: string;
33
+ resourceType: 'NamingSystem';
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
  */
@@ -33,7 +33,7 @@ export class NutritionOrder {
33
33
  /**
34
34
  * This is a NutritionOrder resource
35
35
  */
36
- resourceType: string;
36
+ resourceType: 'NutritionOrder';
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
  */
@@ -37,7 +37,7 @@ export class Observation {
37
37
  /**
38
38
  * This is a Observation resource
39
39
  */
40
- resourceType: string;
40
+ resourceType: 'Observation';
41
41
  /**
42
42
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
43
43
  */
@@ -29,7 +29,7 @@ export class ObservationDefinition {
29
29
  /**
30
30
  * This is a ObservationDefinition resource
31
31
  */
32
- resourceType: string;
32
+ resourceType: 'ObservationDefinition';
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
  */
@@ -21,6 +21,7 @@ import { Meta } from './meta';
21
21
  import { Narrative } from './narrative';
22
22
  import { OperationDefinitionOverload } from './operationDefinitionOverload';
23
23
  import { OperationDefinitionParameter } from './operationDefinitionParameter';
24
+ import { ResourceList } from './resourceList';
24
25
  import { Uri } from './uri';
25
26
  import { UsageContext } from './usageContext';
26
27
 
@@ -28,11 +29,11 @@ import { UsageContext } from './usageContext';
28
29
  /**
29
30
  * A formal computable definition of an operation (on the RESTful class) or a named query (using the search interaction).
30
31
  */
31
- export class OperationDefinition {
32
+ export class OperationDefinition {
32
33
  /**
33
34
  * This is a OperationDefinition resource
34
35
  */
35
- resourceType: string;
36
+ resourceType: 'OperationDefinition';
36
37
  /**
37
38
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
38
39
  */
@@ -136,7 +137,7 @@ export class OperationDefinition {
136
137
  /**
137
138
  * The types on which this operation can be executed.
138
139
  */
139
- resource?: Array<Code>;
140
+ resource?: Array<ResourceList>;
140
141
  /**
141
142
  * Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context).
142
143
  */
@@ -19,7 +19,7 @@ export class OperationOutcome {
19
19
  /**
20
20
  * This is a OperationOutcome resource
21
21
  */
22
- resourceType: string;
22
+ resourceType: 'OperationOutcome';
23
23
  /**
24
24
  * An error, warning, or information message that results from a system action.
25
25
  */
@@ -30,7 +30,7 @@ export class Organization {
30
30
  /**
31
31
  * This is a Organization resource
32
32
  */
33
- resourceType: string;
33
+ resourceType: 'Organization';
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
  */
@@ -29,7 +29,7 @@ export class OrganizationAffiliation {
29
29
  /**
30
30
  * This is a OrganizationAffiliation resource
31
31
  */
32
- resourceType: string;
32
+ resourceType: 'OrganizationAffiliation';
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
  */
@@ -23,7 +23,7 @@ export class Parameters {
23
23
  /**
24
24
  * This is a Parameters resource
25
25
  */
26
- resourceType: string;
26
+ resourceType: 'Parameters';
27
27
  /**
28
28
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
29
29
  */
@@ -35,7 +35,7 @@ import { Range } from './range';
35
35
  import { Ratio } from './ratio';
36
36
  import { Reference } from './reference';
37
37
  import { RelatedArtifact } from './relatedArtifact';
38
- import { ResourceList } from './resourceList';
38
+ import { Resource } from './resource';
39
39
  import { SampledData } from './sampledData';
40
40
  import { Signature } from './signature';
41
41
  import { Timing } from './timing';
@@ -46,7 +46,7 @@ import { UsageContext } from './usageContext';
46
46
  /**
47
47
  * This resource is a non-persisted resource used to pass information into and back from an [operation](operations.html). It has no other use, and there is no RESTful endpoint associated with it.
48
48
  */
49
- export class ParametersParameter {
49
+ export class ParametersParameter {
50
50
  /**
51
51
  * Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
52
52
  */
@@ -262,7 +262,7 @@ export class ParametersParameter {
262
262
  /**
263
263
  * If the parameter is a whole resource.
264
264
  */
265
- resource?: ResourceList;
265
+ resource?: Resource;
266
266
  /**
267
267
  * A named part of a multi-part parameter.
268
268
  */
@@ -34,7 +34,7 @@ export class Patient {
34
34
  /**
35
35
  * This is a Patient resource
36
36
  */
37
- resourceType: string;
37
+ resourceType: 'Patient';
38
38
  /**
39
39
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
40
40
  */
@@ -29,7 +29,7 @@ export class PaymentNotice {
29
29
  /**
30
30
  * This is a PaymentNotice resource
31
31
  */
32
- resourceType: string;
32
+ resourceType: 'PaymentNotice';
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
  */
@@ -32,7 +32,7 @@ export class PaymentReconciliation {
32
32
  /**
33
33
  * This is a PaymentReconciliation resource
34
34
  */
35
- resourceType: string;
35
+ resourceType: 'PaymentReconciliation';
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
  */
@@ -31,7 +31,7 @@ export class Person {
31
31
  /**
32
32
  * This is a Person resource
33
33
  */
34
- resourceType: string;
34
+ resourceType: 'Person';
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
  */
@@ -36,7 +36,7 @@ export class PlanDefinition {
36
36
  /**
37
37
  * This is a PlanDefinition resource
38
38
  */
39
- resourceType: string;
39
+ resourceType: 'PlanDefinition';
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
  */
@@ -31,7 +31,7 @@ export class Practitioner {
31
31
  /**
32
32
  * This is a Practitioner resource
33
33
  */
34
- resourceType: string;
34
+ resourceType: 'Practitioner';
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
  */
@@ -31,7 +31,7 @@ export class PractitionerRole {
31
31
  /**
32
32
  * This is a PractitionerRole resource
33
33
  */
34
- resourceType: string;
34
+ resourceType: 'PractitionerRole';
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
  */
@@ -34,7 +34,7 @@ export class Procedure {
34
34
  /**
35
35
  * This is a Procedure resource
36
36
  */
37
- resourceType: string;
37
+ resourceType: 'Procedure';
38
38
  /**
39
39
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
40
40
  */
@@ -31,7 +31,7 @@ export class Provenance {
31
31
  /**
32
32
  * This is a Provenance resource
33
33
  */
34
- resourceType: string;
34
+ resourceType: 'Provenance';
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
  */
@@ -23,6 +23,7 @@ import { Meta } from './meta';
23
23
  import { Narrative } from './narrative';
24
24
  import { Period } from './period';
25
25
  import { QuestionnaireItem } from './questionnaireItem';
26
+ import { ResourceList } from './resourceList';
26
27
  import { Uri } from './uri';
27
28
  import { UsageContext } from './usageContext';
28
29
 
@@ -30,11 +31,11 @@ import { UsageContext } from './usageContext';
30
31
  /**
31
32
  * A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.
32
33
  */
33
- export class Questionnaire {
34
+ export class Questionnaire {
34
35
  /**
35
36
  * This is a Questionnaire resource
36
37
  */
37
- resourceType: string;
38
+ resourceType: 'Questionnaire';
38
39
  /**
39
40
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
40
41
  */
@@ -98,7 +99,7 @@ export class Questionnaire {
98
99
  /**
99
100
  * The types of subjects that can be the subject of responses created for the questionnaire.
100
101
  */
101
- subjectType?: Array<Code>;
102
+ subjectType: Array<ResourceList>;
102
103
  /**
103
104
  * The date (and optionally time) when the questionnaire was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the questionnaire changes.
104
105
  */
@@ -29,7 +29,7 @@ export class QuestionnaireResponse {
29
29
  /**
30
30
  * This is a QuestionnaireResponse resource
31
31
  */
32
- resourceType: string;
32
+ resourceType: 'QuestionnaireResponse';
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
  */
@@ -17,7 +17,7 @@ import { Uri } from './uri';
17
17
  /**
18
18
  * A reference from one resource to another.
19
19
  */
20
- export class Reference {
20
+ export class Reference {
21
21
  /**
22
22
  * Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
23
23
  */
@@ -33,7 +33,7 @@ export class RelatedPerson {
33
33
  /**
34
34
  * This is a RelatedPerson resource
35
35
  */
36
- resourceType: string;
36
+ resourceType: 'RelatedPerson';
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
  */
@@ -31,7 +31,7 @@ export class RequestGroup {
31
31
  /**
32
32
  * This is a RequestGroup resource
33
33
  */
34
- resourceType: string;
34
+ resourceType: 'RequestGroup';
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
  */
@@ -34,7 +34,7 @@ export class ResearchDefinition {
34
34
  /**
35
35
  * This is a ResearchDefinition resource
36
36
  */
37
- resourceType: string;
37
+ resourceType: 'ResearchDefinition';
38
38
  /**
39
39
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
40
40
  */
@@ -35,7 +35,7 @@ export class ResearchElementDefinition {
35
35
  /**
36
36
  * This is a ResearchElementDefinition resource
37
37
  */
38
- resourceType: string;
38
+ resourceType: 'ResearchElementDefinition';
39
39
  /**
40
40
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
41
41
  */
@@ -34,7 +34,7 @@ export class ResearchStudy {
34
34
  /**
35
35
  * This is a ResearchStudy resource
36
36
  */
37
- resourceType: string;
37
+ resourceType: 'ResearchStudy';
38
38
  /**
39
39
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
40
40
  */
@@ -27,7 +27,7 @@ export class ResearchSubject {
27
27
  /**
28
28
  * This is a ResearchSubject resource
29
29
  */
30
- resourceType: string;
30
+ resourceType: 'ResearchSubject';
31
31
  /**
32
32
  * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
33
33
  */
@@ -1,24 +1,133 @@
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';
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 { Basic } from './basic';
12
+ import { Binary } from './binary';
13
+ import { BiologicallyDerivedProduct } from './biologicallyDerivedProduct';
14
+ import { BodyStructure } from './bodyStructure';
15
+ import { Bundle } from './bundle';
16
+ import { CapabilityStatement } from './capabilityStatement';
17
+ import { CarePlan } from './carePlan';
18
+ import { CareTeam } from './careTeam';
19
+ import { CatalogEntry } from './catalogEntry';
20
+ import { ChargeItem } from './chargeItem';
21
+ import { ChargeItemDefinition } from './chargeItemDefinition';
22
+ import { Claim } from './claim';
23
+ import { ClaimResponse } from './claimResponse';
24
+ import { ClinicalImpression } from './clinicalImpression';
25
+ import { CodeSystem } from './codeSystem';
26
+ import { Communication } from './communication';
27
+ import { CommunicationRequest } from './communicationRequest';
28
+ import { CompartmentDefinition } from './compartmentDefinition';
29
+ import { Composition } from './composition';
30
+ import { ConceptMap } from './conceptMap';
31
+ import { Condition } from './condition';
32
+ import { Consent } from './consent';
33
+ import { Contract } from './contract';
34
+ import { Coverage } from './coverage';
35
+ import { CoverageEligibilityRequest } from './coverageEligibilityRequest';
36
+ import { CoverageEligibilityResponse } from './coverageEligibilityResponse';
37
+ import { DetectedIssue } from './detectedIssue';
38
+ import { Device } from './device';
39
+ import { DeviceDefinition } from './deviceDefinition';
40
+ import { DeviceMetric } from './deviceMetric';
41
+ import { DeviceRequest } from './deviceRequest';
42
+ import { DeviceUseStatement } from './deviceUseStatement';
43
+ import { DiagnosticReport } from './diagnosticReport';
44
+ import { DocumentManifest } from './documentManifest';
45
+ import { DocumentReference } from './documentReference';
46
+ import { Encounter } from './encounter';
47
+ import { Endpoint } from './endpoint';
48
+ import { EnrollmentRequest } from './enrollmentRequest';
49
+ import { EnrollmentResponse } from './enrollmentResponse';
50
+ import { EpisodeOfCare } from './episodeOfCare';
51
+ import { EventDefinition } from './eventDefinition';
52
+ import { Evidence } from './evidence';
53
+ import { EvidenceVariable } from './evidenceVariable';
54
+ import { ExampleScenario } from './exampleScenario';
55
+ import { ExplanationOfBenefit } from './explanationOfBenefit';
56
+ import { FamilyMemberHistory } from './familyMemberHistory';
57
+ import { Flag } from './flag';
58
+ import { Goal } from './goal';
59
+ import { GraphDefinition } from './graphDefinition';
60
+ import { Group } from './group';
61
+ import { GuidanceResponse } from './guidanceResponse';
62
+ import { HealthcareService } from './healthcareService';
63
+ import { ImagingStudy } from './imagingStudy';
64
+ import { Immunization } from './immunization';
65
+ import { ImmunizationEvaluation } from './immunizationEvaluation';
66
+ import { ImmunizationRecommendation } from './immunizationRecommendation';
67
+ import { ImplementationGuide } from './implementationGuide';
68
+ import { InsurancePlan } from './insurancePlan';
69
+ import { Invoice } from './invoice';
70
+ import { Library } from './library';
71
+ import { Linkage } from './linkage';
72
+ import { List } from './list';
73
+ import { Location } from './location';
74
+ import { Measure } from './measure';
75
+ import { MeasureReport } from './measureReport';
76
+ import { Media } from './media';
77
+ import { Medication } from './medication';
78
+ import { MedicationAdministration } from './medicationAdministration';
79
+ import { MedicationDispense } from './medicationDispense';
80
+ import { MedicationKnowledge } from './medicationKnowledge';
81
+ import { MedicationRequest } from './medicationRequest';
82
+ import { MedicationStatement } from './medicationStatement';
83
+ import { MessageDefinition } from './messageDefinition';
84
+ import { MessageHeader } from './messageHeader';
85
+ import { MolecularSequence } from './molecularSequence';
86
+ import { NamingSystem } from './namingSystem';
87
+ import { NutritionOrder } from './nutritionOrder';
88
+ import { Observation } from './observation';
89
+ import { ObservationDefinition } from './observationDefinition';
90
+ import { OperationDefinition } from './operationDefinition';
91
+ import { OperationOutcome } from './operationOutcome';
92
+ import { Organization } from './organization';
93
+ import { OrganizationAffiliation } from './organizationAffiliation';
94
+ import { Patient } from './patient';
95
+ import { PaymentNotice } from './paymentNotice';
96
+ import { PaymentReconciliation } from './paymentReconciliation';
97
+ import { Person } from './person';
98
+ import { PlanDefinition } from './planDefinition';
99
+ import { Practitioner } from './practitioner';
100
+ import { PractitionerRole } from './practitionerRole';
101
+ import { Procedure } from './procedure';
102
+ import { Provenance } from './provenance';
103
+ import { Questionnaire } from './questionnaire';
104
+ import { QuestionnaireResponse } from './questionnaireResponse';
105
+ import { RelatedPerson } from './relatedPerson';
106
+ import { RequestGroup } from './requestGroup';
107
+ import { ResearchDefinition } from './researchDefinition';
108
+ import { ResearchElementDefinition } from './researchElementDefinition';
109
+ import { ResearchStudy } from './researchStudy';
110
+ import { ResearchSubject } from './researchSubject';
111
+ import { RiskAssessment } from './riskAssessment';
112
+ import { Schedule } from './schedule';
113
+ import { SearchParameter } from './searchParameter';
114
+ import { ServiceRequest } from './serviceRequest';
115
+ import { Slot } from './slot';
116
+ import { Specimen } from './specimen';
117
+ import { SpecimenDefinition } from './specimenDefinition';
118
+ import { StructureDefinition } from './structureDefinition';
119
+ import { StructureMap } from './structureMap';
120
+ import { Subscription } from './subscription';
121
+ import { Substance } from './substance';
122
+ import { SupplyDelivery } from './supplyDelivery';
123
+ import { SupplyRequest } from './supplyRequest';
124
+ import { Task } from './task';
125
+ import { TerminologyCapabilities } from './terminologyCapabilities';
126
+ import { TestReport } from './testReport';
127
+ import { TestScript } from './testScript';
128
+ import { ValueSet } from './valueSet';
129
+ import { VerificationResult } from './verificationResult';
130
+ import { VisionPrescription } from './visionPrescription';
16
131
 
17
132
 
18
- export class Resource {
19
- resourceType: string;
20
- id?: Id;
21
- meta?: Meta;
22
- implicitRules?: Uri;
23
- language?: Code;
24
- }
133
+ 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;
@@ -11,5 +11,4 @@
11
11
  */
12
12
 
13
13
 
14
- export class ResourceList {
15
- }
14
+ 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";
@@ -30,7 +30,7 @@ export class RiskAssessment {
30
30
  /**
31
31
  * This is a RiskAssessment resource
32
32
  */
33
- resourceType: string;
33
+ resourceType: 'RiskAssessment';
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
  */
@@ -28,7 +28,7 @@ export class Schedule {
28
28
  /**
29
29
  * This is a Schedule resource
30
30
  */
31
- resourceType: string;
31
+ resourceType: 'Schedule';
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
  */