fhir_dstu2_models 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1890) hide show
  1. checksums.yaml +7 -0
  2. data/.codeclimate.yml +26 -0
  3. data/.gitignore +2 -0
  4. data/.rspec +2 -0
  5. data/.rubocop.yml +14 -0
  6. data/.rubocop_todo.yml +79 -0
  7. data/.simplecov +17 -0
  8. data/.travis.yml +21 -0
  9. data/Gemfile +4 -0
  10. data/Gemfile.lock +131 -0
  11. data/Guardfile +50 -0
  12. data/README.md +57 -0
  13. data/Rakefile +26 -0
  14. data/bin/console +14 -0
  15. data/bin/setup +8 -0
  16. data/fhir_dstu2_models.gemspec +39 -0
  17. data/lib/fhir_dstu2_models.rb +35 -0
  18. data/lib/fhir_dstu2_models/bootstrap/definitions.rb +350 -0
  19. data/lib/fhir_dstu2_models/bootstrap/field.rb +45 -0
  20. data/lib/fhir_dstu2_models/bootstrap/generator.rb +255 -0
  21. data/lib/fhir_dstu2_models/bootstrap/hashable.rb +137 -0
  22. data/lib/fhir_dstu2_models/bootstrap/json.rb +28 -0
  23. data/lib/fhir_dstu2_models/bootstrap/model.rb +308 -0
  24. data/lib/fhir_dstu2_models/bootstrap/preprocess.rb +124 -0
  25. data/lib/fhir_dstu2_models/bootstrap/template.rb +138 -0
  26. data/lib/fhir_dstu2_models/bootstrap/xml.rb +144 -0
  27. data/lib/fhir_dstu2_models/definitions/schema/account.xsd +72 -0
  28. data/lib/fhir_dstu2_models/definitions/schema/allergyintolerance.xsd +166 -0
  29. data/lib/fhir_dstu2_models/definitions/schema/appointment.xsd +119 -0
  30. data/lib/fhir_dstu2_models/definitions/schema/appointmentresponse.xsd +73 -0
  31. data/lib/fhir_dstu2_models/definitions/schema/auditevent.xsd +182 -0
  32. data/lib/fhir_dstu2_models/definitions/schema/basic.xsd +53 -0
  33. data/lib/fhir_dstu2_models/definitions/schema/binary.xsd +50 -0
  34. data/lib/fhir_dstu2_models/definitions/schema/bodysite.xsd +54 -0
  35. data/lib/fhir_dstu2_models/definitions/schema/bundle.xsd +162 -0
  36. data/lib/fhir_dstu2_models/definitions/schema/careplan.xsd +173 -0
  37. data/lib/fhir_dstu2_models/definitions/schema/claim.xsd +228 -0
  38. data/lib/fhir_dstu2_models/definitions/schema/claimresponse.xsd +226 -0
  39. data/lib/fhir_dstu2_models/definitions/schema/clinicalimpression.xsd +112 -0
  40. data/lib/fhir_dstu2_models/definitions/schema/communication.xsd +90 -0
  41. data/lib/fhir_dstu2_models/definitions/schema/communicationrequest.xsd +99 -0
  42. data/lib/fhir_dstu2_models/definitions/schema/composition.xsd +130 -0
  43. data/lib/fhir_dstu2_models/definitions/schema/conceptmap.xsd +116 -0
  44. data/lib/fhir_dstu2_models/definitions/schema/condition.xsd +114 -0
  45. data/lib/fhir_dstu2_models/definitions/schema/conformance.xsd +432 -0
  46. data/lib/fhir_dstu2_models/definitions/schema/contract.xsd +194 -0
  47. data/lib/fhir_dstu2_models/definitions/schema/coverage.xsd +62 -0
  48. data/lib/fhir_dstu2_models/definitions/schema/dataelement.xsd +101 -0
  49. data/lib/fhir_dstu2_models/definitions/schema/detectedissue.xsd +83 -0
  50. data/lib/fhir_dstu2_models/definitions/schema/device.xsd +78 -0
  51. data/lib/fhir_dstu2_models/definitions/schema/devicecomponent.xsd +91 -0
  52. data/lib/fhir_dstu2_models/definitions/schema/devicemetric.xsd +147 -0
  53. data/lib/fhir_dstu2_models/definitions/schema/deviceuserequest.xsd +104 -0
  54. data/lib/fhir_dstu2_models/definitions/schema/deviceusestatement.xsd +64 -0
  55. data/lib/fhir_dstu2_models/definitions/schema/diagnosticorder.xsd +124 -0
  56. data/lib/fhir_dstu2_models/definitions/schema/diagnosticreport.xsd +96 -0
  57. data/lib/fhir_dstu2_models/definitions/schema/documentmanifest.xsd +82 -0
  58. data/lib/fhir_dstu2_models/definitions/schema/documentreference.xsd +125 -0
  59. data/lib/fhir_dstu2_models/definitions/schema/eligibilityrequest.xsd +55 -0
  60. data/lib/fhir_dstu2_models/definitions/schema/eligibilityresponse.xsd +58 -0
  61. data/lib/fhir_dstu2_models/definitions/schema/encounter.xsd +170 -0
  62. data/lib/fhir_dstu2_models/definitions/schema/enrollmentrequest.xsd +58 -0
  63. data/lib/fhir_dstu2_models/definitions/schema/enrollmentresponse.xsd +58 -0
  64. data/lib/fhir_dstu2_models/definitions/schema/episodeofcare.xsd +97 -0
  65. data/lib/fhir_dstu2_models/definitions/schema/explanationofbenefit.xsd +58 -0
  66. data/lib/fhir_dstu2_models/definitions/schema/familymemberhistory.xsd +106 -0
  67. data/lib/fhir_dstu2_models/definitions/schema/fhir-all.xsd +126 -0
  68. data/lib/fhir_dstu2_models/definitions/schema/fhir-base.xsd +1446 -0
  69. data/lib/fhir_dstu2_models/definitions/schema/fhir-single.xsd +8239 -0
  70. data/lib/fhir_dstu2_models/definitions/schema/fhir-xhtml.xsd +1808 -0
  71. data/lib/fhir_dstu2_models/definitions/schema/flag.xsd +70 -0
  72. data/lib/fhir_dstu2_models/definitions/schema/goal.xsd +100 -0
  73. data/lib/fhir_dstu2_models/definitions/schema/group.xsd +101 -0
  74. data/lib/fhir_dstu2_models/definitions/schema/healthcareservice.xsd +120 -0
  75. data/lib/fhir_dstu2_models/definitions/schema/imagingobjectselection.xsd +100 -0
  76. data/lib/fhir_dstu2_models/definitions/schema/imagingstudy.xsd +112 -0
  77. data/lib/fhir_dstu2_models/definitions/schema/immunization.xsd +106 -0
  78. data/lib/fhir_dstu2_models/definitions/schema/immunizationrecommendation.xsd +89 -0
  79. data/lib/fhir_dstu2_models/definitions/schema/implementationguide.xsd +187 -0
  80. data/lib/fhir_dstu2_models/definitions/schema/list.xsd +101 -0
  81. data/lib/fhir_dstu2_models/definitions/schema/location.xsd +98 -0
  82. data/lib/fhir_dstu2_models/definitions/schema/media.xsd +74 -0
  83. data/lib/fhir_dstu2_models/definitions/schema/medication.xsd +104 -0
  84. data/lib/fhir_dstu2_models/definitions/schema/medicationadministration.xsd +104 -0
  85. data/lib/fhir_dstu2_models/definitions/schema/medicationdispense.xsd +124 -0
  86. data/lib/fhir_dstu2_models/definitions/schema/medicationorder.xsd +142 -0
  87. data/lib/fhir_dstu2_models/definitions/schema/medicationstatement.xsd +114 -0
  88. data/lib/fhir_dstu2_models/definitions/schema/messageheader.xsd +108 -0
  89. data/lib/fhir_dstu2_models/definitions/schema/namingsystem.xsd +112 -0
  90. data/lib/fhir_dstu2_models/definitions/schema/nutritionorder.xsd +157 -0
  91. data/lib/fhir_dstu2_models/definitions/schema/observation.xsd +163 -0
  92. data/lib/fhir_dstu2_models/definitions/schema/operationdefinition.xsd +133 -0
  93. data/lib/fhir_dstu2_models/definitions/schema/operationoutcome.xsd +117 -0
  94. data/lib/fhir_dstu2_models/definitions/schema/order.xsd +69 -0
  95. data/lib/fhir_dstu2_models/definitions/schema/orderresponse.xsd +75 -0
  96. data/lib/fhir_dstu2_models/definitions/schema/organization.xsd +68 -0
  97. data/lib/fhir_dstu2_models/definitions/schema/parameters.xsd +97 -0
  98. data/lib/fhir_dstu2_models/definitions/schema/patient.xsd +131 -0
  99. data/lib/fhir_dstu2_models/definitions/schema/paymentnotice.xsd +58 -0
  100. data/lib/fhir_dstu2_models/definitions/schema/paymentreconciliation.xsd +88 -0
  101. data/lib/fhir_dstu2_models/definitions/schema/person.xsd +83 -0
  102. data/lib/fhir_dstu2_models/definitions/schema/practitioner.xsd +85 -0
  103. data/lib/fhir_dstu2_models/definitions/schema/procedure.xsd +110 -0
  104. data/lib/fhir_dstu2_models/definitions/schema/procedurerequest.xsd +108 -0
  105. data/lib/fhir_dstu2_models/definitions/schema/processrequest.xsd +88 -0
  106. data/lib/fhir_dstu2_models/definitions/schema/processresponse.xsd +71 -0
  107. data/lib/fhir_dstu2_models/definitions/schema/provenance.xsd +108 -0
  108. data/lib/fhir_dstu2_models/definitions/schema/questionnaire.xsd +129 -0
  109. data/lib/fhir_dstu2_models/definitions/schema/questionnaireresponse.xsd +120 -0
  110. data/lib/fhir_dstu2_models/definitions/schema/referralrequest.xsd +82 -0
  111. data/lib/fhir_dstu2_models/definitions/schema/relatedperson.xsd +58 -0
  112. data/lib/fhir_dstu2_models/definitions/schema/riskassessment.xsd +78 -0
  113. data/lib/fhir_dstu2_models/definitions/schema/schedule.xsd +53 -0
  114. data/lib/fhir_dstu2_models/definitions/schema/searchparameter.xsd +89 -0
  115. data/lib/fhir_dstu2_models/definitions/schema/slot.xsd +71 -0
  116. data/lib/fhir_dstu2_models/definitions/schema/specimen.xsd +118 -0
  117. data/lib/fhir_dstu2_models/definitions/schema/structuredefinition.xsd +142 -0
  118. data/lib/fhir_dstu2_models/definitions/schema/subscription.xsd +99 -0
  119. data/lib/fhir_dstu2_models/definitions/schema/substance.xsd +75 -0
  120. data/lib/fhir_dstu2_models/definitions/schema/supplydelivery.xsd +73 -0
  121. data/lib/fhir_dstu2_models/definitions/schema/supplyrequest.xsd +86 -0
  122. data/lib/fhir_dstu2_models/definitions/schema/testscript.xsd +324 -0
  123. data/lib/fhir_dstu2_models/definitions/schema/valueset.xsd +221 -0
  124. data/lib/fhir_dstu2_models/definitions/schema/visionprescription.xsd +109 -0
  125. data/lib/fhir_dstu2_models/definitions/schema/xml.xsd +32 -0
  126. data/lib/fhir_dstu2_models/definitions/schema/xmldsig-core-schema.xsd +254 -0
  127. data/lib/fhir_dstu2_models/definitions/structures/extension-definitions.json +36931 -0
  128. data/lib/fhir_dstu2_models/definitions/structures/profiles-others.json +119617 -0
  129. data/lib/fhir_dstu2_models/definitions/structures/profiles-resources.json +50038 -0
  130. data/lib/fhir_dstu2_models/definitions/structures/profiles-types.json +6819 -0
  131. data/lib/fhir_dstu2_models/definitions/structures/search-parameters.json +12048 -0
  132. data/lib/fhir_dstu2_models/definitions/valuesets/v2-tables.json +75865 -0
  133. data/lib/fhir_dstu2_models/definitions/valuesets/v3-codesystems.json +42052 -0
  134. data/lib/fhir_dstu2_models/definitions/valuesets/valuesets.json +91793 -0
  135. data/lib/fhir_dstu2_models/deprecate.rb +24 -0
  136. data/lib/fhir_dstu2_models/examples/json/account-example.json +8 -0
  137. data/lib/fhir_dstu2_models/examples/json/account-questionnaire.json +686 -0
  138. data/lib/fhir_dstu2_models/examples/json/address-type-map-v3.json +58 -0
  139. data/lib/fhir_dstu2_models/examples/json/address-use-map-v2.json +81 -0
  140. data/lib/fhir_dstu2_models/examples/json/address-use-map-v3.json +93 -0
  141. data/lib/fhir_dstu2_models/examples/json/administrative-gender-map-v2.json +91 -0
  142. data/lib/fhir_dstu2_models/examples/json/administrative-gender-map-v3.json +80 -0
  143. data/lib/fhir_dstu2_models/examples/json/allergyintolerance-example.json +126 -0
  144. data/lib/fhir_dstu2_models/examples/json/allergyintolerance-fishallergy.json +54 -0
  145. data/lib/fhir_dstu2_models/examples/json/allergyintolerance-medication.json +54 -0
  146. data/lib/fhir_dstu2_models/examples/json/allergyintolerance-questionnaire.json +939 -0
  147. data/lib/fhir_dstu2_models/examples/json/appointment-example-request.json +68 -0
  148. data/lib/fhir_dstu2_models/examples/json/appointment-example.json +57 -0
  149. data/lib/fhir_dstu2_models/examples/json/appointment-example2doctors.json +55 -0
  150. data/lib/fhir_dstu2_models/examples/json/appointment-questionnaire.json +816 -0
  151. data/lib/fhir_dstu2_models/examples/json/appointmentresponse-example-req.json +35 -0
  152. data/lib/fhir_dstu2_models/examples/json/appointmentresponse-example.json +17 -0
  153. data/lib/fhir_dstu2_models/examples/json/appointmentresponse-questionnaire.json +570 -0
  154. data/lib/fhir_dstu2_models/examples/json/audit-event-example-login.json +52 -0
  155. data/lib/fhir_dstu2_models/examples/json/audit-event-example-logout.json +52 -0
  156. data/lib/fhir_dstu2_models/examples/json/audit-event-example-media.json +137 -0
  157. data/lib/fhir_dstu2_models/examples/json/audit-event-example-pixQuery.json +120 -0
  158. data/lib/fhir_dstu2_models/examples/json/audit-event-example-search.json +68 -0
  159. data/lib/fhir_dstu2_models/examples/json/audit-event-example-vread.json +65 -0
  160. data/lib/fhir_dstu2_models/examples/json/auditevent-example-disclosure.json +183 -0
  161. data/lib/fhir_dstu2_models/examples/json/auditevent-example.json +86 -0
  162. data/lib/fhir_dstu2_models/examples/json/auditevent-questionnaire.json +1537 -0
  163. data/lib/fhir_dstu2_models/examples/json/basic-example-narrative.json +11 -0
  164. data/lib/fhir_dstu2_models/examples/json/basic-example.json +68 -0
  165. data/lib/fhir_dstu2_models/examples/json/basic-example2.json +61 -0
  166. data/lib/fhir_dstu2_models/examples/json/basic-questionnaire.json +411 -0
  167. data/lib/fhir_dstu2_models/examples/json/binary-f006.json +6 -0
  168. data/lib/fhir_dstu2_models/examples/json/binary-questionnaire.json +127 -0
  169. data/lib/fhir_dstu2_models/examples/json/bodysite-example.json +71 -0
  170. data/lib/fhir_dstu2_models/examples/json/bodysite-questionnaire.json +331 -0
  171. data/lib/fhir_dstu2_models/examples/json/bundle-example.json +98 -0
  172. data/lib/fhir_dstu2_models/examples/json/bundle-questionnaire.json +840 -0
  173. data/lib/fhir_dstu2_models/examples/json/bundle-response.json +181 -0
  174. data/lib/fhir_dstu2_models/examples/json/bundle-transaction.json +348 -0
  175. data/lib/fhir_dstu2_models/examples/json/careplan-example-GPVisit.json +181 -0
  176. data/lib/fhir_dstu2_models/examples/json/careplan-example-f001-heart.json +112 -0
  177. data/lib/fhir_dstu2_models/examples/json/careplan-example-f002-lung.json +112 -0
  178. data/lib/fhir_dstu2_models/examples/json/careplan-example-f003-pharynx.json +112 -0
  179. data/lib/fhir_dstu2_models/examples/json/careplan-example-f201-renal.json +145 -0
  180. data/lib/fhir_dstu2_models/examples/json/careplan-example-f202-malignancy.json +155 -0
  181. data/lib/fhir_dstu2_models/examples/json/careplan-example-f203-sepsis.json +98 -0
  182. data/lib/fhir_dstu2_models/examples/json/careplan-example-integrated.json +575 -0
  183. data/lib/fhir_dstu2_models/examples/json/careplan-example-pregnancy.json +299 -0
  184. data/lib/fhir_dstu2_models/examples/json/careplan-example.json +150 -0
  185. data/lib/fhir_dstu2_models/examples/json/careplan-questionnaire.json +2537 -0
  186. data/lib/fhir_dstu2_models/examples/json/cholesterol-questionnaire.json +1993 -0
  187. data/lib/fhir_dstu2_models/examples/json/claim-example-institutional.json +80 -0
  188. data/lib/fhir_dstu2_models/examples/json/claim-example-oral-average.json +184 -0
  189. data/lib/fhir_dstu2_models/examples/json/claim-example-oral-contained.json +163 -0
  190. data/lib/fhir_dstu2_models/examples/json/claim-example-oral-orthoplan.json +318 -0
  191. data/lib/fhir_dstu2_models/examples/json/claim-example-pharmacy.json +83 -0
  192. data/lib/fhir_dstu2_models/examples/json/claim-example-professional.json +80 -0
  193. data/lib/fhir_dstu2_models/examples/json/claim-example-vision-glasses.json +149 -0
  194. data/lib/fhir_dstu2_models/examples/json/claim-example-vision.json +80 -0
  195. data/lib/fhir_dstu2_models/examples/json/claim-example.json +79 -0
  196. data/lib/fhir_dstu2_models/examples/json/claimresponse-example.json +101 -0
  197. data/lib/fhir_dstu2_models/examples/json/clinicaldocument-questionnaire.json +1414 -0
  198. data/lib/fhir_dstu2_models/examples/json/clinicalimpression-example.json +72 -0
  199. data/lib/fhir_dstu2_models/examples/json/clinicalimpression-questionnaire.json +1794 -0
  200. data/lib/fhir_dstu2_models/examples/json/communication-example.json +55 -0
  201. data/lib/fhir_dstu2_models/examples/json/communication-questionnaire.json +1022 -0
  202. data/lib/fhir_dstu2_models/examples/json/communicationrequest-example.json +14 -0
  203. data/lib/fhir_dstu2_models/examples/json/communicationrequest-questionnaire.json +1190 -0
  204. data/lib/fhir_dstu2_models/examples/json/composition-example.json +152 -0
  205. data/lib/fhir_dstu2_models/examples/json/composition-questionnaire.json +1260 -0
  206. data/lib/fhir_dstu2_models/examples/json/composition-status-map-v3.json +80 -0
  207. data/lib/fhir_dstu2_models/examples/json/conceptmap-example.json +112 -0
  208. data/lib/fhir_dstu2_models/examples/json/conceptmap-questionnaire.json +1253 -0
  209. data/lib/fhir_dstu2_models/examples/json/condition-example-f001-heart.json +75 -0
  210. data/lib/fhir_dstu2_models/examples/json/condition-example-f002-lung.json +85 -0
  211. data/lib/fhir_dstu2_models/examples/json/condition-example-f003-abscess.json +80 -0
  212. data/lib/fhir_dstu2_models/examples/json/condition-example-f201-fever.json +105 -0
  213. data/lib/fhir_dstu2_models/examples/json/condition-example-f202-malignancy.json +88 -0
  214. data/lib/fhir_dstu2_models/examples/json/condition-example-f203-sepsis.json +84 -0
  215. data/lib/fhir_dstu2_models/examples/json/condition-example-f204-renal.json +89 -0
  216. data/lib/fhir_dstu2_models/examples/json/condition-example-f205-infection.json +33 -0
  217. data/lib/fhir_dstu2_models/examples/json/condition-example-stroke.json +33 -0
  218. data/lib/fhir_dstu2_models/examples/json/condition-example.json +61 -0
  219. data/lib/fhir_dstu2_models/examples/json/condition-example2.json +35 -0
  220. data/lib/fhir_dstu2_models/examples/json/condition-questionnaire.json +1360 -0
  221. data/lib/fhir_dstu2_models/examples/json/conformance-base2.json +69 -0
  222. data/lib/fhir_dstu2_models/examples/json/conformance-example.json +267 -0
  223. data/lib/fhir_dstu2_models/examples/json/conformance-phr-example.json +152 -0
  224. data/lib/fhir_dstu2_models/examples/json/conformance-terminology-server.json +241 -0
  225. data/lib/fhir_dstu2_models/examples/json/contact-point-system-map-v2.json +93 -0
  226. data/lib/fhir_dstu2_models/examples/json/contact-point-use-map-v2.json +91 -0
  227. data/lib/fhir_dstu2_models/examples/json/contact-point-use-map-v3.json +104 -0
  228. data/lib/fhir_dstu2_models/examples/json/contract-example.json +8 -0
  229. data/lib/fhir_dstu2_models/examples/json/coverage-example-2.json +32 -0
  230. data/lib/fhir_dstu2_models/examples/json/coverage-example.json +33 -0
  231. data/lib/fhir_dstu2_models/examples/json/coverage-questionnaire.json +580 -0
  232. data/lib/fhir_dstu2_models/examples/json/data-absent-reason-map-v3.json +124 -0
  233. data/lib/fhir_dstu2_models/examples/json/dataelement-example.json +251 -0
  234. data/lib/fhir_dstu2_models/examples/json/dataelement-labtestmaster-example.json +84 -0
  235. data/lib/fhir_dstu2_models/examples/json/dataelement-questionnaire.json +742 -0
  236. data/lib/fhir_dstu2_models/examples/json/detectedissue-example-allergy.json +8 -0
  237. data/lib/fhir_dstu2_models/examples/json/detectedissue-example-dup.json +38 -0
  238. data/lib/fhir_dstu2_models/examples/json/detectedissue-example-lab.json +8 -0
  239. data/lib/fhir_dstu2_models/examples/json/detectedissue-example.json +52 -0
  240. data/lib/fhir_dstu2_models/examples/json/detectedissue-questionnaire.json +632 -0
  241. data/lib/fhir_dstu2_models/examples/json/detectedissue-severity-map-v3.json +69 -0
  242. data/lib/fhir_dstu2_models/examples/json/device-example-f001-feedingtube.json +38 -0
  243. data/lib/fhir_dstu2_models/examples/json/device-example-ihe-pcd.json +28 -0
  244. data/lib/fhir_dstu2_models/examples/json/device-example-pacemaker.json +35 -0
  245. data/lib/fhir_dstu2_models/examples/json/device-example-software.json +26 -0
  246. data/lib/fhir_dstu2_models/examples/json/device-example.json +58 -0
  247. data/lib/fhir_dstu2_models/examples/json/device-questionnaire.json +590 -0
  248. data/lib/fhir_dstu2_models/examples/json/devicecomponent-example-prodspec.json +135 -0
  249. data/lib/fhir_dstu2_models/examples/json/devicecomponent-example.json +88 -0
  250. data/lib/fhir_dstu2_models/examples/json/devicecomponent-questionnaire.json +591 -0
  251. data/lib/fhir_dstu2_models/examples/json/devicemetric-example.json +31 -0
  252. data/lib/fhir_dstu2_models/examples/json/devicemetric-questionnaire.json +581 -0
  253. data/lib/fhir_dstu2_models/examples/json/devicemetricobservation-questionnaire.json +2007 -0
  254. data/lib/fhir_dstu2_models/examples/json/deviceuserequest-example.json +17 -0
  255. data/lib/fhir_dstu2_models/examples/json/deviceuserequest-questionnaire.json +717 -0
  256. data/lib/fhir_dstu2_models/examples/json/deviceusestatement-example.json +17 -0
  257. data/lib/fhir_dstu2_models/examples/json/deviceusestatement-questionnaire.json +606 -0
  258. data/lib/fhir_dstu2_models/examples/json/diagnosticorder-example-di.json +49 -0
  259. data/lib/fhir_dstu2_models/examples/json/diagnosticorder-example-ft4.json +81 -0
  260. data/lib/fhir_dstu2_models/examples/json/diagnosticorder-example.json +114 -0
  261. data/lib/fhir_dstu2_models/examples/json/diagnosticorder-questionnaire.json +1099 -0
  262. data/lib/fhir_dstu2_models/examples/json/diagnosticreport-example-dxa.json +105 -0
  263. data/lib/fhir_dstu2_models/examples/json/diagnosticreport-example-f001-bloodexam.json +138 -0
  264. data/lib/fhir_dstu2_models/examples/json/diagnosticreport-example-f201-brainct.json +68 -0
  265. data/lib/fhir_dstu2_models/examples/json/diagnosticreport-example-f202-bloodculture.json +88 -0
  266. data/lib/fhir_dstu2_models/examples/json/diagnosticreport-example-ghp.json +2582 -0
  267. data/lib/fhir_dstu2_models/examples/json/diagnosticreport-example-lipids.json +231 -0
  268. data/lib/fhir_dstu2_models/examples/json/diagnosticreport-example-ultrasound.json +56 -0
  269. data/lib/fhir_dstu2_models/examples/json/diagnosticreport-example.json +870 -0
  270. data/lib/fhir_dstu2_models/examples/json/diagnosticreport-micro1.json +1173 -0
  271. data/lib/fhir_dstu2_models/examples/json/diagnosticreport-questionnaire.json +1158 -0
  272. data/lib/fhir_dstu2_models/examples/json/document-example-dischargesummary.json +481 -0
  273. data/lib/fhir_dstu2_models/examples/json/document-reference-status-map-v3.json +69 -0
  274. data/lib/fhir_dstu2_models/examples/json/documentmanifest-example.json +91 -0
  275. data/lib/fhir_dstu2_models/examples/json/documentmanifest-questionnaire.json +1137 -0
  276. data/lib/fhir_dstu2_models/examples/json/documentreference-example.json +187 -0
  277. data/lib/fhir_dstu2_models/examples/json/documentreference-questionnaire.json +1530 -0
  278. data/lib/fhir_dstu2_models/examples/json/elementdefinition-11179-DataElement-objectClass.json +12 -0
  279. data/lib/fhir_dstu2_models/examples/json/elementdefinition-11179-DataElement-objectClassProperty.json +12 -0
  280. data/lib/fhir_dstu2_models/examples/json/eligibilityrequest-example.json +18 -0
  281. data/lib/fhir_dstu2_models/examples/json/eligibilityrequest-questionnaire.json +359 -0
  282. data/lib/fhir_dstu2_models/examples/json/eligibilityresponse-example.json +26 -0
  283. data/lib/fhir_dstu2_models/examples/json/eligibilityresponse-questionnaire.json +437 -0
  284. data/lib/fhir_dstu2_models/examples/json/encounter-example-f001-heart.json +98 -0
  285. data/lib/fhir_dstu2_models/examples/json/encounter-example-f002-lung.json +98 -0
  286. data/lib/fhir_dstu2_models/examples/json/encounter-example-f003-abscess.json +103 -0
  287. data/lib/fhir_dstu2_models/examples/json/encounter-example-f201-20130404.json +78 -0
  288. data/lib/fhir_dstu2_models/examples/json/encounter-example-f202-20130128.json +98 -0
  289. data/lib/fhir_dstu2_models/examples/json/encounter-example-f203-20130311.json +110 -0
  290. data/lib/fhir_dstu2_models/examples/json/encounter-example-home.json +50 -0
  291. data/lib/fhir_dstu2_models/examples/json/encounter-example-xcda.json +38 -0
  292. data/lib/fhir_dstu2_models/examples/json/encounter-example.json +13 -0
  293. data/lib/fhir_dstu2_models/examples/json/encounter-questionnaire.json +1610 -0
  294. data/lib/fhir_dstu2_models/examples/json/enrollmentrequest-example.json +27 -0
  295. data/lib/fhir_dstu2_models/examples/json/enrollmentrequest-questionnaire.json +443 -0
  296. data/lib/fhir_dstu2_models/examples/json/enrollmentresponse-example.json +26 -0
  297. data/lib/fhir_dstu2_models/examples/json/enrollmentresponse-questionnaire.json +437 -0
  298. data/lib/fhir_dstu2_models/examples/json/episodeofcare-example.json +102 -0
  299. data/lib/fhir_dstu2_models/examples/json/episodeofcare-questionnaire.json +778 -0
  300. data/lib/fhir_dstu2_models/examples/json/explanationofbenefit-example.json +26 -0
  301. data/lib/fhir_dstu2_models/examples/json/explanationofbenefit-questionnaire.json +437 -0
  302. data/lib/fhir_dstu2_models/examples/json/extension-11179-de-administrative-status.json +211 -0
  303. data/lib/fhir_dstu2_models/examples/json/extension-11179-de-change-description.json +184 -0
  304. data/lib/fhir_dstu2_models/examples/json/extension-11179-de-classification-or-context.json +243 -0
  305. data/lib/fhir_dstu2_models/examples/json/extension-11179-de-contact-address.json +203 -0
  306. data/lib/fhir_dstu2_models/examples/json/extension-11179-de-document-reference.json +209 -0
  307. data/lib/fhir_dstu2_models/examples/json/extension-11179-de-effective-period.json +217 -0
  308. data/lib/fhir_dstu2_models/examples/json/extension-11179-de-is-data-element-concept.json +230 -0
  309. data/lib/fhir_dstu2_models/examples/json/extension-11179-de-registry-org.json +209 -0
  310. data/lib/fhir_dstu2_models/examples/json/extension-11179-de-submitter-org.json +209 -0
  311. data/lib/fhir_dstu2_models/examples/json/extension-11179-objectclass.json +246 -0
  312. data/lib/fhir_dstu2_models/examples/json/extension-11179-objectclassproperty.json +246 -0
  313. data/lib/fhir_dstu2_models/examples/json/extension-11179-permitted-value-conceptmap.json +241 -0
  314. data/lib/fhir_dstu2_models/examples/json/extension-11179-permitted-value-valueset.json +241 -0
  315. data/lib/fhir_dstu2_models/examples/json/extension-allergyintolerance-duration.json +211 -0
  316. data/lib/fhir_dstu2_models/examples/json/extension-allergyintolerance-reasonrefuted.json +185 -0
  317. data/lib/fhir_dstu2_models/examples/json/extension-allergyintolerance-resolutionage.json +213 -0
  318. data/lib/fhir_dstu2_models/examples/json/extension-birthplace.json +184 -0
  319. data/lib/fhir_dstu2_models/examples/json/extension-body-site-instance.json +190 -0
  320. data/lib/fhir_dstu2_models/examples/json/extension-careplan-activity-title.json +185 -0
  321. data/lib/fhir_dstu2_models/examples/json/extension-communication-media.json +185 -0
  322. data/lib/fhir_dstu2_models/examples/json/extension-communication-reasonnotperformed.json +187 -0
  323. data/lib/fhir_dstu2_models/examples/json/extension-communicationrequest-orderedby.json +231 -0
  324. data/lib/fhir_dstu2_models/examples/json/extension-communicationrequest-reasonrejected.json +187 -0
  325. data/lib/fhir_dstu2_models/examples/json/extension-composition-clindoc-otherconfidentiality.json +186 -0
  326. data/lib/fhir_dstu2_models/examples/json/extension-condition-criticality.json +189 -0
  327. data/lib/fhir_dstu2_models/examples/json/extension-condition-dueto.json +700 -0
  328. data/lib/fhir_dstu2_models/examples/json/extension-condition-occurredfollowing.json +698 -0
  329. data/lib/fhir_dstu2_models/examples/json/extension-condition-outcome.json +199 -0
  330. data/lib/fhir_dstu2_models/examples/json/extension-condition-targetbodysite.json +188 -0
  331. data/lib/fhir_dstu2_models/examples/json/extension-conformance-expectation.json +238 -0
  332. data/lib/fhir_dstu2_models/examples/json/extension-conformance-prohibited.json +224 -0
  333. data/lib/fhir_dstu2_models/examples/json/extension-conformance-search-parameter-combination.json +669 -0
  334. data/lib/fhir_dstu2_models/examples/json/extension-conformance-supported-system.json +189 -0
  335. data/lib/fhir_dstu2_models/examples/json/extension-cqm-basedonmeasure.json +190 -0
  336. data/lib/fhir_dstu2_models/examples/json/extension-data-absent-reason.json +218 -0
  337. data/lib/fhir_dstu2_models/examples/json/extension-datadictionary.json +187 -0
  338. data/lib/fhir_dstu2_models/examples/json/extension-deviceuserequest-reasonrejected.json +185 -0
  339. data/lib/fhir_dstu2_models/examples/json/extension-diagnosticorder-precondition.json +185 -0
  340. data/lib/fhir_dstu2_models/examples/json/extension-diagnosticorder-reason.json +185 -0
  341. data/lib/fhir_dstu2_models/examples/json/extension-diagnosticorder-reasonrejected.json +185 -0
  342. data/lib/fhir_dstu2_models/examples/json/extension-diagnosticreport-locationperformed.json +193 -0
  343. data/lib/fhir_dstu2_models/examples/json/extension-elementdefinition-allowedunits.json +244 -0
  344. data/lib/fhir_dstu2_models/examples/json/extension-elementdefinition-equivalence.json +217 -0
  345. data/lib/fhir_dstu2_models/examples/json/extension-elementdefinition-identifier.json +216 -0
  346. data/lib/fhir_dstu2_models/examples/json/extension-elementdefinition-maxvalueset.json +211 -0
  347. data/lib/fhir_dstu2_models/examples/json/extension-elementdefinition-minvalueset.json +211 -0
  348. data/lib/fhir_dstu2_models/examples/json/extension-elementdefinition-question.json +205 -0
  349. data/lib/fhir_dstu2_models/examples/json/extension-encounter-associatedencounter.json +188 -0
  350. data/lib/fhir_dstu2_models/examples/json/extension-encounter-primarydiagnosis.json +187 -0
  351. data/lib/fhir_dstu2_models/examples/json/extension-encounter-reasoncancelled.json +185 -0
  352. data/lib/fhir_dstu2_models/examples/json/extension-encounter-relatedcondition.json +506 -0
  353. data/lib/fhir_dstu2_models/examples/json/extension-entryformat.json +217 -0
  354. data/lib/fhir_dstu2_models/examples/json/extension-family-member-history-genetics-observation.json +213 -0
  355. data/lib/fhir_dstu2_models/examples/json/extension-family-member-history-genetics-parent.json +657 -0
  356. data/lib/fhir_dstu2_models/examples/json/extension-familymemberhistory-abatement.json +203 -0
  357. data/lib/fhir_dstu2_models/examples/json/extension-familymemberhistory-patient-record.json +191 -0
  358. data/lib/fhir_dstu2_models/examples/json/extension-familymemberhistory-severity.json +199 -0
  359. data/lib/fhir_dstu2_models/examples/json/extension-flag-detail.json +191 -0
  360. data/lib/fhir_dstu2_models/examples/json/extension-flag-priority.json +199 -0
  361. data/lib/fhir_dstu2_models/examples/json/extension-geneticsallelename.json +216 -0
  362. data/lib/fhir_dstu2_models/examples/json/extension-geneticsallelicfrequency.json +216 -0
  363. data/lib/fhir_dstu2_models/examples/json/extension-geneticsallelicstate.json +216 -0
  364. data/lib/fhir_dstu2_models/examples/json/extension-geneticsaminoacidchange.json +216 -0
  365. data/lib/fhir_dstu2_models/examples/json/extension-geneticsaminoacidchangetype.json +216 -0
  366. data/lib/fhir_dstu2_models/examples/json/extension-geneticsassessedcondition.json +222 -0
  367. data/lib/fhir_dstu2_models/examples/json/extension-geneticschromosome.json +184 -0
  368. data/lib/fhir_dstu2_models/examples/json/extension-geneticscigar.json +216 -0
  369. data/lib/fhir_dstu2_models/examples/json/extension-geneticscopynumberevent.json +216 -0
  370. data/lib/fhir_dstu2_models/examples/json/extension-geneticsdnaregionname.json +216 -0
  371. data/lib/fhir_dstu2_models/examples/json/extension-geneticsdnasequencevariation.json +184 -0
  372. data/lib/fhir_dstu2_models/examples/json/extension-geneticsdnasequencevariationtype.json +216 -0
  373. data/lib/fhir_dstu2_models/examples/json/extension-geneticsgene.json +184 -0
  374. data/lib/fhir_dstu2_models/examples/json/extension-geneticsgenomebuild.json +184 -0
  375. data/lib/fhir_dstu2_models/examples/json/extension-geneticsgenomicsourceclass.json +216 -0
  376. data/lib/fhir_dstu2_models/examples/json/extension-geneticsgenomicstart.json +184 -0
  377. data/lib/fhir_dstu2_models/examples/json/extension-geneticsgenomicstop.json +184 -0
  378. data/lib/fhir_dstu2_models/examples/json/extension-geneticsobservedallele.json +184 -0
  379. data/lib/fhir_dstu2_models/examples/json/extension-geneticsproteinreferencesequenceid.json +216 -0
  380. data/lib/fhir_dstu2_models/examples/json/extension-geneticsreadcoverage.json +216 -0
  381. data/lib/fhir_dstu2_models/examples/json/extension-geneticsreferenceallele.json +184 -0
  382. data/lib/fhir_dstu2_models/examples/json/extension-geneticsresult.json +222 -0
  383. data/lib/fhir_dstu2_models/examples/json/extension-geneticsspecies.json +216 -0
  384. data/lib/fhir_dstu2_models/examples/json/extension-geneticstranscriptreferencesequenceid.json +184 -0
  385. data/lib/fhir_dstu2_models/examples/json/extension-geneticsvariationid.json +184 -0
  386. data/lib/fhir_dstu2_models/examples/json/extension-goal-acceptance.json +794 -0
  387. data/lib/fhir_dstu2_models/examples/json/extension-goal-pertainstogoal.json +193 -0
  388. data/lib/fhir_dstu2_models/examples/json/extension-goal-reasonrejected.json +204 -0
  389. data/lib/fhir_dstu2_models/examples/json/extension-goal-relationship.json +607 -0
  390. data/lib/fhir_dstu2_models/examples/json/extension-goal-target.json +618 -0
  391. data/lib/fhir_dstu2_models/examples/json/extension-http-response-header.json +219 -0
  392. data/lib/fhir_dstu2_models/examples/json/extension-imagingstudy-radiationdose.json +185 -0
  393. data/lib/fhir_dstu2_models/examples/json/extension-imagingstudy-radiationduration.json +211 -0
  394. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-ad-use.json +217 -0
  395. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-additionallocator.json +203 -0
  396. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-buildingnumbersuffix.json +203 -0
  397. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-careof.json +203 -0
  398. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-censustract.json +203 -0
  399. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-county.json +203 -0
  400. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-delimiter.json +205 -0
  401. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-deliveryaddressline.json +203 -0
  402. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-deliveryinstallationarea.json +203 -0
  403. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-deliveryinstallationqualifier.json +203 -0
  404. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-deliveryinstallationtype.json +203 -0
  405. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-deliverymode.json +203 -0
  406. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-deliverymodeidentifier.json +203 -0
  407. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-direction.json +203 -0
  408. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-housenumber.json +203 -0
  409. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-housenumbernumeric.json +203 -0
  410. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-postbox.json +203 -0
  411. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-precinct.json +203 -0
  412. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-streetaddressline.json +203 -0
  413. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-streetname.json +203 -0
  414. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-streetnamebase.json +203 -0
  415. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-streetnametype.json +203 -0
  416. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-unitid.json +203 -0
  417. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-adxp-unittype.json +203 -0
  418. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-co-value.json +205 -0
  419. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-en-qualifier.json +224 -0
  420. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-nullflavor.json +232 -0
  421. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-preferred.json +184 -0
  422. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-sc-coding.json +211 -0
  423. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-st-language.json +213 -0
  424. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-st-translation.json +205 -0
  425. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-tel-address.json +205 -0
  426. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-uncertainty.json +205 -0
  427. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-uncertaintytype.json +219 -0
  428. data/lib/fhir_dstu2_models/examples/json/extension-iso21090-verification.json +192 -0
  429. data/lib/fhir_dstu2_models/examples/json/extension-lipid-report-ldl-chol-calculated.json +186 -0
  430. data/lib/fhir_dstu2_models/examples/json/extension-location-alias.json +175 -0
  431. data/lib/fhir_dstu2_models/examples/json/extension-mapsourcepublisher.json +185 -0
  432. data/lib/fhir_dstu2_models/examples/json/extension-markup.json +203 -0
  433. data/lib/fhir_dstu2_models/examples/json/extension-maxdecimalplaces.json +217 -0
  434. data/lib/fhir_dstu2_models/examples/json/extension-maxsize.json +219 -0
  435. data/lib/fhir_dstu2_models/examples/json/extension-maxvalue.json +248 -0
  436. data/lib/fhir_dstu2_models/examples/json/extension-medication-isactiveingredient.json +187 -0
  437. data/lib/fhir_dstu2_models/examples/json/extension-medication-usualroute.json +187 -0
  438. data/lib/fhir_dstu2_models/examples/json/extension-medicationdispense-validityperiod.json +185 -0
  439. data/lib/fhir_dstu2_models/examples/json/extension-mimetype.json +229 -0
  440. data/lib/fhir_dstu2_models/examples/json/extension-minlength.json +219 -0
  441. data/lib/fhir_dstu2_models/examples/json/extension-minvalue.json +248 -0
  442. data/lib/fhir_dstu2_models/examples/json/extension-observation-bodyposition.json +185 -0
  443. data/lib/fhir_dstu2_models/examples/json/extension-observation-delta.json +185 -0
  444. data/lib/fhir_dstu2_models/examples/json/extension-observation-focal-subject.json +201 -0
  445. data/lib/fhir_dstu2_models/examples/json/extension-openehr-administration.json +190 -0
  446. data/lib/fhir_dstu2_models/examples/json/extension-openehr-careplan.json +190 -0
  447. data/lib/fhir_dstu2_models/examples/json/extension-openehr-exposuredate.json +186 -0
  448. data/lib/fhir_dstu2_models/examples/json/extension-openehr-exposuredescription.json +184 -0
  449. data/lib/fhir_dstu2_models/examples/json/extension-openehr-exposureduration.json +210 -0
  450. data/lib/fhir_dstu2_models/examples/json/extension-openehr-location.json +198 -0
  451. data/lib/fhir_dstu2_models/examples/json/extension-openehr-management.json +184 -0
  452. data/lib/fhir_dstu2_models/examples/json/extension-openehr-test.json +202 -0
  453. data/lib/fhir_dstu2_models/examples/json/extension-operationoutcome-authority.json +185 -0
  454. data/lib/fhir_dstu2_models/examples/json/extension-operationoutcome-detectedissue.json +193 -0
  455. data/lib/fhir_dstu2_models/examples/json/extension-operationoutcome-issue-source.json +185 -0
  456. data/lib/fhir_dstu2_models/examples/json/extension-organization-alias.json +187 -0
  457. data/lib/fhir_dstu2_models/examples/json/extension-organization-period.json +184 -0
  458. data/lib/fhir_dstu2_models/examples/json/extension-organization-preferredcontact.json +184 -0
  459. data/lib/fhir_dstu2_models/examples/json/extension-patient-adoptioninfo.json +175 -0
  460. data/lib/fhir_dstu2_models/examples/json/extension-patient-birthtime.json +175 -0
  461. data/lib/fhir_dstu2_models/examples/json/extension-patient-cadavericdonor.json +175 -0
  462. data/lib/fhir_dstu2_models/examples/json/extension-patient-citizenship.json +577 -0
  463. data/lib/fhir_dstu2_models/examples/json/extension-patient-clinicaltrial.json +726 -0
  464. data/lib/fhir_dstu2_models/examples/json/extension-patient-congregation.json +175 -0
  465. data/lib/fhir_dstu2_models/examples/json/extension-patient-disability.json +175 -0
  466. data/lib/fhir_dstu2_models/examples/json/extension-patient-importance.json +175 -0
  467. data/lib/fhir_dstu2_models/examples/json/extension-patient-interpreterrequired.json +177 -0
  468. data/lib/fhir_dstu2_models/examples/json/extension-patient-mothersmaidenname.json +207 -0
  469. data/lib/fhir_dstu2_models/examples/json/extension-patient-mpi-match.json +189 -0
  470. data/lib/fhir_dstu2_models/examples/json/extension-patient-nationality.json +577 -0
  471. data/lib/fhir_dstu2_models/examples/json/extension-pharmacy-core-dosetype.json +186 -0
  472. data/lib/fhir_dstu2_models/examples/json/extension-pharmacy-core-infuseover.json +212 -0
  473. data/lib/fhir_dstu2_models/examples/json/extension-pharmacy-core-maxdeliveryrate.json +186 -0
  474. data/lib/fhir_dstu2_models/examples/json/extension-pharmacy-core-maxdeliveryvolume.json +186 -0
  475. data/lib/fhir_dstu2_models/examples/json/extension-pharmacy-core-mindoseperperiod.json +186 -0
  476. data/lib/fhir_dstu2_models/examples/json/extension-pharmacy-core-rategoal.json +186 -0
  477. data/lib/fhir_dstu2_models/examples/json/extension-pharmacy-core-rateincrement.json +186 -0
  478. data/lib/fhir_dstu2_models/examples/json/extension-pharmacy-core-rateincrementinterval.json +212 -0
  479. data/lib/fhir_dstu2_models/examples/json/extension-pharmacy-core-refillsremaining.json +186 -0
  480. data/lib/fhir_dstu2_models/examples/json/extension-practitioner-animalspecies.json +190 -0
  481. data/lib/fhir_dstu2_models/examples/json/extension-practitioner-classification.json +175 -0
  482. data/lib/fhir_dstu2_models/examples/json/extension-practitioner-primaryind.json +177 -0
  483. data/lib/fhir_dstu2_models/examples/json/extension-procedure-approachbodysite.json +191 -0
  484. data/lib/fhir_dstu2_models/examples/json/extension-procedure-causedby.json +330 -0
  485. data/lib/fhir_dstu2_models/examples/json/extension-procedure-incisiondatetime.json +185 -0
  486. data/lib/fhir_dstu2_models/examples/json/extension-procedure-method.json +187 -0
  487. data/lib/fhir_dstu2_models/examples/json/extension-procedure-progressstatus.json +199 -0
  488. data/lib/fhir_dstu2_models/examples/json/extension-procedure-targetbodysite.json +191 -0
  489. data/lib/fhir_dstu2_models/examples/json/extension-procedurerequest-approachbodysite.json +191 -0
  490. data/lib/fhir_dstu2_models/examples/json/extension-procedurerequest-authorizedby.json +191 -0
  491. data/lib/fhir_dstu2_models/examples/json/extension-procedurerequest-reasonrefused.json +185 -0
  492. data/lib/fhir_dstu2_models/examples/json/extension-procedurerequest-targetbodysite.json +191 -0
  493. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-allowedresource.json +219 -0
  494. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-category.json +217 -0
  495. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-choiceorientation.json +200 -0
  496. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-defaultvalue.json +395 -0
  497. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-demap.json +190 -0
  498. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-dereference.json +211 -0
  499. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-enablewhen.json +935 -0
  500. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-help.json +204 -0
  501. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-hidden.json +188 -0
  502. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-highrangelabel.json +203 -0
  503. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-instruction.json +204 -0
  504. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-label.json +207 -0
  505. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-lowrangelabel.json +203 -0
  506. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-maxlength.json +218 -0
  507. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-maxoccurs.json +223 -0
  508. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-minoccurs.json +223 -0
  509. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-questioncontrol.json +200 -0
  510. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-readonly.json +205 -0
  511. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-security.json +204 -0
  512. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-tooltip.json +204 -0
  513. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-trailing.json +204 -0
  514. data/lib/fhir_dstu2_models/examples/json/extension-questionnaire-units.json +203 -0
  515. data/lib/fhir_dstu2_models/examples/json/extension-questionnaireresponse-author.json +250 -0
  516. data/lib/fhir_dstu2_models/examples/json/extension-questionnaireresponse-reviewer.json +210 -0
  517. data/lib/fhir_dstu2_models/examples/json/extension-referralrequest-reasonrefused.json +185 -0
  518. data/lib/fhir_dstu2_models/examples/json/extension-regex.json +217 -0
  519. data/lib/fhir_dstu2_models/examples/json/extension-specimen-collectionpriority.json +199 -0
  520. data/lib/fhir_dstu2_models/examples/json/extension-specimen-isdryweight.json +185 -0
  521. data/lib/fhir_dstu2_models/examples/json/extension-specimen-sequencenumber.json +185 -0
  522. data/lib/fhir_dstu2_models/examples/json/extension-specimen-specialhandling.json +185 -0
  523. data/lib/fhir_dstu2_models/examples/json/extension-specimen-treatmenttime.json +197 -0
  524. data/lib/fhir_dstu2_models/examples/json/extension-structuredefinition-display-hint.json +186 -0
  525. data/lib/fhir_dstu2_models/examples/json/extension-structuredefinition-explicit-type-name.json +184 -0
  526. data/lib/fhir_dstu2_models/examples/json/extension-structuredefinition-fmm-no-warnings.json +186 -0
  527. data/lib/fhir_dstu2_models/examples/json/extension-structuredefinition-fmm.json +186 -0
  528. data/lib/fhir_dstu2_models/examples/json/extension-structuredefinition-json-type.json +186 -0
  529. data/lib/fhir_dstu2_models/examples/json/extension-structuredefinition-regex.json +184 -0
  530. data/lib/fhir_dstu2_models/examples/json/extension-structuredefinition-template-status.json +200 -0
  531. data/lib/fhir_dstu2_models/examples/json/extension-structuredefinition-xml-type.json +186 -0
  532. data/lib/fhir_dstu2_models/examples/json/extension-style.json +205 -0
  533. data/lib/fhir_dstu2_models/examples/json/extension-stylesensitive.json +186 -0
  534. data/lib/fhir_dstu2_models/examples/json/extension-us-core-concernstatus.json +185 -0
  535. data/lib/fhir_dstu2_models/examples/json/extension-us-core-county.json +184 -0
  536. data/lib/fhir_dstu2_models/examples/json/extension-us-core-direct.json +219 -0
  537. data/lib/fhir_dstu2_models/examples/json/extension-us-core-ethnicity.json +198 -0
  538. data/lib/fhir_dstu2_models/examples/json/extension-us-core-race.json +198 -0
  539. data/lib/fhir_dstu2_models/examples/json/extension-us-core-religion.json +198 -0
  540. data/lib/fhir_dstu2_models/examples/json/extension-valueset-author.json +176 -0
  541. data/lib/fhir_dstu2_models/examples/json/extension-valueset-casesensitive.json +178 -0
  542. data/lib/fhir_dstu2_models/examples/json/extension-valueset-comment.json +582 -0
  543. data/lib/fhir_dstu2_models/examples/json/extension-valueset-comments.json +180 -0
  544. data/lib/fhir_dstu2_models/examples/json/extension-valueset-conceptorder.json +178 -0
  545. data/lib/fhir_dstu2_models/examples/json/extension-valueset-definition.json +180 -0
  546. data/lib/fhir_dstu2_models/examples/json/extension-valueset-deprecated.json +178 -0
  547. data/lib/fhir_dstu2_models/examples/json/extension-valueset-effectivedate.json +176 -0
  548. data/lib/fhir_dstu2_models/examples/json/extension-valueset-expansionsource.json +176 -0
  549. data/lib/fhir_dstu2_models/examples/json/extension-valueset-expirationdate.json +178 -0
  550. data/lib/fhir_dstu2_models/examples/json/extension-valueset-history.json +1292 -0
  551. data/lib/fhir_dstu2_models/examples/json/extension-valueset-keyword.json +176 -0
  552. data/lib/fhir_dstu2_models/examples/json/extension-valueset-label.json +178 -0
  553. data/lib/fhir_dstu2_models/examples/json/extension-valueset-map.json +184 -0
  554. data/lib/fhir_dstu2_models/examples/json/extension-valueset-oid.json +177 -0
  555. data/lib/fhir_dstu2_models/examples/json/extension-valueset-ordinalvalue.json +178 -0
  556. data/lib/fhir_dstu2_models/examples/json/extension-valueset-othername.json +586 -0
  557. data/lib/fhir_dstu2_models/examples/json/extension-valueset-reference.json +208 -0
  558. data/lib/fhir_dstu2_models/examples/json/extension-valueset-replacedby.json +178 -0
  559. data/lib/fhir_dstu2_models/examples/json/extension-valueset-sourcereference.json +178 -0
  560. data/lib/fhir_dstu2_models/examples/json/extension-valueset-subsumes.json +177 -0
  561. data/lib/fhir_dstu2_models/examples/json/extension-valueset-systemname.json +176 -0
  562. data/lib/fhir_dstu2_models/examples/json/extension-valueset-systemref.json +176 -0
  563. data/lib/fhir_dstu2_models/examples/json/extension-valueset-trusted-expansion.json +176 -0
  564. data/lib/fhir_dstu2_models/examples/json/extension-valueset-unclosed.json +178 -0
  565. data/lib/fhir_dstu2_models/examples/json/extension-valueset-usage.json +584 -0
  566. data/lib/fhir_dstu2_models/examples/json/extension-valueset-warning.json +176 -0
  567. data/lib/fhir_dstu2_models/examples/json/extension-valueset-workflowstatus.json +178 -0
  568. data/lib/fhir_dstu2_models/examples/json/familymemberhistory-example-mother.json +40 -0
  569. data/lib/fhir_dstu2_models/examples/json/familymemberhistory-example.json +44 -0
  570. data/lib/fhir_dstu2_models/examples/json/familymemberhistory-genetic-questionnaire.json +1165 -0
  571. data/lib/fhir_dstu2_models/examples/json/familymemberhistory-questionnaire.json +1165 -0
  572. data/lib/fhir_dstu2_models/examples/json/flag-example-encounter.json +34 -0
  573. data/lib/fhir_dstu2_models/examples/json/flag-example.json +37 -0
  574. data/lib/fhir_dstu2_models/examples/json/flag-questionnaire.json +688 -0
  575. data/lib/fhir_dstu2_models/examples/json/genetics-questionnaire.json +2268 -0
  576. data/lib/fhir_dstu2_models/examples/json/goal-example.json +56 -0
  577. data/lib/fhir_dstu2_models/examples/json/goal-questionnaire.json +1218 -0
  578. data/lib/fhir_dstu2_models/examples/json/group-example-member.json +45 -0
  579. data/lib/fhir_dstu2_models/examples/json/group-example.json +35 -0
  580. data/lib/fhir_dstu2_models/examples/json/group-questionnaire.json +963 -0
  581. data/lib/fhir_dstu2_models/examples/json/hdlcholesterol-questionnaire.json +1993 -0
  582. data/lib/fhir_dstu2_models/examples/json/healthcareservice-example.json +177 -0
  583. data/lib/fhir_dstu2_models/examples/json/healthcareservice-questionnaire.json +1097 -0
  584. data/lib/fhir_dstu2_models/examples/json/imagingobjectselection-example.json +56 -0
  585. data/lib/fhir_dstu2_models/examples/json/imagingobjectselection-questionnaire.json +976 -0
  586. data/lib/fhir_dstu2_models/examples/json/imagingstudy-example.json +49 -0
  587. data/lib/fhir_dstu2_models/examples/json/imagingstudy-questionnaire.json +1078 -0
  588. data/lib/fhir_dstu2_models/examples/json/immunization-example-refused.json +37 -0
  589. data/lib/fhir_dstu2_models/examples/json/immunization-example.json +135 -0
  590. data/lib/fhir_dstu2_models/examples/json/immunization-questionnaire.json +1237 -0
  591. data/lib/fhir_dstu2_models/examples/json/immunizationrecommendation-example.json +97 -0
  592. data/lib/fhir_dstu2_models/examples/json/immunizationrecommendation-questionnaire.json +812 -0
  593. data/lib/fhir_dstu2_models/examples/json/implementationguide-example.json +117 -0
  594. data/lib/fhir_dstu2_models/examples/json/implementationguide-questionnaire.json +1418 -0
  595. data/lib/fhir_dstu2_models/examples/json/ldlcholesterol-questionnaire.json +1993 -0
  596. data/lib/fhir_dstu2_models/examples/json/lipidprofile-questionnaire.json +1278 -0
  597. data/lib/fhir_dstu2_models/examples/json/list-example-allergies.json +45 -0
  598. data/lib/fhir_dstu2_models/examples/json/list-example-empty.json +34 -0
  599. data/lib/fhir_dstu2_models/examples/json/list-example-familyhistory-f201-roel.json +120 -0
  600. data/lib/fhir_dstu2_models/examples/json/list-example-familyhistory-genetics-profile.json +380 -0
  601. data/lib/fhir_dstu2_models/examples/json/list-example-medlist.json +64 -0
  602. data/lib/fhir_dstu2_models/examples/json/list-example.json +49 -0
  603. data/lib/fhir_dstu2_models/examples/json/list-questionnaire.json +899 -0
  604. data/lib/fhir_dstu2_models/examples/json/location-example-ambulance.json +40 -0
  605. data/lib/fhir_dstu2_models/examples/json/location-example-hl7hq.json +62 -0
  606. data/lib/fhir_dstu2_models/examples/json/location-example-patients-home.json +33 -0
  607. data/lib/fhir_dstu2_models/examples/json/location-example-room.json +47 -0
  608. data/lib/fhir_dstu2_models/examples/json/location-example-ukpharmacy.json +30 -0
  609. data/lib/fhir_dstu2_models/examples/json/location-example.json +74 -0
  610. data/lib/fhir_dstu2_models/examples/json/location-extensions-Location-alias.json +12 -0
  611. data/lib/fhir_dstu2_models/examples/json/location-questionnaire.json +657 -0
  612. data/lib/fhir_dstu2_models/examples/json/measurereport-questionnaire.json +1414 -0
  613. data/lib/fhir_dstu2_models/examples/json/media-example-dicom.json +92 -0
  614. data/lib/fhir_dstu2_models/examples/json/media-example-sound.json +26 -0
  615. data/lib/fhir_dstu2_models/examples/json/media-example.json +43 -0
  616. data/lib/fhir_dstu2_models/examples/json/media-questionnaire.json +637 -0
  617. data/lib/fhir_dstu2_models/examples/json/medication-admin-status-map-v3.json +91 -0
  618. data/lib/fhir_dstu2_models/examples/json/medication-dispense-status-map-v3.json +91 -0
  619. data/lib/fhir_dstu2_models/examples/json/medication-example-f001-combivent.json +66 -0
  620. data/lib/fhir_dstu2_models/examples/json/medication-example-f002-crestor.json +38 -0
  621. data/lib/fhir_dstu2_models/examples/json/medication-example-f003-tolbutamide.json +38 -0
  622. data/lib/fhir_dstu2_models/examples/json/medication-example-f004-metoprolol.json +38 -0
  623. data/lib/fhir_dstu2_models/examples/json/medication-example-f005-enalapril.json +38 -0
  624. data/lib/fhir_dstu2_models/examples/json/medication-example-f201-salmeterol.json +68 -0
  625. data/lib/fhir_dstu2_models/examples/json/medication-example-f202-flucloxacilline.json +29 -0
  626. data/lib/fhir_dstu2_models/examples/json/medication-example-f203-paracetamol.json +29 -0
  627. data/lib/fhir_dstu2_models/examples/json/medication-order-status-map-v3.json +102 -0
  628. data/lib/fhir_dstu2_models/examples/json/medication-questionnaire.json +885 -0
  629. data/lib/fhir_dstu2_models/examples/json/medication-statement-status-map-v3.json +69 -0
  630. data/lib/fhir_dstu2_models/examples/json/medicationadministration-questionnaire.json +1190 -0
  631. data/lib/fhir_dstu2_models/examples/json/medicationadministrationexample1.json +41 -0
  632. data/lib/fhir_dstu2_models/examples/json/medicationadministrationexample2.json +56 -0
  633. data/lib/fhir_dstu2_models/examples/json/medicationadministrationexample3.json +56 -0
  634. data/lib/fhir_dstu2_models/examples/json/medicationdispense-questionnaire.json +1616 -0
  635. data/lib/fhir_dstu2_models/examples/json/medicationdispenseexample1.json +91 -0
  636. data/lib/fhir_dstu2_models/examples/json/medicationdispenseexample2.json +91 -0
  637. data/lib/fhir_dstu2_models/examples/json/medicationdispenseexample3.json +130 -0
  638. data/lib/fhir_dstu2_models/examples/json/medicationdispenseexample4.json +192 -0
  639. data/lib/fhir_dstu2_models/examples/json/medicationdispenseexample6.json +78 -0
  640. data/lib/fhir_dstu2_models/examples/json/medicationdispenseexample8.json +49 -0
  641. data/lib/fhir_dstu2_models/examples/json/medicationexample1.json +14 -0
  642. data/lib/fhir_dstu2_models/examples/json/medicationexample11.json +60 -0
  643. data/lib/fhir_dstu2_models/examples/json/medicationexample12.json +24 -0
  644. data/lib/fhir_dstu2_models/examples/json/medicationexample13.json +60 -0
  645. data/lib/fhir_dstu2_models/examples/json/medicationexample14.json +32 -0
  646. data/lib/fhir_dstu2_models/examples/json/medicationexample15.json +29 -0
  647. data/lib/fhir_dstu2_models/examples/json/medicationexample16.json +29 -0
  648. data/lib/fhir_dstu2_models/examples/json/medicationexample17.json +29 -0
  649. data/lib/fhir_dstu2_models/examples/json/medicationexample2.json +37 -0
  650. data/lib/fhir_dstu2_models/examples/json/medicationexample3.json +32 -0
  651. data/lib/fhir_dstu2_models/examples/json/medicationexample4.json +83 -0
  652. data/lib/fhir_dstu2_models/examples/json/medicationexample5.json +35 -0
  653. data/lib/fhir_dstu2_models/examples/json/medicationexample6.json +32 -0
  654. data/lib/fhir_dstu2_models/examples/json/medicationexample7.json +32 -0
  655. data/lib/fhir_dstu2_models/examples/json/medicationexample8.json +79 -0
  656. data/lib/fhir_dstu2_models/examples/json/medicationorder-example-f001-combivent.json +114 -0
  657. data/lib/fhir_dstu2_models/examples/json/medicationorder-example-f002-crestor.json +90 -0
  658. data/lib/fhir_dstu2_models/examples/json/medicationorder-example-f003-tolbutamide.json +90 -0
  659. data/lib/fhir_dstu2_models/examples/json/medicationorder-example-f004-metoprolol.json +90 -0
  660. data/lib/fhir_dstu2_models/examples/json/medicationorder-example-f005-enalapril.json +90 -0
  661. data/lib/fhir_dstu2_models/examples/json/medicationorder-example-f201-salmeterol.json +111 -0
  662. data/lib/fhir_dstu2_models/examples/json/medicationorder-example-f202-flucloxacilline.json +86 -0
  663. data/lib/fhir_dstu2_models/examples/json/medicationorder-example-f203-paracetamol.json +66 -0
  664. data/lib/fhir_dstu2_models/examples/json/medicationorder-questionnaire.json +1805 -0
  665. data/lib/fhir_dstu2_models/examples/json/medicationorderexample1.json +129 -0
  666. data/lib/fhir_dstu2_models/examples/json/medicationorderexample2.json +47 -0
  667. data/lib/fhir_dstu2_models/examples/json/medicationorderexample3.json +190 -0
  668. data/lib/fhir_dstu2_models/examples/json/medicationorderexample4.json +71 -0
  669. data/lib/fhir_dstu2_models/examples/json/medicationorderexample5.json +138 -0
  670. data/lib/fhir_dstu2_models/examples/json/medicationorderexample6.json +60 -0
  671. data/lib/fhir_dstu2_models/examples/json/medicationorderexample7.json +43 -0
  672. data/lib/fhir_dstu2_models/examples/json/medicationorderexample8.json +53 -0
  673. data/lib/fhir_dstu2_models/examples/json/medicationorderexample9.json +51 -0
  674. data/lib/fhir_dstu2_models/examples/json/medicationstatement-questionnaire.json +1480 -0
  675. data/lib/fhir_dstu2_models/examples/json/medicationstatementexample1.json +69 -0
  676. data/lib/fhir_dstu2_models/examples/json/medicationstatementexample2.json +33 -0
  677. data/lib/fhir_dstu2_models/examples/json/medicationstatementexample4.json +69 -0
  678. data/lib/fhir_dstu2_models/examples/json/medicationstatementexample5.json +69 -0
  679. data/lib/fhir_dstu2_models/examples/json/medicationstatementexample6.json +50 -0
  680. data/lib/fhir_dstu2_models/examples/json/medicationstatementexample7.json +21 -0
  681. data/lib/fhir_dstu2_models/examples/json/message-request-link.json +166 -0
  682. data/lib/fhir_dstu2_models/examples/json/message-response-link.json +209 -0
  683. data/lib/fhir_dstu2_models/examples/json/messageheader-example.json +64 -0
  684. data/lib/fhir_dstu2_models/examples/json/messageheader-questionnaire.json +1002 -0
  685. data/lib/fhir_dstu2_models/examples/json/name-use-map-v2.json +124 -0
  686. data/lib/fhir_dstu2_models/examples/json/name-use-map-v3.json +113 -0
  687. data/lib/fhir_dstu2_models/examples/json/namingsystem-example-id.json +61 -0
  688. data/lib/fhir_dstu2_models/examples/json/namingsystem-example-replaced.json +23 -0
  689. data/lib/fhir_dstu2_models/examples/json/namingsystem-example.json +37 -0
  690. data/lib/fhir_dstu2_models/examples/json/namingsystem-questionnaire.json +737 -0
  691. data/lib/fhir_dstu2_models/examples/json/namingsystem-registry.json +2362 -0
  692. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-cardiacdiet.json +145 -0
  693. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-diabeticdiet.json +122 -0
  694. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-diabeticsupplement.json +109 -0
  695. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-energysupplement.json +104 -0
  696. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-enteralbolus.json +136 -0
  697. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-enteralcontinuous.json +118 -0
  698. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-fiberrestricteddiet.json +139 -0
  699. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-infantenteral.json +104 -0
  700. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-proteinsupplement.json +77 -0
  701. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-pureeddiet-simple.json +119 -0
  702. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-pureeddiet.json +131 -0
  703. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-renaldiet.json +152 -0
  704. data/lib/fhir_dstu2_models/examples/json/nutritionorder-example-texture-modified.json +88 -0
  705. data/lib/fhir_dstu2_models/examples/json/nutritionorder-questionnaire.json +1790 -0
  706. data/lib/fhir_dstu2_models/examples/json/obs-genetics-example1-somatic.json +185 -0
  707. data/lib/fhir_dstu2_models/examples/json/obs-genetics-example2-germline.json +142 -0
  708. data/lib/fhir_dstu2_models/examples/json/obs-genetics-example3-mutationlist-1.json +68 -0
  709. data/lib/fhir_dstu2_models/examples/json/obs-genetics-example3-mutationlist-2.json +76 -0
  710. data/lib/fhir_dstu2_models/examples/json/obs-genetics-example3-mutationlist-3.json +72 -0
  711. data/lib/fhir_dstu2_models/examples/json/obs-genetics-example3-mutationlist-4.json +72 -0
  712. data/lib/fhir_dstu2_models/examples/json/obs-genetics-example3-mutationlist.json +86 -0
  713. data/lib/fhir_dstu2_models/examples/json/observation-example-bloodpressure-cancel.json +136 -0
  714. data/lib/fhir_dstu2_models/examples/json/observation-example-bloodpressure.json +122 -0
  715. data/lib/fhir_dstu2_models/examples/json/observation-example-f001-glucose.json +75 -0
  716. data/lib/fhir_dstu2_models/examples/json/observation-example-f002-excess.json +75 -0
  717. data/lib/fhir_dstu2_models/examples/json/observation-example-f003-co2.json +75 -0
  718. data/lib/fhir_dstu2_models/examples/json/observation-example-f004-erythrocyte.json +89 -0
  719. data/lib/fhir_dstu2_models/examples/json/observation-example-f005-hemoglobin.json +74 -0
  720. data/lib/fhir_dstu2_models/examples/json/observation-example-f202-temperature.json +104 -0
  721. data/lib/fhir_dstu2_models/examples/json/observation-example-f203-bicarbonate.json +111 -0
  722. data/lib/fhir_dstu2_models/examples/json/observation-example-f204-creatinine.json +103 -0
  723. data/lib/fhir_dstu2_models/examples/json/observation-example-f205-egfr.json +163 -0
  724. data/lib/fhir_dstu2_models/examples/json/observation-example-f206-staphylococcus.json +69 -0
  725. data/lib/fhir_dstu2_models/examples/json/observation-example-glasgow-qa.json +99 -0
  726. data/lib/fhir_dstu2_models/examples/json/observation-example-glasgow.json +274 -0
  727. data/lib/fhir_dstu2_models/examples/json/observation-example-sample-data.json +187 -0
  728. data/lib/fhir_dstu2_models/examples/json/observation-example-satO2.json +67 -0
  729. data/lib/fhir_dstu2_models/examples/json/observation-example-unsat.json +70 -0
  730. data/lib/fhir_dstu2_models/examples/json/observation-example.json +70 -0
  731. data/lib/fhir_dstu2_models/examples/json/observation-genetics-cg-prf-1a-Observation-amino-acid-change.json +11 -0
  732. data/lib/fhir_dstu2_models/examples/json/observation-genetics-cg-prf-1a-Observation-assessed-condition.json +11 -0
  733. data/lib/fhir_dstu2_models/examples/json/observation-genetics-cg-prf-1a-Observation-chromosome-genomicstart.json +11 -0
  734. data/lib/fhir_dstu2_models/examples/json/observation-genetics-cg-prf-1a-Observation-condition-gene-dnavariant.json +11 -0
  735. data/lib/fhir_dstu2_models/examples/json/observation-genetics-cg-prf-1a-Observation-condition-gene.json +11 -0
  736. data/lib/fhir_dstu2_models/examples/json/observation-genetics-cg-prf-1a-Observation-dna-variant.json +11 -0
  737. data/lib/fhir_dstu2_models/examples/json/observation-genetics-cg-prf-1a-Observation-gene-amino-acid-change.json +11 -0
  738. data/lib/fhir_dstu2_models/examples/json/observation-genetics-cg-prf-1a-Observation-gene-dnavariant.json +11 -0
  739. data/lib/fhir_dstu2_models/examples/json/observation-genetics-cg-prf-1a-Observation-gene-identifier.json +11 -0
  740. data/lib/fhir_dstu2_models/examples/json/observation-questionnaire.json +2268 -0
  741. data/lib/fhir_dstu2_models/examples/json/observation-relationshiptypes-map-v3.json +102 -0
  742. data/lib/fhir_dstu2_models/examples/json/operation-composition-document.json +46 -0
  743. data/lib/fhir_dstu2_models/examples/json/operation-conceptmap-closure.json +66 -0
  744. data/lib/fhir_dstu2_models/examples/json/operation-conceptmap-translate.json +184 -0
  745. data/lib/fhir_dstu2_models/examples/json/operation-encounter-everything.json +43 -0
  746. data/lib/fhir_dstu2_models/examples/json/operation-list-find.json +54 -0
  747. data/lib/fhir_dstu2_models/examples/json/operation-messageheader-process-message.json +67 -0
  748. data/lib/fhir_dstu2_models/examples/json/operation-patient-everything.json +62 -0
  749. data/lib/fhir_dstu2_models/examples/json/operation-questionnaire-populate.json +97 -0
  750. data/lib/fhir_dstu2_models/examples/json/operation-resource-meta-add.json +51 -0
  751. data/lib/fhir_dstu2_models/examples/json/operation-resource-meta-delete.json +51 -0
  752. data/lib/fhir_dstu2_models/examples/json/operation-resource-meta.json +46 -0
  753. data/lib/fhir_dstu2_models/examples/json/operation-resource-validate.json +76 -0
  754. data/lib/fhir_dstu2_models/examples/json/operation-structuredefinition-questionnaire.json +78 -0
  755. data/lib/fhir_dstu2_models/examples/json/operation-valueset-expand.json +110 -0
  756. data/lib/fhir_dstu2_models/examples/json/operation-valueset-lookup.json +143 -0
  757. data/lib/fhir_dstu2_models/examples/json/operation-valueset-validate-code.json +149 -0
  758. data/lib/fhir_dstu2_models/examples/json/operationdefinition-example.json +55 -0
  759. data/lib/fhir_dstu2_models/examples/json/operationdefinition-questionnaire.json +1127 -0
  760. data/lib/fhir_dstu2_models/examples/json/operationoutcome-example-allok.json +17 -0
  761. data/lib/fhir_dstu2_models/examples/json/operationoutcome-example-break-the-glass.json +32 -0
  762. data/lib/fhir_dstu2_models/examples/json/operationoutcome-example-exception.json +17 -0
  763. data/lib/fhir_dstu2_models/examples/json/operationoutcome-example-searchfail.json +20 -0
  764. data/lib/fhir_dstu2_models/examples/json/operationoutcome-example-validationfail.json +20 -0
  765. data/lib/fhir_dstu2_models/examples/json/operationoutcome-example.json +21 -0
  766. data/lib/fhir_dstu2_models/examples/json/operationoutcome-questionnaire.json +349 -0
  767. data/lib/fhir_dstu2_models/examples/json/order-example-f201-physiotherapy.json +42 -0
  768. data/lib/fhir_dstu2_models/examples/json/order-example.json +36 -0
  769. data/lib/fhir_dstu2_models/examples/json/order-questionnaire.json +877 -0
  770. data/lib/fhir_dstu2_models/examples/json/orderresponse-example.json +35 -0
  771. data/lib/fhir_dstu2_models/examples/json/orderresponse-questionnaire.json +458 -0
  772. data/lib/fhir_dstu2_models/examples/json/organization-example-f001-burgers.json +106 -0
  773. data/lib/fhir_dstu2_models/examples/json/organization-example-f002-burgers-card.json +69 -0
  774. data/lib/fhir_dstu2_models/examples/json/organization-example-f003-burgers-ENT.json +69 -0
  775. data/lib/fhir_dstu2_models/examples/json/organization-example-f201-aumc.json +123 -0
  776. data/lib/fhir_dstu2_models/examples/json/organization-example-f203-bumc.json +78 -0
  777. data/lib/fhir_dstu2_models/examples/json/organization-example-gastro.json +34 -0
  778. data/lib/fhir_dstu2_models/examples/json/organization-example-good-health-care.json +15 -0
  779. data/lib/fhir_dstu2_models/examples/json/organization-example-insurer.json +15 -0
  780. data/lib/fhir_dstu2_models/examples/json/organization-example-lab.json +30 -0
  781. data/lib/fhir_dstu2_models/examples/json/organization-example.json +43 -0
  782. data/lib/fhir_dstu2_models/examples/json/organization-extensions-Organization-alias.json +12 -0
  783. data/lib/fhir_dstu2_models/examples/json/organization-questionnaire.json +653 -0
  784. data/lib/fhir_dstu2_models/examples/json/parameters-example.json +18 -0
  785. data/lib/fhir_dstu2_models/examples/json/patient-example-a.json +72 -0
  786. data/lib/fhir_dstu2_models/examples/json/patient-example-animal.json +106 -0
  787. data/lib/fhir_dstu2_models/examples/json/patient-example-b.json +71 -0
  788. data/lib/fhir_dstu2_models/examples/json/patient-example-c.json +42 -0
  789. data/lib/fhir_dstu2_models/examples/json/patient-example-d.json +42 -0
  790. data/lib/fhir_dstu2_models/examples/json/patient-example-dicom.json +60 -0
  791. data/lib/fhir_dstu2_models/examples/json/patient-example-f001-pieter.json +136 -0
  792. data/lib/fhir_dstu2_models/examples/json/patient-example-f201-roel.json +205 -0
  793. data/lib/fhir_dstu2_models/examples/json/patient-example-ihe-pcd.json +33 -0
  794. data/lib/fhir_dstu2_models/examples/json/patient-example-proband.json +44 -0
  795. data/lib/fhir_dstu2_models/examples/json/patient-example-us-extensions.json +83 -0
  796. data/lib/fhir_dstu2_models/examples/json/patient-example-xcda.json +40 -0
  797. data/lib/fhir_dstu2_models/examples/json/patient-example-xds.json +50 -0
  798. data/lib/fhir_dstu2_models/examples/json/patient-example.json +154 -0
  799. data/lib/fhir_dstu2_models/examples/json/patient-examples-general.json +736 -0
  800. data/lib/fhir_dstu2_models/examples/json/patient-extensions-Patient-age.json +12 -0
  801. data/lib/fhir_dstu2_models/examples/json/patient-extensions-Patient-birthOrderBoolean.json +12 -0
  802. data/lib/fhir_dstu2_models/examples/json/patient-extensions-Patient-city.json +12 -0
  803. data/lib/fhir_dstu2_models/examples/json/patient-extensions-Patient-country.json +12 -0
  804. data/lib/fhir_dstu2_models/examples/json/patient-extensions-Patient-mothersMaidenName.json +11 -0
  805. data/lib/fhir_dstu2_models/examples/json/patient-extensions-Patient-postalCode.json +12 -0
  806. data/lib/fhir_dstu2_models/examples/json/patient-extensions-Patient-state.json +12 -0
  807. data/lib/fhir_dstu2_models/examples/json/patient-glossy-example.json +54 -0
  808. data/lib/fhir_dstu2_models/examples/json/patient-mpi-search.json +56 -0
  809. data/lib/fhir_dstu2_models/examples/json/patient-questionnaire.json +1482 -0
  810. data/lib/fhir_dstu2_models/examples/json/paymentnotice-example.json +25 -0
  811. data/lib/fhir_dstu2_models/examples/json/paymentnotice-questionnaire.json +443 -0
  812. data/lib/fhir_dstu2_models/examples/json/paymentreconciliation-example.json +75 -0
  813. data/lib/fhir_dstu2_models/examples/json/paymentreconciliation-questionnaire.json +939 -0
  814. data/lib/fhir_dstu2_models/examples/json/person-example-f002-ariadne.json +56 -0
  815. data/lib/fhir_dstu2_models/examples/json/person-example.json +99 -0
  816. data/lib/fhir_dstu2_models/examples/json/person-grahame.json +88 -0
  817. data/lib/fhir_dstu2_models/examples/json/person-patient-portal.json +84 -0
  818. data/lib/fhir_dstu2_models/examples/json/person-provider-directory.json +74 -0
  819. data/lib/fhir_dstu2_models/examples/json/person-questionnaire.json +704 -0
  820. data/lib/fhir_dstu2_models/examples/json/practitioner-example-f001-evdb.json +115 -0
  821. data/lib/fhir_dstu2_models/examples/json/practitioner-example-f002-pv.json +115 -0
  822. data/lib/fhir_dstu2_models/examples/json/practitioner-example-f003-mv.json +131 -0
  823. data/lib/fhir_dstu2_models/examples/json/practitioner-example-f004-rb.json +132 -0
  824. data/lib/fhir_dstu2_models/examples/json/practitioner-example-f005-al.json +147 -0
  825. data/lib/fhir_dstu2_models/examples/json/practitioner-example-f006-rvdb.json +115 -0
  826. data/lib/fhir_dstu2_models/examples/json/practitioner-example-f007-sh.json +115 -0
  827. data/lib/fhir_dstu2_models/examples/json/practitioner-example-f201-ab.json +127 -0
  828. data/lib/fhir_dstu2_models/examples/json/practitioner-example-f202-lm.json +125 -0
  829. data/lib/fhir_dstu2_models/examples/json/practitioner-example-f203-jvg.json +115 -0
  830. data/lib/fhir_dstu2_models/examples/json/practitioner-example-f204-ce.json +81 -0
  831. data/lib/fhir_dstu2_models/examples/json/practitioner-example-xcda-author.json +19 -0
  832. data/lib/fhir_dstu2_models/examples/json/practitioner-example-xcda1.json +44 -0
  833. data/lib/fhir_dstu2_models/examples/json/practitioner-example.json +78 -0
  834. data/lib/fhir_dstu2_models/examples/json/practitioner-examples-general.json +3490 -0
  835. data/lib/fhir_dstu2_models/examples/json/practitioner-questionnaire.json +906 -0
  836. data/lib/fhir_dstu2_models/examples/json/procedure-example-biopsy.json +56 -0
  837. data/lib/fhir_dstu2_models/examples/json/procedure-example-f001-heart.json +80 -0
  838. data/lib/fhir_dstu2_models/examples/json/procedure-example-f002-lung.json +80 -0
  839. data/lib/fhir_dstu2_models/examples/json/procedure-example-f003-abscess.json +80 -0
  840. data/lib/fhir_dstu2_models/examples/json/procedure-example-f004-tracheotomy.json +80 -0
  841. data/lib/fhir_dstu2_models/examples/json/procedure-example-f201-tpf.json +75 -0
  842. data/lib/fhir_dstu2_models/examples/json/procedure-example-implant.json +59 -0
  843. data/lib/fhir_dstu2_models/examples/json/procedure-example.json +44 -0
  844. data/lib/fhir_dstu2_models/examples/json/procedure-questionnaire.json +1520 -0
  845. data/lib/fhir_dstu2_models/examples/json/procedure-status-map-v3.json +80 -0
  846. data/lib/fhir_dstu2_models/examples/json/procedurerequest-example.json +23 -0
  847. data/lib/fhir_dstu2_models/examples/json/procedurerequest-questionnaire.json +1125 -0
  848. data/lib/fhir_dstu2_models/examples/json/processrequest-example-poll-eob.json +19 -0
  849. data/lib/fhir_dstu2_models/examples/json/processrequest-example-poll-exclusive.json +23 -0
  850. data/lib/fhir_dstu2_models/examples/json/processrequest-example-poll-inclusive.json +22 -0
  851. data/lib/fhir_dstu2_models/examples/json/processrequest-example-poll-payrec.json +26 -0
  852. data/lib/fhir_dstu2_models/examples/json/processrequest-example-poll-specific.json +22 -0
  853. data/lib/fhir_dstu2_models/examples/json/processrequest-example-reprocess.json +28 -0
  854. data/lib/fhir_dstu2_models/examples/json/processrequest-example-reverse.json +23 -0
  855. data/lib/fhir_dstu2_models/examples/json/processrequest-example-status.json +25 -0
  856. data/lib/fhir_dstu2_models/examples/json/processrequest-example.json +19 -0
  857. data/lib/fhir_dstu2_models/examples/json/processrequest-questionnaire.json +657 -0
  858. data/lib/fhir_dstu2_models/examples/json/processresponse-example.json +29 -0
  859. data/lib/fhir_dstu2_models/examples/json/processresponse-questionnaire.json +595 -0
  860. data/lib/fhir_dstu2_models/examples/json/provenance-example-sig.json +78 -0
  861. data/lib/fhir_dstu2_models/examples/json/provenance-example.json +103 -0
  862. data/lib/fhir_dstu2_models/examples/json/provenance-questionnaire.json +976 -0
  863. data/lib/fhir_dstu2_models/examples/json/questionnaire-example-bluebook.json +109 -0
  864. data/lib/fhir_dstu2_models/examples/json/questionnaire-example-f201-lifelines.json +86 -0
  865. data/lib/fhir_dstu2_models/examples/json/questionnaire-example-gcs.json +200 -0
  866. data/lib/fhir_dstu2_models/examples/json/questionnaire-example.json +205 -0
  867. data/lib/fhir_dstu2_models/examples/json/questionnaire-extensions-Questionnaire-category.json +12 -0
  868. data/lib/fhir_dstu2_models/examples/json/questionnaire-extensions-Questionnaire-deReference.json +12 -0
  869. data/lib/fhir_dstu2_models/examples/json/questionnaire-questionnaire.json +847 -0
  870. data/lib/fhir_dstu2_models/examples/json/questionnaireresponse-example-bluebook.json +164 -0
  871. data/lib/fhir_dstu2_models/examples/json/questionnaireresponse-example-f201-lifelines.json +123 -0
  872. data/lib/fhir_dstu2_models/examples/json/questionnaireresponse-example-gcs.json +122 -0
  873. data/lib/fhir_dstu2_models/examples/json/questionnaireresponse-example.json +153 -0
  874. data/lib/fhir_dstu2_models/examples/json/questionnaireresponse-questionnaire.json +1345 -0
  875. data/lib/fhir_dstu2_models/examples/json/referralrequest-example.json +82 -0
  876. data/lib/fhir_dstu2_models/examples/json/referralrequest-questionnaire.json +800 -0
  877. data/lib/fhir_dstu2_models/examples/json/relatedperson-example-f001-sarah.json +53 -0
  878. data/lib/fhir_dstu2_models/examples/json/relatedperson-example-f002-ariadne.json +61 -0
  879. data/lib/fhir_dstu2_models/examples/json/relatedperson-example-peter.json +57 -0
  880. data/lib/fhir_dstu2_models/examples/json/relatedperson-example.json +79 -0
  881. data/lib/fhir_dstu2_models/examples/json/relatedperson-questionnaire.json +500 -0
  882. data/lib/fhir_dstu2_models/examples/json/riskassessment-example-cardiac.json +45 -0
  883. data/lib/fhir_dstu2_models/examples/json/riskassessment-example-population.json +8 -0
  884. data/lib/fhir_dstu2_models/examples/json/riskassessment-example-prognosis.json +35 -0
  885. data/lib/fhir_dstu2_models/examples/json/riskassessment-example.json +177 -0
  886. data/lib/fhir_dstu2_models/examples/json/riskassessment-questionnaire.json +945 -0
  887. data/lib/fhir_dstu2_models/examples/json/schedule-example.json +34 -0
  888. data/lib/fhir_dstu2_models/examples/json/schedule-questionnaire.json +500 -0
  889. data/lib/fhir_dstu2_models/examples/json/searchparameter-example-extension.json +30 -0
  890. data/lib/fhir_dstu2_models/examples/json/searchparameter-example.json +40 -0
  891. data/lib/fhir_dstu2_models/examples/json/searchparameter-questionnaire.json +621 -0
  892. data/lib/fhir_dstu2_models/examples/json/shareablevalueset-questionnaire.json +2194 -0
  893. data/lib/fhir_dstu2_models/examples/json/slot-example-busy.json +30 -0
  894. data/lib/fhir_dstu2_models/examples/json/slot-example-tentative.json +23 -0
  895. data/lib/fhir_dstu2_models/examples/json/slot-example-unavailable.json +23 -0
  896. data/lib/fhir_dstu2_models/examples/json/slot-example.json +23 -0
  897. data/lib/fhir_dstu2_models/examples/json/slot-questionnaire.json +379 -0
  898. data/lib/fhir_dstu2_models/examples/json/specimen-example-isolate.json +121 -0
  899. data/lib/fhir_dstu2_models/examples/json/specimen-example-urine.json +75 -0
  900. data/lib/fhir_dstu2_models/examples/json/specimen-example.json +136 -0
  901. data/lib/fhir_dstu2_models/examples/json/specimen-questionnaire.json +1339 -0
  902. data/lib/fhir_dstu2_models/examples/json/structuredefinition-example.json +522 -0
  903. data/lib/fhir_dstu2_models/examples/json/structuredefinition-questionnaire.json +1117 -0
  904. data/lib/fhir_dstu2_models/examples/json/subscription-example-error.json +36 -0
  905. data/lib/fhir_dstu2_models/examples/json/subscription-example.json +30 -0
  906. data/lib/fhir_dstu2_models/examples/json/subscription-questionnaire.json +499 -0
  907. data/lib/fhir_dstu2_models/examples/json/substance-example-amoxicillin-clavulanate.json +97 -0
  908. data/lib/fhir_dstu2_models/examples/json/substance-example-f201-dust.json +17 -0
  909. data/lib/fhir_dstu2_models/examples/json/substance-example-f202-staphylococcus.json +17 -0
  910. data/lib/fhir_dstu2_models/examples/json/substance-example-f203-potassium.json +34 -0
  911. data/lib/fhir_dstu2_models/examples/json/substance-example-silver-nitrate-product.json +50 -0
  912. data/lib/fhir_dstu2_models/examples/json/substance-example.json +31 -0
  913. data/lib/fhir_dstu2_models/examples/json/substance-questionnaire.json +594 -0
  914. data/lib/fhir_dstu2_models/examples/json/supplydelivery-example.json +8 -0
  915. data/lib/fhir_dstu2_models/examples/json/supplydelivery-questionnaire.json +610 -0
  916. data/lib/fhir_dstu2_models/examples/json/supplyrequest-example.json +8 -0
  917. data/lib/fhir_dstu2_models/examples/json/supplyrequest-questionnaire.json +837 -0
  918. data/lib/fhir_dstu2_models/examples/json/testscript-example-multiserver.json +340 -0
  919. data/lib/fhir_dstu2_models/examples/json/testscript-example.json +184 -0
  920. data/lib/fhir_dstu2_models/examples/json/testscript-history.json +124 -0
  921. data/lib/fhir_dstu2_models/examples/json/testscript-readtest.json +165 -0
  922. data/lib/fhir_dstu2_models/examples/json/testscript-search.json +294 -0
  923. data/lib/fhir_dstu2_models/examples/json/testscript-update.json +118 -0
  924. data/lib/fhir_dstu2_models/examples/json/triglyceride-questionnaire.json +1993 -0
  925. data/lib/fhir_dstu2_models/examples/json/us-core-Patient-ethnicity.json +12 -0
  926. data/lib/fhir_dstu2_models/examples/json/us-core-Patient-race.json +12 -0
  927. data/lib/fhir_dstu2_models/examples/json/valueset-account-status.json +65 -0
  928. data/lib/fhir_dstu2_models/examples/json/valueset-actionlist.json +75 -0
  929. data/lib/fhir_dstu2_models/examples/json/valueset-activity-reason.json +58 -0
  930. data/lib/fhir_dstu2_models/examples/json/valueset-additionalmaterials.json +82 -0
  931. data/lib/fhir_dstu2_models/examples/json/valueset-address-type.json +70 -0
  932. data/lib/fhir_dstu2_models/examples/json/valueset-address-use.json +75 -0
  933. data/lib/fhir_dstu2_models/examples/json/valueset-adjudication-error.json +60 -0
  934. data/lib/fhir_dstu2_models/examples/json/valueset-adjudication.json +72 -0
  935. data/lib/fhir_dstu2_models/examples/json/valueset-adjustment-reason.json +60 -0
  936. data/lib/fhir_dstu2_models/examples/json/valueset-administrative-gender.json +99 -0
  937. data/lib/fhir_dstu2_models/examples/json/valueset-age-units.json +111 -0
  938. data/lib/fhir_dstu2_models/examples/json/valueset-allergy-intolerance-category.json +75 -0
  939. data/lib/fhir_dstu2_models/examples/json/valueset-allergy-intolerance-criticality.json +70 -0
  940. data/lib/fhir_dstu2_models/examples/json/valueset-allergy-intolerance-status.json +94 -0
  941. data/lib/fhir_dstu2_models/examples/json/valueset-allergy-intolerance-type.json +65 -0
  942. data/lib/fhir_dstu2_models/examples/json/valueset-allergyintolerance-substance-code.json +67 -0
  943. data/lib/fhir_dstu2_models/examples/json/valueset-animal-breeds.json +90 -0
  944. data/lib/fhir_dstu2_models/examples/json/valueset-animal-genderstatus.json +83 -0
  945. data/lib/fhir_dstu2_models/examples/json/valueset-animal-species.json +65 -0
  946. data/lib/fhir_dstu2_models/examples/json/valueset-answer-format.json +130 -0
  947. data/lib/fhir_dstu2_models/examples/json/valueset-appointmentstatus.json +90 -0
  948. data/lib/fhir_dstu2_models/examples/json/valueset-approach-site-codes.json +58 -0
  949. data/lib/fhir_dstu2_models/examples/json/valueset-assert-direction-codes.json +65 -0
  950. data/lib/fhir_dstu2_models/examples/json/valueset-assert-operator-codes.json +105 -0
  951. data/lib/fhir_dstu2_models/examples/json/valueset-assert-response-code-types.json +115 -0
  952. data/lib/fhir_dstu2_models/examples/json/valueset-audit-event-action.json +80 -0
  953. data/lib/fhir_dstu2_models/examples/json/valueset-audit-event-outcome.json +75 -0
  954. data/lib/fhir_dstu2_models/examples/json/valueset-audit-event-sub-type.json +127 -0
  955. data/lib/fhir_dstu2_models/examples/json/valueset-audit-event-type.json +114 -0
  956. data/lib/fhir_dstu2_models/examples/json/valueset-audit-source-type.json +99 -0
  957. data/lib/fhir_dstu2_models/examples/json/valueset-basic-resource-type.json +130 -0
  958. data/lib/fhir_dstu2_models/examples/json/valueset-binding-strength.json +75 -0
  959. data/lib/fhir_dstu2_models/examples/json/valueset-body-site.json +53 -0
  960. data/lib/fhir_dstu2_models/examples/json/valueset-bodysite-laterality.json +63 -0
  961. data/lib/fhir_dstu2_models/examples/json/valueset-bodysite-relative-location.json +99 -0
  962. data/lib/fhir_dstu2_models/examples/json/valueset-bundle-type.json +100 -0
  963. data/lib/fhir_dstu2_models/examples/json/valueset-c80-doc-classcodes.json +236 -0
  964. data/lib/fhir_dstu2_models/examples/json/valueset-c80-facilitycodes.json +372 -0
  965. data/lib/fhir_dstu2_models/examples/json/valueset-c80-practice-codes.json +524 -0
  966. data/lib/fhir_dstu2_models/examples/json/valueset-care-plan-activity-category.json +94 -0
  967. data/lib/fhir_dstu2_models/examples/json/valueset-care-plan-activity-status.json +85 -0
  968. data/lib/fhir_dstu2_models/examples/json/valueset-care-plan-activity.json +62 -0
  969. data/lib/fhir_dstu2_models/examples/json/valueset-care-plan-category.json +58 -0
  970. data/lib/fhir_dstu2_models/examples/json/valueset-care-plan-relationship.json +70 -0
  971. data/lib/fhir_dstu2_models/examples/json/valueset-care-plan-status.json +80 -0
  972. data/lib/fhir_dstu2_models/examples/json/valueset-choice-list-orientation.json +65 -0
  973. data/lib/fhir_dstu2_models/examples/json/valueset-claim-exception.json +71 -0
  974. data/lib/fhir_dstu2_models/examples/json/valueset-claim-modifiers.json +101 -0
  975. data/lib/fhir_dstu2_models/examples/json/valueset-claim-type-link.json +80 -0
  976. data/lib/fhir_dstu2_models/examples/json/valueset-claim-use-link.json +75 -0
  977. data/lib/fhir_dstu2_models/examples/json/valueset-classification-or-context.json +65 -0
  978. data/lib/fhir_dstu2_models/examples/json/valueset-clinical-findings.json +53 -0
  979. data/lib/fhir_dstu2_models/examples/json/valueset-clinical-impression-status.json +70 -0
  980. data/lib/fhir_dstu2_models/examples/json/valueset-communication-request-status.json +105 -0
  981. data/lib/fhir_dstu2_models/examples/json/valueset-communication-status.json +80 -0
  982. data/lib/fhir_dstu2_models/examples/json/valueset-composition-attestation-mode.json +75 -0
  983. data/lib/fhir_dstu2_models/examples/json/valueset-composition-status.json +75 -0
  984. data/lib/fhir_dstu2_models/examples/json/valueset-concept-map-equivalence.json +104 -0
  985. data/lib/fhir_dstu2_models/examples/json/valueset-condition-category.json +70 -0
  986. data/lib/fhir_dstu2_models/examples/json/valueset-condition-cause.json +46 -0
  987. data/lib/fhir_dstu2_models/examples/json/valueset-condition-clinical.json +70 -0
  988. data/lib/fhir_dstu2_models/examples/json/valueset-condition-code.json +58 -0
  989. data/lib/fhir_dstu2_models/examples/json/valueset-condition-outcome.json +58 -0
  990. data/lib/fhir_dstu2_models/examples/json/valueset-condition-predecessor.json +46 -0
  991. data/lib/fhir_dstu2_models/examples/json/valueset-condition-severity.json +60 -0
  992. data/lib/fhir_dstu2_models/examples/json/valueset-condition-stage.json +58 -0
  993. data/lib/fhir_dstu2_models/examples/json/valueset-condition-state.json +70 -0
  994. data/lib/fhir_dstu2_models/examples/json/valueset-condition-ver-status.json +85 -0
  995. data/lib/fhir_dstu2_models/examples/json/valueset-conditional-delete-status.json +70 -0
  996. data/lib/fhir_dstu2_models/examples/json/valueset-conformance-expectation.json +75 -0
  997. data/lib/fhir_dstu2_models/examples/json/valueset-conformance-resource-status.json +100 -0
  998. data/lib/fhir_dstu2_models/examples/json/valueset-conformance-statement-kind.json +76 -0
  999. data/lib/fhir_dstu2_models/examples/json/valueset-consistency-type.json +67 -0
  1000. data/lib/fhir_dstu2_models/examples/json/valueset-constraint-severity.json +65 -0
  1001. data/lib/fhir_dstu2_models/examples/json/valueset-contact-point-system.json +80 -0
  1002. data/lib/fhir_dstu2_models/examples/json/valueset-contact-point-use.json +80 -0
  1003. data/lib/fhir_dstu2_models/examples/json/valueset-contactentity-type.json +80 -0
  1004. data/lib/fhir_dstu2_models/examples/json/valueset-content-type.json +65 -0
  1005. data/lib/fhir_dstu2_models/examples/json/valueset-contract-action.json +57 -0
  1006. data/lib/fhir_dstu2_models/examples/json/valueset-contract-actorrole.json +59 -0
  1007. data/lib/fhir_dstu2_models/examples/json/valueset-contract-signer-type.json +136 -0
  1008. data/lib/fhir_dstu2_models/examples/json/valueset-contract-subtype.json +57 -0
  1009. data/lib/fhir_dstu2_models/examples/json/valueset-contract-term-subtype.json +60 -0
  1010. data/lib/fhir_dstu2_models/examples/json/valueset-contract-term-type.json +57 -0
  1011. data/lib/fhir_dstu2_models/examples/json/valueset-contract-type.json +57 -0
  1012. data/lib/fhir_dstu2_models/examples/json/valueset-cpt-all.json +22 -0
  1013. data/lib/fhir_dstu2_models/examples/json/valueset-data-absent-reason.json +120 -0
  1014. data/lib/fhir_dstu2_models/examples/json/valueset-data-types.json +285 -0
  1015. data/lib/fhir_dstu2_models/examples/json/valueset-dataelement-sdcobjectclass.json +57 -0
  1016. data/lib/fhir_dstu2_models/examples/json/valueset-dataelement-sdcobjectclassproperty.json +57 -0
  1017. data/lib/fhir_dstu2_models/examples/json/valueset-dataelement-stringency.json +89 -0
  1018. data/lib/fhir_dstu2_models/examples/json/valueset-days-of-week.json +90 -0
  1019. data/lib/fhir_dstu2_models/examples/json/valueset-defined-types.json +52 -0
  1020. data/lib/fhir_dstu2_models/examples/json/valueset-designation-use.json +66 -0
  1021. data/lib/fhir_dstu2_models/examples/json/valueset-detectedissue-category.json +62 -0
  1022. data/lib/fhir_dstu2_models/examples/json/valueset-detectedissue-mitigation-action.json +52 -0
  1023. data/lib/fhir_dstu2_models/examples/json/valueset-detectedissue-severity.json +70 -0
  1024. data/lib/fhir_dstu2_models/examples/json/valueset-device-action.json +68 -0
  1025. data/lib/fhir_dstu2_models/examples/json/valueset-device-use-request-priority.json +75 -0
  1026. data/lib/fhir_dstu2_models/examples/json/valueset-device-use-request-status.json +105 -0
  1027. data/lib/fhir_dstu2_models/examples/json/valueset-devicestatus.json +70 -0
  1028. data/lib/fhir_dstu2_models/examples/json/valueset-diagnostic-order-event.json +57 -0
  1029. data/lib/fhir_dstu2_models/examples/json/valueset-diagnostic-order-priority.json +75 -0
  1030. data/lib/fhir_dstu2_models/examples/json/valueset-diagnostic-order-status.json +120 -0
  1031. data/lib/fhir_dstu2_models/examples/json/valueset-diagnostic-report-status.json +90 -0
  1032. data/lib/fhir_dstu2_models/examples/json/valueset-diagnostic-requests.json +66 -0
  1033. data/lib/fhir_dstu2_models/examples/json/valueset-diagnostic-service-sections.json +50 -0
  1034. data/lib/fhir_dstu2_models/examples/json/valueset-dicm-402-roleid.json +70 -0
  1035. data/lib/fhir_dstu2_models/examples/json/valueset-dicm-405-mediatype.json +82 -0
  1036. data/lib/fhir_dstu2_models/examples/json/valueset-dicom-cid29.json +198 -0
  1037. data/lib/fhir_dstu2_models/examples/json/valueset-diet-type.json +58 -0
  1038. data/lib/fhir_dstu2_models/examples/json/valueset-digital-media-subtype.json +116 -0
  1039. data/lib/fhir_dstu2_models/examples/json/valueset-digital-media-type.json +70 -0
  1040. data/lib/fhir_dstu2_models/examples/json/valueset-doc-classcodes.json +180 -0
  1041. data/lib/fhir_dstu2_models/examples/json/valueset-doc-section-codes.json +219 -0
  1042. data/lib/fhir_dstu2_models/examples/json/valueset-doc-typecodes.json +53 -0
  1043. data/lib/fhir_dstu2_models/examples/json/valueset-document-mode.json +65 -0
  1044. data/lib/fhir_dstu2_models/examples/json/valueset-document-reference-status.json +70 -0
  1045. data/lib/fhir_dstu2_models/examples/json/valueset-document-relationship-type.json +75 -0
  1046. data/lib/fhir_dstu2_models/examples/json/valueset-encounter-admit-source.json +90 -0
  1047. data/lib/fhir_dstu2_models/examples/json/valueset-encounter-class.json +100 -0
  1048. data/lib/fhir_dstu2_models/examples/json/valueset-encounter-diet.json +85 -0
  1049. data/lib/fhir_dstu2_models/examples/json/valueset-encounter-discharge-disposition.json +86 -0
  1050. data/lib/fhir_dstu2_models/examples/json/valueset-encounter-location-status.json +75 -0
  1051. data/lib/fhir_dstu2_models/examples/json/valueset-encounter-participant-type.json +98 -0
  1052. data/lib/fhir_dstu2_models/examples/json/valueset-encounter-priority.json +75 -0
  1053. data/lib/fhir_dstu2_models/examples/json/valueset-encounter-reason.json +63 -0
  1054. data/lib/fhir_dstu2_models/examples/json/valueset-encounter-special-arrangements.json +70 -0
  1055. data/lib/fhir_dstu2_models/examples/json/valueset-encounter-special-courtesy.json +70 -0
  1056. data/lib/fhir_dstu2_models/examples/json/valueset-encounter-state.json +85 -0
  1057. data/lib/fhir_dstu2_models/examples/json/valueset-encounter-type.json +66 -0
  1058. data/lib/fhir_dstu2_models/examples/json/valueset-enteral-route.json +74 -0
  1059. data/lib/fhir_dstu2_models/examples/json/valueset-entformula-additive.json +75 -0
  1060. data/lib/fhir_dstu2_models/examples/json/valueset-entformula-type.json +193 -0
  1061. data/lib/fhir_dstu2_models/examples/json/valueset-episode-of-care-status.json +85 -0
  1062. data/lib/fhir_dstu2_models/examples/json/valueset-event-timing.json +177 -0
  1063. data/lib/fhir_dstu2_models/examples/json/valueset-example-expansion.json +177 -0
  1064. data/lib/fhir_dstu2_models/examples/json/valueset-example-inline.json +124 -0
  1065. data/lib/fhir_dstu2_models/examples/json/valueset-example-intensional.json +89 -0
  1066. data/lib/fhir_dstu2_models/examples/json/valueset-example-yesnodontknow.json +49 -0
  1067. data/lib/fhir_dstu2_models/examples/json/valueset-example.json +102 -0
  1068. data/lib/fhir_dstu2_models/examples/json/valueset-extension-context.json +75 -0
  1069. data/lib/fhir_dstu2_models/examples/json/valueset-extensions-ValueSet-author.json +12 -0
  1070. data/lib/fhir_dstu2_models/examples/json/valueset-extensions-ValueSet-effective.json +12 -0
  1071. data/lib/fhir_dstu2_models/examples/json/valueset-extensions-ValueSet-end.json +12 -0
  1072. data/lib/fhir_dstu2_models/examples/json/valueset-extensions-ValueSet-keyword.json +12 -0
  1073. data/lib/fhir_dstu2_models/examples/json/valueset-extensions-ValueSet-workflow.json +12 -0
  1074. data/lib/fhir_dstu2_models/examples/json/valueset-filter-operator.json +85 -0
  1075. data/lib/fhir_dstu2_models/examples/json/valueset-flag-category.json +75 -0
  1076. data/lib/fhir_dstu2_models/examples/json/valueset-flag-code.json +58 -0
  1077. data/lib/fhir_dstu2_models/examples/json/valueset-flag-priority.json +70 -0
  1078. data/lib/fhir_dstu2_models/examples/json/valueset-flag-status.json +70 -0
  1079. data/lib/fhir_dstu2_models/examples/json/valueset-fm-conditions.json +61 -0
  1080. data/lib/fhir_dstu2_models/examples/json/valueset-focal-subject.json +75 -0
  1081. data/lib/fhir_dstu2_models/examples/json/valueset-food-type.json +58 -0
  1082. data/lib/fhir_dstu2_models/examples/json/valueset-formatcodes.json +368 -0
  1083. data/lib/fhir_dstu2_models/examples/json/valueset-forms.json +60 -0
  1084. data/lib/fhir_dstu2_models/examples/json/valueset-fundsreserve.json +60 -0
  1085. data/lib/fhir_dstu2_models/examples/json/valueset-goal-acceptance-status.json +70 -0
  1086. data/lib/fhir_dstu2_models/examples/json/valueset-goal-category.json +75 -0
  1087. data/lib/fhir_dstu2_models/examples/json/valueset-goal-priority.json +65 -0
  1088. data/lib/fhir_dstu2_models/examples/json/valueset-goal-relationship-type.json +80 -0
  1089. data/lib/fhir_dstu2_models/examples/json/valueset-goal-start-event.json +64 -0
  1090. data/lib/fhir_dstu2_models/examples/json/valueset-goal-status-reason.json +70 -0
  1091. data/lib/fhir_dstu2_models/examples/json/valueset-goal-status.json +100 -0
  1092. data/lib/fhir_dstu2_models/examples/json/valueset-group-type.json +85 -0
  1093. data/lib/fhir_dstu2_models/examples/json/valueset-guide-dependency-type.json +65 -0
  1094. data/lib/fhir_dstu2_models/examples/json/valueset-guide-page-kind.json +97 -0
  1095. data/lib/fhir_dstu2_models/examples/json/valueset-guide-resource-purpose.json +85 -0
  1096. data/lib/fhir_dstu2_models/examples/json/valueset-history-status.json +75 -0
  1097. data/lib/fhir_dstu2_models/examples/json/valueset-http-verb.json +75 -0
  1098. data/lib/fhir_dstu2_models/examples/json/valueset-icd-10.json +76 -0
  1099. data/lib/fhir_dstu2_models/examples/json/valueset-identifier-type.json +126 -0
  1100. data/lib/fhir_dstu2_models/examples/json/valueset-identifier-use.json +75 -0
  1101. data/lib/fhir_dstu2_models/examples/json/valueset-identity-assuranceLevel.json +75 -0
  1102. data/lib/fhir_dstu2_models/examples/json/valueset-immunization-reason.json +54 -0
  1103. data/lib/fhir_dstu2_models/examples/json/valueset-immunization-recommendation-date-criterion.json +75 -0
  1104. data/lib/fhir_dstu2_models/examples/json/valueset-immunization-recommendation-status.json +60 -0
  1105. data/lib/fhir_dstu2_models/examples/json/valueset-immunization-route.json +56 -0
  1106. data/lib/fhir_dstu2_models/examples/json/valueset-immunization-site.json +55 -0
  1107. data/lib/fhir_dstu2_models/examples/json/valueset-instance-availability.json +88 -0
  1108. data/lib/fhir_dstu2_models/examples/json/valueset-intervention.json +71 -0
  1109. data/lib/fhir_dstu2_models/examples/json/valueset-investigation-sets.json +59 -0
  1110. data/lib/fhir_dstu2_models/examples/json/valueset-issue-severity.json +75 -0
  1111. data/lib/fhir_dstu2_models/examples/json/valueset-issue-type.json +208 -0
  1112. data/lib/fhir_dstu2_models/examples/json/valueset-kos-title.json +277 -0
  1113. data/lib/fhir_dstu2_models/examples/json/valueset-ldlcholesterol-codes.json +84 -0
  1114. data/lib/fhir_dstu2_models/examples/json/valueset-link-type.json +88 -0
  1115. data/lib/fhir_dstu2_models/examples/json/valueset-list-empty-reason.json +92 -0
  1116. data/lib/fhir_dstu2_models/examples/json/valueset-list-example-codes.json +95 -0
  1117. data/lib/fhir_dstu2_models/examples/json/valueset-list-item-flag.json +81 -0
  1118. data/lib/fhir_dstu2_models/examples/json/valueset-list-mode.json +70 -0
  1119. data/lib/fhir_dstu2_models/examples/json/valueset-list-order.json +90 -0
  1120. data/lib/fhir_dstu2_models/examples/json/valueset-list-status.json +70 -0
  1121. data/lib/fhir_dstu2_models/examples/json/valueset-location-mode.json +65 -0
  1122. data/lib/fhir_dstu2_models/examples/json/valueset-location-physical-type.json +110 -0
  1123. data/lib/fhir_dstu2_models/examples/json/valueset-location-status.json +70 -0
  1124. data/lib/fhir_dstu2_models/examples/json/valueset-manifestation-codes.json +58 -0
  1125. data/lib/fhir_dstu2_models/examples/json/valueset-manifestation-or-symptom.json +58 -0
  1126. data/lib/fhir_dstu2_models/examples/json/valueset-marital-status.json +104 -0
  1127. data/lib/fhir_dstu2_models/examples/json/valueset-measurement-principle.json +110 -0
  1128. data/lib/fhir_dstu2_models/examples/json/valueset-media-view.json +58 -0
  1129. data/lib/fhir_dstu2_models/examples/json/valueset-medication-admin-status.json +80 -0
  1130. data/lib/fhir_dstu2_models/examples/json/valueset-medication-codes.json +58 -0
  1131. data/lib/fhir_dstu2_models/examples/json/valueset-medication-dispense-status.json +80 -0
  1132. data/lib/fhir_dstu2_models/examples/json/valueset-medication-form-codes.json +58 -0
  1133. data/lib/fhir_dstu2_models/examples/json/valueset-medication-order-status.json +85 -0
  1134. data/lib/fhir_dstu2_models/examples/json/valueset-medication-package-form-codes.json +58 -0
  1135. data/lib/fhir_dstu2_models/examples/json/valueset-medication-statement-status.json +75 -0
  1136. data/lib/fhir_dstu2_models/examples/json/valueset-message-conformance-event-mode.json +65 -0
  1137. data/lib/fhir_dstu2_models/examples/json/valueset-message-events.json +105 -0
  1138. data/lib/fhir_dstu2_models/examples/json/valueset-message-reason-encounter.json +80 -0
  1139. data/lib/fhir_dstu2_models/examples/json/valueset-message-significance-category.json +70 -0
  1140. data/lib/fhir_dstu2_models/examples/json/valueset-message-transport.json +70 -0
  1141. data/lib/fhir_dstu2_models/examples/json/valueset-metric-calibration-state.json +75 -0
  1142. data/lib/fhir_dstu2_models/examples/json/valueset-metric-calibration-type.json +75 -0
  1143. data/lib/fhir_dstu2_models/examples/json/valueset-metric-category.json +75 -0
  1144. data/lib/fhir_dstu2_models/examples/json/valueset-metric-color.json +95 -0
  1145. data/lib/fhir_dstu2_models/examples/json/valueset-metric-operational-status.json +70 -0
  1146. data/lib/fhir_dstu2_models/examples/json/valueset-missing-tooth-reason.json +91 -0
  1147. data/lib/fhir_dstu2_models/examples/json/valueset-modified-foodtype.json +104 -0
  1148. data/lib/fhir_dstu2_models/examples/json/valueset-name-part-qualifier.json +161 -0
  1149. data/lib/fhir_dstu2_models/examples/json/valueset-name-use.json +90 -0
  1150. data/lib/fhir_dstu2_models/examples/json/valueset-namingsystem-identifier-type.json +75 -0
  1151. data/lib/fhir_dstu2_models/examples/json/valueset-namingsystem-type.json +70 -0
  1152. data/lib/fhir_dstu2_models/examples/json/valueset-narrative-status.json +75 -0
  1153. data/lib/fhir_dstu2_models/examples/json/valueset-network-type.json +80 -0
  1154. data/lib/fhir_dstu2_models/examples/json/valueset-nhin-purposeofuse.json +419 -0
  1155. data/lib/fhir_dstu2_models/examples/json/valueset-no-immunization-reason.json +70 -0
  1156. data/lib/fhir_dstu2_models/examples/json/valueset-note-type.json +70 -0
  1157. data/lib/fhir_dstu2_models/examples/json/valueset-nutrient-code.json +75 -0
  1158. data/lib/fhir_dstu2_models/examples/json/valueset-nutrition-order-status.json +95 -0
  1159. data/lib/fhir_dstu2_models/examples/json/valueset-object-lifecycle.json +130 -0
  1160. data/lib/fhir_dstu2_models/examples/json/valueset-object-role.json +175 -0
  1161. data/lib/fhir_dstu2_models/examples/json/valueset-object-type.json +75 -0
  1162. data/lib/fhir_dstu2_models/examples/json/valueset-observation-category.json +90 -0
  1163. data/lib/fhir_dstu2_models/examples/json/valueset-observation-codes.json +51 -0
  1164. data/lib/fhir_dstu2_models/examples/json/valueset-observation-interpretation.json +45 -0
  1165. data/lib/fhir_dstu2_models/examples/json/valueset-observation-methods.json +56 -0
  1166. data/lib/fhir_dstu2_models/examples/json/valueset-observation-relationshiptypes.json +85 -0
  1167. data/lib/fhir_dstu2_models/examples/json/valueset-observation-status.json +90 -0
  1168. data/lib/fhir_dstu2_models/examples/json/valueset-observation-valueabsentreason.json +50 -0
  1169. data/lib/fhir_dstu2_models/examples/json/valueset-operation-kind.json +65 -0
  1170. data/lib/fhir_dstu2_models/examples/json/valueset-operation-outcome.json +1464 -0
  1171. data/lib/fhir_dstu2_models/examples/json/valueset-operation-parameter-type.json +49 -0
  1172. data/lib/fhir_dstu2_models/examples/json/valueset-operation-parameter-use.json +65 -0
  1173. data/lib/fhir_dstu2_models/examples/json/valueset-oral-prosthodontic-material.json +91 -0
  1174. data/lib/fhir_dstu2_models/examples/json/valueset-order-status.json +102 -0
  1175. data/lib/fhir_dstu2_models/examples/json/valueset-organization-type.json +108 -0
  1176. data/lib/fhir_dstu2_models/examples/json/valueset-parent-relationship-codes.json +62 -0
  1177. data/lib/fhir_dstu2_models/examples/json/valueset-participant-role.json +92 -0
  1178. data/lib/fhir_dstu2_models/examples/json/valueset-participantrequired.json +70 -0
  1179. data/lib/fhir_dstu2_models/examples/json/valueset-participantstatus.json +85 -0
  1180. data/lib/fhir_dstu2_models/examples/json/valueset-participationstatus.json +75 -0
  1181. data/lib/fhir_dstu2_models/examples/json/valueset-patient-contact-relationship.json +101 -0
  1182. data/lib/fhir_dstu2_models/examples/json/valueset-patient-mpi-match.json +75 -0
  1183. data/lib/fhir_dstu2_models/examples/json/valueset-payeetype.json +60 -0
  1184. data/lib/fhir_dstu2_models/examples/json/valueset-payment-status.json +60 -0
  1185. data/lib/fhir_dstu2_models/examples/json/valueset-payment-type.json +60 -0
  1186. data/lib/fhir_dstu2_models/examples/json/valueset-performer-role.json +56 -0
  1187. data/lib/fhir_dstu2_models/examples/json/valueset-postal-address-use.json +131 -0
  1188. data/lib/fhir_dstu2_models/examples/json/valueset-practitioner-role.json +74 -0
  1189. data/lib/fhir_dstu2_models/examples/json/valueset-practitioner-specialty.json +70 -0
  1190. data/lib/fhir_dstu2_models/examples/json/valueset-probability-distribution-type.json +141 -0
  1191. data/lib/fhir_dstu2_models/examples/json/valueset-procedure-category.json +81 -0
  1192. data/lib/fhir_dstu2_models/examples/json/valueset-procedure-code.json +53 -0
  1193. data/lib/fhir_dstu2_models/examples/json/valueset-procedure-followup.json +105 -0
  1194. data/lib/fhir_dstu2_models/examples/json/valueset-procedure-not-performed-reason.json +123 -0
  1195. data/lib/fhir_dstu2_models/examples/json/valueset-procedure-outcome.json +57 -0
  1196. data/lib/fhir_dstu2_models/examples/json/valueset-procedure-progress-status-codes.json +78 -0
  1197. data/lib/fhir_dstu2_models/examples/json/valueset-procedure-reason.json +63 -0
  1198. data/lib/fhir_dstu2_models/examples/json/valueset-procedure-relationship-type.json +65 -0
  1199. data/lib/fhir_dstu2_models/examples/json/valueset-procedure-request-priority.json +75 -0
  1200. data/lib/fhir_dstu2_models/examples/json/valueset-procedure-request-status.json +105 -0
  1201. data/lib/fhir_dstu2_models/examples/json/valueset-procedure-status.json +75 -0
  1202. data/lib/fhir_dstu2_models/examples/json/valueset-process-outcome.json +60 -0
  1203. data/lib/fhir_dstu2_models/examples/json/valueset-process-priority.json +66 -0
  1204. data/lib/fhir_dstu2_models/examples/json/valueset-profile-code.json +49 -0
  1205. data/lib/fhir_dstu2_models/examples/json/valueset-property-representation.json +60 -0
  1206. data/lib/fhir_dstu2_models/examples/json/valueset-provenance-agent-role.json +147 -0
  1207. data/lib/fhir_dstu2_models/examples/json/valueset-provenance-agent-type.json +93 -0
  1208. data/lib/fhir_dstu2_models/examples/json/valueset-provenance-entity-role.json +77 -0
  1209. data/lib/fhir_dstu2_models/examples/json/valueset-quantity-comparator.json +75 -0
  1210. data/lib/fhir_dstu2_models/examples/json/valueset-question-max-occurs.json +60 -0
  1211. data/lib/fhir_dstu2_models/examples/json/valueset-questionnaire-answers-status.json +70 -0
  1212. data/lib/fhir_dstu2_models/examples/json/valueset-questionnaire-answers.json +49 -0
  1213. data/lib/fhir_dstu2_models/examples/json/valueset-questionnaire-category.json +68 -0
  1214. data/lib/fhir_dstu2_models/examples/json/valueset-questionnaire-question-control.json +90 -0
  1215. data/lib/fhir_dstu2_models/examples/json/valueset-questionnaire-questions.json +49 -0
  1216. data/lib/fhir_dstu2_models/examples/json/valueset-questionnaire-status.json +70 -0
  1217. data/lib/fhir_dstu2_models/examples/json/valueset-questionnaire.json +2194 -0
  1218. data/lib/fhir_dstu2_models/examples/json/valueset-reaction-event-certainty.json +70 -0
  1219. data/lib/fhir_dstu2_models/examples/json/valueset-reaction-event-severity.json +70 -0
  1220. data/lib/fhir_dstu2_models/examples/json/valueset-reason-medication-given-codes.json +65 -0
  1221. data/lib/fhir_dstu2_models/examples/json/valueset-reason-medication-not-given-codes.json +70 -0
  1222. data/lib/fhir_dstu2_models/examples/json/valueset-referencerange-meaning.json +151 -0
  1223. data/lib/fhir_dstu2_models/examples/json/valueset-referralstatus.json +90 -0
  1224. data/lib/fhir_dstu2_models/examples/json/valueset-relatedperson-relationshiptype.json +55 -0
  1225. data/lib/fhir_dstu2_models/examples/json/valueset-relationship.json +66 -0
  1226. data/lib/fhir_dstu2_models/examples/json/valueset-remittance-outcome.json +65 -0
  1227. data/lib/fhir_dstu2_models/examples/json/valueset-report-codes.json +46 -0
  1228. data/lib/fhir_dstu2_models/examples/json/valueset-resource-aggregation-mode.json +72 -0
  1229. data/lib/fhir_dstu2_models/examples/json/valueset-resource-slicing-rules.json +70 -0
  1230. data/lib/fhir_dstu2_models/examples/json/valueset-resource-types.json +535 -0
  1231. data/lib/fhir_dstu2_models/examples/json/valueset-resource-validation-mode.json +70 -0
  1232. data/lib/fhir_dstu2_models/examples/json/valueset-response-code.json +70 -0
  1233. data/lib/fhir_dstu2_models/examples/json/valueset-restful-conformance-mode.json +65 -0
  1234. data/lib/fhir_dstu2_models/examples/json/valueset-restful-interaction.json +105 -0
  1235. data/lib/fhir_dstu2_models/examples/json/valueset-restful-security-service.json +85 -0
  1236. data/lib/fhir_dstu2_models/examples/json/valueset-risk-probability.json +75 -0
  1237. data/lib/fhir_dstu2_models/examples/json/valueset-route-codes.json +58 -0
  1238. data/lib/fhir_dstu2_models/examples/json/valueset-ruleset.json +69 -0
  1239. data/lib/fhir_dstu2_models/examples/json/valueset-search-entry-mode.json +70 -0
  1240. data/lib/fhir_dstu2_models/examples/json/valueset-search-modifier-code.json +105 -0
  1241. data/lib/fhir_dstu2_models/examples/json/valueset-search-param-type.json +95 -0
  1242. data/lib/fhir_dstu2_models/examples/json/valueset-search-xpath-usage.json +80 -0
  1243. data/lib/fhir_dstu2_models/examples/json/valueset-security-labels.json +48 -0
  1244. data/lib/fhir_dstu2_models/examples/json/valueset-service-pharmacy.json +61 -0
  1245. data/lib/fhir_dstu2_models/examples/json/valueset-service-product.json +61 -0
  1246. data/lib/fhir_dstu2_models/examples/json/valueset-service-provision-conditions.json +70 -0
  1247. data/lib/fhir_dstu2_models/examples/json/valueset-service-referral-method.json +80 -0
  1248. data/lib/fhir_dstu2_models/examples/json/valueset-service-uscls.json +146 -0
  1249. data/lib/fhir_dstu2_models/examples/json/valueset-signature-type.json +136 -0
  1250. data/lib/fhir_dstu2_models/examples/json/valueset-slotstatus.json +75 -0
  1251. data/lib/fhir_dstu2_models/examples/json/valueset-special-values.json +97 -0
  1252. data/lib/fhir_dstu2_models/examples/json/valueset-specimen-collection-method.json +103 -0
  1253. data/lib/fhir_dstu2_models/examples/json/valueset-specimen-collection-priority.json +76 -0
  1254. data/lib/fhir_dstu2_models/examples/json/valueset-specimen-container-type.json +53 -0
  1255. data/lib/fhir_dstu2_models/examples/json/valueset-specimen-status.json +75 -0
  1256. data/lib/fhir_dstu2_models/examples/json/valueset-specimen-treatment-procedure.json +45 -0
  1257. data/lib/fhir_dstu2_models/examples/json/valueset-structure-definition-kind.json +70 -0
  1258. data/lib/fhir_dstu2_models/examples/json/valueset-subscription-channel-type.json +80 -0
  1259. data/lib/fhir_dstu2_models/examples/json/valueset-subscription-status.json +75 -0
  1260. data/lib/fhir_dstu2_models/examples/json/valueset-subscription-tag.json +65 -0
  1261. data/lib/fhir_dstu2_models/examples/json/valueset-substance-category.json +85 -0
  1262. data/lib/fhir_dstu2_models/examples/json/valueset-substance-code.json +63 -0
  1263. data/lib/fhir_dstu2_models/examples/json/valueset-supplement-type.json +229 -0
  1264. data/lib/fhir_dstu2_models/examples/json/valueset-supplydelivery-status.json +70 -0
  1265. data/lib/fhir_dstu2_models/examples/json/valueset-supplydelivery-type.json +60 -0
  1266. data/lib/fhir_dstu2_models/examples/json/valueset-supplyrequest-kind.json +60 -0
  1267. data/lib/fhir_dstu2_models/examples/json/valueset-supplyrequest-reason.json +65 -0
  1268. data/lib/fhir_dstu2_models/examples/json/valueset-supplyrequest-status.json +75 -0
  1269. data/lib/fhir_dstu2_models/examples/json/valueset-supplyrequest-when.json +58 -0
  1270. data/lib/fhir_dstu2_models/examples/json/valueset-surface.json +106 -0
  1271. data/lib/fhir_dstu2_models/examples/json/valueset-system-restful-interaction.json +60 -0
  1272. data/lib/fhir_dstu2_models/examples/json/valueset-teeth.json +211 -0
  1273. data/lib/fhir_dstu2_models/examples/json/valueset-template-status-code.json +131 -0
  1274. data/lib/fhir_dstu2_models/examples/json/valueset-testscript-operation-codes.json +170 -0
  1275. data/lib/fhir_dstu2_models/examples/json/valueset-texture-code.json +110 -0
  1276. data/lib/fhir_dstu2_models/examples/json/valueset-timing-abbreviation.json +134 -0
  1277. data/lib/fhir_dstu2_models/examples/json/valueset-tooth.json +254 -0
  1278. data/lib/fhir_dstu2_models/examples/json/valueset-transaction-mode.json +75 -0
  1279. data/lib/fhir_dstu2_models/examples/json/valueset-type-restful-interaction.json +78 -0
  1280. data/lib/fhir_dstu2_models/examples/json/valueset-udi.json +56 -0
  1281. data/lib/fhir_dstu2_models/examples/json/valueset-units-of-time.json +115 -0
  1282. data/lib/fhir_dstu2_models/examples/json/valueset-unknown-content-code.json +75 -0
  1283. data/lib/fhir_dstu2_models/examples/json/valueset-use-context.json +65 -0
  1284. data/lib/fhir_dstu2_models/examples/json/valueset-usps-state.json +293 -0
  1285. data/lib/fhir_dstu2_models/examples/json/valueset-vaccination-protocol-dose-status-reason.json +70 -0
  1286. data/lib/fhir_dstu2_models/examples/json/valueset-vaccination-protocol-dose-status.json +58 -0
  1287. data/lib/fhir_dstu2_models/examples/json/valueset-vaccination-protocol-dose-target.json +75 -0
  1288. data/lib/fhir_dstu2_models/examples/json/valueset-vaccine-code.json +58 -0
  1289. data/lib/fhir_dstu2_models/examples/json/valueset-versioning-policy.json +70 -0
  1290. data/lib/fhir_dstu2_models/examples/json/valueset-vision-base-codes.json +75 -0
  1291. data/lib/fhir_dstu2_models/examples/json/valueset-vision-eye-codes.json +65 -0
  1292. data/lib/fhir_dstu2_models/examples/json/valueset-vision-product.json +57 -0
  1293. data/lib/fhir_dstu2_models/examples/json/valueset-xds-relationship-type.json +80 -0
  1294. data/lib/fhir_dstu2_models/examples/json/visionprescription-example-1.json +65 -0
  1295. data/lib/fhir_dstu2_models/examples/json/visionprescription-example.json +47 -0
  1296. data/lib/fhir_dstu2_models/examples/json/visionprescription-questionnaire.json +863 -0
  1297. data/lib/fhir_dstu2_models/examples/json/xds-example.json +252 -0
  1298. data/lib/fhir_dstu2_models/examples/json/xdsdocumentmanifest-questionnaire.json +896 -0
  1299. data/lib/fhir_dstu2_models/examples/json/xdsdocumentreference-questionnaire.json +1251 -0
  1300. data/lib/fhir_dstu2_models/examples/xml/account-example(example).xml +10 -0
  1301. data/lib/fhir_dstu2_models/examples/xml/allergyintolerance-example(allergyintolerance-example).xml +97 -0
  1302. data/lib/fhir_dstu2_models/examples/xml/allergyintolerance-example(example).xml +96 -0
  1303. data/lib/fhir_dstu2_models/examples/xml/allergyintolerance-example-refuted(allergyintolerance-example-refuted).xml +53 -0
  1304. data/lib/fhir_dstu2_models/examples/xml/allergyintolerance-fishallergy(fishallergy).xml +48 -0
  1305. data/lib/fhir_dstu2_models/examples/xml/allergyintolerance-medication(medication).xml +39 -0
  1306. data/lib/fhir_dstu2_models/examples/xml/appointment-example(example).xml +48 -0
  1307. data/lib/fhir_dstu2_models/examples/xml/appointment-example-request(examplereq).xml +51 -0
  1308. data/lib/fhir_dstu2_models/examples/xml/appointment-example2doctors(2docs).xml +50 -0
  1309. data/lib/fhir_dstu2_models/examples/xml/appointmentresponse-example(example).xml +16 -0
  1310. data/lib/fhir_dstu2_models/examples/xml/appointmentresponse-example-req(exampleresp).xml +28 -0
  1311. data/lib/fhir_dstu2_models/examples/xml/audit-event-example-login(example-login).xml +41 -0
  1312. data/lib/fhir_dstu2_models/examples/xml/audit-event-example-logout(example-logout).xml +41 -0
  1313. data/lib/fhir_dstu2_models/examples/xml/audit-event-example-media(example-media).xml +114 -0
  1314. data/lib/fhir_dstu2_models/examples/xml/audit-event-example-pixQuery(example-pixQuery).xml +93 -0
  1315. data/lib/fhir_dstu2_models/examples/xml/audit-event-example-search(example-search).xml +53 -0
  1316. data/lib/fhir_dstu2_models/examples/xml/audit-event-example-vread(example-rest).xml +52 -0
  1317. data/lib/fhir_dstu2_models/examples/xml/auditevent-example(example).xml +73 -0
  1318. data/lib/fhir_dstu2_models/examples/xml/auditevent-example-disclosure(example-disclosure).xml +146 -0
  1319. data/lib/fhir_dstu2_models/examples/xml/basic-adverseevent-example(basic-adverseevent-example).xml +46 -0
  1320. data/lib/fhir_dstu2_models/examples/xml/basic-example(referral).xml +60 -0
  1321. data/lib/fhir_dstu2_models/examples/xml/basic-example-narrative(basic-example-narrative).xml +237 -0
  1322. data/lib/fhir_dstu2_models/examples/xml/basic-example2(classModel).xml +46 -0
  1323. data/lib/fhir_dstu2_models/examples/xml/binary-f006(f006).xml +5 -0
  1324. data/lib/fhir_dstu2_models/examples/xml/bodysite-example(example).xml +52 -0
  1325. data/lib/fhir_dstu2_models/examples/xml/bundle-example(bundle-example).xml +75 -0
  1326. data/lib/fhir_dstu2_models/examples/xml/bundle-response(bundle-response).xml +136 -0
  1327. data/lib/fhir_dstu2_models/examples/xml/bundle-transaction(bundle-transaction).xml +241 -0
  1328. data/lib/fhir_dstu2_models/examples/xml/careplan-example(example).xml +123 -0
  1329. data/lib/fhir_dstu2_models/examples/xml/careplan-example-GPVisit(gpvisit).xml +138 -0
  1330. data/lib/fhir_dstu2_models/examples/xml/careplan-example-f001-heart(f001).xml +69 -0
  1331. data/lib/fhir_dstu2_models/examples/xml/careplan-example-f002-lung(f002).xml +69 -0
  1332. data/lib/fhir_dstu2_models/examples/xml/careplan-example-f003-pharynx(f003).xml +69 -0
  1333. data/lib/fhir_dstu2_models/examples/xml/careplan-example-f201-renal(f201).xml +102 -0
  1334. data/lib/fhir_dstu2_models/examples/xml/careplan-example-f202-malignancy(f202).xml +123 -0
  1335. data/lib/fhir_dstu2_models/examples/xml/careplan-example-f203-sepsis(f203).xml +72 -0
  1336. data/lib/fhir_dstu2_models/examples/xml/careplan-example-integrated(integrate).xml +516 -0
  1337. data/lib/fhir_dstu2_models/examples/xml/careplan-example-pregnancy(preg).xml +228 -0
  1338. data/lib/fhir_dstu2_models/examples/xml/claim-example(100150).xml +85 -0
  1339. data/lib/fhir_dstu2_models/examples/xml/claim-example-institutional(960150).xml +85 -0
  1340. data/lib/fhir_dstu2_models/examples/xml/claim-example-oral-average(100151).xml +187 -0
  1341. data/lib/fhir_dstu2_models/examples/xml/claim-example-oral-contained(100152).xml +139 -0
  1342. data/lib/fhir_dstu2_models/examples/xml/claim-example-oral-orthoplan(100153).xml +291 -0
  1343. data/lib/fhir_dstu2_models/examples/xml/claim-example-pharmacy(760150).xml +85 -0
  1344. data/lib/fhir_dstu2_models/examples/xml/claim-example-professional(860150).xml +85 -0
  1345. data/lib/fhir_dstu2_models/examples/xml/claim-example-vision(660150).xml +85 -0
  1346. data/lib/fhir_dstu2_models/examples/xml/claim-example-vision-glasses(660151).xml +153 -0
  1347. data/lib/fhir_dstu2_models/examples/xml/claimresponse-example(R3500).xml +113 -0
  1348. data/lib/fhir_dstu2_models/examples/xml/clinicalimpression-example(example).xml +46 -0
  1349. data/lib/fhir_dstu2_models/examples/xml/communication-example(communication-example).xml +51 -0
  1350. data/lib/fhir_dstu2_models/examples/xml/communication-example(example).xml +41 -0
  1351. data/lib/fhir_dstu2_models/examples/xml/communicationrequest-example(communicationrequest-example).xml +30 -0
  1352. data/lib/fhir_dstu2_models/examples/xml/communicationrequest-example(example).xml +13 -0
  1353. data/lib/fhir_dstu2_models/examples/xml/composition-example(example).xml +167 -0
  1354. data/lib/fhir_dstu2_models/examples/xml/conceptmap-example(101).xml +146 -0
  1355. data/lib/fhir_dstu2_models/examples/xml/cond-uslab-example1(cond-uslab-example1).xml +26 -0
  1356. data/lib/fhir_dstu2_models/examples/xml/cond-uslab-example2(cond-uslab-example2).xml +24 -0
  1357. data/lib/fhir_dstu2_models/examples/xml/condition-example(condition-example).xml +57 -0
  1358. data/lib/fhir_dstu2_models/examples/xml/condition-example(example).xml +48 -0
  1359. data/lib/fhir_dstu2_models/examples/xml/condition-example-f001-heart(f001).xml +56 -0
  1360. data/lib/fhir_dstu2_models/examples/xml/condition-example-f002-lung(f002).xml +64 -0
  1361. data/lib/fhir_dstu2_models/examples/xml/condition-example-f003-abscess(f003).xml +55 -0
  1362. data/lib/fhir_dstu2_models/examples/xml/condition-example-f201-fever(f201).xml +63 -0
  1363. data/lib/fhir_dstu2_models/examples/xml/condition-example-f202-malignancy(f202).xml +56 -0
  1364. data/lib/fhir_dstu2_models/examples/xml/condition-example-f203-sepsis(f203).xml +56 -0
  1365. data/lib/fhir_dstu2_models/examples/xml/condition-example-f204-renal(f204).xml +60 -0
  1366. data/lib/fhir_dstu2_models/examples/xml/condition-example-f205-infection(f205).xml +20 -0
  1367. data/lib/fhir_dstu2_models/examples/xml/condition-example-stroke(stroke).xml +28 -0
  1368. data/lib/fhir_dstu2_models/examples/xml/condition-example2(example2).xml +30 -0
  1369. data/lib/fhir_dstu2_models/examples/xml/conformance-base2.xml +124 -0
  1370. data/lib/fhir_dstu2_models/examples/xml/conformance-daf-query-requestor(conformance-daf-query-requestor).xml +2506 -0
  1371. data/lib/fhir_dstu2_models/examples/xml/conformance-ehrs-rle(conformance-ehrs-rle).xml +312 -0
  1372. data/lib/fhir_dstu2_models/examples/xml/conformance-example(example).xml +201 -0
  1373. data/lib/fhir_dstu2_models/examples/xml/conformance-phr-example(phr).xml +120 -0
  1374. data/lib/fhir_dstu2_models/examples/xml/conformance-sdc-de-curator(conformance-sdc-de-curator).xml +746 -0
  1375. data/lib/fhir_dstu2_models/examples/xml/conformance-sdc-de-registry(conformance-sdc-de-registry).xml +1245 -0
  1376. data/lib/fhir_dstu2_models/examples/xml/conformance-sdc-form-archiver(conformance-sdc-form-archiver).xml +749 -0
  1377. data/lib/fhir_dstu2_models/examples/xml/conformance-sdc-form-designer(conformance-sdc-form-designer).xml +1064 -0
  1378. data/lib/fhir_dstu2_models/examples/xml/conformance-sdc-form-filler(conformance-sdc-form-filler).xml +959 -0
  1379. data/lib/fhir_dstu2_models/examples/xml/conformance-sdc-form-manager(conformance-sdc-form-manager).xml +1182 -0
  1380. data/lib/fhir_dstu2_models/examples/xml/conformance-sdc-form-receiver(conformance-sdc-form-receiver).xml +519 -0
  1381. data/lib/fhir_dstu2_models/examples/xml/conformance-terminology-server(conformance-terminology-server).xml +335 -0
  1382. data/lib/fhir_dstu2_models/examples/xml/conformance-uslaborder-orderer(conformance-uslaborder-orderer).xml +179 -0
  1383. data/lib/fhir_dstu2_models/examples/xml/conformance-uslaborder-receiver(conformance-uslaborder-receiver).xml +179 -0
  1384. data/lib/fhir_dstu2_models/examples/xml/conformance-uslabreport-receiver(conformance-uslabreport-receiver).xml +179 -0
  1385. data/lib/fhir_dstu2_models/examples/xml/conformance-uslabreport-sender(conformance-uslabreport-sender).xml +179 -0
  1386. data/lib/fhir_dstu2_models/examples/xml/contract-example(C-123).xml +29 -0
  1387. data/lib/fhir_dstu2_models/examples/xml/coverage-example(9876B1).xml +40 -0
  1388. data/lib/fhir_dstu2_models/examples/xml/coverage-example-2(7546D).xml +38 -0
  1389. data/lib/fhir_dstu2_models/examples/xml/dataelement-example(gender).xml +386 -0
  1390. data/lib/fhir_dstu2_models/examples/xml/dataelement-labtestmaster-example(prothrombin).xml +56 -0
  1391. data/lib/fhir_dstu2_models/examples/xml/dataelement-sdc-profile-example(dataelement-sdc-profile-example).xml +44 -0
  1392. data/lib/fhir_dstu2_models/examples/xml/dataelement-sdc-profile-example-de(dataelement-sdc-profile-example-de).xml +256 -0
  1393. data/lib/fhir_dstu2_models/examples/xml/detectedissue-example(ddi).xml +52 -0
  1394. data/lib/fhir_dstu2_models/examples/xml/detectedissue-example-allergy(allergy).xml +10 -0
  1395. data/lib/fhir_dstu2_models/examples/xml/detectedissue-example-dup(duplicate).xml +39 -0
  1396. data/lib/fhir_dstu2_models/examples/xml/detectedissue-example-lab(lab).xml +10 -0
  1397. data/lib/fhir_dstu2_models/examples/xml/device-example(example).xml +46 -0
  1398. data/lib/fhir_dstu2_models/examples/xml/device-example-f001-feedingtube(f001).xml +18 -0
  1399. data/lib/fhir_dstu2_models/examples/xml/device-example-ihe-pcd(ihe-pcd).xml +25 -0
  1400. data/lib/fhir_dstu2_models/examples/xml/device-example-pacemaker(example-pacemaker).xml +24 -0
  1401. data/lib/fhir_dstu2_models/examples/xml/device-example-software(software).xml +17 -0
  1402. data/lib/fhir_dstu2_models/examples/xml/devicecomponent-example(example).xml +124 -0
  1403. data/lib/fhir_dstu2_models/examples/xml/devicecomponent-example-prodspec(example-prodspec).xml +167 -0
  1404. data/lib/fhir_dstu2_models/examples/xml/devicemetric-example(example).xml +22 -0
  1405. data/lib/fhir_dstu2_models/examples/xml/deviceuserequest-example(deviceuserequest-example).xml +28 -0
  1406. data/lib/fhir_dstu2_models/examples/xml/deviceuserequest-example(example).xml +17 -0
  1407. data/lib/fhir_dstu2_models/examples/xml/deviceusestatement-example(example).xml +16 -0
  1408. data/lib/fhir_dstu2_models/examples/xml/diagnosticorder-example(diagnosticorder-example).xml +56 -0
  1409. data/lib/fhir_dstu2_models/examples/xml/diagnosticorder-example(example).xml +88 -0
  1410. data/lib/fhir_dstu2_models/examples/xml/diagnosticorder-example-di(di).xml +40 -0
  1411. data/lib/fhir_dstu2_models/examples/xml/diagnosticorder-example-ft4(ft4).xml +61 -0
  1412. data/lib/fhir_dstu2_models/examples/xml/diagnosticreport-example(101).xml +790 -0
  1413. data/lib/fhir_dstu2_models/examples/xml/diagnosticreport-example(diagnosticreport-example).xml +690 -0
  1414. data/lib/fhir_dstu2_models/examples/xml/diagnosticreport-example-dxa(102).xml +405 -0
  1415. data/lib/fhir_dstu2_models/examples/xml/diagnosticreport-example-f001-bloodexam(f001).xml +100 -0
  1416. data/lib/fhir_dstu2_models/examples/xml/diagnosticreport-example-f201-brainct(f201).xml +45 -0
  1417. data/lib/fhir_dstu2_models/examples/xml/diagnosticreport-example-f202-bloodculture(f202).xml +66 -0
  1418. data/lib/fhir_dstu2_models/examples/xml/diagnosticreport-example-ghp(ghp).xml +2312 -0
  1419. data/lib/fhir_dstu2_models/examples/xml/diagnosticreport-example-lipids(lipids).xml +214 -0
  1420. data/lib/fhir_dstu2_models/examples/xml/diagnosticreport-example-ultrasound(ultrasound).xml +41 -0
  1421. data/lib/fhir_dstu2_models/examples/xml/diagnosticreport-micro1(micro).xml +993 -0
  1422. data/lib/fhir_dstu2_models/examples/xml/do-uslab-example1(do-uslab-example1).xml +90 -0
  1423. data/lib/fhir_dstu2_models/examples/xml/document-example-dischargesummary(father).xml +503 -0
  1424. data/lib/fhir_dstu2_models/examples/xml/documentmanifest-example(example).xml +71 -0
  1425. data/lib/fhir_dstu2_models/examples/xml/documentreference-example(example).xml +142 -0
  1426. data/lib/fhir_dstu2_models/examples/xml/eligibilityrequest-example(52345).xml +20 -0
  1427. data/lib/fhir_dstu2_models/examples/xml/eligibilityresponse-example(E2500).xml +33 -0
  1428. data/lib/fhir_dstu2_models/examples/xml/encounter-example(encounter-example).xml +44 -0
  1429. data/lib/fhir_dstu2_models/examples/xml/encounter-example(example).xml +12 -0
  1430. data/lib/fhir_dstu2_models/examples/xml/encounter-example-f001-heart(f001).xml +84 -0
  1431. data/lib/fhir_dstu2_models/examples/xml/encounter-example-f002-lung(f002).xml +84 -0
  1432. data/lib/fhir_dstu2_models/examples/xml/encounter-example-f003-abscess(f003).xml +86 -0
  1433. data/lib/fhir_dstu2_models/examples/xml/encounter-example-f201-20130404(f201).xml +40 -0
  1434. data/lib/fhir_dstu2_models/examples/xml/encounter-example-f202-20130128(f202).xml +55 -0
  1435. data/lib/fhir_dstu2_models/examples/xml/encounter-example-f203-20130311(f203).xml +72 -0
  1436. data/lib/fhir_dstu2_models/examples/xml/encounter-example-home(home).xml +45 -0
  1437. data/lib/fhir_dstu2_models/examples/xml/encounter-example-xcda(xcda).xml +25 -0
  1438. data/lib/fhir_dstu2_models/examples/xml/enrollmentrequest-example(22345).xml +30 -0
  1439. data/lib/fhir_dstu2_models/examples/xml/enrollmentresponse-example(ER2500).xml +32 -0
  1440. data/lib/fhir_dstu2_models/examples/xml/episodeofcare-example(example).xml +86 -0
  1441. data/lib/fhir_dstu2_models/examples/xml/explanationofbenefit-example(R3500).xml +33 -0
  1442. data/lib/fhir_dstu2_models/examples/xml/familymemberhistory-example(familymemberhistory-example).xml +51 -0
  1443. data/lib/fhir_dstu2_models/examples/xml/familymemberhistory-example(father).xml +41 -0
  1444. data/lib/fhir_dstu2_models/examples/xml/familymemberhistory-example-mother(mother).xml +36 -0
  1445. data/lib/fhir_dstu2_models/examples/xml/flag-example(example).xml +35 -0
  1446. data/lib/fhir_dstu2_models/examples/xml/flag-example(flag-example).xml +40 -0
  1447. data/lib/fhir_dstu2_models/examples/xml/flag-example-encounter(example-encounter).xml +32 -0
  1448. data/lib/fhir_dstu2_models/examples/xml/goal-example(example).xml +46 -0
  1449. data/lib/fhir_dstu2_models/examples/xml/goal-example(goal-example).xml +62 -0
  1450. data/lib/fhir_dstu2_models/examples/xml/group-example(101).xml +36 -0
  1451. data/lib/fhir_dstu2_models/examples/xml/group-example-member(102).xml +50 -0
  1452. data/lib/fhir_dstu2_models/examples/xml/healthcareservice-example(example).xml +135 -0
  1453. data/lib/fhir_dstu2_models/examples/xml/imagingobjectselection-example(example).xml +45 -0
  1454. data/lib/fhir_dstu2_models/examples/xml/imagingstudy-example(example).xml +39 -0
  1455. data/lib/fhir_dstu2_models/examples/xml/imagingstudy-example(imagingstudy-example).xml +58 -0
  1456. data/lib/fhir_dstu2_models/examples/xml/immunization-example(example).xml +104 -0
  1457. data/lib/fhir_dstu2_models/examples/xml/immunization-example-refused(notGiven).xml +26 -0
  1458. data/lib/fhir_dstu2_models/examples/xml/immunizationrecommendation-example(example).xml +76 -0
  1459. data/lib/fhir_dstu2_models/examples/xml/implementationguide-example(example).xml +77 -0
  1460. data/lib/fhir_dstu2_models/examples/xml/list-example(example).xml +74 -0
  1461. data/lib/fhir_dstu2_models/examples/xml/list-example-allergies(current-allergies).xml +44 -0
  1462. data/lib/fhir_dstu2_models/examples/xml/list-example-empty(example-empty).xml +32 -0
  1463. data/lib/fhir_dstu2_models/examples/xml/list-example-familyhistory-f201-roel(f201).xml +91 -0
  1464. data/lib/fhir_dstu2_models/examples/xml/list-example-familyhistory-genetics-profile(genetic).xml +299 -0
  1465. data/lib/fhir_dstu2_models/examples/xml/list-example-medlist(med-list).xml +63 -0
  1466. data/lib/fhir_dstu2_models/examples/xml/location-example(1).xml +61 -0
  1467. data/lib/fhir_dstu2_models/examples/xml/location-example-ambulance(amb).xml +33 -0
  1468. data/lib/fhir_dstu2_models/examples/xml/location-example-hl7hq(hl7).xml +59 -0
  1469. data/lib/fhir_dstu2_models/examples/xml/location-example-patients-home(ph).xml +28 -0
  1470. data/lib/fhir_dstu2_models/examples/xml/location-example-room(2).xml +38 -0
  1471. data/lib/fhir_dstu2_models/examples/xml/location-example-ukpharmacy(ukp).xml +25 -0
  1472. data/lib/fhir_dstu2_models/examples/xml/media-example(example).xml +37 -0
  1473. data/lib/fhir_dstu2_models/examples/xml/media-example-dicom(1.2.840.11361907579238403408700.3.0.14.19970327150033).xml +88 -0
  1474. data/lib/fhir_dstu2_models/examples/xml/media-example-sound(sound).xml +25 -0
  1475. data/lib/fhir_dstu2_models/examples/xml/medication-example-f001-combivent(f001).xml +43 -0
  1476. data/lib/fhir_dstu2_models/examples/xml/medication-example-f002-crestor(f002).xml +34 -0
  1477. data/lib/fhir_dstu2_models/examples/xml/medication-example-f003-tolbutamide(f003).xml +34 -0
  1478. data/lib/fhir_dstu2_models/examples/xml/medication-example-f004-metoprolol(f004).xml +34 -0
  1479. data/lib/fhir_dstu2_models/examples/xml/medication-example-f005-enalapril(f005).xml +34 -0
  1480. data/lib/fhir_dstu2_models/examples/xml/medication-example-f201-salmeterol(f201).xml +55 -0
  1481. data/lib/fhir_dstu2_models/examples/xml/medication-example-f202-flucloxacilline(f202).xml +20 -0
  1482. data/lib/fhir_dstu2_models/examples/xml/medication-example-f203-paracetamol(f203).xml +20 -0
  1483. data/lib/fhir_dstu2_models/examples/xml/medicationadministrationexample1(medadminexample01).xml +34 -0
  1484. data/lib/fhir_dstu2_models/examples/xml/medicationadministrationexample2(medadminexample02).xml +51 -0
  1485. data/lib/fhir_dstu2_models/examples/xml/medicationadministrationexample3(medadminexample03).xml +51 -0
  1486. data/lib/fhir_dstu2_models/examples/xml/medicationdispense-example(medicationdispense-example).xml +117 -0
  1487. data/lib/fhir_dstu2_models/examples/xml/medicationdispenseexample1(meddisp001).xml +75 -0
  1488. data/lib/fhir_dstu2_models/examples/xml/medicationdispenseexample2(meddisp002).xml +75 -0
  1489. data/lib/fhir_dstu2_models/examples/xml/medicationdispenseexample3(meddisp003).xml +108 -0
  1490. data/lib/fhir_dstu2_models/examples/xml/medicationdispenseexample4(meddisp004).xml +154 -0
  1491. data/lib/fhir_dstu2_models/examples/xml/medicationdispenseexample6(meddisp006).xml +64 -0
  1492. data/lib/fhir_dstu2_models/examples/xml/medicationdispenseexample8(meddisp008).xml +54 -0
  1493. data/lib/fhir_dstu2_models/examples/xml/medicationexample1(medexample001).xml +14 -0
  1494. data/lib/fhir_dstu2_models/examples/xml/medicationexample11(medexample011).xml +52 -0
  1495. data/lib/fhir_dstu2_models/examples/xml/medicationexample12(medexample012).xml +22 -0
  1496. data/lib/fhir_dstu2_models/examples/xml/medicationexample13(medexample013).xml +52 -0
  1497. data/lib/fhir_dstu2_models/examples/xml/medicationexample14(medexample014).xml +28 -0
  1498. data/lib/fhir_dstu2_models/examples/xml/medicationexample15(medexample015).xml +20 -0
  1499. data/lib/fhir_dstu2_models/examples/xml/medicationexample16(medexample016).xml +20 -0
  1500. data/lib/fhir_dstu2_models/examples/xml/medicationexample17(medexample017).xml +20 -0
  1501. data/lib/fhir_dstu2_models/examples/xml/medicationexample2(medexample002).xml +33 -0
  1502. data/lib/fhir_dstu2_models/examples/xml/medicationexample3(medexample003).xml +28 -0
  1503. data/lib/fhir_dstu2_models/examples/xml/medicationexample4(medexample004).xml +71 -0
  1504. data/lib/fhir_dstu2_models/examples/xml/medicationexample5(medexample005).xml +31 -0
  1505. data/lib/fhir_dstu2_models/examples/xml/medicationexample6(medexample006).xml +28 -0
  1506. data/lib/fhir_dstu2_models/examples/xml/medicationexample7(medexample007).xml +28 -0
  1507. data/lib/fhir_dstu2_models/examples/xml/medicationexample8(medexample008).xml +75 -0
  1508. data/lib/fhir_dstu2_models/examples/xml/medicationorder-example(medicationorder-example).xml +99 -0
  1509. data/lib/fhir_dstu2_models/examples/xml/medicationorder-example-f001-combivent(f001).xml +90 -0
  1510. data/lib/fhir_dstu2_models/examples/xml/medicationorder-example-f002-crestor(f002).xml +75 -0
  1511. data/lib/fhir_dstu2_models/examples/xml/medicationorder-example-f003-tolbutamide(f003).xml +75 -0
  1512. data/lib/fhir_dstu2_models/examples/xml/medicationorder-example-f004-metoprolol(f004).xml +75 -0
  1513. data/lib/fhir_dstu2_models/examples/xml/medicationorder-example-f005-enalapril(f005).xml +75 -0
  1514. data/lib/fhir_dstu2_models/examples/xml/medicationorder-example-f201-salmeterol(f201).xml +83 -0
  1515. data/lib/fhir_dstu2_models/examples/xml/medicationorder-example-f202-flucloxacilline(f202).xml +65 -0
  1516. data/lib/fhir_dstu2_models/examples/xml/medicationorder-example-f203-paracetamol(f203).xml +51 -0
  1517. data/lib/fhir_dstu2_models/examples/xml/medicationorderexample1(medrx001).xml +108 -0
  1518. data/lib/fhir_dstu2_models/examples/xml/medicationorderexample2(medrx002).xml +40 -0
  1519. data/lib/fhir_dstu2_models/examples/xml/medicationorderexample3(medrx003).xml +151 -0
  1520. data/lib/fhir_dstu2_models/examples/xml/medicationorderexample4(medrx004).xml +58 -0
  1521. data/lib/fhir_dstu2_models/examples/xml/medicationorderexample5(medrx005).xml +111 -0
  1522. data/lib/fhir_dstu2_models/examples/xml/medicationorderexample6(medrx006).xml +59 -0
  1523. data/lib/fhir_dstu2_models/examples/xml/medicationorderexample7(medrx007).xml +44 -0
  1524. data/lib/fhir_dstu2_models/examples/xml/medicationorderexample8(medrx008).xml +51 -0
  1525. data/lib/fhir_dstu2_models/examples/xml/medicationorderexample9(medrx009).xml +47 -0
  1526. data/lib/fhir_dstu2_models/examples/xml/medicationstatement-example(medicationstatement-example).xml +34 -0
  1527. data/lib/fhir_dstu2_models/examples/xml/medicationstatementexample1(example001).xml +64 -0
  1528. data/lib/fhir_dstu2_models/examples/xml/medicationstatementexample2(example002).xml +30 -0
  1529. data/lib/fhir_dstu2_models/examples/xml/medicationstatementexample4(example004).xml +64 -0
  1530. data/lib/fhir_dstu2_models/examples/xml/medicationstatementexample5(example005).xml +64 -0
  1531. data/lib/fhir_dstu2_models/examples/xml/medicationstatementexample6(example006).xml +47 -0
  1532. data/lib/fhir_dstu2_models/examples/xml/medicationstatementexample7(example007).xml +22 -0
  1533. data/lib/fhir_dstu2_models/examples/xml/message-request-link(10bb101f-a121-4264-a920-67be9cb82c74).xml +142 -0
  1534. data/lib/fhir_dstu2_models/examples/xml/message-response-link(3a0707d3-549e-4467-b8b8-5a2ab3800efe).xml +182 -0
  1535. data/lib/fhir_dstu2_models/examples/xml/messageheader-example(1cbdfb97-5859-48a4-8301-d54eab818d68).xml +58 -0
  1536. data/lib/fhir_dstu2_models/examples/xml/namingsystem-example(example).xml +40 -0
  1537. data/lib/fhir_dstu2_models/examples/xml/namingsystem-example-id(example-id).xml +57 -0
  1538. data/lib/fhir_dstu2_models/examples/xml/namingsystem-example-replaced(example-replaced).xml +27 -0
  1539. data/lib/fhir_dstu2_models/examples/xml/namingsystem-registry(registry).xml +1768 -0
  1540. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-cardiacdiet(cardiacdiet).xml +141 -0
  1541. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-diabeticdiet(diabeticdiet).xml +116 -0
  1542. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-diabeticsupplement(diabeticsupplement).xml +107 -0
  1543. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-energysupplement(energysupplement).xml +98 -0
  1544. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-enteralbolus(enteralbolus).xml +130 -0
  1545. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-enteralcontinuous(enteralcontinuous).xml +126 -0
  1546. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-fiberrestricteddiet(fiberrestricteddiet).xml +134 -0
  1547. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-infantenteral(infantenteral).xml +108 -0
  1548. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-proteinsupplement(proteinsupplement).xml +77 -0
  1549. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-pureeddiet(pureeddiet).xml +117 -0
  1550. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-pureeddiet-simple(pureeddiet-simple).xml +105 -0
  1551. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-renaldiet(renaldiet).xml +147 -0
  1552. data/lib/fhir_dstu2_models/examples/xml/nutritionorder-example-texture-modified(texturemodified).xml +63 -0
  1553. data/lib/fhir_dstu2_models/examples/xml/obs-genetics-example1-somatic(genetics-example1-somatic).xml +145 -0
  1554. data/lib/fhir_dstu2_models/examples/xml/obs-genetics-example2-germline(genetics-example2-germline).xml +105 -0
  1555. data/lib/fhir_dstu2_models/examples/xml/obs-genetics-example3-mutationlist(genetics-example3-mutationlist).xml +67 -0
  1556. data/lib/fhir_dstu2_models/examples/xml/obs-genetics-example3-mutationlist-1(genetics-example3-mutationlist-1).xml +53 -0
  1557. data/lib/fhir_dstu2_models/examples/xml/obs-genetics-example3-mutationlist-2(genetics-example3-mutationlist-2).xml +59 -0
  1558. data/lib/fhir_dstu2_models/examples/xml/obs-genetics-example3-mutationlist-3(genetics-example3-mutationlist-3).xml +57 -0
  1559. data/lib/fhir_dstu2_models/examples/xml/obs-genetics-example3-mutationlist-4(genetics-example3-mutationlist-4).xml +57 -0
  1560. data/lib/fhir_dstu2_models/examples/xml/obs-uslab-example1(obs-uslab-example1).xml +102 -0
  1561. data/lib/fhir_dstu2_models/examples/xml/obs-uslab-example2(obs-uslab-example2).xml +93 -0
  1562. data/lib/fhir_dstu2_models/examples/xml/obs-uslab-example3(obs-uslab-example3).xml +81 -0
  1563. data/lib/fhir_dstu2_models/examples/xml/obs-uslab-example4(obs-uslab-example4).xml +99 -0
  1564. data/lib/fhir_dstu2_models/examples/xml/obs-uslab-example5(obs-uslab-example5).xml +102 -0
  1565. data/lib/fhir_dstu2_models/examples/xml/obs-uslab-example6(obs-uslab-example6).xml +86 -0
  1566. data/lib/fhir_dstu2_models/examples/xml/obs-uslab-example7(obs-uslab-example7).xml +93 -0
  1567. data/lib/fhir_dstu2_models/examples/xml/obs-uslab-example8(obs-uslab-example8).xml +112 -0
  1568. data/lib/fhir_dstu2_models/examples/xml/observation-example(example).xml +60 -0
  1569. data/lib/fhir_dstu2_models/examples/xml/observation-example(observation-example).xml +64 -0
  1570. data/lib/fhir_dstu2_models/examples/xml/observation-example-bloodpressure(blood-pressure).xml +98 -0
  1571. data/lib/fhir_dstu2_models/examples/xml/observation-example-bloodpressure-cancel(blood-pressure-cancel).xml +117 -0
  1572. data/lib/fhir_dstu2_models/examples/xml/observation-example-f001-glucose(f001).xml +58 -0
  1573. data/lib/fhir_dstu2_models/examples/xml/observation-example-f002-excess(f002).xml +58 -0
  1574. data/lib/fhir_dstu2_models/examples/xml/observation-example-f003-co2(f003).xml +58 -0
  1575. data/lib/fhir_dstu2_models/examples/xml/observation-example-f004-erythrocyte(f004).xml +60 -0
  1576. data/lib/fhir_dstu2_models/examples/xml/observation-example-f005-hemoglobin(f005).xml +57 -0
  1577. data/lib/fhir_dstu2_models/examples/xml/observation-example-f202-temperature(f202).xml +71 -0
  1578. data/lib/fhir_dstu2_models/examples/xml/observation-example-f203-bicarbonate(f203).xml +72 -0
  1579. data/lib/fhir_dstu2_models/examples/xml/observation-example-f204-creatinine(f204).xml +64 -0
  1580. data/lib/fhir_dstu2_models/examples/xml/observation-example-f205-egfr(f205).xml +110 -0
  1581. data/lib/fhir_dstu2_models/examples/xml/observation-example-f206-staphylococcus(f206).xml +49 -0
  1582. data/lib/fhir_dstu2_models/examples/xml/observation-example-glasgow(glasgow).xml +235 -0
  1583. data/lib/fhir_dstu2_models/examples/xml/observation-example-glasgow-qa(gcs-qa).xml +81 -0
  1584. data/lib/fhir_dstu2_models/examples/xml/observation-example-sample-data(ekg).xml +108 -0
  1585. data/lib/fhir_dstu2_models/examples/xml/observation-example-satO2(satO2).xml +50 -0
  1586. data/lib/fhir_dstu2_models/examples/xml/observation-example-unsat(unsat).xml +53 -0
  1587. data/lib/fhir_dstu2_models/examples/xml/operation-composition-document.xml +87 -0
  1588. data/lib/fhir_dstu2_models/examples/xml/operation-conceptmap-closure.xml +146 -0
  1589. data/lib/fhir_dstu2_models/examples/xml/operation-conceptmap-translate.xml +437 -0
  1590. data/lib/fhir_dstu2_models/examples/xml/operation-encounter-everything.xml +87 -0
  1591. data/lib/fhir_dstu2_models/examples/xml/operation-list-find.xml +110 -0
  1592. data/lib/fhir_dstu2_models/examples/xml/operation-messageheader-process-message.xml +151 -0
  1593. data/lib/fhir_dstu2_models/examples/xml/operation-patient-everything.xml +149 -0
  1594. data/lib/fhir_dstu2_models/examples/xml/operation-questionnaire-populate.xml +246 -0
  1595. data/lib/fhir_dstu2_models/examples/xml/operation-resource-meta-add.xml +106 -0
  1596. data/lib/fhir_dstu2_models/examples/xml/operation-resource-meta-delete.xml +106 -0
  1597. data/lib/fhir_dstu2_models/examples/xml/operation-resource-meta.xml +105 -0
  1598. data/lib/fhir_dstu2_models/examples/xml/operation-resource-validate.xml +186 -0
  1599. data/lib/fhir_dstu2_models/examples/xml/operation-structuredefinition-questionnaire.xml +188 -0
  1600. data/lib/fhir_dstu2_models/examples/xml/operation-valueset-expand.xml +258 -0
  1601. data/lib/fhir_dstu2_models/examples/xml/operation-valueset-lookup.xml +338 -0
  1602. data/lib/fhir_dstu2_models/examples/xml/operation-valueset-validate-code.xml +356 -0
  1603. data/lib/fhir_dstu2_models/examples/xml/operationdefinition-example(example).xml +43 -0
  1604. data/lib/fhir_dstu2_models/examples/xml/operationoutcome-example(101).xml +18 -0
  1605. data/lib/fhir_dstu2_models/examples/xml/operationoutcome-example-allok(allok).xml +16 -0
  1606. data/lib/fhir_dstu2_models/examples/xml/operationoutcome-example-break-the-glass(break-the-glass).xml +29 -0
  1607. data/lib/fhir_dstu2_models/examples/xml/operationoutcome-example-exception(exception).xml +16 -0
  1608. data/lib/fhir_dstu2_models/examples/xml/operationoutcome-example-searchfail(searchfail).xml +17 -0
  1609. data/lib/fhir_dstu2_models/examples/xml/operationoutcome-example-validationfail(validationfail).xml +17 -0
  1610. data/lib/fhir_dstu2_models/examples/xml/order-example(example).xml +31 -0
  1611. data/lib/fhir_dstu2_models/examples/xml/order-example-f201-physiotherapy(f201).xml +31 -0
  1612. data/lib/fhir_dstu2_models/examples/xml/orderresponse-example(example).xml +52 -0
  1613. data/lib/fhir_dstu2_models/examples/xml/org-uslab-example1(org-uslab-example1).xml +31 -0
  1614. data/lib/fhir_dstu2_models/examples/xml/org-uslab-example2(org-uslab-example2).xml +36 -0
  1615. data/lib/fhir_dstu2_models/examples/xml/org-uslab-example3(org-uslab-example3).xml +32 -0
  1616. data/lib/fhir_dstu2_models/examples/xml/organization-example(hl7).xml +47 -0
  1617. data/lib/fhir_dstu2_models/examples/xml/organization-example(organization-example).xml +68 -0
  1618. data/lib/fhir_dstu2_models/examples/xml/organization-example-f001-burgers(f001).xml +71 -0
  1619. data/lib/fhir_dstu2_models/examples/xml/organization-example-f002-burgers-card(f002).xml +48 -0
  1620. data/lib/fhir_dstu2_models/examples/xml/organization-example-f003-burgers-ENT(f003).xml +48 -0
  1621. data/lib/fhir_dstu2_models/examples/xml/organization-example-f201-aumc(f201).xml +88 -0
  1622. data/lib/fhir_dstu2_models/examples/xml/organization-example-f203-bumc(f203).xml +54 -0
  1623. data/lib/fhir_dstu2_models/examples/xml/organization-example-gastro(1).xml +33 -0
  1624. data/lib/fhir_dstu2_models/examples/xml/organization-example-good-health-care(2.16.840.1.113883.19.5).xml +16 -0
  1625. data/lib/fhir_dstu2_models/examples/xml/organization-example-insurer(2).xml +16 -0
  1626. data/lib/fhir_dstu2_models/examples/xml/organization-example-lab(1832473e-2fe0-452d-abe9-3cdb9879522f).xml +29 -0
  1627. data/lib/fhir_dstu2_models/examples/xml/parameters-example(example).xml +16 -0
  1628. data/lib/fhir_dstu2_models/examples/xml/patient-example(example).xml +140 -0
  1629. data/lib/fhir_dstu2_models/examples/xml/patient-example(patient-example).xml +112 -0
  1630. data/lib/fhir_dstu2_models/examples/xml/patient-example-a(pat1).xml +55 -0
  1631. data/lib/fhir_dstu2_models/examples/xml/patient-example-animal(animal).xml +119 -0
  1632. data/lib/fhir_dstu2_models/examples/xml/patient-example-b(pat2).xml +54 -0
  1633. data/lib/fhir_dstu2_models/examples/xml/patient-example-c(pat3).xml +35 -0
  1634. data/lib/fhir_dstu2_models/examples/xml/patient-example-d(pat4).xml +35 -0
  1635. data/lib/fhir_dstu2_models/examples/xml/patient-example-dicom(dicom).xml +45 -0
  1636. data/lib/fhir_dstu2_models/examples/xml/patient-example-f001-pieter(f001).xml +85 -0
  1637. data/lib/fhir_dstu2_models/examples/xml/patient-example-f201-roel(f201).xml +116 -0
  1638. data/lib/fhir_dstu2_models/examples/xml/patient-example-ihe-pcd(ihe-pcd).xml +20 -0
  1639. data/lib/fhir_dstu2_models/examples/xml/patient-example-proband(proband).xml +39 -0
  1640. data/lib/fhir_dstu2_models/examples/xml/patient-example-us-extensions(us01).xml +98 -0
  1641. data/lib/fhir_dstu2_models/examples/xml/patient-example-xcda(xcda).xml +33 -0
  1642. data/lib/fhir_dstu2_models/examples/xml/patient-example-xds(xds).xml +39 -0
  1643. data/lib/fhir_dstu2_models/examples/xml/patient-examples-general(b248b1b2-1686-4b94-9936-37d7a5f94b51).xml +559 -0
  1644. data/lib/fhir_dstu2_models/examples/xml/patient-glossy-example(glossy).xml +39 -0
  1645. data/lib/fhir_dstu2_models/examples/xml/patient-mpi-search(patient-mpi).xml +41 -0
  1646. data/lib/fhir_dstu2_models/examples/xml/patient-uslab-example1(patient-uslab-example1).xml +44 -0
  1647. data/lib/fhir_dstu2_models/examples/xml/patient-uslab-example2(patient-uslab-example2).xml +103 -0
  1648. data/lib/fhir_dstu2_models/examples/xml/paymentnotice-example(77654).xml +29 -0
  1649. data/lib/fhir_dstu2_models/examples/xml/paymentreconciliation-example(ER2500).xml +83 -0
  1650. data/lib/fhir_dstu2_models/examples/xml/person-example(example).xml +96 -0
  1651. data/lib/fhir_dstu2_models/examples/xml/person-example-f002-ariadne(f002).xml +39 -0
  1652. data/lib/fhir_dstu2_models/examples/xml/person-grahame(grahame).xml +88 -0
  1653. data/lib/fhir_dstu2_models/examples/xml/person-patient-portal(pp).xml +78 -0
  1654. data/lib/fhir_dstu2_models/examples/xml/person-provider-directory(pd).xml +70 -0
  1655. data/lib/fhir_dstu2_models/examples/xml/pract-uslab-example1(pract-uslab-example1).xml +18 -0
  1656. data/lib/fhir_dstu2_models/examples/xml/pract-uslab-example2(pract-uslab-example2).xml +50 -0
  1657. data/lib/fhir_dstu2_models/examples/xml/pract-uslab-example3(pract-uslab-example3).xml +18 -0
  1658. data/lib/fhir_dstu2_models/examples/xml/practitioner-example(example).xml +62 -0
  1659. data/lib/fhir_dstu2_models/examples/xml/practitioner-example(practitioner-example).xml +47 -0
  1660. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-f001-evdb(f001).xml +72 -0
  1661. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-f002-pv(f002).xml +72 -0
  1662. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-f003-mv(f003).xml +80 -0
  1663. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-f004-rb(f004).xml +81 -0
  1664. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-f005-al(f005).xml +87 -0
  1665. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-f006-rvdb(f006).xml +72 -0
  1666. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-f007-sh(f007).xml +72 -0
  1667. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-f201-ab(f201).xml +73 -0
  1668. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-f202-lm(f202).xml +63 -0
  1669. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-f203-jvg(f203).xml +59 -0
  1670. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-f204-ce(f204).xml +54 -0
  1671. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-xcda-author(xcda-author).xml +14 -0
  1672. data/lib/fhir_dstu2_models/examples/xml/practitioner-example-xcda1(xcda1).xml +29 -0
  1673. data/lib/fhir_dstu2_models/examples/xml/practitioner-examples-general(3ad0687e-f477-468c-afd5-fcc2bf897809).xml +2674 -0
  1674. data/lib/fhir_dstu2_models/examples/xml/procedure-example(example).xml +35 -0
  1675. data/lib/fhir_dstu2_models/examples/xml/procedure-example(procedure-example).xml +50 -0
  1676. data/lib/fhir_dstu2_models/examples/xml/procedure-example-biopsy(biopsy).xml +43 -0
  1677. data/lib/fhir_dstu2_models/examples/xml/procedure-example-f001-heart(f001).xml +56 -0
  1678. data/lib/fhir_dstu2_models/examples/xml/procedure-example-f002-lung(f002).xml +58 -0
  1679. data/lib/fhir_dstu2_models/examples/xml/procedure-example-f003-abscess(f003).xml +58 -0
  1680. data/lib/fhir_dstu2_models/examples/xml/procedure-example-f004-tracheotomy(f004).xml +58 -0
  1681. data/lib/fhir_dstu2_models/examples/xml/procedure-example-f201-tpf(f201).xml +55 -0
  1682. data/lib/fhir_dstu2_models/examples/xml/procedure-example-implant(example-implant).xml +41 -0
  1683. data/lib/fhir_dstu2_models/examples/xml/procedurerequest-example(example).xml +21 -0
  1684. data/lib/fhir_dstu2_models/examples/xml/procedurerequest-example(procedurerequest-example).xml +44 -0
  1685. data/lib/fhir_dstu2_models/examples/xml/processrequest-example(1110).xml +22 -0
  1686. data/lib/fhir_dstu2_models/examples/xml/processrequest-example-poll-eob(1115).xml +20 -0
  1687. data/lib/fhir_dstu2_models/examples/xml/processrequest-example-poll-exclusive(1113).xml +25 -0
  1688. data/lib/fhir_dstu2_models/examples/xml/processrequest-example-poll-inclusive(1112).xml +24 -0
  1689. data/lib/fhir_dstu2_models/examples/xml/processrequest-example-poll-payrec(1114).xml +29 -0
  1690. data/lib/fhir_dstu2_models/examples/xml/processrequest-example-poll-specific(1111).xml +26 -0
  1691. data/lib/fhir_dstu2_models/examples/xml/processrequest-example-reprocess(44654).xml +32 -0
  1692. data/lib/fhir_dstu2_models/examples/xml/processrequest-example-reverse(87654).xml +28 -0
  1693. data/lib/fhir_dstu2_models/examples/xml/processrequest-example-status(87655).xml +30 -0
  1694. data/lib/fhir_dstu2_models/examples/xml/processresponse-example(SR2500).xml +35 -0
  1695. data/lib/fhir_dstu2_models/examples/xml/provenance-example(example).xml +86 -0
  1696. data/lib/fhir_dstu2_models/examples/xml/provenance-example-sig(signature).xml +61 -0
  1697. data/lib/fhir_dstu2_models/examples/xml/questionnaire-example(3141).xml +158 -0
  1698. data/lib/fhir_dstu2_models/examples/xml/questionnaire-example-bluebook(bb).xml +95 -0
  1699. data/lib/fhir_dstu2_models/examples/xml/questionnaire-example-f201-lifelines(f201).xml +72 -0
  1700. data/lib/fhir_dstu2_models/examples/xml/questionnaire-example-gcs(gcs).xml +164 -0
  1701. data/lib/fhir_dstu2_models/examples/xml/questionnaire-sdc-profile-example-cap(questionnaire-sdc-profile-example-cap).xml +537 -0
  1702. data/lib/fhir_dstu2_models/examples/xml/questionnaire-sdc-profile-example-loinc(questionnaire-sdc-profile-example-loinc).xml +1416 -0
  1703. data/lib/fhir_dstu2_models/examples/xml/questionnaireresponse-example(3141).xml +147 -0
  1704. data/lib/fhir_dstu2_models/examples/xml/questionnaireresponse-example-bluebook(bb).xml +121 -0
  1705. data/lib/fhir_dstu2_models/examples/xml/questionnaireresponse-example-f201-lifelines(f201).xml +82 -0
  1706. data/lib/fhir_dstu2_models/examples/xml/questionnaireresponse-example-gcs(gcs).xml +70 -0
  1707. data/lib/fhir_dstu2_models/examples/xml/questionnaireresponse-sdc-example-ussg-fht-answers.xml +1779 -0
  1708. data/lib/fhir_dstu2_models/examples/xml/questionnaireresponse-sdc-profile-example(questionnaireresponse-sdc-profile-example).xml +116 -0
  1709. data/lib/fhir_dstu2_models/examples/xml/referralrequest-example(example).xml +62 -0
  1710. data/lib/fhir_dstu2_models/examples/xml/referralrequest-example(referralrequest-example).xml +65 -0
  1711. data/lib/fhir_dstu2_models/examples/xml/relatedperson-example(benedicte).xml +77 -0
  1712. data/lib/fhir_dstu2_models/examples/xml/relatedperson-example-f001-sarah(f001).xml +46 -0
  1713. data/lib/fhir_dstu2_models/examples/xml/relatedperson-example-f002-ariadne(f002).xml +46 -0
  1714. data/lib/fhir_dstu2_models/examples/xml/relatedperson-example-peter(peter).xml +66 -0
  1715. data/lib/fhir_dstu2_models/examples/xml/riskassessment-example(genetic).xml +214 -0
  1716. data/lib/fhir_dstu2_models/examples/xml/riskassessment-example-cardiac(cardiac).xml +107 -0
  1717. data/lib/fhir_dstu2_models/examples/xml/riskassessment-example-population(population).xml +9 -0
  1718. data/lib/fhir_dstu2_models/examples/xml/riskassessment-example-prognosis(prognosis).xml +30 -0
  1719. data/lib/fhir_dstu2_models/examples/xml/schedule-example(example).xml +29 -0
  1720. data/lib/fhir_dstu2_models/examples/xml/searchparameter-example(example).xml +25 -0
  1721. data/lib/fhir_dstu2_models/examples/xml/searchparameter-example-extension(example-extension).xml +19 -0
  1722. data/lib/fhir_dstu2_models/examples/xml/slot-example(example).xml +22 -0
  1723. data/lib/fhir_dstu2_models/examples/xml/slot-example-busy(1).xml +27 -0
  1724. data/lib/fhir_dstu2_models/examples/xml/slot-example-tentative(2).xml +22 -0
  1725. data/lib/fhir_dstu2_models/examples/xml/slot-example-unavailable(3).xml +23 -0
  1726. data/lib/fhir_dstu2_models/examples/xml/spec-uslab-example1(spec-uslab-example1).xml +78 -0
  1727. data/lib/fhir_dstu2_models/examples/xml/spec-uslab-example2(spec-uslab-example2).xml +62 -0
  1728. data/lib/fhir_dstu2_models/examples/xml/specimen-example(101).xml +107 -0
  1729. data/lib/fhir_dstu2_models/examples/xml/specimen-example(specimen-example).xml +75 -0
  1730. data/lib/fhir_dstu2_models/examples/xml/specimen-example-isolate(isolate).xml +91 -0
  1731. data/lib/fhir_dstu2_models/examples/xml/specimen-example-urine(vma-urine).xml +67 -0
  1732. data/lib/fhir_dstu2_models/examples/xml/structuredefinition-example(example).xml +417 -0
  1733. data/lib/fhir_dstu2_models/examples/xml/subscription-example(example).xml +26 -0
  1734. data/lib/fhir_dstu2_models/examples/xml/subscription-example-error(example-error).xml +29 -0
  1735. data/lib/fhir_dstu2_models/examples/xml/substance-example(example).xml +23 -0
  1736. data/lib/fhir_dstu2_models/examples/xml/substance-example-amoxicillin-clavulanate(f205).xml +80 -0
  1737. data/lib/fhir_dstu2_models/examples/xml/substance-example-f201-dust(f201).xml +10 -0
  1738. data/lib/fhir_dstu2_models/examples/xml/substance-example-f202-staphylococcus(f202).xml +10 -0
  1739. data/lib/fhir_dstu2_models/examples/xml/substance-example-f203-potassium(f203).xml +19 -0
  1740. data/lib/fhir_dstu2_models/examples/xml/substance-example-silver-nitrate-product(f204).xml +35 -0
  1741. data/lib/fhir_dstu2_models/examples/xml/supplydelivery-example(example).xml +10 -0
  1742. data/lib/fhir_dstu2_models/examples/xml/supplyrequest-example(example).xml +10 -0
  1743. data/lib/fhir_dstu2_models/examples/xml/testscript-example(example).xml +153 -0
  1744. data/lib/fhir_dstu2_models/examples/xml/testscript-example-multiserver(multiserver).xml +276 -0
  1745. data/lib/fhir_dstu2_models/examples/xml/testscript-history(history).xml +99 -0
  1746. data/lib/fhir_dstu2_models/examples/xml/testscript-readtest(ReadTestScript).xml +133 -0
  1747. data/lib/fhir_dstu2_models/examples/xml/testscript-search(search).xml +246 -0
  1748. data/lib/fhir_dstu2_models/examples/xml/testscript-update(update).xml +95 -0
  1749. data/lib/fhir_dstu2_models/examples/xml/valueset-cpt-all(cpt-all).xml +31 -0
  1750. data/lib/fhir_dstu2_models/examples/xml/valueset-example(example-extensional).xml +111 -0
  1751. data/lib/fhir_dstu2_models/examples/xml/valueset-example-expansion(example-expansion).xml +199 -0
  1752. data/lib/fhir_dstu2_models/examples/xml/valueset-example-inline(example-inline).xml +197 -0
  1753. data/lib/fhir_dstu2_models/examples/xml/valueset-example-intensional(example-intensional).xml +82 -0
  1754. data/lib/fhir_dstu2_models/examples/xml/valueset-example-yesnodontknow(yesnodontknow).xml +108 -0
  1755. data/lib/fhir_dstu2_models/examples/xml/valueset-nhin-purposeofuse(nhin-purposeofuse).xml +664 -0
  1756. data/lib/fhir_dstu2_models/examples/xml/valueset-restful-interaction(restful-interaction).xml +248 -0
  1757. data/lib/fhir_dstu2_models/examples/xml/valueset-sdc-profile-example(valueset-sdc-profile-example).xml +149 -0
  1758. data/lib/fhir_dstu2_models/examples/xml/visionprescription-example(33123).xml +53 -0
  1759. data/lib/fhir_dstu2_models/examples/xml/visionprescription-example-1(33124).xml +68 -0
  1760. data/lib/fhir_dstu2_models/examples/xml/xds-example(xds).xml +215 -0
  1761. data/lib/fhir_dstu2_models/fhir.rb +84 -0
  1762. data/lib/fhir_dstu2_models/fhir/metadata.rb +28 -0
  1763. data/lib/fhir_dstu2_models/fhir/resources/Account.rb +56 -0
  1764. data/lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb +94 -0
  1765. data/lib/fhir_dstu2_models/fhir/resources/Appointment.rb +82 -0
  1766. data/lib/fhir_dstu2_models/fhir/resources/AppointmentResponse.rb +50 -0
  1767. data/lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb +208 -0
  1768. data/lib/fhir_dstu2_models/fhir/resources/Basic.rb +44 -0
  1769. data/lib/fhir_dstu2_models/fhir/resources/Binary.rb +30 -0
  1770. data/lib/fhir_dstu2_models/fhir/resources/BodySite.rb +46 -0
  1771. data/lib/fhir_dstu2_models/fhir/resources/Bundle.rb +156 -0
  1772. data/lib/fhir_dstu2_models/fhir/resources/CarePlan.rb +186 -0
  1773. data/lib/fhir_dstu2_models/fhir/resources/Claim.rb +332 -0
  1774. data/lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb +398 -0
  1775. data/lib/fhir_dstu2_models/fhir/resources/ClinicalImpression.rb +133 -0
  1776. data/lib/fhir_dstu2_models/fhir/resources/Communication.rb +85 -0
  1777. data/lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb +92 -0
  1778. data/lib/fhir_dstu2_models/fhir/resources/Composition.rb +138 -0
  1779. data/lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb +166 -0
  1780. data/lib/fhir_dstu2_models/fhir/resources/Condition.rb +128 -0
  1781. data/lib/fhir_dstu2_models/fhir/resources/Conformance.rb +442 -0
  1782. data/lib/fhir_dstu2_models/fhir/resources/Contract.rb +320 -0
  1783. data/lib/fhir_dstu2_models/fhir/resources/Coverage.rb +62 -0
  1784. data/lib/fhir_dstu2_models/fhir/resources/DataElement.rb +106 -0
  1785. data/lib/fhir_dstu2_models/fhir/resources/DetectedIssue.rb +76 -0
  1786. data/lib/fhir_dstu2_models/fhir/resources/Device.rb +66 -0
  1787. data/lib/fhir_dstu2_models/fhir/resources/DeviceComponent.rb +76 -0
  1788. data/lib/fhir_dstu2_models/fhir/resources/DeviceMetric.rb +76 -0
  1789. data/lib/fhir_dstu2_models/fhir/resources/DeviceUseRequest.rb +70 -0
  1790. data/lib/fhir_dstu2_models/fhir/resources/DeviceUseStatement.rb +62 -0
  1791. data/lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb +108 -0
  1792. data/lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb +93 -0
  1793. data/lib/fhir_dstu2_models/fhir/resources/DocumentManifest.rb +101 -0
  1794. data/lib/fhir_dstu2_models/fhir/resources/DocumentReference.rb +158 -0
  1795. data/lib/fhir_dstu2_models/fhir/resources/DomainResource.rb +34 -0
  1796. data/lib/fhir_dstu2_models/fhir/resources/EligibilityRequest.rb +48 -0
  1797. data/lib/fhir_dstu2_models/fhir/resources/EligibilityResponse.rb +54 -0
  1798. data/lib/fhir_dstu2_models/fhir/resources/Encounter.rb +174 -0
  1799. data/lib/fhir_dstu2_models/fhir/resources/EnrollmentRequest.rb +54 -0
  1800. data/lib/fhir_dstu2_models/fhir/resources/EnrollmentResponse.rb +54 -0
  1801. data/lib/fhir_dstu2_models/fhir/resources/EpisodeOfCare.rb +98 -0
  1802. data/lib/fhir_dstu2_models/fhir/resources/ExplanationOfBenefit.rb +54 -0
  1803. data/lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb +112 -0
  1804. data/lib/fhir_dstu2_models/fhir/resources/Flag.rb +50 -0
  1805. data/lib/fhir_dstu2_models/fhir/resources/Goal.rb +93 -0
  1806. data/lib/fhir_dstu2_models/fhir/resources/Group.rb +105 -0
  1807. data/lib/fhir_dstu2_models/fhir/resources/HealthcareService.rb +142 -0
  1808. data/lib/fhir_dstu2_models/fhir/resources/ImagingObjectSelection.rb +138 -0
  1809. data/lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb +132 -0
  1810. data/lib/fhir_dstu2_models/fhir/resources/Immunization.rb +150 -0
  1811. data/lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb +116 -0
  1812. data/lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb +213 -0
  1813. data/lib/fhir_dstu2_models/fhir/resources/List.rb +84 -0
  1814. data/lib/fhir_dstu2_models/fhir/resources/Location.rb +80 -0
  1815. data/lib/fhir_dstu2_models/fhir/resources/Media.rb +58 -0
  1816. data/lib/fhir_dstu2_models/fhir/resources/Medication.rb +146 -0
  1817. data/lib/fhir_dstu2_models/fhir/resources/MedicationAdministration.rb +106 -0
  1818. data/lib/fhir_dstu2_models/fhir/resources/MedicationDispense.rb +143 -0
  1819. data/lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb +173 -0
  1820. data/lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb +119 -0
  1821. data/lib/fhir_dstu2_models/fhir/resources/MessageHeader.rb +126 -0
  1822. data/lib/fhir_dstu2_models/fhir/resources/NamingSystem.rb +104 -0
  1823. data/lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb +213 -0
  1824. data/lib/fhir_dstu2_models/fhir/resources/Observation.rb +189 -0
  1825. data/lib/fhir_dstu2_models/fhir/resources/OperationDefinition.rb +151 -0
  1826. data/lib/fhir_dstu2_models/fhir/resources/OperationOutcome.rb +62 -0
  1827. data/lib/fhir_dstu2_models/fhir/resources/Order.rb +75 -0
  1828. data/lib/fhir_dstu2_models/fhir/resources/OrderResponse.rb +48 -0
  1829. data/lib/fhir_dstu2_models/fhir/resources/Organization.rb +74 -0
  1830. data/lib/fhir_dstu2_models/fhir/resources/Parameters.rb +119 -0
  1831. data/lib/fhir_dstu2_models/fhir/resources/Patient.rb +168 -0
  1832. data/lib/fhir_dstu2_models/fhir/resources/PaymentNotice.rb +54 -0
  1833. data/lib/fhir_dstu2_models/fhir/resources/PaymentReconciliation.rb +114 -0
  1834. data/lib/fhir_dstu2_models/fhir/resources/Person.rb +74 -0
  1835. data/lib/fhir_dstu2_models/fhir/resources/Practitioner.rb +108 -0
  1836. data/lib/fhir_dstu2_models/fhir/resources/Procedure.rb +124 -0
  1837. data/lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb +75 -0
  1838. data/lib/fhir_dstu2_models/fhir/resources/ProcessRequest.rb +84 -0
  1839. data/lib/fhir_dstu2_models/fhir/resources/ProcessResponse.rb +80 -0
  1840. data/lib/fhir_dstu2_models/fhir/resources/Provenance.rb +124 -0
  1841. data/lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb +116 -0
  1842. data/lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb +149 -0
  1843. data/lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb +66 -0
  1844. data/lib/fhir_dstu2_models/fhir/resources/RelatedPerson.rb +54 -0
  1845. data/lib/fhir_dstu2_models/fhir/resources/Resource.rb +26 -0
  1846. data/lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb +90 -0
  1847. data/lib/fhir_dstu2_models/fhir/resources/Schedule.rb +44 -0
  1848. data/lib/fhir_dstu2_models/fhir/resources/SearchParameter.rb +84 -0
  1849. data/lib/fhir_dstu2_models/fhir/resources/Slot.rb +50 -0
  1850. data/lib/fhir_dstu2_models/fhir/resources/Specimen.rb +142 -0
  1851. data/lib/fhir_dstu2_models/fhir/resources/StructureDefinition.rb +164 -0
  1852. data/lib/fhir_dstu2_models/fhir/resources/Subscription.rb +74 -0
  1853. data/lib/fhir_dstu2_models/fhir/resources/Substance.rb +88 -0
  1854. data/lib/fhir_dstu2_models/fhir/resources/SupplyDelivery.rb +56 -0
  1855. data/lib/fhir_dstu2_models/fhir/resources/SupplyRequest.rb +79 -0
  1856. data/lib/fhir_dstu2_models/fhir/resources/TestScript.rb +446 -0
  1857. data/lib/fhir_dstu2_models/fhir/resources/ValueSet.rb +345 -0
  1858. data/lib/fhir_dstu2_models/fhir/resources/VisionPrescription.rb +99 -0
  1859. data/lib/fhir_dstu2_models/fhir/types/Address.rb +38 -0
  1860. data/lib/fhir_dstu2_models/fhir/types/Annotation.rb +29 -0
  1861. data/lib/fhir_dstu2_models/fhir/types/Attachment.rb +34 -0
  1862. data/lib/fhir_dstu2_models/fhir/types/BackboneElement.rb +20 -0
  1863. data/lib/fhir_dstu2_models/fhir/types/CodeableConcept.rb +22 -0
  1864. data/lib/fhir_dstu2_models/fhir/types/Coding.rb +28 -0
  1865. data/lib/fhir_dstu2_models/fhir/types/ContactPoint.rb +28 -0
  1866. data/lib/fhir_dstu2_models/fhir/types/Element.rb +18 -0
  1867. data/lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb +603 -0
  1868. data/lib/fhir_dstu2_models/fhir/types/Extension.rb +89 -0
  1869. data/lib/fhir_dstu2_models/fhir/types/HumanName.rb +32 -0
  1870. data/lib/fhir_dstu2_models/fhir/types/Identifier.rb +30 -0
  1871. data/lib/fhir_dstu2_models/fhir/types/Meta.rb +28 -0
  1872. data/lib/fhir_dstu2_models/fhir/types/Narrative.rb +22 -0
  1873. data/lib/fhir_dstu2_models/fhir/types/Period.rb +22 -0
  1874. data/lib/fhir_dstu2_models/fhir/types/Quantity.rb +28 -0
  1875. data/lib/fhir_dstu2_models/fhir/types/Range.rb +22 -0
  1876. data/lib/fhir_dstu2_models/fhir/types/Ratio.rb +22 -0
  1877. data/lib/fhir_dstu2_models/fhir/types/Reference.rb +22 -0
  1878. data/lib/fhir_dstu2_models/fhir/types/SampledData.rb +32 -0
  1879. data/lib/fhir_dstu2_models/fhir/types/Signature.rb +33 -0
  1880. data/lib/fhir_dstu2_models/fhir/types/Timing.rb +67 -0
  1881. data/lib/fhir_dstu2_models/fhir_ext/element_definition.rb +51 -0
  1882. data/lib/fhir_dstu2_models/fhir_ext/structure_definition.rb +365 -0
  1883. data/lib/fhir_dstu2_models/fhir_ext/structure_definition_compare.rb +377 -0
  1884. data/lib/fhir_dstu2_models/fhir_ext/structure_definition_finding.rb +69 -0
  1885. data/lib/fhir_dstu2_models/fluentpath/evaluate.rb +590 -0
  1886. data/lib/fhir_dstu2_models/fluentpath/expression.rb +30 -0
  1887. data/lib/fhir_dstu2_models/fluentpath/parse.rb +104 -0
  1888. data/lib/fhir_dstu2_models/tasks/tasks.rake +141 -0
  1889. data/lib/fhir_dstu2_models/version.rb +7 -0
  1890. metadata +2149 -0
@@ -0,0 +1,143 @@
1
+ module FHIR
2
+ module DSTU2
3
+ class MedicationDispense < FHIR::DSTU2::Model
4
+ include FHIR::DSTU2::Hashable
5
+ include FHIR::DSTU2::Json
6
+ include FHIR::DSTU2::Xml
7
+
8
+ MULTIPLE_TYPES = {
9
+ 'medication' => ['CodeableConcept', 'Reference']
10
+ }
11
+ SEARCH_PARAMS = ['code', 'destination', 'dispenser', 'identifier', 'medication', 'patient', 'prescription', 'receiver', 'responsibleparty', 'status', 'type', 'whenhandedover', 'whenprepared']
12
+ METADATA = {
13
+ 'id' => {'type'=>'id', 'path'=>'MedicationDispense.id', 'min'=>0, 'max'=>1},
14
+ 'meta' => {'type'=>'Meta', 'path'=>'MedicationDispense.meta', 'min'=>0, 'max'=>1},
15
+ 'implicitRules' => {'type'=>'uri', 'path'=>'MedicationDispense.implicitRules', 'min'=>0, 'max'=>1},
16
+ 'language' => {'type'=>'code', 'path'=>'MedicationDispense.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
17
+ 'text' => {'type'=>'Narrative', 'path'=>'MedicationDispense.text', 'min'=>0, 'max'=>1},
18
+ 'contained' => {'type'=>'Resource', 'path'=>'MedicationDispense.contained', 'min'=>0, 'max'=>Float::INFINITY},
19
+ 'extension' => {'type'=>'Extension', 'path'=>'MedicationDispense.extension', 'min'=>0, 'max'=>Float::INFINITY},
20
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'MedicationDispense.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
21
+ 'identifier' => {'type'=>'Identifier', 'path'=>'MedicationDispense.identifier', 'min'=>0, 'max'=>1},
22
+ 'status' => {'valid_codes'=>{'http://hl7.org/fhir/medication-dispense-status'=>['in-progress', 'on-hold', 'completed', 'entered-in-error', 'stopped']}, 'type'=>'code', 'path'=>'MedicationDispense.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-dispense-status'}},
23
+ 'patient' => {'type'=>'Reference', 'path'=>'MedicationDispense.patient', 'min'=>0, 'max'=>1},
24
+ 'dispenser' => {'type'=>'Reference', 'path'=>'MedicationDispense.dispenser', 'min'=>0, 'max'=>1},
25
+ 'authorizingPrescription' => {'type'=>'Reference', 'path'=>'MedicationDispense.authorizingPrescription', 'min'=>0, 'max'=>Float::INFINITY},
26
+ 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActCode'=>['_ActAccountCode', 'ACCTRECEIVABLE', 'CASH', 'CC', 'AE', 'DN', 'DV', 'MC', 'V', 'PBILLACCT', '_ActAdjudicationCode', '_ActAdjudicationGroupCode', 'CONT', 'DAY', 'LOC', 'MONTH', 'PERIOD', 'PROV', 'WEEK', 'YEAR', 'AA', 'ANF', 'AR', 'AS', '_ActAdjudicationResultActionCode', 'DISPLAY', 'FORM', '_ActBillableModifierCode', 'CPTM', 'HCPCSA', '_ActBillingArrangementCode', 'BLK', 'CAP', 'CONTF', 'FINBILL', 'ROST', 'SESS', 'FFS', 'FFPS', 'FFCS', 'TFS', '_ActBoundedROICode', 'ROIFS', 'ROIPS', '_ActCareProvisionCode', '_ActCredentialedCareCode', '_ActCredentialedCareProvisionPersonCode', 'CACC', 'CAIC', 'CAMC', 'CANC', 'CAPC', 'CBGC', 'CCCC', 'CCGC', 'CCPC', 'CCSC', 'CDEC', 'CDRC', 'CEMC', 'CFPC', 'CIMC', 'CMGC', 'CNEC', 'CNMC', 'CNQC', 'CNSC', 'COGC', 'COMC', 'COPC', 'COSC', 'COTC', 'CPEC', 'CPGC', 'CPHC', 'CPRC', 'CPSC', 'CPYC', 'CROC', 'CRPC', 'CSUC', 'CTSC', 'CURC', 'CVSC', 'LGPC', '_ActCredentialedCareProvisionProgramCode', 'AALC', 'AAMC', 'ABHC', 'ACAC', 'ACHC', 'AHOC', 'ALTC', 'AOSC', 'CACS', 'CAMI', 'CAST', 'CBAR', 'CCAD', 'CCAR', 'CDEP', 'CDGD', 'CDIA', 'CEPI', 'CFEL', 'CHFC', 'CHRO', 'CHYP', 'CMIH', 'CMSC', 'COJR', 'CONC', 'COPD', 'CORT', 'CPAD', 'CPND', 'CPST', 'CSDM', 'CSIC', 'CSLD', 'CSPT', 'CTBU', 'CVDC', 'CWMA', 'CWOH', '_ActEncounterCode', 'AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR', '_ActMedicalServiceCode', 'ALC', 'CARD', 'CHR', 'DNTL', 'DRGRHB', 'GENRL', 'MED', 'OBS', 'ONC', 'PALL', 'PED', 'PHAR', 'PHYRHB', 'PSYCH', 'SURG', '_ActClaimAttachmentCategoryCode', 'AUTOATTCH', 'DOCUMENT', 'HEALTHREC', 'IMG', 'LABRESULTS', 'MODEL', 'WIATTCH', 'XRAY', '_ActConsentType', 'ICOL', 'IDSCL', 'INFA', 'INFAO', 'INFASO', 'IRDSCL', 'RESEARCH', 'RSDID', 'RSREID', '_ActContainerRegistrationCode', 'ID', 'IP', 'L', 'M', 'O', 'R', 'X', '_ActControlVariable', 'AUTO', 'ENDC', 'REFLEX', '_ActCoverageConfirmationCode', '_ActCoverageAuthorizationConfirmationCode', 'AUTH', 'NAUTH', '_ActCoverageEligibilityConfirmationCode', 'ELG', 'NELG', '_ActCoverageLimitCode', '_ActCoverageQuantityLimitCode', 'COVPRD', 'LFEMX', 'NETAMT', 'PRDMX', 'UNITPRICE', 'UNITQTY', 'COVMX', '_ActCoveredPartyLimitCode', '_ActCoverageTypeCode', '_ActInsurancePolicyCode', 'EHCPOL', 'HSAPOL', 'AUTOPOL', 'COL', 'UNINSMOT', 'PUBLICPOL', 'DENTPRG', 'DISEASEPRG', 'CANPRG', 'ENDRENAL', 'HIVAIDS', 'MANDPOL', 'MENTPRG', 'SAFNET', 'SUBPRG', 'SUBSIDIZ', 'SUBSIDMC', 'SUBSUPP', 'WCBPOL', '_ActInsuranceTypeCode', '_ActHealthInsuranceTypeCode', 'DENTAL', 'DISEASE', 'DRUGPOL', 'HIP', 'LTC', 'MCPOL', 'POS', 'HMO', 'PPO', 'MENTPOL', 'SUBPOL', 'VISPOL', 'DIS', 'EWB', 'FLEXP', 'LIFE', 'ANNU', 'TLIFE', 'ULIFE', 'PNC', 'REI', 'SURPL', 'UMBRL', '_ActProgramTypeCode', 'CHAR', 'CRIME', 'EAP', 'GOVEMP', 'HIRISK', 'IND', 'MILITARY', 'RETIRE', 'SOCIAL', 'VET', '_ActDetectedIssueManagementCode', '_ActAdministrativeDetectedIssueManagementCode', '_AuthorizationIssueManagementCode', 'EMAUTH', '21', '1', '19', '2', '22', '23', '3', '4', '5', '6', '7', '14', '15', '16', '17', '18', '20', '8', '10', '11', '12', '13', '9', '_ActExposureCode', 'CHLDCARE', 'CONVEYNC', 'HLTHCARE', 'HOMECARE', 'HOSPPTNT', 'HOSPVSTR', 'HOUSEHLD', 'INMATE', 'INTIMATE', 'LTRMCARE', 'PLACE', 'PTNTCARE', 'SCHOOL2', 'SOCIAL2', 'SUBSTNCE', 'TRAVINT', 'WORK2', '_ActFinancialTransactionCode', 'CHRG', 'REV', '_ActIncidentCode', 'MVA', 'SCHOOL', 'SPT', 'WPA', '_ActInformationAccessCode', 'ACADR', 'ACALL', 'ACALLG', 'ACCONS', 'ACDEMO', 'ACDI', 'ACIMMUN', 'ACLAB', 'ACMED', 'ACMEDC', 'ACMEN', 'ACOBS', 'ACPOLPRG', 'ACPROV', 'ACPSERV', 'ACSUBSTAB', '_ActInformationAccessContextCode', 'INFAUT', 'INFCON', 'INFCRT', 'INFDNG', 'INFEMER', 'INFPWR', 'INFREG', '_ActInformationCategoryCode', 'ALLCAT', 'ALLGCAT', 'ARCAT', 'COBSCAT', 'DEMOCAT', 'DICAT', 'IMMUCAT', 'LABCAT', 'MEDCCAT', 'MENCAT', 'PSVCCAT', 'RXCAT', '_ActInvoiceElementCode', '_ActInvoiceAdjudicationPaymentCode', '_ActInvoiceAdjudicationPaymentGroupCode', 'ALEC', 'BONUS', 'CFWD', 'EDU', 'EPYMT', 'GARN', 'INVOICE', 'PINV', 'PPRD', 'PROA', 'RECOV', 'RETRO', 'TRAN', '_ActInvoiceAdjudicationPaymentSummaryCode', 'INVTYPE', 'PAYEE', 'PAYOR', 'SENDAPP', '_ActInvoiceDetailCode', '_ActInvoiceDetailClinicalProductCode', 'UNSPSC', '_ActInvoiceDetailDrugProductCode', 'GTIN', 'UPC', '_ActInvoiceDetailGenericCode', '_ActInvoiceDetailGenericAdjudicatorCode', 'COIN', 'COPAYMENT', 'DEDUCTIBLE', 'PAY', 'SPEND', 'COINS', '_ActInvoiceDetailGenericModifierCode', 'AFTHRS', 'ISOL', 'OOO', '_ActInvoiceDetailGenericProviderCode', 'CANCAPT', 'DSC', 'ESA', 'FFSTOP', 'FNLFEE', 'FRSTFEE', 'MARKUP', 'MISSAPT', 'PERFEE', 'PERMBNS', 'RESTOCK', 'TRAVEL', 'URGENT', '_ActInvoiceDetailTaxCode', 'FST', 'HST', 'PST', '_ActInvoiceDetailPreferredAccommodationCode', '_ActEncounterAccommodationCode', '_HL7AccommodationCode', 'I', 'P', 'S', 'SP', 'W', '_ActInvoiceDetailClinicalServiceCode', '_ActInvoiceGroupCode', '_ActInvoiceInterGroupCode', 'CPNDDRGING', 'CPNDINDING', 'CPNDSUPING', 'DRUGING', 'FRAMEING', 'LENSING', 'PRDING', '_ActInvoiceRootGroupCode', 'CPINV', 'CSINV', 'CSPINV', 'FININV', 'OHSINV', 'PAINV', 'RXCINV', 'RXDINV', 'SBFINV', 'VRXINV', '_ActInvoiceElementSummaryCode', '_InvoiceElementAdjudicated', 'ADNFPPELAT', 'ADNFPPELCT', 'ADNFPPMNAT', 'ADNFPPMNCT', 'ADNFSPELAT', 'ADNFSPELCT', 'ADNFSPMNAT', 'ADNFSPMNCT', 'ADNPPPELAT', 'ADNPPPELCT', 'ADNPPPMNAT', 'ADNPPPMNCT', 'ADNPSPELAT', 'ADNPSPELCT', 'ADNPSPMNAT', 'ADNPSPMNCT', 'ADPPPPELAT', 'ADPPPPELCT', 'ADPPPPMNAT', 'ADPPPPMNCT', 'ADPPSPELAT', 'ADPPSPELCT', 'ADPPSPMNAT', 'ADPPSPMNCT', 'ADRFPPELAT', 'ADRFPPELCT', 'ADRFPPMNAT', 'ADRFPPMNCT', 'ADRFSPELAT', 'ADRFSPELCT', 'ADRFSPMNAT', 'ADRFSPMNCT', '_InvoiceElementPaid', 'PDNFPPELAT', 'PDNFPPELCT', 'PDNFPPMNAT', 'PDNFPPMNCT', 'PDNFSPELAT', 'PDNFSPELCT', 'PDNFSPMNAT', 'PDNFSPMNCT', 'PDNPPPELAT', 'PDNPPPELCT', 'PDNPPPMNAT', 'PDNPPPMNCT', 'PDNPSPELAT', 'PDNPSPELCT', 'PDNPSPMNAT', 'PDNPSPMNCT', 'PDPPPPELAT', 'PDPPPPELCT', 'PDPPPPMNAT', 'PDPPPPMNCT', 'PDPPSPELAT', 'PDPPSPELCT', 'PDPPSPMNAT', 'PDPPSPMNCT', '_InvoiceElementSubmitted', 'SBBLELAT', 'SBBLELCT', 'SBNFELAT', 'SBNFELCT', 'SBPDELAT', 'SBPDELCT', '_ActInvoiceOverrideCode', 'COVGE', 'EFORM', 'FAX', 'GFTH', 'LATE', 'MANUAL', 'OOJ', 'ORTHO', 'PAPER', 'PIE', 'PYRDELAY', 'REFNR', 'REPSERV', 'UNRELAT', 'VERBAUTH', '_ActListCode', '_ActObservationList', 'CARELIST', 'CONDLIST', 'INTOLIST', 'PROBLIST', 'RISKLIST', 'GOALLIST', '_ActTherapyDurationWorkingListCode', '_ActMedicationTherapyDurationWorkingListCode', 'ACU', 'CHRON', 'ONET', 'PRN', 'MEDLIST', 'CURMEDLIST', 'DISCMEDLIST', 'HISTMEDLIST', '_ActMonitoringProtocolCode', 'CTLSUB', 'INV', 'LU', 'OTC', 'RX', 'SA', 'SAC', '_ActNonObservationIndicationCode', 'IND01', 'IND02', 'IND03', 'IND04', 'IND05', '_ActObservationVerificationType', 'VFPAPER', '_ActPaymentCode', 'ACH', 'CHK', 'DDP', 'NON', 'DF', 'EM', 'SO', 'FF', 'FFC', 'FFP', 'FFSS', 'TF', 'FS', 'MS', 'RF', 'UD', 'RFC', 'RFCS', 'RFF', 'RFFS', 'RFP', 'RFPS', 'RFS', 'TB', 'TBS', 'UDE', '_ActPolicyType', '_ActPrivacyPolicy', '_ActConsentDirective', 'EMRGONLY', 'NOPP', 'OPTIN', 'OPTOUT', '_InformationSensitivityPolicy', '_ActInformationSensitivityPolicy', 'ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', '_EntitySensitivityPolicyType', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', '_RoleInformationSensitivityPolicy', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'ActTrustPolicyType', 'TRSTACCRD', 'TRSTAGRE', 'TRSTASSUR', 'TRSTCERT', 'TRSTFWK', 'TRSTMEC', 'COVPOL', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DEID', 'DELAU', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'MASK', 'MINEC', 'PRIVMARK', 'PSEUD', 'REDACT', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON', '_ActProductAcquisitionCode', 'LOAN', 'RENT', 'TRANSFER', 'SALE', '_ActSpecimenTransportCode', 'SREC', 'SSTOR', 'STRAN', '_ActSpecimenTreatmentCode', 'ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL', '_ActSubstanceAdministrationCode', 'DRUG', 'FD', 'IMMUNIZ', 'BOOSTER', 'INITIMMUNIZ', '_ActTaskCode', 'OE', 'LABOE', 'MEDOE', 'PATDOC', 'ALLERLREV', 'CLINNOTEE', 'DIAGLISTE', 'DISCHINSTE', 'DISCHSUME', 'PATEDUE', 'PATREPE', 'PROBLISTE', 'RADREPE', 'IMMLREV', 'REMLREV', 'WELLREMLREV', 'PATINFO', 'ALLERLE', 'CDSREV', 'CLINNOTEREV', 'DISCHSUMREV', 'DIAGLISTREV', 'IMMLE', 'LABRREV', 'MICRORREV', 'MICROORGRREV', 'MICROSENSRREV', 'MLREV', 'MARWLREV', 'OREV', 'PATREPREV', 'PROBLISTREV', 'RADREPREV', 'REMLE', 'WELLREMLE', 'RISKASSESS', 'FALLRISK', '_ActTransportationModeCode', '_ActPatientTransportationModeCode', 'AFOOT', 'AMBT', 'AMBAIR', 'AMBGRND', 'AMBHELO', 'LAWENF', 'PRVTRN', 'PUBTRN', '_ObservationType', '_ActSpecObsCode', 'ARTBLD', 'DILUTION', 'AUTO-HIGH', 'AUTO-LOW', 'PRE', 'RERUN', 'EVNFCTS', 'INTFR', 'FIBRIN', 'HEMOLYSIS', 'ICTERUS', 'LIPEMIA', 'VOLUME', 'AVAILABLE', 'CONSUMPTION', 'CURRENT', 'INITIAL', '_AnnotationType', '_ActPatientAnnotationType', 'ANNDI', 'ANNGEN', 'ANNIMM', 'ANNLAB', 'ANNMED', '_GeneticObservationType', 'GENE', '_ImmunizationObservationType', 'OBSANTC', 'OBSANTV', '_IndividualCaseSafetyReportType', 'PAT_ADV_EVNT', 'VAC_PROBLEM', '_LOINCObservationActContextAgeType', '21611-9', '21612-7', '29553-5', '30525-0', '30972-4', '_MedicationObservationType', 'REP_HALF_LIFE', 'SPLCOATING', 'SPLCOLOR', 'SPLIMAGE', 'SPLIMPRINT', 'SPLSCORING', 'SPLSHAPE', 'SPLSIZE', 'SPLSYMBOL', '_ObservationIssueTriggerCodedObservationType', '_CaseTransmissionMode', 'AIRTRNS', 'ANANTRNS', 'ANHUMTRNS', 'BDYFLDTRNS', 'BLDTRNS', 'DERMTRNS', 'ENVTRNS', 'FECTRNS', 'FOMTRNS', 'FOODTRNS', 'HUMHUMTRNS', 'INDTRNS', 'LACTTRNS', 'NOSTRNS', 'PARTRNS', 'PLACTRNS', 'SEXTRNS', 'TRNSFTRNS', 'VECTRNS', 'WATTRNS', '_ObservationQualityMeasureAttribute', 'AGGREGATE', 'COPY', 'CRS', 'DEF', 'DISC', 'FINALDT', 'GUIDE', 'IDUR', 'ITMCNT', 'KEY', 'MEDT', 'MSD', 'MSRADJ', 'MSRAGG', 'MSRIMPROV', 'MSRJUR', 'MSRRPTR', 'MSRRPTTIME', 'MSRSCORE', 'MSRSET', 'MSRTOPIC', 'MSRTP', 'MSRTYPE', 'RAT', 'REF', 'SDE', 'STRAT', 'TRANF', 'USE', '_ObservationSequenceType', 'TIME_ABSOLUTE', 'TIME_RELATIVE', '_ObservationSeriesType', '_ECGObservationSeriesType', 'REPRESENTATIVE_BEAT', 'RHYTHM', '_PatientImmunizationRelatedObservationType', 'CLSSRM', 'GRADE', 'SCHL', 'SCHLDIV', 'TEACHER', '_PopulationInclusionObservationType', 'DENEX', 'DENEXCEP', 'DENOM', 'IPOP', 'IPPOP', 'MSRPOPL', 'MSRPOPLEX', 'NUMER', 'NUMEX', '_PreferenceObservationType', 'PREFSTRENGTH', 'ADVERSE_REACTION', 'ASSERTION', 'CASESER', 'CDIO', 'CRIT', 'CTMO', 'DX', 'ADMDX', 'DISDX', 'INTDX', 'NOI', 'GISTIER', 'HHOBS', 'ISSUE', '_ActAdministrativeDetectedIssueCode', '_ActAdministrativeAuthorizationDetectedIssueCode', 'NAT', 'SUPPRESSED', 'VALIDAT', 'KEY204', 'KEY205', 'COMPLY', 'DUPTHPY', 'DUPTHPCLS', 'DUPTHPGEN', 'ABUSE', 'FRAUD', 'PLYDOC', 'PLYPHRM', 'DOSE', 'DOSECOND', 'DOSEDUR', 'DOSEDURH', 'DOSEDURHIND', 'DOSEDURL', 'DOSEDURLIND', 'DOSEH', 'DOSEHINDA', 'DOSEHIND', 'DOSEHINDSA', 'DOSEHINDW', 'DOSEIVL', 'DOSEIVLIND', 'DOSEL', 'DOSELINDA', 'DOSELIND', 'DOSELINDSA', 'DOSELINDW', 'MDOSE', 'OBSA', 'AGE', 'ADALRT', 'GEALRT', 'PEALRT', 'COND', 'HGHT', 'LACT', 'PREG', 'WGHT', 'CREACT', 'GEN', 'GEND', 'LAB', 'REACT', 'ALGY', 'INT', 'RREACT', 'RALG', 'RAR', 'RINT', 'BUS', 'CODE_INVAL', 'CODE_DEPREC', 'FORMAT', 'ILLEGAL', 'LEN_RANGE', 'LEN_LONG', 'LEN_SHORT', 'MISSCOND', 'MISSMAND', 'NODUPS', 'NOPERSIST', 'REP_RANGE', 'MAXOCCURS', 'MINOCCURS', '_ActAdministrativeRuleDetectedIssueCode', 'KEY206', 'OBSOLETE', '_ActSuppliedItemDetectedIssueCode', '_AdministrationDetectedIssueCode', '_AppropriatenessDetectedIssueCode', '_InteractionDetectedIssueCode', 'FOOD', 'TPROD', 'DRG', 'NHP', 'NONRX', 'PREVINEF', 'DACT', 'TIME', 'ALRTENDLATE', 'ALRTSTRTLATE', '_TimingDetectedIssueCode', 'ENDLATE', 'STRTLATE', '_SupplyDetectedIssueCode', 'ALLDONE', 'FULFIL', 'NOTACTN', 'NOTEQUIV', 'NOTEQUIVGEN', 'NOTEQUIVTHER', 'TIMING', 'INTERVAL', 'MINFREQ', 'HELD', 'TOOLATE', 'TOOSOON', 'HISTORIC', 'PATPREF', 'PATPREFALT', 'KSUBJ', 'KSUBT', 'OINT', 'ALG', 'DALG', 'EALG', 'FALG', 'DINT', 'DNAINT', 'EINT', 'ENAINT', 'FINT', 'FNAINT', 'NAINT', 'SEV', '_FDALabelData', 'FDACOATING', 'FDACOLOR', 'FDAIMPRINTCD', 'FDALOGO', 'FDASCORING', 'FDASHAPE', 'FDASIZE', '_ROIOverlayShape', 'CIRCLE', 'ELLIPSE', 'POINT', 'POLY', 'C', 'DIET', 'BR', 'DM', 'FAST', 'FORMULA', 'GF', 'LF', 'LP', 'LQ', 'LS', 'N', 'NF', 'PAF', 'PAR', 'RD', 'SCH', 'SUPPLEMENT', 'T', 'VLI', 'DRUGPRG', 'F', 'PRLMN', 'SECOBS', 'SECCATOBS', 'SECCLASSOBS', 'SECCONOBS', 'SECINTOBS', 'SECALTINTOBS', 'SECDATINTOBS', 'SECINTCONOBS', 'SECINTPRVOBS', 'SECINTPRVABOBS', 'SECINTPRVRBOBS', 'SECINTSTOBS', 'SECTRSTOBS', 'TRSTACCRDOBS', 'TRSTAGREOBS', 'TRSTCERTOBS', 'TRSTFWKOBS', 'TRSTLOAOBS', 'TRSTMECOBS', 'SUBSIDFFS', 'WRKCOMP', '_ActProcedureCode', '_ActBillableServiceCode', '_HL7DefinedActCodes', 'COPAY', 'DEDUCT', 'DOSEIND', 'PRA', 'STORE']}, 'type'=>'CodeableConcept', 'path'=>'MedicationDispense.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActPharmacySupplyType'}},
27
+ 'quantity' => {'type'=>'Quantity', 'path'=>'MedicationDispense.quantity', 'min'=>0, 'max'=>1},
28
+ 'daysSupply' => {'type'=>'Quantity', 'path'=>'MedicationDispense.daysSupply', 'min'=>0, 'max'=>1},
29
+ 'medicationCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'MedicationDispense.medication[x]', 'min'=>1, 'max'=>1},
30
+ 'medicationReference' => {'type'=>'Reference', 'path'=>'MedicationDispense.medication[x]', 'min'=>1, 'max'=>1},
31
+ 'whenPrepared' => {'type'=>'dateTime', 'path'=>'MedicationDispense.whenPrepared', 'min'=>0, 'max'=>1},
32
+ 'whenHandedOver' => {'type'=>'dateTime', 'path'=>'MedicationDispense.whenHandedOver', 'min'=>0, 'max'=>1},
33
+ 'destination' => {'type'=>'Reference', 'path'=>'MedicationDispense.destination', 'min'=>0, 'max'=>1},
34
+ 'receiver' => {'type'=>'Reference', 'path'=>'MedicationDispense.receiver', 'min'=>0, 'max'=>Float::INFINITY},
35
+ 'note' => {'type'=>'string', 'path'=>'MedicationDispense.note', 'min'=>0, 'max'=>1},
36
+ 'dosageInstruction' => {'type'=>'MedicationDispense::DosageInstruction', 'path'=>'MedicationDispense.dosageInstruction', 'min'=>0, 'max'=>Float::INFINITY},
37
+ 'substitution' => {'type'=>'MedicationDispense::Substitution', 'path'=>'MedicationDispense.substitution', 'min'=>0, 'max'=>1}
38
+ }
39
+
40
+ class DosageInstruction < FHIR::DSTU2::Model
41
+ include FHIR::DSTU2::Hashable
42
+ include FHIR::DSTU2::Json
43
+ include FHIR::DSTU2::Xml
44
+
45
+ MULTIPLE_TYPES = {
46
+ 'asNeeded' => ['boolean', 'CodeableConcept'],
47
+ 'site' => ['CodeableConcept', 'Reference'],
48
+ 'dose' => ['Range', 'Quantity'],
49
+ 'rate' => ['Ratio', 'Range']
50
+ }
51
+ METADATA = {
52
+ 'id' => {'type'=>'id', 'path'=>'DosageInstruction.id', 'min'=>0, 'max'=>1},
53
+ 'extension' => {'type'=>'Extension', 'path'=>'DosageInstruction.extension', 'min'=>0, 'max'=>Float::INFINITY},
54
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'DosageInstruction.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
55
+ 'text' => {'type'=>'string', 'path'=>'DosageInstruction.text', 'min'=>0, 'max'=>1},
56
+ 'additionalInstructions' => {'type'=>'CodeableConcept', 'path'=>'DosageInstruction.additionalInstructions', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
57
+ 'timing' => {'type'=>'Timing', 'path'=>'DosageInstruction.timing', 'min'=>0, 'max'=>1},
58
+ 'asNeededBoolean' => {'type'=>'boolean', 'path'=>'DosageInstruction.asNeeded[x]', 'min'=>0, 'max'=>1},
59
+ 'asNeededCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'DosageInstruction.asNeeded[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
60
+ 'siteCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DosageInstruction.site[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/approach-site-codes'}},
61
+ 'siteReference' => {'type'=>'Reference', 'path'=>'DosageInstruction.site[x]', 'min'=>0, 'max'=>1},
62
+ 'route' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DosageInstruction.route', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/route-codes'}},
63
+ 'method' => {'local_name'=>'local_method', 'type'=>'CodeableConcept', 'path'=>'DosageInstruction.method', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
64
+ 'doseRange' => {'type'=>'Range', 'path'=>'DosageInstruction.dose[x]', 'min'=>0, 'max'=>1},
65
+ 'doseQuantity' => {'type'=>'Quantity', 'path'=>'DosageInstruction.dose[x]', 'min'=>0, 'max'=>1},
66
+ 'rateRatio' => {'type'=>'Ratio', 'path'=>'DosageInstruction.rate[x]', 'min'=>0, 'max'=>1},
67
+ 'rateRange' => {'type'=>'Range', 'path'=>'DosageInstruction.rate[x]', 'min'=>0, 'max'=>1},
68
+ 'maxDosePerPeriod' => {'type'=>'Ratio', 'path'=>'DosageInstruction.maxDosePerPeriod', 'min'=>0, 'max'=>1}
69
+ }
70
+
71
+ attr_accessor :id # 0-1 id
72
+ attr_accessor :extension # 0-* [ Extension ]
73
+ attr_accessor :modifierExtension # 0-* [ Extension ]
74
+ attr_accessor :text # 0-1 string
75
+ attr_accessor :additionalInstructions # 0-1 CodeableConcept
76
+ attr_accessor :timing # 0-1 Timing
77
+ attr_accessor :asNeededBoolean # 0-1 boolean
78
+ attr_accessor :asNeededCodeableConcept # 0-1 CodeableConcept
79
+ attr_accessor :siteCodeableConcept # 0-1 CodeableConcept
80
+ attr_accessor :siteReference # 0-1 Reference()
81
+ attr_accessor :route # 0-1 CodeableConcept
82
+ attr_accessor :local_method # 0-1 CodeableConcept
83
+ attr_accessor :doseRange # 0-1 Range
84
+ attr_accessor :doseQuantity # 0-1 Quantity
85
+ attr_accessor :rateRatio # 0-1 Ratio
86
+ attr_accessor :rateRange # 0-1 Range
87
+ attr_accessor :maxDosePerPeriod # 0-1 Ratio
88
+ end
89
+
90
+ class Substitution < FHIR::DSTU2::Model
91
+ include FHIR::DSTU2::Hashable
92
+ include FHIR::DSTU2::Json
93
+ include FHIR::DSTU2::Xml
94
+
95
+ METADATA = {
96
+ 'id' => {'type'=>'id', 'path'=>'Substitution.id', 'min'=>0, 'max'=>1},
97
+ 'extension' => {'type'=>'Extension', 'path'=>'Substitution.extension', 'min'=>0, 'max'=>Float::INFINITY},
98
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Substitution.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
99
+ 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/substanceAdminSubstitution'=>['E', 'EC', 'BC', 'G', 'TE', 'TB', 'TG', 'F', 'N']}, 'type'=>'CodeableConcept', 'path'=>'Substitution.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode'}},
100
+ 'reason' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN']}, 'type'=>'CodeableConcept', 'path'=>'Substitution.reason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason'}},
101
+ 'responsibleParty' => {'type'=>'Reference', 'path'=>'Substitution.responsibleParty', 'min'=>0, 'max'=>Float::INFINITY}
102
+ }
103
+
104
+ attr_accessor :id # 0-1 id
105
+ attr_accessor :extension # 0-* [ Extension ]
106
+ attr_accessor :modifierExtension # 0-* [ Extension ]
107
+ attr_accessor :type # 1-1 CodeableConcept
108
+ attr_accessor :reason # 0-* [ CodeableConcept ]
109
+ attr_accessor :responsibleParty # 0-* [ Reference() ]
110
+ end
111
+
112
+ attr_accessor :id # 0-1 id
113
+ attr_accessor :meta # 0-1 Meta
114
+ attr_accessor :implicitRules # 0-1 uri
115
+ attr_accessor :language # 0-1 code
116
+ attr_accessor :text # 0-1 Narrative
117
+ attr_accessor :contained # 0-* [ Resource ]
118
+ attr_accessor :extension # 0-* [ Extension ]
119
+ attr_accessor :modifierExtension # 0-* [ Extension ]
120
+ attr_accessor :identifier # 0-1 Identifier
121
+ attr_accessor :status # 0-1 code
122
+ attr_accessor :patient # 0-1 Reference()
123
+ attr_accessor :dispenser # 0-1 Reference()
124
+ attr_accessor :authorizingPrescription # 0-* [ Reference() ]
125
+ attr_accessor :type # 0-1 CodeableConcept
126
+ attr_accessor :quantity # 0-1 Quantity
127
+ attr_accessor :daysSupply # 0-1 Quantity
128
+ attr_accessor :medicationCodeableConcept # 1-1 CodeableConcept
129
+ attr_accessor :medicationReference # 1-1 Reference()
130
+ attr_accessor :whenPrepared # 0-1 dateTime
131
+ attr_accessor :whenHandedOver # 0-1 dateTime
132
+ attr_accessor :destination # 0-1 Reference()
133
+ attr_accessor :receiver # 0-* [ Reference() ]
134
+ attr_accessor :note # 0-1 string
135
+ attr_accessor :dosageInstruction # 0-* [ MedicationDispense::DosageInstruction ]
136
+ attr_accessor :substitution # 0-1 MedicationDispense::Substitution
137
+
138
+ def resourceType
139
+ 'MedicationDispense'
140
+ end
141
+ end
142
+ end
143
+ end
@@ -0,0 +1,173 @@
1
+ module FHIR
2
+ module DSTU2
3
+ class MedicationOrder < FHIR::DSTU2::Model
4
+ include FHIR::DSTU2::Hashable
5
+ include FHIR::DSTU2::Json
6
+ include FHIR::DSTU2::Xml
7
+
8
+ MULTIPLE_TYPES = {
9
+ 'reason' => ['CodeableConcept', 'Reference'],
10
+ 'medication' => ['CodeableConcept', 'Reference']
11
+ }
12
+ SEARCH_PARAMS = ['code', 'datewritten', 'encounter', 'identifier', 'medication', 'patient', 'prescriber', 'status']
13
+ METADATA = {
14
+ 'id' => {'type'=>'id', 'path'=>'MedicationOrder.id', 'min'=>0, 'max'=>1},
15
+ 'meta' => {'type'=>'Meta', 'path'=>'MedicationOrder.meta', 'min'=>0, 'max'=>1},
16
+ 'implicitRules' => {'type'=>'uri', 'path'=>'MedicationOrder.implicitRules', 'min'=>0, 'max'=>1},
17
+ 'language' => {'type'=>'code', 'path'=>'MedicationOrder.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
18
+ 'text' => {'type'=>'Narrative', 'path'=>'MedicationOrder.text', 'min'=>0, 'max'=>1},
19
+ 'contained' => {'type'=>'Resource', 'path'=>'MedicationOrder.contained', 'min'=>0, 'max'=>Float::INFINITY},
20
+ 'extension' => {'type'=>'Extension', 'path'=>'MedicationOrder.extension', 'min'=>0, 'max'=>Float::INFINITY},
21
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'MedicationOrder.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
22
+ 'identifier' => {'type'=>'Identifier', 'path'=>'MedicationOrder.identifier', 'min'=>0, 'max'=>Float::INFINITY},
23
+ 'dateWritten' => {'type'=>'dateTime', 'path'=>'MedicationOrder.dateWritten', 'min'=>0, 'max'=>1},
24
+ 'status' => {'valid_codes'=>{'http://hl7.org/fhir/medication-order-status'=>['active', 'on-hold', 'completed', 'entered-in-error', 'stopped', 'draft']}, 'type'=>'code', 'path'=>'MedicationOrder.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-order-status'}},
25
+ 'dateEnded' => {'type'=>'dateTime', 'path'=>'MedicationOrder.dateEnded', 'min'=>0, 'max'=>1},
26
+ 'reasonEnded' => {'type'=>'CodeableConcept', 'path'=>'MedicationOrder.reasonEnded', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
27
+ 'patient' => {'type'=>'Reference', 'path'=>'MedicationOrder.patient', 'min'=>0, 'max'=>1},
28
+ 'prescriber' => {'type'=>'Reference', 'path'=>'MedicationOrder.prescriber', 'min'=>0, 'max'=>1},
29
+ 'encounter' => {'type'=>'Reference', 'path'=>'MedicationOrder.encounter', 'min'=>0, 'max'=>1},
30
+ 'reasonCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'MedicationOrder.reason[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}},
31
+ 'reasonReference' => {'type'=>'Reference', 'path'=>'MedicationOrder.reason[x]', 'min'=>0, 'max'=>1},
32
+ 'note' => {'type'=>'string', 'path'=>'MedicationOrder.note', 'min'=>0, 'max'=>1},
33
+ 'medicationCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'MedicationOrder.medication[x]', 'min'=>1, 'max'=>1},
34
+ 'medicationReference' => {'type'=>'Reference', 'path'=>'MedicationOrder.medication[x]', 'min'=>1, 'max'=>1},
35
+ 'dosageInstruction' => {'type'=>'MedicationOrder::DosageInstruction', 'path'=>'MedicationOrder.dosageInstruction', 'min'=>0, 'max'=>Float::INFINITY},
36
+ 'dispenseRequest' => {'type'=>'MedicationOrder::DispenseRequest', 'path'=>'MedicationOrder.dispenseRequest', 'min'=>0, 'max'=>1},
37
+ 'substitution' => {'type'=>'MedicationOrder::Substitution', 'path'=>'MedicationOrder.substitution', 'min'=>0, 'max'=>1},
38
+ 'priorPrescription' => {'type'=>'Reference', 'path'=>'MedicationOrder.priorPrescription', 'min'=>0, 'max'=>1}
39
+ }
40
+
41
+ class DosageInstruction < FHIR::DSTU2::Model
42
+ include FHIR::DSTU2::Hashable
43
+ include FHIR::DSTU2::Json
44
+ include FHIR::DSTU2::Xml
45
+
46
+ MULTIPLE_TYPES = {
47
+ 'asNeeded' => ['boolean', 'CodeableConcept'],
48
+ 'site' => ['CodeableConcept', 'Reference'],
49
+ 'dose' => ['Range', 'Quantity'],
50
+ 'rate' => ['Ratio', 'Range']
51
+ }
52
+ METADATA = {
53
+ 'id' => {'type'=>'id', 'path'=>'DosageInstruction.id', 'min'=>0, 'max'=>1},
54
+ 'extension' => {'type'=>'Extension', 'path'=>'DosageInstruction.extension', 'min'=>0, 'max'=>Float::INFINITY},
55
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'DosageInstruction.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
56
+ 'text' => {'type'=>'string', 'path'=>'DosageInstruction.text', 'min'=>0, 'max'=>1},
57
+ 'additionalInstructions' => {'type'=>'CodeableConcept', 'path'=>'DosageInstruction.additionalInstructions', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
58
+ 'timing' => {'type'=>'Timing', 'path'=>'DosageInstruction.timing', 'min'=>0, 'max'=>1},
59
+ 'asNeededBoolean' => {'type'=>'boolean', 'path'=>'DosageInstruction.asNeeded[x]', 'min'=>0, 'max'=>1},
60
+ 'asNeededCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'DosageInstruction.asNeeded[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
61
+ 'siteCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DosageInstruction.site[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/approach-site-codes'}},
62
+ 'siteReference' => {'type'=>'Reference', 'path'=>'DosageInstruction.site[x]', 'min'=>0, 'max'=>1},
63
+ 'route' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DosageInstruction.route', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/route-codes'}},
64
+ 'method' => {'local_name'=>'local_method', 'type'=>'CodeableConcept', 'path'=>'DosageInstruction.method', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
65
+ 'doseRange' => {'type'=>'Range', 'path'=>'DosageInstruction.dose[x]', 'min'=>0, 'max'=>1},
66
+ 'doseQuantity' => {'type'=>'Quantity', 'path'=>'DosageInstruction.dose[x]', 'min'=>0, 'max'=>1},
67
+ 'rateRatio' => {'type'=>'Ratio', 'path'=>'DosageInstruction.rate[x]', 'min'=>0, 'max'=>1},
68
+ 'rateRange' => {'type'=>'Range', 'path'=>'DosageInstruction.rate[x]', 'min'=>0, 'max'=>1},
69
+ 'maxDosePerPeriod' => {'type'=>'Ratio', 'path'=>'DosageInstruction.maxDosePerPeriod', 'min'=>0, 'max'=>1}
70
+ }
71
+
72
+ attr_accessor :id # 0-1 id
73
+ attr_accessor :extension # 0-* [ Extension ]
74
+ attr_accessor :modifierExtension # 0-* [ Extension ]
75
+ attr_accessor :text # 0-1 string
76
+ attr_accessor :additionalInstructions # 0-1 CodeableConcept
77
+ attr_accessor :timing # 0-1 Timing
78
+ attr_accessor :asNeededBoolean # 0-1 boolean
79
+ attr_accessor :asNeededCodeableConcept # 0-1 CodeableConcept
80
+ attr_accessor :siteCodeableConcept # 0-1 CodeableConcept
81
+ attr_accessor :siteReference # 0-1 Reference()
82
+ attr_accessor :route # 0-1 CodeableConcept
83
+ attr_accessor :local_method # 0-1 CodeableConcept
84
+ attr_accessor :doseRange # 0-1 Range
85
+ attr_accessor :doseQuantity # 0-1 Quantity
86
+ attr_accessor :rateRatio # 0-1 Ratio
87
+ attr_accessor :rateRange # 0-1 Range
88
+ attr_accessor :maxDosePerPeriod # 0-1 Ratio
89
+ end
90
+
91
+ class DispenseRequest < FHIR::DSTU2::Model
92
+ include FHIR::DSTU2::Hashable
93
+ include FHIR::DSTU2::Json
94
+ include FHIR::DSTU2::Xml
95
+
96
+ MULTIPLE_TYPES = {
97
+ 'medication' => ['CodeableConcept', 'Reference']
98
+ }
99
+ METADATA = {
100
+ 'id' => {'type'=>'id', 'path'=>'DispenseRequest.id', 'min'=>0, 'max'=>1},
101
+ 'extension' => {'type'=>'Extension', 'path'=>'DispenseRequest.extension', 'min'=>0, 'max'=>Float::INFINITY},
102
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'DispenseRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
103
+ 'medicationCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'DispenseRequest.medication[x]', 'min'=>0, 'max'=>1},
104
+ 'medicationReference' => {'type'=>'Reference', 'path'=>'DispenseRequest.medication[x]', 'min'=>0, 'max'=>1},
105
+ 'validityPeriod' => {'type'=>'Period', 'path'=>'DispenseRequest.validityPeriod', 'min'=>0, 'max'=>1},
106
+ 'numberOfRepeatsAllowed' => {'type'=>'positiveInt', 'path'=>'DispenseRequest.numberOfRepeatsAllowed', 'min'=>0, 'max'=>1},
107
+ 'quantity' => {'type'=>'Quantity', 'path'=>'DispenseRequest.quantity', 'min'=>0, 'max'=>1},
108
+ 'expectedSupplyDuration' => {'type'=>'Quantity', 'path'=>'DispenseRequest.expectedSupplyDuration', 'min'=>0, 'max'=>1}
109
+ }
110
+
111
+ attr_accessor :id # 0-1 id
112
+ attr_accessor :extension # 0-* [ Extension ]
113
+ attr_accessor :modifierExtension # 0-* [ Extension ]
114
+ attr_accessor :medicationCodeableConcept # 0-1 CodeableConcept
115
+ attr_accessor :medicationReference # 0-1 Reference()
116
+ attr_accessor :validityPeriod # 0-1 Period
117
+ attr_accessor :numberOfRepeatsAllowed # 0-1 positiveInt
118
+ attr_accessor :quantity # 0-1 Quantity
119
+ attr_accessor :expectedSupplyDuration # 0-1 Quantity
120
+ end
121
+
122
+ class Substitution < FHIR::DSTU2::Model
123
+ include FHIR::DSTU2::Hashable
124
+ include FHIR::DSTU2::Json
125
+ include FHIR::DSTU2::Xml
126
+
127
+ METADATA = {
128
+ 'id' => {'type'=>'id', 'path'=>'Substitution.id', 'min'=>0, 'max'=>1},
129
+ 'extension' => {'type'=>'Extension', 'path'=>'Substitution.extension', 'min'=>0, 'max'=>Float::INFINITY},
130
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Substitution.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
131
+ 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/substanceAdminSubstitution'=>['E', 'EC', 'BC', 'G', 'TE', 'TB', 'TG', 'F', 'N']}, 'type'=>'CodeableConcept', 'path'=>'Substitution.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode'}},
132
+ 'reason' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['_ActAccommodationReason', 'ACCREQNA', 'FLRCNV', 'MEDNEC', 'PAT', '_ActCoverageReason', '_EligibilityActReasonCode', '_ActIneligibilityReason', 'COVSUS', 'DECSD', 'REGERR', '_CoverageEligibilityReason', 'AGE', 'CRIME', 'DIS', 'EMPLOY', 'FINAN', 'HEALTH', 'MULTI', 'PNC', 'STATUTORY', 'VEHIC', 'WORK', '_ActInformationManagementReason', '_ActHealthInformationManagementReason', '_ActConsentInformationAccessOverrideReason', 'OVRER', 'OVRPJ', 'OVRPS', 'OVRTPS', 'PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH', '_ActInformationPrivacyReason', 'MARKT', 'OPERAT', 'LEGAL', 'ACCRED', 'COMPL', 'ENADMIN', 'OUTCOMS', 'PRGRPT', 'QUALIMP', 'SYSADMN', 'PAYMT', 'RESCH', 'SRVC', '_ActInvalidReason', 'ADVSTORAGE', 'COLDCHNBRK', 'EXPLOT', 'OUTSIDESCHED', 'PRODRECALL', '_ActInvoiceCancelReason', 'INCCOVPTY', 'INCINVOICE', 'INCPOLICY', 'INCPROV', '_ActNoImmunizationReason', 'IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ', 'PHILISOP', 'RELIG', 'VACEFF', 'VACSAF', '_ActSupplyFulfillmentRefusalReason', 'FRR01', 'FRR02', 'FRR03', 'FRR04', 'FRR05', 'FRR06', '_ClinicalResearchEventReason', 'RET', 'SCH', 'TRM', 'UNS', '_ClinicalResearchObservationReason', 'NPT', 'PPT', 'UPT', '_CombinedPharmacyOrderSuspendReasonCode', 'ALTCHOICE', 'CLARIF', 'DRUGHIGH', 'HOSPADM', 'LABINT', 'NON-AVAIL', 'PREG', 'SALG', 'SDDI', 'SDUPTHER', 'SINTOL', 'SURG', 'WASHOUT', '_ControlActNullificationReasonCode', 'ALTD', 'EIE', 'NORECMTCH', '_ControlActNullificationRefusalReasonType', 'INRQSTATE', 'NOMATCH', 'NOPRODMTCH', 'NOSERMTCH', 'NOVERMTCH', 'NOPERM', 'NOUSERPERM', 'NOAGNTPERM', 'NOUSRPERM', 'WRNGVER', '_ControlActReason', '_MedicationOrderAbortReasonCode', 'DISCONT', 'INEFFECT', 'MONIT', 'NOREQ', 'NOTCOVER', 'PREFUS', 'RECALL', 'REPLACE', 'DOSECHG', 'REPLACEFIX', 'UNABLE', '_MedicationOrderReleaseReasonCode', 'HOLDDONE', 'HOLDINAP', '_ModifyPrescriptionReasonType', 'ADMINERROR', 'CLINMOD', '_PharmacySupplyEventAbortReason', 'CONTRA', 'FOABORT', 'FOSUSP', 'NOPICK', 'PATDEC', 'QUANTCHG', '_PharmacySupplyEventStockReasonCode', 'FLRSTCK', 'LTC', 'OFFICE', 'PHARM', 'PROG', '_PharmacySupplyRequestRenewalRefusalReasonCode', 'ALREADYRX', 'FAMPHYS', 'MODIFY', 'NEEDAPMT', 'NOTAVAIL', 'NOTPAT', 'ONHOLD', 'PRNA', 'STOPMED', 'TOOEARLY', '_SupplyOrderAbortReasonCode', 'IMPROV', 'INTOL', 'NEWSTR', 'NEWTHER', '_GenericUpdateReasonCode', 'CHGDATA', 'FIXDATA', 'MDATA', 'NEWDATA', 'UMDATA', '_PatientProfileQueryReasonCode', 'ADMREV', 'PATCAR', 'PATREQ', 'PRCREV', 'REGUL', 'RSRCH', 'VALIDATION', '_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode', 'LOCKED', 'UNKWNTARGET', '_RefusalReasonCode', '_SchedulingActReason', 'BLK', 'DEC', 'FIN', 'MED', 'MTG', 'PHY', '_StatusRevisionRefusalReasonCode', 'FILLED', '_SubstanceAdministrationPermissionRefusalReasonCode', 'PATINELIG', 'PROTUNMET', 'PROVUNAUTH', '_SubstanceAdminSubstitutionNotAllowedReason', 'ALGINT', 'COMPCON', 'THERCHAR', 'TRIAL', 'CT', 'FP', 'OS', 'RR', '_TransferActReason', 'ER', 'RQ', '_ActBillableServiceReason', '_ActBillableClinicalServiceReason', 'BONUS', 'CHD', 'DEP', 'ECH', 'EDU', 'EMP', 'ESP', 'FAM', 'IND', 'INVOICE', 'PROA', 'RECOV', 'RETRO', 'SPC', 'SPO', 'TRAN']}, 'type'=>'CodeableConcept', 'path'=>'Substitution.reason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason'}}
133
+ }
134
+
135
+ attr_accessor :id # 0-1 id
136
+ attr_accessor :extension # 0-* [ Extension ]
137
+ attr_accessor :modifierExtension # 0-* [ Extension ]
138
+ attr_accessor :type # 1-1 CodeableConcept
139
+ attr_accessor :reason # 0-1 CodeableConcept
140
+ end
141
+
142
+ attr_accessor :id # 0-1 id
143
+ attr_accessor :meta # 0-1 Meta
144
+ attr_accessor :implicitRules # 0-1 uri
145
+ attr_accessor :language # 0-1 code
146
+ attr_accessor :text # 0-1 Narrative
147
+ attr_accessor :contained # 0-* [ Resource ]
148
+ attr_accessor :extension # 0-* [ Extension ]
149
+ attr_accessor :modifierExtension # 0-* [ Extension ]
150
+ attr_accessor :identifier # 0-* [ Identifier ]
151
+ attr_accessor :dateWritten # 0-1 dateTime
152
+ attr_accessor :status # 0-1 code
153
+ attr_accessor :dateEnded # 0-1 dateTime
154
+ attr_accessor :reasonEnded # 0-1 CodeableConcept
155
+ attr_accessor :patient # 0-1 Reference()
156
+ attr_accessor :prescriber # 0-1 Reference()
157
+ attr_accessor :encounter # 0-1 Reference()
158
+ attr_accessor :reasonCodeableConcept # 0-1 CodeableConcept
159
+ attr_accessor :reasonReference # 0-1 Reference()
160
+ attr_accessor :note # 0-1 string
161
+ attr_accessor :medicationCodeableConcept # 1-1 CodeableConcept
162
+ attr_accessor :medicationReference # 1-1 Reference()
163
+ attr_accessor :dosageInstruction # 0-* [ MedicationOrder::DosageInstruction ]
164
+ attr_accessor :dispenseRequest # 0-1 MedicationOrder::DispenseRequest
165
+ attr_accessor :substitution # 0-1 MedicationOrder::Substitution
166
+ attr_accessor :priorPrescription # 0-1 Reference()
167
+
168
+ def resourceType
169
+ 'MedicationOrder'
170
+ end
171
+ end
172
+ end
173
+ end
@@ -0,0 +1,119 @@
1
+ module FHIR
2
+ module DSTU2
3
+ class MedicationStatement < FHIR::DSTU2::Model
4
+ include FHIR::DSTU2::Hashable
5
+ include FHIR::DSTU2::Json
6
+ include FHIR::DSTU2::Xml
7
+
8
+ MULTIPLE_TYPES = {
9
+ 'reasonForUse' => ['CodeableConcept', 'Reference'],
10
+ 'effective' => ['dateTime', 'Period'],
11
+ 'medication' => ['CodeableConcept', 'Reference']
12
+ }
13
+ SEARCH_PARAMS = ['code', 'effectivedate', 'identifier', 'medication', 'patient', 'source', 'status']
14
+ METADATA = {
15
+ 'id' => {'type'=>'id', 'path'=>'MedicationStatement.id', 'min'=>0, 'max'=>1},
16
+ 'meta' => {'type'=>'Meta', 'path'=>'MedicationStatement.meta', 'min'=>0, 'max'=>1},
17
+ 'implicitRules' => {'type'=>'uri', 'path'=>'MedicationStatement.implicitRules', 'min'=>0, 'max'=>1},
18
+ 'language' => {'type'=>'code', 'path'=>'MedicationStatement.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
19
+ 'text' => {'type'=>'Narrative', 'path'=>'MedicationStatement.text', 'min'=>0, 'max'=>1},
20
+ 'contained' => {'type'=>'Resource', 'path'=>'MedicationStatement.contained', 'min'=>0, 'max'=>Float::INFINITY},
21
+ 'extension' => {'type'=>'Extension', 'path'=>'MedicationStatement.extension', 'min'=>0, 'max'=>Float::INFINITY},
22
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'MedicationStatement.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
23
+ 'identifier' => {'type'=>'Identifier', 'path'=>'MedicationStatement.identifier', 'min'=>0, 'max'=>Float::INFINITY},
24
+ 'patient' => {'type'=>'Reference', 'path'=>'MedicationStatement.patient', 'min'=>1, 'max'=>1},
25
+ 'informationSource' => {'type'=>'Reference', 'path'=>'MedicationStatement.informationSource', 'min'=>0, 'max'=>1},
26
+ 'dateAsserted' => {'type'=>'dateTime', 'path'=>'MedicationStatement.dateAsserted', 'min'=>0, 'max'=>1},
27
+ 'status' => {'valid_codes'=>{'http://hl7.org/fhir/medication-statement-status'=>['active', 'completed', 'entered-in-error', 'intended']}, 'type'=>'code', 'path'=>'MedicationStatement.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-statement-status'}},
28
+ 'wasNotTaken' => {'type'=>'boolean', 'path'=>'MedicationStatement.wasNotTaken', 'min'=>0, 'max'=>1},
29
+ 'reasonNotTaken' => {'valid_codes'=>{'http://hl7.org/fhir/reason-medication-not-given'=>['a', 'b', 'c', 'd']}, 'type'=>'CodeableConcept', 'path'=>'MedicationStatement.reasonNotTaken', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes'}},
30
+ 'reasonForUseCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'MedicationStatement.reasonForUse[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}},
31
+ 'reasonForUseReference' => {'type'=>'Reference', 'path'=>'MedicationStatement.reasonForUse[x]', 'min'=>0, 'max'=>1},
32
+ 'effectiveDateTime' => {'type'=>'dateTime', 'path'=>'MedicationStatement.effective[x]', 'min'=>0, 'max'=>1},
33
+ 'effectivePeriod' => {'type'=>'Period', 'path'=>'MedicationStatement.effective[x]', 'min'=>0, 'max'=>1},
34
+ 'note' => {'type'=>'string', 'path'=>'MedicationStatement.note', 'min'=>0, 'max'=>1},
35
+ 'supportingInformation' => {'type'=>'Reference', 'path'=>'MedicationStatement.supportingInformation', 'min'=>0, 'max'=>Float::INFINITY},
36
+ 'medicationCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'MedicationStatement.medication[x]', 'min'=>1, 'max'=>1},
37
+ 'medicationReference' => {'type'=>'Reference', 'path'=>'MedicationStatement.medication[x]', 'min'=>1, 'max'=>1},
38
+ 'dosage' => {'type'=>'MedicationStatement::Dosage', 'path'=>'MedicationStatement.dosage', 'min'=>0, 'max'=>Float::INFINITY}
39
+ }
40
+
41
+ class Dosage < FHIR::DSTU2::Model
42
+ include FHIR::DSTU2::Hashable
43
+ include FHIR::DSTU2::Json
44
+ include FHIR::DSTU2::Xml
45
+
46
+ MULTIPLE_TYPES = {
47
+ 'asNeeded' => ['boolean', 'CodeableConcept'],
48
+ 'site' => ['CodeableConcept', 'Reference'],
49
+ 'quantity' => ['Quantity', 'Range'],
50
+ 'rate' => ['Ratio', 'Range']
51
+ }
52
+ METADATA = {
53
+ 'id' => {'type'=>'id', 'path'=>'Dosage.id', 'min'=>0, 'max'=>1},
54
+ 'extension' => {'type'=>'Extension', 'path'=>'Dosage.extension', 'min'=>0, 'max'=>Float::INFINITY},
55
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Dosage.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
56
+ 'text' => {'type'=>'string', 'path'=>'Dosage.text', 'min'=>0, 'max'=>1},
57
+ 'timing' => {'type'=>'Timing', 'path'=>'Dosage.timing', 'min'=>0, 'max'=>1},
58
+ 'asNeededBoolean' => {'type'=>'boolean', 'path'=>'Dosage.asNeeded[x]', 'min'=>0, 'max'=>1},
59
+ 'asNeededCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Dosage.asNeeded[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
60
+ 'siteCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Dosage.site[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/approach-site-codes'}},
61
+ 'siteReference' => {'type'=>'Reference', 'path'=>'Dosage.site[x]', 'min'=>0, 'max'=>1},
62
+ 'route' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Dosage.route', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/route-codes'}},
63
+ 'method' => {'local_name'=>'local_method', 'type'=>'CodeableConcept', 'path'=>'Dosage.method', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
64
+ 'quantityQuantity' => {'type'=>'Quantity', 'path'=>'Dosage.quantity[x]', 'min'=>0, 'max'=>1},
65
+ 'quantityRange' => {'type'=>'Range', 'path'=>'Dosage.quantity[x]', 'min'=>0, 'max'=>1},
66
+ 'rateRatio' => {'type'=>'Ratio', 'path'=>'Dosage.rate[x]', 'min'=>0, 'max'=>1},
67
+ 'rateRange' => {'type'=>'Range', 'path'=>'Dosage.rate[x]', 'min'=>0, 'max'=>1},
68
+ 'maxDosePerPeriod' => {'type'=>'Ratio', 'path'=>'Dosage.maxDosePerPeriod', 'min'=>0, 'max'=>1}
69
+ }
70
+
71
+ attr_accessor :id # 0-1 id
72
+ attr_accessor :extension # 0-* [ Extension ]
73
+ attr_accessor :modifierExtension # 0-* [ Extension ]
74
+ attr_accessor :text # 0-1 string
75
+ attr_accessor :timing # 0-1 Timing
76
+ attr_accessor :asNeededBoolean # 0-1 boolean
77
+ attr_accessor :asNeededCodeableConcept # 0-1 CodeableConcept
78
+ attr_accessor :siteCodeableConcept # 0-1 CodeableConcept
79
+ attr_accessor :siteReference # 0-1 Reference()
80
+ attr_accessor :route # 0-1 CodeableConcept
81
+ attr_accessor :local_method # 0-1 CodeableConcept
82
+ attr_accessor :quantityQuantity # 0-1 Quantity
83
+ attr_accessor :quantityRange # 0-1 Range
84
+ attr_accessor :rateRatio # 0-1 Ratio
85
+ attr_accessor :rateRange # 0-1 Range
86
+ attr_accessor :maxDosePerPeriod # 0-1 Ratio
87
+ end
88
+
89
+ attr_accessor :id # 0-1 id
90
+ attr_accessor :meta # 0-1 Meta
91
+ attr_accessor :implicitRules # 0-1 uri
92
+ attr_accessor :language # 0-1 code
93
+ attr_accessor :text # 0-1 Narrative
94
+ attr_accessor :contained # 0-* [ Resource ]
95
+ attr_accessor :extension # 0-* [ Extension ]
96
+ attr_accessor :modifierExtension # 0-* [ Extension ]
97
+ attr_accessor :identifier # 0-* [ Identifier ]
98
+ attr_accessor :patient # 1-1 Reference()
99
+ attr_accessor :informationSource # 0-1 Reference()
100
+ attr_accessor :dateAsserted # 0-1 dateTime
101
+ attr_accessor :status # 1-1 code
102
+ attr_accessor :wasNotTaken # 0-1 boolean
103
+ attr_accessor :reasonNotTaken # 0-* [ CodeableConcept ]
104
+ attr_accessor :reasonForUseCodeableConcept # 0-1 CodeableConcept
105
+ attr_accessor :reasonForUseReference # 0-1 Reference()
106
+ attr_accessor :effectiveDateTime # 0-1 dateTime
107
+ attr_accessor :effectivePeriod # 0-1 Period
108
+ attr_accessor :note # 0-1 string
109
+ attr_accessor :supportingInformation # 0-* [ Reference() ]
110
+ attr_accessor :medicationCodeableConcept # 1-1 CodeableConcept
111
+ attr_accessor :medicationReference # 1-1 Reference()
112
+ attr_accessor :dosage # 0-* [ MedicationStatement::Dosage ]
113
+
114
+ def resourceType
115
+ 'MedicationStatement'
116
+ end
117
+ end
118
+ end
119
+ end
@@ -0,0 +1,126 @@
1
+ module FHIR
2
+ module DSTU2
3
+ class MessageHeader < FHIR::DSTU2::Model
4
+ include FHIR::DSTU2::Hashable
5
+ include FHIR::DSTU2::Json
6
+ include FHIR::DSTU2::Xml
7
+
8
+ SEARCH_PARAMS = ['author', 'code', 'data', 'destination', 'destination-uri', 'enterer', 'event', 'receiver', 'response-id', 'responsible', 'source', 'source-uri', 'target', 'timestamp']
9
+ METADATA = {
10
+ 'id' => {'type'=>'id', 'path'=>'MessageHeader.id', 'min'=>0, 'max'=>1},
11
+ 'meta' => {'type'=>'Meta', 'path'=>'MessageHeader.meta', 'min'=>0, 'max'=>1},
12
+ 'implicitRules' => {'type'=>'uri', 'path'=>'MessageHeader.implicitRules', 'min'=>0, 'max'=>1},
13
+ 'language' => {'type'=>'code', 'path'=>'MessageHeader.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
14
+ 'text' => {'type'=>'Narrative', 'path'=>'MessageHeader.text', 'min'=>0, 'max'=>1},
15
+ 'contained' => {'type'=>'Resource', 'path'=>'MessageHeader.contained', 'min'=>0, 'max'=>Float::INFINITY},
16
+ 'extension' => {'type'=>'Extension', 'path'=>'MessageHeader.extension', 'min'=>0, 'max'=>Float::INFINITY},
17
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'MessageHeader.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
18
+ 'timestamp' => {'type'=>'instant', 'path'=>'MessageHeader.timestamp', 'min'=>1, 'max'=>1},
19
+ 'event' => {'valid_codes'=>{'http://hl7.org/fhir/message-events'=>['MedicationAdministration-Complete', 'MedicationAdministration-Nullification', 'MedicationAdministration-Recording', 'MedicationAdministration-Update', 'admin-notify', 'diagnosticreport-provide', 'observation-provide', 'patient-link', 'patient-unlink', 'valueset-expand']}, 'type'=>'Coding', 'path'=>'MessageHeader.event', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/message-events'}},
20
+ 'response' => {'type'=>'MessageHeader::Response', 'path'=>'MessageHeader.response', 'min'=>0, 'max'=>1},
21
+ 'source' => {'type'=>'MessageHeader::Source', 'path'=>'MessageHeader.source', 'min'=>1, 'max'=>1},
22
+ 'destination' => {'type'=>'MessageHeader::Destination', 'path'=>'MessageHeader.destination', 'min'=>0, 'max'=>Float::INFINITY},
23
+ 'enterer' => {'type'=>'Reference', 'path'=>'MessageHeader.enterer', 'min'=>0, 'max'=>1},
24
+ 'author' => {'type'=>'Reference', 'path'=>'MessageHeader.author', 'min'=>0, 'max'=>1},
25
+ 'receiver' => {'type'=>'Reference', 'path'=>'MessageHeader.receiver', 'min'=>0, 'max'=>1},
26
+ 'responsible' => {'type'=>'Reference', 'path'=>'MessageHeader.responsible', 'min'=>0, 'max'=>1},
27
+ 'reason' => {'valid_codes'=>{'http://hl7.org/fhir/message-reasons-encounter'=>['admit', 'discharge', 'absent', 'return', 'moved', 'edit']}, 'type'=>'CodeableConcept', 'path'=>'MessageHeader.reason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/message-reason-encounter'}},
28
+ 'data' => {'type'=>'Reference', 'path'=>'MessageHeader.data', 'min'=>0, 'max'=>Float::INFINITY}
29
+ }
30
+
31
+ class Response < FHIR::DSTU2::Model
32
+ include FHIR::DSTU2::Hashable
33
+ include FHIR::DSTU2::Json
34
+ include FHIR::DSTU2::Xml
35
+
36
+ METADATA = {
37
+ 'id' => {'type'=>'id', 'path'=>'Response.id', 'min'=>0, 'max'=>1},
38
+ 'extension' => {'type'=>'Extension', 'path'=>'Response.extension', 'min'=>0, 'max'=>Float::INFINITY},
39
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Response.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
40
+ 'identifier' => {'type'=>'id', 'path'=>'Response.identifier', 'min'=>1, 'max'=>1},
41
+ 'code' => {'valid_codes'=>{'http://hl7.org/fhir/response-code'=>['ok', 'transient-error', 'fatal-error']}, 'type'=>'code', 'path'=>'Response.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/response-code'}},
42
+ 'details' => {'type'=>'Reference', 'path'=>'Response.details', 'min'=>0, 'max'=>1}
43
+ }
44
+
45
+ attr_accessor :id # 0-1 id
46
+ attr_accessor :extension # 0-* [ Extension ]
47
+ attr_accessor :modifierExtension # 0-* [ Extension ]
48
+ attr_accessor :identifier # 1-1 id
49
+ attr_accessor :code # 1-1 code
50
+ attr_accessor :details # 0-1 Reference()
51
+ end
52
+
53
+ class Source < FHIR::DSTU2::Model
54
+ include FHIR::DSTU2::Hashable
55
+ include FHIR::DSTU2::Json
56
+ include FHIR::DSTU2::Xml
57
+
58
+ METADATA = {
59
+ 'id' => {'type'=>'id', 'path'=>'Source.id', 'min'=>0, 'max'=>1},
60
+ 'extension' => {'type'=>'Extension', 'path'=>'Source.extension', 'min'=>0, 'max'=>Float::INFINITY},
61
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Source.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
62
+ 'name' => {'type'=>'string', 'path'=>'Source.name', 'min'=>0, 'max'=>1},
63
+ 'software' => {'type'=>'string', 'path'=>'Source.software', 'min'=>0, 'max'=>1},
64
+ 'version' => {'type'=>'string', 'path'=>'Source.version', 'min'=>0, 'max'=>1},
65
+ 'contact' => {'type'=>'ContactPoint', 'path'=>'Source.contact', 'min'=>0, 'max'=>1},
66
+ 'endpoint' => {'type'=>'uri', 'path'=>'Source.endpoint', 'min'=>1, 'max'=>1}
67
+ }
68
+
69
+ attr_accessor :id # 0-1 id
70
+ attr_accessor :extension # 0-* [ Extension ]
71
+ attr_accessor :modifierExtension # 0-* [ Extension ]
72
+ attr_accessor :name # 0-1 string
73
+ attr_accessor :software # 0-1 string
74
+ attr_accessor :version # 0-1 string
75
+ attr_accessor :contact # 0-1 ContactPoint
76
+ attr_accessor :endpoint # 1-1 uri
77
+ end
78
+
79
+ class Destination < FHIR::DSTU2::Model
80
+ include FHIR::DSTU2::Hashable
81
+ include FHIR::DSTU2::Json
82
+ include FHIR::DSTU2::Xml
83
+
84
+ METADATA = {
85
+ 'id' => {'type'=>'id', 'path'=>'Destination.id', 'min'=>0, 'max'=>1},
86
+ 'extension' => {'type'=>'Extension', 'path'=>'Destination.extension', 'min'=>0, 'max'=>Float::INFINITY},
87
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Destination.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
88
+ 'name' => {'type'=>'string', 'path'=>'Destination.name', 'min'=>0, 'max'=>1},
89
+ 'target' => {'type'=>'Reference', 'path'=>'Destination.target', 'min'=>0, 'max'=>1},
90
+ 'endpoint' => {'type'=>'uri', 'path'=>'Destination.endpoint', 'min'=>1, 'max'=>1}
91
+ }
92
+
93
+ attr_accessor :id # 0-1 id
94
+ attr_accessor :extension # 0-* [ Extension ]
95
+ attr_accessor :modifierExtension # 0-* [ Extension ]
96
+ attr_accessor :name # 0-1 string
97
+ attr_accessor :target # 0-1 Reference()
98
+ attr_accessor :endpoint # 1-1 uri
99
+ end
100
+
101
+ attr_accessor :id # 0-1 id
102
+ attr_accessor :meta # 0-1 Meta
103
+ attr_accessor :implicitRules # 0-1 uri
104
+ attr_accessor :language # 0-1 code
105
+ attr_accessor :text # 0-1 Narrative
106
+ attr_accessor :contained # 0-* [ Resource ]
107
+ attr_accessor :extension # 0-* [ Extension ]
108
+ attr_accessor :modifierExtension # 0-* [ Extension ]
109
+ attr_accessor :timestamp # 1-1 instant
110
+ attr_accessor :event # 1-1 Coding
111
+ attr_accessor :response # 0-1 MessageHeader::Response
112
+ attr_accessor :source # 1-1 MessageHeader::Source
113
+ attr_accessor :destination # 0-* [ MessageHeader::Destination ]
114
+ attr_accessor :enterer # 0-1 Reference()
115
+ attr_accessor :author # 0-1 Reference()
116
+ attr_accessor :receiver # 0-1 Reference()
117
+ attr_accessor :responsible # 0-1 Reference()
118
+ attr_accessor :reason # 0-1 CodeableConcept
119
+ attr_accessor :data # 0-* [ Reference() ]
120
+
121
+ def resourceType
122
+ 'MessageHeader'
123
+ end
124
+ end
125
+ end
126
+ end