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,84 @@
1
+ module FHIR
2
+ module DSTU2
3
+ class List < FHIR::DSTU2::Model
4
+ include FHIR::DSTU2::Hashable
5
+ include FHIR::DSTU2::Json
6
+ include FHIR::DSTU2::Xml
7
+
8
+ SEARCH_PARAMS = ['code', 'date', 'empty-reason', 'encounter', 'item', 'notes', 'patient', 'source', 'status', 'subject', 'title']
9
+ METADATA = {
10
+ 'id' => {'type'=>'id', 'path'=>'List.id', 'min'=>0, 'max'=>1},
11
+ 'meta' => {'type'=>'Meta', 'path'=>'List.meta', 'min'=>0, 'max'=>1},
12
+ 'implicitRules' => {'type'=>'uri', 'path'=>'List.implicitRules', 'min'=>0, 'max'=>1},
13
+ 'language' => {'type'=>'code', 'path'=>'List.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
14
+ 'text' => {'type'=>'Narrative', 'path'=>'List.text', 'min'=>0, 'max'=>1},
15
+ 'contained' => {'type'=>'Resource', 'path'=>'List.contained', 'min'=>0, 'max'=>Float::INFINITY},
16
+ 'extension' => {'type'=>'Extension', 'path'=>'List.extension', 'min'=>0, 'max'=>Float::INFINITY},
17
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'List.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
18
+ 'identifier' => {'type'=>'Identifier', 'path'=>'List.identifier', 'min'=>0, 'max'=>Float::INFINITY},
19
+ 'title' => {'type'=>'string', 'path'=>'List.title', 'min'=>0, 'max'=>1},
20
+ 'code' => {'valid_codes'=>{'http://hl7.org/fhir/list-example-use-codes'=>['alerts', 'adverserxns', 'allergies', 'medications', 'problems', 'worklist', 'waiting', 'protocols', 'plans']}, 'type'=>'CodeableConcept', 'path'=>'List.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/list-example-codes'}},
21
+ 'subject' => {'type'=>'Reference', 'path'=>'List.subject', 'min'=>0, 'max'=>1},
22
+ 'source' => {'type'=>'Reference', 'path'=>'List.source', 'min'=>0, 'max'=>1},
23
+ 'encounter' => {'type'=>'Reference', 'path'=>'List.encounter', 'min'=>0, 'max'=>1},
24
+ 'status' => {'valid_codes'=>{'http://hl7.org/fhir/list-status'=>['current', 'retired', 'entered-in-error']}, 'type'=>'code', 'path'=>'List.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/list-status'}},
25
+ 'date' => {'type'=>'dateTime', 'path'=>'List.date', 'min'=>0, 'max'=>1},
26
+ 'orderedBy' => {'valid_codes'=>{'http://hl7.org/fhir/list-order'=>['user', 'system', 'event-date', 'entry-date', 'priority', 'alphabetic', 'category', 'patient']}, 'type'=>'CodeableConcept', 'path'=>'List.orderedBy', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/list-order'}},
27
+ 'mode' => {'valid_codes'=>{'http://hl7.org/fhir/list-mode'=>['working', 'snapshot', 'changes']}, 'type'=>'code', 'path'=>'List.mode', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/list-mode'}},
28
+ 'note' => {'type'=>'string', 'path'=>'List.note', 'min'=>0, 'max'=>1},
29
+ 'entry' => {'type'=>'List::Entry', 'path'=>'List.entry', 'min'=>0, 'max'=>Float::INFINITY},
30
+ 'emptyReason' => {'valid_codes'=>{'http://hl7.org/fhir/list-empty-reason'=>['nilknown', 'notasked', 'withheld', 'unavailable', 'notstarted', 'closed']}, 'type'=>'CodeableConcept', 'path'=>'List.emptyReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/list-empty-reason'}}
31
+ }
32
+
33
+ class Entry < FHIR::DSTU2::Model
34
+ include FHIR::DSTU2::Hashable
35
+ include FHIR::DSTU2::Json
36
+ include FHIR::DSTU2::Xml
37
+
38
+ METADATA = {
39
+ 'id' => {'type'=>'id', 'path'=>'Entry.id', 'min'=>0, 'max'=>1},
40
+ 'extension' => {'type'=>'Extension', 'path'=>'Entry.extension', 'min'=>0, 'max'=>Float::INFINITY},
41
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Entry.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
42
+ 'flag' => {'valid_codes'=>{'urn:oid:1.2.36.1.2001.1001.101.104.16592'=>['01', '02', '03', '04', '05', '06']}, 'type'=>'CodeableConcept', 'path'=>'Entry.flag', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/list-item-flag'}},
43
+ 'deleted' => {'type'=>'boolean', 'path'=>'Entry.deleted', 'min'=>0, 'max'=>1},
44
+ 'date' => {'type'=>'dateTime', 'path'=>'Entry.date', 'min'=>0, 'max'=>1},
45
+ 'item' => {'type'=>'Reference', 'path'=>'Entry.item', 'min'=>1, 'max'=>1}
46
+ }
47
+
48
+ attr_accessor :id # 0-1 id
49
+ attr_accessor :extension # 0-* [ Extension ]
50
+ attr_accessor :modifierExtension # 0-* [ Extension ]
51
+ attr_accessor :flag # 0-1 CodeableConcept
52
+ attr_accessor :deleted # 0-1 boolean
53
+ attr_accessor :date # 0-1 dateTime
54
+ attr_accessor :item # 1-1 Reference()
55
+ end
56
+
57
+ attr_accessor :id # 0-1 id
58
+ attr_accessor :meta # 0-1 Meta
59
+ attr_accessor :implicitRules # 0-1 uri
60
+ attr_accessor :language # 0-1 code
61
+ attr_accessor :text # 0-1 Narrative
62
+ attr_accessor :contained # 0-* [ Resource ]
63
+ attr_accessor :extension # 0-* [ Extension ]
64
+ attr_accessor :modifierExtension # 0-* [ Extension ]
65
+ attr_accessor :identifier # 0-* [ Identifier ]
66
+ attr_accessor :title # 0-1 string
67
+ attr_accessor :code # 0-1 CodeableConcept
68
+ attr_accessor :subject # 0-1 Reference()
69
+ attr_accessor :source # 0-1 Reference()
70
+ attr_accessor :encounter # 0-1 Reference()
71
+ attr_accessor :status # 1-1 code
72
+ attr_accessor :date # 0-1 dateTime
73
+ attr_accessor :orderedBy # 0-1 CodeableConcept
74
+ attr_accessor :mode # 1-1 code
75
+ attr_accessor :note # 0-1 string
76
+ attr_accessor :entry # 0-* [ List::Entry ]
77
+ attr_accessor :emptyReason # 0-1 CodeableConcept
78
+
79
+ def resourceType
80
+ 'List'
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,80 @@
1
+ module FHIR
2
+ module DSTU2
3
+ class Location < FHIR::DSTU2::Model
4
+ include FHIR::DSTU2::Hashable
5
+ include FHIR::DSTU2::Json
6
+ include FHIR::DSTU2::Xml
7
+
8
+ SEARCH_PARAMS = ['address', 'address-city', 'address-country', 'address-postalcode', 'address-state', 'address-use', 'identifier', 'name', 'near', 'near-distance', 'organization', 'partof', 'status', 'type']
9
+ METADATA = {
10
+ 'id' => {'type'=>'id', 'path'=>'Location.id', 'min'=>0, 'max'=>1},
11
+ 'meta' => {'type'=>'Meta', 'path'=>'Location.meta', 'min'=>0, 'max'=>1},
12
+ 'implicitRules' => {'type'=>'uri', 'path'=>'Location.implicitRules', 'min'=>0, 'max'=>1},
13
+ 'language' => {'type'=>'code', 'path'=>'Location.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
14
+ 'text' => {'type'=>'Narrative', 'path'=>'Location.text', 'min'=>0, 'max'=>1},
15
+ 'contained' => {'type'=>'Resource', 'path'=>'Location.contained', 'min'=>0, 'max'=>Float::INFINITY},
16
+ 'extension' => {'type'=>'Extension', 'path'=>'Location.extension', 'min'=>0, 'max'=>Float::INFINITY},
17
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Location.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
18
+ 'identifier' => {'type'=>'Identifier', 'path'=>'Location.identifier', 'min'=>0, 'max'=>Float::INFINITY},
19
+ 'status' => {'valid_codes'=>{'http://hl7.org/fhir/location-status'=>['active', 'suspended', 'inactive']}, 'type'=>'code', 'path'=>'Location.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/location-status'}},
20
+ 'name' => {'type'=>'string', 'path'=>'Location.name', 'min'=>0, 'max'=>1},
21
+ 'description' => {'type'=>'string', 'path'=>'Location.description', 'min'=>0, 'max'=>1},
22
+ 'mode' => {'valid_codes'=>{'http://hl7.org/fhir/location-mode'=>['instance', 'kind']}, 'type'=>'code', 'path'=>'Location.mode', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/location-mode'}},
23
+ 'type' => {'valid_codes'=>{'http://hl7.org/fhir/v3/RoleCode'=>['_AffiliationRoleType', '_CoverageSponsorRoleType', 'FULLINS', 'SELFINS', '_PayorRoleType', 'ENROLBKR', 'TPA', 'UMO', 'RESPRSN', 'EXCEST', 'GUADLTM', 'GUARD', 'POWATT', 'DPOWATT', 'HPOWATT', 'SPOWATT', '_AssignedRoleType', '_AssignedNonPersonLivingSubjectRoleType', 'ASSIST', 'BIOTH', 'ANTIBIOT', 'DEBR', 'CCO', 'SEE', 'SNIFF', '_CertifiedEntityType', '_CitizenRoleType', 'CAS', 'CASM', 'CN', 'CNRP', 'CNRPM', 'CPCA', 'CRP', 'CRPM', '_ContactRoleType', '_AdministrativeContactRoleType', 'BILL', 'ORG', 'PAYOR', 'ECON', 'NOK', '_IdentifiedEntityType', '_LocationIdentifiedEntityRoleCode', 'ACHFID', 'JURID', 'LOCHFID', '_LivingSubjectProductionClass', 'BF', 'BL', 'BR', 'CO', 'DA', 'DR', 'DU', 'FI', 'LY', 'MT', 'MU', 'PL', 'RC', 'SH', 'VL', 'WL', 'WO', '_MedicationGeneralizationRoleType', 'DC', 'GD', 'GDF', 'GDS', 'GDSF', 'MGDSF', '_MemberRoleType', 'TRB', '_PersonalRelationshipRoleType', 'FAMMEMB', 'CHILD', 'CHLDADOPT', 'DAUADOPT', 'SONADOPT', 'CHLDFOST', 'DAUFOST', 'SONFOST', 'DAUC', 'DAU', 'STPDAU', 'NCHILD', 'SON', 'SONC', 'STPSON', 'STPCHLD', 'EXT', 'AUNT', 'MAUNT', 'PAUNT', 'COUSN', 'MCOUSN', 'PCOUSN', 'GGRPRN', 'GGRFTH', 'MGGRFTH', 'PGGRFTH', 'GGRMTH', 'MGGRMTH', 'PGGRMTH', 'MGGRPRN', 'PGGRPRN', 'GRNDCHILD', 'GRNDDAU', 'GRNDSON', 'GRPRN', 'GRFTH', 'MGRFTH', 'PGRFTH', 'GRMTH', 'MGRMTH', 'PGRMTH', 'MGRPRN', 'PGRPRN', 'INLAW', 'CHLDINLAW', 'DAUINLAW', 'SONINLAW', 'PRNINLAW', 'FTHINLAW', 'MTHINLAW', 'SIBINLAW', 'BROINLAW', 'SISINLAW', 'NIENEPH', 'NEPHEW', 'NIECE', 'UNCLE', 'MUNCLE', 'PUNCLE', 'PRN', 'ADOPTP', 'ADOPTF', 'ADOPTM', 'FTH', 'FTHFOST', 'NFTH', 'NFTHF', 'STPFTH', 'MTH', 'GESTM', 'MTHFOST', 'NMTH', 'NMTHF', 'STPMTH', 'NPRN', 'PRNFOST', 'STPPRN', 'SIB', 'BRO', 'HBRO', 'NBRO', 'TWINBRO', 'FTWINBRO', 'ITWINBRO', 'STPBRO', 'HSIB', 'HSIS', 'NSIB', 'NSIS', 'TWINSIS', 'FTWINSIS', 'ITWINSIS', 'TWIN', 'FTWIN', 'ITWIN', 'SIS', 'STPSIS', 'STPSIB', 'SIGOTHR', 'DOMPART', 'FMRSPS', 'SPS', 'HUSB', 'WIFE', 'FRND', 'NBOR', 'ONESELF', 'ROOM', '_PolicyOrProgramCoverageRoleType', '_CoverageRoleType', 'FAMDEP', 'HANDIC', 'INJ', 'SELF', 'SPON', 'STUD', 'FSTUD', 'PSTUD', 'ADOPT', 'GCHILD', 'GPARNT', 'NAT', 'NIENE', 'PARNT', 'SPSE', 'STEP', '_CoveredPartyRoleType', '_ClaimantCoveredPartyRoleType', 'CRIMEVIC', 'INJWKR', '_DependentCoveredPartyRoleType', 'COCBEN', 'DIFFABL', 'WARD', '_IndividualInsuredPartyRoleType', 'RETIREE', '_ProgramEligiblePartyRoleType', 'INDIG', 'MIL', 'ACTMIL', 'RETMIL', 'VET', '_SubscriberCoveredPartyRoleType', '_ResearchSubjectRoleBasis', 'ERL', 'SCN', '_DedicatedServiceDeliveryLocationRoleType', '_DedicatedClinicalLocationRoleType', 'DX', 'CVDX', 'CATH', 'ECHO', 'GIDX', 'ENDOS', 'RADDX', 'RADO', 'RNEU', 'HOSP', 'CHR', 'GACH', 'MHSP', 'PSYCHF', 'RH', 'RHAT', 'RHII', 'RHMAD', 'RHPI', 'RHPIH', 'RHPIMS', 'RHPIVS', 'RHYAD', 'HU', 'BMTU', 'CCU', 'CHEST', 'EPIL', 'ER', 'ETU', 'HD', 'HLAB', 'INLAB', 'OUTLAB', 'HRAD', 'HUSCS', 'ICU', 'PEDICU', 'PEDNICU', 'INPHARM', 'MBL', 'NCCS', 'NS', 'OUTPHARM', 'PEDU', 'PHU', 'RHU', 'SLEEP', 'NCCF', 'SNF', 'OF', 'ALL', 'AMPUT', 'BMTC', 'BREAST', 'CANC', 'CAPC', 'CARD', 'PEDCARD', 'COAG', 'CRS', 'DERM', 'ENDO', 'PEDE', 'ENT', 'FMC', 'GI', 'PEDGI', 'GIM', 'GYN', 'HEM', 'PEDHEM', 'HTN', 'IEC', 'INFD', 'PEDID', 'INV', 'LYMPH', 'MGEN', 'NEPH', 'PEDNEPH', 'NEUR', 'OB', 'OMS', 'ONCL', 'PEDHO', 'OPH', 'OPTC', 'ORTHO', 'HAND', 'PAINCL', 'PC', 'PEDC', 'PEDRHEUM', 'POD', 'PREV', 'PROCTO', 'PROFF', 'PROS', 'PSI', 'PSY', 'RHEUM', 'SPMED', 'SU', 'PLS', 'URO', 'TR', 'TRAVEL', 'WND', 'RTF', 'PRC', 'SURF', '_DedicatedNonClinicalLocationRoleType', 'DADDR', 'MOBL', 'AMB', 'PHARM', '_IncidentalServiceDeliveryLocationRoleType', 'ACC', 'COMM', 'CSC', 'PTRES', 'SCHOOL', 'UPC', 'WORK', '_SpecimenRoleType', 'C', 'G', 'L', 'P', 'Q', 'B', 'E', 'F', 'O', 'V', 'R', 'CLAIM', 'communityLaboratory', 'GT', 'homeHealth', 'laboratory', 'pathologist', 'PH', 'phlebotomist', 'PROG', 'PT', 'subject', 'thirdParty', 'DEP', 'DEPEN', 'FM', 'INDIV', 'NAMED', 'PSYCHCF', 'SUBSCR']}, 'type'=>'CodeableConcept', 'path'=>'Location.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType'}},
24
+ 'telecom' => {'type'=>'ContactPoint', 'path'=>'Location.telecom', 'min'=>0, 'max'=>Float::INFINITY},
25
+ 'address' => {'type'=>'Address', 'path'=>'Location.address', 'min'=>0, 'max'=>1},
26
+ 'physicalType' => {'valid_codes'=>{'http://hl7.org/fhir/location-physical-type'=>['bu', 'wi', 'lvl', 'co', 'ro', 'bd', 've', 'ho', 'ca', 'rd', 'jdn', 'area']}, 'type'=>'CodeableConcept', 'path'=>'Location.physicalType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/location-physical-type'}},
27
+ 'position' => {'type'=>'Location::Position', 'path'=>'Location.position', 'min'=>0, 'max'=>1},
28
+ 'managingOrganization' => {'type'=>'Reference', 'path'=>'Location.managingOrganization', 'min'=>0, 'max'=>1},
29
+ 'partOf' => {'type'=>'Reference', 'path'=>'Location.partOf', 'min'=>0, 'max'=>1}
30
+ }
31
+
32
+ class Position < FHIR::DSTU2::Model
33
+ include FHIR::DSTU2::Hashable
34
+ include FHIR::DSTU2::Json
35
+ include FHIR::DSTU2::Xml
36
+
37
+ METADATA = {
38
+ 'id' => {'type'=>'id', 'path'=>'Position.id', 'min'=>0, 'max'=>1},
39
+ 'extension' => {'type'=>'Extension', 'path'=>'Position.extension', 'min'=>0, 'max'=>Float::INFINITY},
40
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Position.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
41
+ 'longitude' => {'type'=>'decimal', 'path'=>'Position.longitude', 'min'=>1, 'max'=>1},
42
+ 'latitude' => {'type'=>'decimal', 'path'=>'Position.latitude', 'min'=>1, 'max'=>1},
43
+ 'altitude' => {'type'=>'decimal', 'path'=>'Position.altitude', 'min'=>0, 'max'=>1}
44
+ }
45
+
46
+ attr_accessor :id # 0-1 id
47
+ attr_accessor :extension # 0-* [ Extension ]
48
+ attr_accessor :modifierExtension # 0-* [ Extension ]
49
+ attr_accessor :longitude # 1-1 decimal
50
+ attr_accessor :latitude # 1-1 decimal
51
+ attr_accessor :altitude # 0-1 decimal
52
+ end
53
+
54
+ attr_accessor :id # 0-1 id
55
+ attr_accessor :meta # 0-1 Meta
56
+ attr_accessor :implicitRules # 0-1 uri
57
+ attr_accessor :language # 0-1 code
58
+ attr_accessor :text # 0-1 Narrative
59
+ attr_accessor :contained # 0-* [ Resource ]
60
+ attr_accessor :extension # 0-* [ Extension ]
61
+ attr_accessor :modifierExtension # 0-* [ Extension ]
62
+ attr_accessor :identifier # 0-* [ Identifier ]
63
+ attr_accessor :status # 0-1 code
64
+ attr_accessor :name # 0-1 string
65
+ attr_accessor :description # 0-1 string
66
+ attr_accessor :mode # 0-1 code
67
+ attr_accessor :type # 0-1 CodeableConcept
68
+ attr_accessor :telecom # 0-* [ ContactPoint ]
69
+ attr_accessor :address # 0-1 Address
70
+ attr_accessor :physicalType # 0-1 CodeableConcept
71
+ attr_accessor :position # 0-1 Location::Position
72
+ attr_accessor :managingOrganization # 0-1 Reference()
73
+ attr_accessor :partOf # 0-1 Reference()
74
+
75
+ def resourceType
76
+ 'Location'
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,58 @@
1
+ module FHIR
2
+ module DSTU2
3
+ class Media < FHIR::DSTU2::Model
4
+ include FHIR::DSTU2::Hashable
5
+ include FHIR::DSTU2::Json
6
+ include FHIR::DSTU2::Xml
7
+
8
+ SEARCH_PARAMS = ['created', 'identifier', 'operator', 'patient', 'subject', 'subtype', 'type', 'view']
9
+ METADATA = {
10
+ 'id' => {'type'=>'id', 'path'=>'Media.id', 'min'=>0, 'max'=>1},
11
+ 'meta' => {'type'=>'Meta', 'path'=>'Media.meta', 'min'=>0, 'max'=>1},
12
+ 'implicitRules' => {'type'=>'uri', 'path'=>'Media.implicitRules', 'min'=>0, 'max'=>1},
13
+ 'language' => {'type'=>'code', 'path'=>'Media.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
14
+ 'text' => {'type'=>'Narrative', 'path'=>'Media.text', 'min'=>0, 'max'=>1},
15
+ 'contained' => {'type'=>'Resource', 'path'=>'Media.contained', 'min'=>0, 'max'=>Float::INFINITY},
16
+ 'extension' => {'type'=>'Extension', 'path'=>'Media.extension', 'min'=>0, 'max'=>Float::INFINITY},
17
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Media.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
18
+ 'type' => {'valid_codes'=>{'http://hl7.org/fhir/digital-media-type'=>['photo', 'video', 'audio']}, 'type'=>'code', 'path'=>'Media.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/digital-media-type'}},
19
+ 'subtype' => {'valid_codes'=>{'http://hl7.org/fhir/media-subtype'=>['diagram', 'fax', 'scan', 'retina', 'fingerprint', 'iris', 'palm', 'face'], 'http://snomed.info/sct'=>[], 'http://nema.org/dicom/dicm'=>['ARCHIVE', 'AR', 'AS', 'AU', 'BDUS', 'BI', 'BMD', 'CAD', 'CAPTURE', 'CD', 'CF', 'COMP', 'CP', 'CR', 'CS', 'CT', 'DD', 'DF', 'DG', 'DM', 'DOCD', 'DS', 'DSS', 'DX', 'EC', 'ECG', 'EPS', 'ES', 'F', 'FA', 'FC', 'FILMD', 'FP', 'FS', 'GM', 'H', 'HC', 'HD', 'IO', 'IVUS', 'KER', 'KO', 'LEN', 'LOG', 'LP', 'LS', 'M', 'MA', 'MC', 'MCD', 'MEDIM', 'MG', 'MP', 'MR', 'MS', 'NEARLINE', 'NM', 'OAM', 'OCT', 'OFFLINE', 'ONLINE', 'OP', 'OPM', 'OPR', 'OPT', 'OPV', 'OT', 'PR', 'PRINT', 'PT', 'PX', 'REG', 'RF', 'RG', 'RT', 'RTDOSE', 'RTIMAGE', 'RTPLAN', 'RTRECORD', 'RTSTRUCT', 'SEG', 'SM', 'SMR', 'SR', 'SRF', 'ST', 'TG', 'U', 'UNAVAILABLE', 'US', 'VA', 'VF', 'VIDD', 'WSD', 'XA', 'XC', '109001', '109002', '109003', '109004', '109005', '109006', '109007', '109008', '109009', '109010', '109011', '109012', '109013', '109014', '109015', '109016', '109017', '109018', '109019', '109020', '109021', '109022', '109023', '109024', '109025', '109026', '109027', '109028', '109029', '109030', '109031', '109032', '109033', '109034', '109035', '109036', '109037', '109038', '109039', '109040', '109041', '109042', '109043', '109044', '109045', '109046', '109047', '109048', '109049', '109050', '109051', '109052', '109053', '109054', '109055', '109056', '109057', '109058', '109059', '109060', '109061', '109063', '109070', '109071', '109072', '109073', '109080', '109081', '109082', '109083', '109091', '109092', '109093', '109094', '109095', '109096', '109101', '109102', '109103', '109104', '109105', '109106', '109110', '109111', '109112', '109113', '109114', '109115', '109116', '109117', '109120', '109121', '109122', '109123', '109124', '109125', '109132', '109133', '109134', '109135', '109136', '109200', '109201', '109202', '109203', '109204', '109205', '109206', '109207', '109208', '109209', '109210', '109211', '109212', '109213', '109214', '109215', '109216', '109217', '109218', '109219', '109220', '109221', '109222', '109701', '109702', '109703', '109704', '109705', '109706', '109707', '109708', '109709', '109710', '109801', '109802', '109803', '109804', '109805', '109806', '109807', '109808', '109809', '109810', '109811', '109812', '109813', '109814', '109815', '109816', '109817', '109818', '109819', '109820', '109821', '109822', '109823', '109824', '109825', '109826', '109827', '109828', '109829', '109830', '109831', '109832', '109833', '109834', '109835', '109836', '109837', '109838', '109839', '109840', '109841', '109842', '109843', '109844', '109845', '109846', '109847', '109848', '109849', '109850', '109851', '109852', '109853', '109854', '109855', '109856', '109857', '109858', '109859', '109860', '109861', '109862', '109863', '109864', '109865', '109866', '109867', '109868', '109869', '109870', '109871', '109872', '109873', '109874', '109875', '109876', '109877', '109878', '109879', '109880', '109881', '109901', '109902', '109903', '109904', '109905', '109906', '109907', '109908', '109909', '109910', '109911', '109912', '109913', '109914', '109915', '109916', '109917', '109918', '109919', '109920', '109921', '109931', '109932', '109933', '109941', '109943', '109991', '109992', '109993', '109994', '109995', '109996', '109997', '109998', '109999', '110001', '110002', '110003', '110004', '110005', '110006', '110007', '110008', '110009', '110010', '110011', '110012', '110013', '110020', '110021', '110022', '110023', '110024', '110025', '110026', '110027', '110028', '110030', '110031', '110032', '110033', '110034', '110035', '110036', '110037', '110038', '110100', '110101', '110102', '110103', '110104', '110105', '110106', '110107', '110108', '110109', '110110', '110111', '110112', '110113', '110114', '110120', '110121', '110122', '110123', '110124', '110125', '110126', '110127', '110128', '110129', '110130', '110131', '110132', '110133', '110134', '110135', '110136', '110137', '110138', '110139', '110140', '110141', '110142', '110150', '110151', '110152', '110153', '110154', '110155', '110180', '110181', '110182', '110190', '110500', '110501', '110502', '110503', '110504', '110505', '110506', '110507', '110508', '110509', '110510', '110511', '110512', '110513', '110514', '110515', '110516', '110518', '110519', '110521', '110522', '110523', '110524', '110526', '110527', '110528', '110529', '110700', '110701', '110702', '110703', '110704', '110705', '110706', '110800', '110801', '110802', '110803', '110804', '110805', '110806', '110807', '110808', '110809', '110810', '110811', '110812', '110813', '110814', '110815', '110816', '110817', '110818', '110819', '110820', '110821', '110822', '110823', '110824', '110825', '110826', '110827', '110828', '110829', '110830', '110831', '110832', '110833', '110834', '110835', '110836', '110837', '110838', '110839', '110840', '110841', '110842', '110843', '110844', '110845', '110846', '110847', '110848', '110849', '110850', '110851', '110852', '110853', '110854', '110855', '110856', '110857', '110858', '110859', '110860', '110861', '110862', '110863', '110864', '110865', '110866', '110867', '110868', '110869', '110870', '110871', '110872', '110873', '110874', '110875', '110876', '110877', '110901', '110902', '110903', '110904', '110905', '110906', '110907', '110908', '110909', '110910', '110911', '111001', '111002', '111003', '111004', '111005', '111006', '111007', '111008', '111009', '111010', '111011', '111012', '111013', '111014', '111015', '111016', '111017', '111018', '111019', '111020', '111021', '111022', '111023', '111024', '111025', '111026', '111027', '111028', '111029', '111030', '111031', '111032', '111033', '111034', '111035', '111036', '111037', '111038', '111039', '111040', '111041', '111042', '111043', '111044', '111045', '111046', '111047', '111048', '111049', '111050', '111051', '111052', '111053', '111054', '111055', '111056', '111057', '111058', '111059', '111060', '111061', '111062', '111063', '111064', '111065', '111066', '111069', '111071', '111072', '111081', '111086', '111087', '111088', '111089', '111090', '111091', '111092', '111093', '111099', '111100', '111101', '111102', '111103', '111104', '111105', '111111', '111112', '111113', '111120', '111121', '111122', '111123', '111124', '111125', '111126', '111127', '111128', '111129', '111130', '111135', '111136', '111137', '111138', '111139', '111140', '111141', '111142', '111143', '111144', '111145', '111146', '111147', '111148', '111149', '111150', '111151', '111152', '111153', '111154', '111155', '111156', '111157', '111158', '111159', '111168', '111170', '111171', '111172', '111173', '111174', '111175', '111176', '111177', '111178', '111179', '111180', '111181', '111182', '111183', '111184', '111185', '111186', '111187', '111188', '111189', '111190', '111191', '111192', '111193', '111194', '111195', '111196', '111197', '111198', '111199', '111200', '111201', '111202', '111203', '111204', '111205', '111206', '111207', '111208', '111209', '111210', '111211', '111212', '111213', '111214', '111215', '111216', '111217', '111218', '111219', '111220', '111221', '111222', '111223', '111224', '111225', '111233', '111234', '111235', '111236', '111237', '111238', '111239', '111240', '111241', '111242', '111243', '111244', '111245', '111248', '111249', '111250', '111251', '111252', '111253', '111254', '111255', '111256', '111257', '111258', '111259', '111260', '111262', '111263', '111264', '111265', '111269', '111271', '111273', '111277', '111278', '111279', '111281', '111283', '111284', '111285', '111286', '111287', '111288', '111290', '111291', '111292', '111293', '111294', '111296', '111297', '111298', '111299', '111300', '111301', '111302', '111303', '111304', '111305', '111306', '111307', '111308', '111309', '111310', '111311', '111312', '111313', '111314', '111315', '111316', '111317', '111318', '111320', '111321', '111322', '111323', '111324', '111325', '111326', '111327', '111328', '111329', '111330', '111331', '111332', '111333', '111334', '111335', '111336', '111338', '111340', '111341', '111342', '111343', '111344', '111345', '111346', '111347', '111350', '111351', '111352', '111353', '111354', '111355', '111356', '111357', '111358', '111359', '111360', '111361', '111362', '111363', '111364', '111365', '111366', '111367', '111368', '111369', '111370', '111371', '111372', '111373', '111374', '111375', '111376', '111377', '111380', '111381', '111382', '111383', '111384', '111385', '111386', '111387', '111388', '111389', '111390', '111391', '111392', '111393', '111394', '111395', '111396', '111397', '111398', '111399', '111400', '111401', '111402', '111403', '111404', '111405', '111406', '111407', '111408', '111409', '111410', '111411', '111412', '111413', '111414', '111415', '111416', '111417', '111418', '111419', '111420', '111421', '111423', '111424', '111425', '111426', '111427', '111428', '111429', '111430', '111431', '111432', '111433', '111434', '111435', '111436', '111437', '111438', '111439', '111440', '111441', '111442', '111443', '111444', '111445', '111446', '111447', '111448', '111449', '111450', '111451', '111452', '111453', '111454', '111455', '111456', '111457', '111458', '111459', '111460', '111461', '111462', '111463', '111464', '111465', '111466', '111467', '111468', '111469', '111470', '111471', '111472', '111473', '111474', '111475', '111476', '111477', '111478', '111479', '111480', '111481', '111482', '111483', '111484', '111485', '111486', '111487', '111488', '111489', '111490', '111491', '111492', '111494', '111495', '111496', '111497', '111498', '111499', '111500', '111501', '111502', '111503', '111504', '111505', '111506', '111507', '111508', '111509', '111510', '111511', '111512', '111513', '111514', '111515', '111516', '111517', '111518', '111519', '111520', '111521', '111522', '111523', '111524', '111525', '111526', '111527', '111528', '111529', '111530', '111531', '111532', '111533', '111534', '111535', '111536', '111537', '111538', '111539', '111540', '111541', '111542', '111543', '111544', '111545', '111546', '111547', '111548', '111549', '111550', '111551', '111552', '111553', '111554', '111555', '111556', '111557', '111558', '111559', '111560', '111561', '111562', '111563', '111564', '111565', '111566', '111567', '111568', '111569', '111570', '111571', '111572', '111573', '111574', '111575', '111576', '111577', '111578', '111579', '111580', '111581', '111582', '111583', '111584', '111585', '111586', '111587', '111590', '111591', '111592', '111593', '111601', '111602', '111603', '111604', '111605', '111606', '111607', '111609', '111621', '111622', '111623', '111625', '111626', '111627', '111628', '111629', '111630', '111631', '111632', '111633', '111634', '111635', '111636', '111637', '111638', '111641', '111642', '111643', '111644', '111645', '111646', '111671', '111672', '111673', '111674', '111675', '111676', '111677', '111678', '111679', '111680', '111685', '111686', '111687', '111688', '111689', '111690', '111691', '111692', '111693', '111694', '111695', '111696', '111697', '111698', '111700', '111701', '111702', '111703', '111704', '111705', '111706', '111707', '111708', '111709', '111710', '111711', '111712', '111718', '111719', '111720', '111721', '111723', '111724', '111726', '111727', '111729', '111741', '111742', '111743', '111744', '111745', '111746', '111747', '111748', '111749', '111750', '111751', '111752', '111753', '111754', '111755', '111756', '111760', '111761', '111762', '111763', '111764', '111765', '111766', '111767', '111768', '111769', '111770', '111771', '111772', '111773', '111776', '111777', '111778', '111779', '111780', '111781', '111782', '111783', '111786', '111787', '111791', '111792', '111800', '111801', '111802', '111803', '111804', '111805', '111806', '111807', '111808', '111809', '111810', '111811', '111812', '111813', '111814', '111815', '111816', '111817', '111818', '111819', '111820', '111821', '111822', '111823', '111824', '111825', '111826', '111827', '111828', '111829', '111830', '111831', '111832', '111833', '111834', '111835', '111836', '111837', '111838', '111839', '111840', '111841', '111842', '111843', '111844', '111845', '111846', '111847', '111848', '111849', '111850', '111851', '111852', '111853', '111854', '111855', '111856', '111900', '111901', '111902', '111903', '111904', '111905', '111906', '111907', '111908', '111909', '111910', '111911', '111912', '111913', '111914', '111915', '111916', '111917', '111918', '111919', '111920', '111921', '111922', '111923', '111924', '111925', '111926', '111927', '111928', '111929', '111930', '111931', '111932', '111933', '111934', '111935', '111936', '111937', '111938', '111939', '111940', '111941', '111942', '111943', '111944', '111945', '111946', '111947', '112000', '112001', '112002', '112003', '112004', '112005', '112006', '112007', '112008', '112009', '112010', '112011', '112012', '112013', '112014', '112015', '112016', '112017', '112018', '112019', '112020', '112021', '112022', '112023', '112024', '112025', '112026', '112027', '112028', '112029', '112030', '112031', '112032', '112033', '112034', '112035', '112036', '112037', '112038', '112039', '112040', '112041', '112042', '112043', '112044', '112045', '112046', '112047', '112048', '112049', '112050', '112051', '112052', '112053', '112054', '112055', '112056', '112057', '112058', '112059', '112060', '112061', '112062', '112063', '112064', '112065', '112066', '112067', '112068', '112069', '112070', '112071', '112072', '112073', '112074', '112075', '112076', '112077', '112078', '112079', '112080', '112081', '112082', '112083', '112084', '112085', '112086', '112087', '112088', '112089', '112090', '112091', '112092', '112093', '112094', '112095', '112096', '112097', '112098', '112099', '112100', '112101', '112102', '112103', '112104', '112105', '112106', '112107', '112108', '112109', '112110', '112111', '112112', '112113', '112114', '112115', '112116', '112117', '112118', '112119', '112120', '112121', '112122', '112123', '112124', '112125', '112126', '112127', '112128', '112129', '112130', '112131', '112132', '112133', '112134', '112135', '112136', '112137', '112138', '112139', '112140', '112141', '112142', '112143', '112144', '112145', '112146', '112147', '112148', '112149', '112150', '112151', '112152', '112153', '112154', '112155', '112156', '112157', '112158', '112159', '112160', '112161', '112162', '112163', '112164', '112165', '112166', '112167', '112168', '112169', '112170', '112171', '112172', '112173', '112174', '112175', '112176', '112177', '112178', '112179', '112180', '112181', '112182', '112183', '112184', '112185', '112186', '112187', '112188', '112189', '112191', '112192', '112193', '112194', '112195', '112196', '112197', '112198', '112199', '112200', '112201', '112220', '112222', '112224', '112225', '112226', '112227', '112228', '112229', '112232', '112233', '112238', '112240', '112241', '112242', '112243', '112244', '112248', '112249', '112300', '112301', '112302', '112303', '112304', '112305', '112306', '112307', '112308', '112309', '112310', '112311', '112312', '112313', '112314', '112315', '112316', '112317', '112318', '112319', '112320', '112321', '112325', '112340', '112341', '112342', '112343', '112344', '112345', '112346', '112347', '112348', '112350', '112351', '112352', '112353', '112354', '112355', '112356', '112357', '112358', '112359', '112360', '112361', '112362', '112363', '112364', '112365', '112366', '112367', '112368', '112369', '112370', '112371', '112372', '112373', '112374', '112375', '112376', '112377', '112378', '112379', '112380', '112381', '112700', '112701', '112702', '112703', '112704', '112705', '112706', '112707', '112708', '112709', '112710', '112711', '112712', '112713', '112714', '112715', '112716', '112717', '112718', '112719', '112720', '112721', '113000', '113001', '113002', '113003', '113004', '113005', '113006', '113007', '113008', '113009', '113010', '113011', '113012', '113013', '113014', '113015', '113016', '113017', '113018', '113020', '113021', '113026', '113030', '113031', '113032', '113033', '113034', '113035', '113036', '113037', '113038', '113039', '113040', '113041', '113042', '113043', '113044', '113045', '113046', '113047', '113048', '113049', '113050', '113051', '113052', '113053', '113054', '113055', '113056', '113057', '113058', '113059', '113060', '113061', '113062', '113063', '113064', '113065', '113066', '113067', '113068', '113069', '113070', '113071', '113072', '113073', '113074', '113075', '113076', '113077', '113078', '113079', '113080', '113081', '113082', '113083', '113085', '113086', '113087', '113088', '113089', '113090', '113091', '113092', '113093', '113094', '113095', '113096', '113097', '113100', '113101', '113102', '113103', '113104', '113105', '113106', '113107', '113108', '113109', '113110', '113111', '113500', '113502', '113503', '113505', '113506', '113507', '113508', '113509', '113510', '113511', '113512', '113513', '113514', '113516', '113517', '113518', '113520', '113521', '113522', '113523', '113526', '113527', '113528', '113529', '113530', '113540', '113541', '113542', '113543', '113550', '113551', '113552', '113560', '113561', '113562', '113563', '113568', '113570', '113571', '113572', '113573', '113574', '113575', '113576', '113577', '113601', '113602', '113603', '113605', '113606', '113607', '113608', '113609', '113611', '113612', '113613', '113620', '113621', '113622', '113630', '113631', '113650', '113651', '113652', '113653', '113661', '113662', '113663', '113664', '113665', '113666', '113669', '113670', '113671', '113680', '113681', '113682', '113683', '113684', '113685', '113686', '113687', '113688', '113689', '113690', '113691', '113692', '113701', '113702', '113704', '113705', '113706', '113710', '113711', '113720', '113721', '113722', '113723', '113724', '113725', '113726', '113727', '113728', '113729', '113730', '113731', '113732', '113733', '113734', '113735', '113736', '113737', '113738', '113739', '113740', '113742', '113743', '113744', '113745', '113748', '113750', '113751', '113752', '113753', '113754', '113755', '113756', '113757', '113758', '113759', '113760', '113761', '113763', '113764', '113766', '113767', '113768', '113769', '113770', '113771', '113772', '113773', '113780', '113788', '113789', '113790', '113791', '113792', '113793', '113794', '113795', '113800', '113801', '113802', '113803', '113804', '113805', '113806', '113807', '113808', '113809', '113810', '113811', '113812', '113813', '113814', '113815', '113816', '113817', '113818', '113819', '113820', '113821', '113822', '113823', '113824', '113825', '113826', '113827', '113828', '113829', '113830', '113831', '113832', '113833', '113834', '113835', '113836', '113837', '113838', '113839', '113840', '113841', '113842', '113845', '113846', '113847', '113850', '113851', '113852', '113853', '113854', '113855', '113856', '113857', '113858', '113859', '113860', '113861', '113862', '113863', '113864', '113865', '113866', '113867', '113868', '113870', '113871', '113872', '113873', '113874', '113875', '113876', '113877', '113878', '113879', '113880', '113890', '113893', '113895', '113896', '113897', '113898', '113899', '113900', '113901', '113902', '113903', '113904', '113905', '113906', '113907', '113908', '113909', '113910', '113911', '113912', '113913', '113914', '113921', '113922', '113923', '113930', '113931', '113932', '113933', '113934', '113935', '113936', '113937', '113940', '113941', '113942', '113943', '113944', '113945', '113946', '113947', '113948', '113949', '113950', '113951', '113952', '113953', '113954', '113955', '113956', '113957', '113958', '113959', '113961', '113962', '113963', '113970', '114000', '114001', '114002', '114003', '114004', '114005', '114006', '114007', '114008', '114009', '114010', '114011', '114201', '114202', '114203', '114204', '114205', '114206', '114207', '114208', '114209', '114210', '114211', '114213', '114215', '114216', '121001', '121002', '121003', '121004', '121005', '121006', '121007', '121008', '121009', '121010', '121011', '121012', '121013', '121014', '121015', '121016', '121017', '121018', '121019', '121020', '121021', '121022', '121023', '121024', '121025', '121026', '121027', '121028', '121029', '121030', '121031', '121032', '121033', '121034', '121035', '121036', '121037', '121038', '121039', '121040', '121041', '121042', '121043', '121044', '121045', '121046', '121047', '121048', '121049', '121050', '121051', '121052', '121053', '121054', '121055', '121056', '121057', '121058', '121059', '121060', '121062', '121064', '121065', '121066', '121068', '121069', '121070', '121071', '121072', '121073', '121074', '121075', '121076', '121077', '121078', '121079', '121080', '121081', '121082', '121083', '121084', '121085', '121086', '121087', '121088', '121089', '121090', '121091', '121092', '121093', '121094', '121095', '121096', '121097', '121098', '121099', '121100', '121101', '121102', '121103', '121104', '121105', '121106', '121109', '121110', '121111', '121112', '121113', '121114', '121115', '121116', '121117', '121118', '121120', '121121', '121122', '121123', '121124', '121125', '121126', '121127', '121128', '121130', '121131', '121132', '121133', '121135', '121136', '121137', '121138', '121139', '121140', '121141', '121142', '121143', '121144', '121145', '121146', '121147', '121148', '121149', '121150', '121151', '121152', '121153', '121154', '121155', '121156', '121157', '121158', '121160', '121161', '121162', '121163', '121165', '121166', '121167', '121168', '121169', '121171', '121172', '121173', '121174', '121180', '121181', '121190', '121191', '121192', '121193', '121194', '121195', '121196', '121197', '121198', '121200', '121201', '121202', '121206', '121207', '121208', '121210', '121211', '121213', '121214', '121216', '121217', '121218', '121219', '121220', '121221', '121222', '121230', '121231', '121232', '121233', '121242', '121243', '121244', '121290', '121291', '121301', '121302', '121303', '121304', '121305', '121306', '121307', '121311', '121312', '121313', '121314', '121315', '121316', '121317', '121318', '121320', '121321', '121322', '121323', '121324', '121325', '121326', '121327', '121328', '121329', '121330', '121331', '121332', '121333', '121334', '121335', '121338', '121339', '121340', '121341', '121342', '121346', '121347', '121348', '121349', '121350', '121351', '121352', '121353', '121354', '121358', '121360', '121361', '121362', '121363', '121370', '121371', '121372', '121380', '121381', '121382', '121383', '121401', '121402', '121403', '121404', '121405', '121406', '121407', '121408', '121410', '121411', '121412', '121414', '121415', '121416', '121417', '121420', '121421', '121422', '121423', '121424', '121425', '121427', '121428', '121430', '121431', '121432', '121433', '121434', '121435', '121436', '121437', '121438', '121439', '121701', '121702', '121703', '121704', '121705', '121706', '121707', '121708', '121709', '121710', '121711', '121712', '121713', '121714', '121715', '121716', '121717', '121718', '121719', '121720', '121721', '121722', '121723', '121724', '121725', '121726', '121727', '121728', '121729', '121730', '121731', '121732', '121733', '121734', '121740', '122001', '122002', '122003', '122004', '122005', '122006', '122007', '122008', '122009', '122010', '122011', '122012', '122020', '122021', '122022', '122023', '122024', '122025', '122026', '122027', '122028', '122029', '122030', '122031', '122032', '122033', '122034', '122035', '122036', '122037', '122038', '122039', '122041', '122042', '122043', '122044', '122045', '122046', '122047', '122048', '122049', '122052', '122053', '122054', '122055', '122056', '122057', '122058', '122059', '122060', '122061', '122062', '122072', '122073', '122075', '122076', '122077', '122078', '122079', '122081', '122082', '122083', '122084', '122085', '122086', '122087', '122088', '122089', '122090', '122091', '122092', '122093', '122094', '122095', '122096', '122097', '122098', '122099', '122101', '122102', '122103', '122104', '122105', '122106', '122107', '122108', '122109', '122110', '122111', '122112', '122113', '122114', '122120', '122121', '122122', '122123', '122124', '122125', '122126', '122127', '122128', '122129', '122130', '122131', '122132', '122133', '122134', '122138', '122139', '122140', '122141', '122142', '122143', '122144', '122145', '122146', '122147', '122148', '122149', '122150', '122151', '122152', '122153', '122154', '122157', '122158', '122159', '122160', '122161', '122162', '122163', '122164', '122165', '122166', '122167', '122170', '122171', '122172', '122173', '122175', '122176', '122177', '122178', '122179', '122180', '122181', '122182', '122183', '122185', '122187', '122188', '122189', '122190', '122191', '122192', '122193', '122194', '122195', '122196', '122197', '122198', '122199', '122201', '122202', '122203', '122204', '122205', '122206', '122207', '122208', '122209', '122210', '122211', '122212', '122213', '122214', '122215', '122216', '122217', '122218', '122219', '122220', '122221', '122222', '122223', '122224', '122225', '122227', '122228', '122229', '122230', '122231', '122232', '122233', '122234', '122235', '122236', '122237', '122238', '122239', '122240', '122241', '122242', '122243', '122244', '122245', '122246', '122247', '122248', '122249', '122250', '122251', '122252', '122253', '122254', '122255', '122256', '122257', '122258', '122259', '122260', '122261', '122262', '122263', '122265', '122266', '122267', '122268', '122269', '122270', '122271', '122272', '122273', '122274', '122275', '122276', '122277', '122278', '122279', '122281', '122282', '122283', '122288', '122291', '122292', '122301', '122302', '122303', '122304', '122305', '122306', '122307', '122308', '122309', '122310', '122311', '122312', '122313', '122319', '122320', '122321', '122322', '122325', '122330', '122331', '122332', '122333', '122334', '122335', '122336', '122337', '122339', '122340', '122341', '122343', '122344', '122345', '122346', '122347', '122348', '122350', '122351', '122352', '122354', '122355', '122356', '122357', '122360', '122361', '122363', '122364', '122367', '122368', '122369', '122370', '122371', '122372', '122374', '122375', '122376', '122380', '122381', '122382', '122383', '122384', '122385', '122386', '122387', '122388', '122389', '122390', '122391', '122393', '122394', '122395', '122398', '122399', '122400', '122401', '122402', '122403', '122404', '122405', '122406', '122407', '122408', '122410', '122411', '122417', '122421', '122422', '122423', '122428', '122429', '122430', '122431', '122432', '122433', '122434', '122435', '122438', '122445', '122446', '122447', '122448', '122449', '122450', '122451', '122452', '122453', '122459', '122461', '122464', '122465', '122466', '122467', '122468', '122469', '122470', '122471', '122472', '122473', '122474', '122475', '122476', '122477', '122480', '122481', '122482', '122485', '122486', '122487', '122488', '122489', '122490', '122491', '122493', '122495', '122496', '122497', '122498', '122499', '122501', '122502', '122503', '122505', '122507', '122508', '122509', '122510', '122511', '122516', '122517', '122528', '122529', '122542', '122544', '122545', '122546', '122547', '122548', '122549', '122550', '122551', '122554', '122555', '122558', '122559', '122560', '122562', '122563', '122564', '122565', '122566', '122572', '122574', '122575', '122582', '122600', '122601', '122602', '122603', '122604', '122605', '122606', '122607', '122608', '122609', '122611', '122612', '122616', '122617', '122618', '122619', '122620', '122621', '122624', '122627', '122628', '122631', '122633', '122634', '122635', '122636', '122637', '122638', '122639', '122640', '122642', '122643', '122645', '122650', '122651', '122652', '122655', '122656', '122657', '122658', '122659', '122660', '122661', '122664', '122665', '122666', '122667', '122668', '122670', '122675', '122680', '122683', '122684', '122685', '122686', '122687', '122698', '122699', '122700', '122701', '122702', '122703', '122704', '122705', '122706', '122707', '122708', '122709', '122710', '122711', '122712', '122713', '122715', '122716', '122717', '122718', '122720', '122721', '122726', '122727', '122728', '122729', '122730', '122731', '122732', '122733', '122734', '122735', '122739', '122740', '122741', '122742', '122743', '122744', '122745', '122748', '122750', '122751', '122752', '122753', '122755', '122756', '122757', '122758', '122759', '122760', '122762', '122764', '122768', '122769', '122770', '122771', '122772', '122773', '122775', '122776', '122781', '122782', '122783', '122784', '122785', '122791', '122792', '122793', '122795', '122796', '122797', '122799', '123001', '123003', '123004', '123005', '123006', '123007', '123009', '123010', '123011', '123012', '123014', '123015', '123016', '123019', '123101', '123102', '123103', '123104', '123105', '123106', '123107', '123108', '123109', '123110', '123111', '125000', '125001', '125002', '125003', '125004', '125005', '125006', '125007', '125008', '125009', '125010', '125011', '125012', '125013', '125015', '125016', '125021', '125022', '125023', '125024', '125025', '125030', '125031', '125032', '125033', '125034', '125035', '125036', '125037', '125038', '125040', '125041', '125100', '125101', '125102', '125105', '125106', '125107', '125195', '125196', '125197', '125200', '125201', '125202', '125203', '125204', '125205', '125206', '125207', '125208', '125209', '125210', '125211', '125212', '125213', '125214', '125215', '125216', '125217', '125218', '125219', '125220', '125221', '125222', '125223', '125224', '125225', '125226', '125227', '125228', '125230', '125231', '125233', '125234', '125235', '125236', '125237', '125238', '125239', '125240', '125241', '125242', '125251', '125252', '125253', '125254', '125255', '125256', '125257', '125258', '125259', '125261', '125262', '125263', '125264', '125265', '125270', '125271', '125272', '125273', '125901', '125902', '125903', '125904', '125905', '125906', '125907', '125908', '126000', '126001', '126002', '126003', '126010', '126011', '126020', '126021', '126022', '126030', '126031', '126032', '126033', '126034', '126035', '126036', '126037', '126038', '126039', '126040', '126050', '126051', '126052', '126060', '126061', '126062', '126063', '126064', '126065', '126066', '126067', '126070', '126071', '126072', '126073', '126074', '126075', '126080', '126081', '126100', '126200', '126201', '126202', '126203', '126220', '126300', '126301', '126302', '126303', '126310', '126311', '126312', '126313', '126314', '126320', '126321', '126322', '126330', '126331', '126340', '126341', '126342', '126343', '126344', '126350', '126351', '126352', '126353', '126360', '126361', '126362', '126363', '126364', '126370', '126371', '126372', '126373', '126374', '126375', '126376', '126377', '126380', '126390', '126391', '126392', '126393', '126394', '126400', '126401', '126402', '126403', '126404', '126410', '126411', '126412', '126413', '126500', '126501', '126502', '126503', '126510', '126511', '126512', '126513', '126514', '126515', '126516', '126517', '126518', '126519', '126520', '126600', '126601', '126602', '126603', '126604', '126605', '126606', '126700', '126701', '126702', '126703', '126704', '126705', '126706', '126707', '126708', '126709', '126710', '126711', '126712', '126713', '126714', '126715', '126716', '126801', '126802', '126803', '126804', '126805', '126806', '126807', '126808', '126809', '126810', '126811', 'IVOCT', 'OSS']}, 'type'=>'CodeableConcept', 'path'=>'Media.subtype', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/digital-media-subtype'}},
20
+ 'identifier' => {'type'=>'Identifier', 'path'=>'Media.identifier', 'min'=>0, 'max'=>Float::INFINITY},
21
+ 'subject' => {'type'=>'Reference', 'path'=>'Media.subject', 'min'=>0, 'max'=>1},
22
+ 'operator' => {'type'=>'Reference', 'path'=>'Media.operator', 'min'=>0, 'max'=>1},
23
+ 'view' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Media.view', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/media-view'}},
24
+ 'deviceName' => {'type'=>'string', 'path'=>'Media.deviceName', 'min'=>0, 'max'=>1},
25
+ 'height' => {'type'=>'positiveInt', 'path'=>'Media.height', 'min'=>0, 'max'=>1},
26
+ 'width' => {'type'=>'positiveInt', 'path'=>'Media.width', 'min'=>0, 'max'=>1},
27
+ 'frames' => {'type'=>'positiveInt', 'path'=>'Media.frames', 'min'=>0, 'max'=>1},
28
+ 'duration' => {'type'=>'unsignedInt', 'path'=>'Media.duration', 'min'=>0, 'max'=>1},
29
+ 'content' => {'type'=>'Attachment', 'path'=>'Media.content', 'min'=>1, 'max'=>1}
30
+ }
31
+
32
+ attr_accessor :id # 0-1 id
33
+ attr_accessor :meta # 0-1 Meta
34
+ attr_accessor :implicitRules # 0-1 uri
35
+ attr_accessor :language # 0-1 code
36
+ attr_accessor :text # 0-1 Narrative
37
+ attr_accessor :contained # 0-* [ Resource ]
38
+ attr_accessor :extension # 0-* [ Extension ]
39
+ attr_accessor :modifierExtension # 0-* [ Extension ]
40
+ attr_accessor :type # 1-1 code
41
+ attr_accessor :subtype # 0-1 CodeableConcept
42
+ attr_accessor :identifier # 0-* [ Identifier ]
43
+ attr_accessor :subject # 0-1 Reference()
44
+ attr_accessor :operator # 0-1 Reference()
45
+ attr_accessor :view # 0-1 CodeableConcept
46
+ attr_accessor :deviceName # 0-1 string
47
+ attr_accessor :height # 0-1 positiveInt
48
+ attr_accessor :width # 0-1 positiveInt
49
+ attr_accessor :frames # 0-1 positiveInt
50
+ attr_accessor :duration # 0-1 unsignedInt
51
+ attr_accessor :content # 1-1 Attachment
52
+
53
+ def resourceType
54
+ 'Media'
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,146 @@
1
+ module FHIR
2
+ module DSTU2
3
+ class Medication < FHIR::DSTU2::Model
4
+ include FHIR::DSTU2::Hashable
5
+ include FHIR::DSTU2::Json
6
+ include FHIR::DSTU2::Xml
7
+
8
+ SEARCH_PARAMS = ['code', 'destination', 'dispenser', 'identifier', 'medication', 'patient', 'prescription', 'receiver', 'responsibleparty', 'status', 'type', 'whenhandedover', 'whenprepared', 'code', 'effectivedate', 'identifier', 'medication', 'patient', 'source', 'status', 'code', 'container', 'content', 'form', 'ingredient', 'manufacturer', 'code', 'device', 'effectivetime', 'encounter', 'identifier', 'medication', 'notgiven', 'patient', 'practitioner', 'prescription', 'status', 'code', 'datewritten', 'encounter', 'identifier', 'medication', 'patient', 'prescriber', 'status']
9
+ METADATA = {
10
+ 'id' => {'type'=>'id', 'path'=>'Medication.id', 'min'=>0, 'max'=>1},
11
+ 'meta' => {'type'=>'Meta', 'path'=>'Medication.meta', 'min'=>0, 'max'=>1},
12
+ 'implicitRules' => {'type'=>'uri', 'path'=>'Medication.implicitRules', 'min'=>0, 'max'=>1},
13
+ 'language' => {'type'=>'code', 'path'=>'Medication.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
14
+ 'text' => {'type'=>'Narrative', 'path'=>'Medication.text', 'min'=>0, 'max'=>1},
15
+ 'contained' => {'type'=>'Resource', 'path'=>'Medication.contained', 'min'=>0, 'max'=>Float::INFINITY},
16
+ 'extension' => {'type'=>'Extension', 'path'=>'Medication.extension', 'min'=>0, 'max'=>Float::INFINITY},
17
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Medication.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
18
+ 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Medication.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-codes'}},
19
+ 'isBrand' => {'type'=>'boolean', 'path'=>'Medication.isBrand', 'min'=>0, 'max'=>1},
20
+ 'manufacturer' => {'type'=>'Reference', 'path'=>'Medication.manufacturer', 'min'=>0, 'max'=>1},
21
+ 'product' => {'type'=>'Medication::Product', 'path'=>'Medication.product', 'min'=>0, 'max'=>1},
22
+ 'package' => {'type'=>'Medication::Package', 'path'=>'Medication.package', 'min'=>0, 'max'=>1}
23
+ }
24
+
25
+ class Product < FHIR::DSTU2::Model
26
+ include FHIR::DSTU2::Hashable
27
+ include FHIR::DSTU2::Json
28
+ include FHIR::DSTU2::Xml
29
+
30
+ METADATA = {
31
+ 'id' => {'type'=>'id', 'path'=>'Product.id', 'min'=>0, 'max'=>1},
32
+ 'extension' => {'type'=>'Extension', 'path'=>'Product.extension', 'min'=>0, 'max'=>Float::INFINITY},
33
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Product.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
34
+ 'form' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Product.form', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-form-codes'}},
35
+ 'ingredient' => {'type'=>'Medication::Product::Ingredient', 'path'=>'Product.ingredient', 'min'=>0, 'max'=>Float::INFINITY},
36
+ 'batch' => {'type'=>'Medication::Product::Batch', 'path'=>'Product.batch', 'min'=>0, 'max'=>Float::INFINITY}
37
+ }
38
+
39
+ class Ingredient < FHIR::DSTU2::Model
40
+ include FHIR::DSTU2::Hashable
41
+ include FHIR::DSTU2::Json
42
+ include FHIR::DSTU2::Xml
43
+
44
+ METADATA = {
45
+ 'id' => {'type'=>'id', 'path'=>'Ingredient.id', 'min'=>0, 'max'=>1},
46
+ 'extension' => {'type'=>'Extension', 'path'=>'Ingredient.extension', 'min'=>0, 'max'=>Float::INFINITY},
47
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Ingredient.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
48
+ 'item' => {'type'=>'Reference', 'path'=>'Ingredient.item', 'min'=>1, 'max'=>1},
49
+ 'amount' => {'type'=>'Ratio', 'path'=>'Ingredient.amount', 'min'=>0, 'max'=>1}
50
+ }
51
+
52
+ attr_accessor :id # 0-1 id
53
+ attr_accessor :extension # 0-* [ Extension ]
54
+ attr_accessor :modifierExtension # 0-* [ Extension ]
55
+ attr_accessor :item # 1-1 Reference()
56
+ attr_accessor :amount # 0-1 Ratio
57
+ end
58
+
59
+ class Batch < FHIR::DSTU2::Model
60
+ include FHIR::DSTU2::Hashable
61
+ include FHIR::DSTU2::Json
62
+ include FHIR::DSTU2::Xml
63
+
64
+ METADATA = {
65
+ 'id' => {'type'=>'id', 'path'=>'Batch.id', 'min'=>0, 'max'=>1},
66
+ 'extension' => {'type'=>'Extension', 'path'=>'Batch.extension', 'min'=>0, 'max'=>Float::INFINITY},
67
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Batch.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
68
+ 'lotNumber' => {'type'=>'string', 'path'=>'Batch.lotNumber', 'min'=>0, 'max'=>1},
69
+ 'expirationDate' => {'type'=>'dateTime', 'path'=>'Batch.expirationDate', '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 :lotNumber # 0-1 string
76
+ attr_accessor :expirationDate # 0-1 dateTime
77
+ end
78
+
79
+ attr_accessor :id # 0-1 id
80
+ attr_accessor :extension # 0-* [ Extension ]
81
+ attr_accessor :modifierExtension # 0-* [ Extension ]
82
+ attr_accessor :form # 0-1 CodeableConcept
83
+ attr_accessor :ingredient # 0-* [ Medication::Product::Ingredient ]
84
+ attr_accessor :batch # 0-* [ Medication::Product::Batch ]
85
+ end
86
+
87
+ class Package < FHIR::DSTU2::Model
88
+ include FHIR::DSTU2::Hashable
89
+ include FHIR::DSTU2::Json
90
+ include FHIR::DSTU2::Xml
91
+
92
+ METADATA = {
93
+ 'id' => {'type'=>'id', 'path'=>'Package.id', 'min'=>0, 'max'=>1},
94
+ 'extension' => {'type'=>'Extension', 'path'=>'Package.extension', 'min'=>0, 'max'=>Float::INFINITY},
95
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Package.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
96
+ 'container' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Package.container', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-package-form-codes'}},
97
+ 'content' => {'type'=>'Medication::Package::Content', 'path'=>'Package.content', 'min'=>0, 'max'=>Float::INFINITY}
98
+ }
99
+
100
+ class Content < FHIR::DSTU2::Model
101
+ include FHIR::DSTU2::Hashable
102
+ include FHIR::DSTU2::Json
103
+ include FHIR::DSTU2::Xml
104
+
105
+ METADATA = {
106
+ 'id' => {'type'=>'id', 'path'=>'Content.id', 'min'=>0, 'max'=>1},
107
+ 'extension' => {'type'=>'Extension', 'path'=>'Content.extension', 'min'=>0, 'max'=>Float::INFINITY},
108
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Content.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
109
+ 'item' => {'type'=>'Reference', 'path'=>'Content.item', 'min'=>1, 'max'=>1},
110
+ 'amount' => {'type'=>'Quantity', 'path'=>'Content.amount', 'min'=>0, 'max'=>1}
111
+ }
112
+
113
+ attr_accessor :id # 0-1 id
114
+ attr_accessor :extension # 0-* [ Extension ]
115
+ attr_accessor :modifierExtension # 0-* [ Extension ]
116
+ attr_accessor :item # 1-1 Reference()
117
+ attr_accessor :amount # 0-1 Quantity
118
+ end
119
+
120
+ attr_accessor :id # 0-1 id
121
+ attr_accessor :extension # 0-* [ Extension ]
122
+ attr_accessor :modifierExtension # 0-* [ Extension ]
123
+ attr_accessor :container # 0-1 CodeableConcept
124
+ attr_accessor :content # 0-* [ Medication::Package::Content ]
125
+ end
126
+
127
+ attr_accessor :id # 0-1 id
128
+ attr_accessor :meta # 0-1 Meta
129
+ attr_accessor :implicitRules # 0-1 uri
130
+ attr_accessor :language # 0-1 code
131
+ attr_accessor :text # 0-1 Narrative
132
+ attr_accessor :contained # 0-* [ Resource ]
133
+ attr_accessor :extension # 0-* [ Extension ]
134
+ attr_accessor :modifierExtension # 0-* [ Extension ]
135
+ attr_accessor :code # 0-1 CodeableConcept
136
+ attr_accessor :isBrand # 0-1 boolean
137
+ attr_accessor :manufacturer # 0-1 Reference()
138
+ attr_accessor :product # 0-1 Medication::Product
139
+ attr_accessor :package # 0-1 Medication::Package
140
+
141
+ def resourceType
142
+ 'Medication'
143
+ end
144
+ end
145
+ end
146
+ end
@@ -0,0 +1,106 @@
1
+ module FHIR
2
+ module DSTU2
3
+ class MedicationAdministration < FHIR::DSTU2::Model
4
+ include FHIR::DSTU2::Hashable
5
+ include FHIR::DSTU2::Json
6
+ include FHIR::DSTU2::Xml
7
+
8
+ MULTIPLE_TYPES = {
9
+ 'effectiveTime' => ['dateTime', 'Period'],
10
+ 'medication' => ['CodeableConcept', 'Reference']
11
+ }
12
+ SEARCH_PARAMS = ['code', 'device', 'effectivetime', 'encounter', 'identifier', 'medication', 'notgiven', 'patient', 'practitioner', 'prescription', 'status']
13
+ METADATA = {
14
+ 'id' => {'type'=>'id', 'path'=>'MedicationAdministration.id', 'min'=>0, 'max'=>1},
15
+ 'meta' => {'type'=>'Meta', 'path'=>'MedicationAdministration.meta', 'min'=>0, 'max'=>1},
16
+ 'implicitRules' => {'type'=>'uri', 'path'=>'MedicationAdministration.implicitRules', 'min'=>0, 'max'=>1},
17
+ 'language' => {'type'=>'code', 'path'=>'MedicationAdministration.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
18
+ 'text' => {'type'=>'Narrative', 'path'=>'MedicationAdministration.text', 'min'=>0, 'max'=>1},
19
+ 'contained' => {'type'=>'Resource', 'path'=>'MedicationAdministration.contained', 'min'=>0, 'max'=>Float::INFINITY},
20
+ 'extension' => {'type'=>'Extension', 'path'=>'MedicationAdministration.extension', 'min'=>0, 'max'=>Float::INFINITY},
21
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'MedicationAdministration.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
22
+ 'identifier' => {'type'=>'Identifier', 'path'=>'MedicationAdministration.identifier', 'min'=>0, 'max'=>Float::INFINITY},
23
+ 'status' => {'valid_codes'=>{'http://hl7.org/fhir/medication-admin-status'=>['in-progress', 'on-hold', 'completed', 'entered-in-error', 'stopped']}, 'type'=>'code', 'path'=>'MedicationAdministration.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-admin-status'}},
24
+ 'patient' => {'type'=>'Reference', 'path'=>'MedicationAdministration.patient', 'min'=>1, 'max'=>1},
25
+ 'practitioner' => {'type'=>'Reference', 'path'=>'MedicationAdministration.practitioner', 'min'=>0, 'max'=>1},
26
+ 'encounter' => {'type'=>'Reference', 'path'=>'MedicationAdministration.encounter', 'min'=>0, 'max'=>1},
27
+ 'prescription' => {'type'=>'Reference', 'path'=>'MedicationAdministration.prescription', 'min'=>0, 'max'=>1},
28
+ 'wasNotGiven' => {'type'=>'boolean', 'path'=>'MedicationAdministration.wasNotGiven', 'min'=>0, 'max'=>1},
29
+ 'reasonNotGiven' => {'valid_codes'=>{'http://hl7.org/fhir/reason-medication-not-given'=>['a', 'b', 'c', 'd']}, 'type'=>'CodeableConcept', 'path'=>'MedicationAdministration.reasonNotGiven', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes'}},
30
+ 'reasonGiven' => {'valid_codes'=>{'http://hl7.org/fhir/reason-medication-given'=>['a', 'b', 'c']}, 'type'=>'CodeableConcept', 'path'=>'MedicationAdministration.reasonGiven', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/reason-medication-given-codes'}},
31
+ 'effectiveTimeDateTime' => {'type'=>'dateTime', 'path'=>'MedicationAdministration.effectiveTime[x]', 'min'=>1, 'max'=>1},
32
+ 'effectiveTimePeriod' => {'type'=>'Period', 'path'=>'MedicationAdministration.effectiveTime[x]', 'min'=>1, 'max'=>1},
33
+ 'medicationCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'MedicationAdministration.medication[x]', 'min'=>1, 'max'=>1},
34
+ 'medicationReference' => {'type'=>'Reference', 'path'=>'MedicationAdministration.medication[x]', 'min'=>1, 'max'=>1},
35
+ 'device' => {'type'=>'Reference', 'path'=>'MedicationAdministration.device', 'min'=>0, 'max'=>Float::INFINITY},
36
+ 'note' => {'type'=>'string', 'path'=>'MedicationAdministration.note', 'min'=>0, 'max'=>1},
37
+ 'dosage' => {'type'=>'MedicationAdministration::Dosage', 'path'=>'MedicationAdministration.dosage', 'min'=>0, 'max'=>1}
38
+ }
39
+
40
+ class Dosage < FHIR::DSTU2::Model
41
+ include FHIR::DSTU2::Hashable
42
+ include FHIR::DSTU2::Json
43
+ include FHIR::DSTU2::Xml
44
+
45
+ MULTIPLE_TYPES = {
46
+ 'site' => ['CodeableConcept', 'Reference'],
47
+ 'rate' => ['Ratio', 'Range']
48
+ }
49
+ METADATA = {
50
+ 'id' => {'type'=>'id', 'path'=>'Dosage.id', 'min'=>0, 'max'=>1},
51
+ 'extension' => {'type'=>'Extension', 'path'=>'Dosage.extension', 'min'=>0, 'max'=>Float::INFINITY},
52
+ 'modifierExtension' => {'type'=>'Extension', 'path'=>'Dosage.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
53
+ 'text' => {'type'=>'string', 'path'=>'Dosage.text', 'min'=>0, 'max'=>1},
54
+ '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'}},
55
+ 'siteReference' => {'type'=>'Reference', 'path'=>'Dosage.site[x]', 'min'=>0, 'max'=>1},
56
+ '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'}},
57
+ 'method' => {'local_name'=>'local_method', 'type'=>'CodeableConcept', 'path'=>'Dosage.method', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
58
+ 'quantity' => {'type'=>'Quantity', 'path'=>'Dosage.quantity', 'min'=>0, 'max'=>1},
59
+ 'rateRatio' => {'type'=>'Ratio', 'path'=>'Dosage.rate[x]', 'min'=>0, 'max'=>1},
60
+ 'rateRange' => {'type'=>'Range', 'path'=>'Dosage.rate[x]', 'min'=>0, 'max'=>1}
61
+ }
62
+
63
+ attr_accessor :id # 0-1 id
64
+ attr_accessor :extension # 0-* [ Extension ]
65
+ attr_accessor :modifierExtension # 0-* [ Extension ]
66
+ attr_accessor :text # 0-1 string
67
+ attr_accessor :siteCodeableConcept # 0-1 CodeableConcept
68
+ attr_accessor :siteReference # 0-1 Reference()
69
+ attr_accessor :route # 0-1 CodeableConcept
70
+ attr_accessor :local_method # 0-1 CodeableConcept
71
+ attr_accessor :quantity # 0-1 Quantity
72
+ attr_accessor :rateRatio # 0-1 Ratio
73
+ attr_accessor :rateRange # 0-1 Range
74
+ end
75
+
76
+ attr_accessor :id # 0-1 id
77
+ attr_accessor :meta # 0-1 Meta
78
+ attr_accessor :implicitRules # 0-1 uri
79
+ attr_accessor :language # 0-1 code
80
+ attr_accessor :text # 0-1 Narrative
81
+ attr_accessor :contained # 0-* [ Resource ]
82
+ attr_accessor :extension # 0-* [ Extension ]
83
+ attr_accessor :modifierExtension # 0-* [ Extension ]
84
+ attr_accessor :identifier # 0-* [ Identifier ]
85
+ attr_accessor :status # 1-1 code
86
+ attr_accessor :patient # 1-1 Reference()
87
+ attr_accessor :practitioner # 0-1 Reference()
88
+ attr_accessor :encounter # 0-1 Reference()
89
+ attr_accessor :prescription # 0-1 Reference()
90
+ attr_accessor :wasNotGiven # 0-1 boolean
91
+ attr_accessor :reasonNotGiven # 0-* [ CodeableConcept ]
92
+ attr_accessor :reasonGiven # 0-* [ CodeableConcept ]
93
+ attr_accessor :effectiveTimeDateTime # 1-1 dateTime
94
+ attr_accessor :effectiveTimePeriod # 1-1 Period
95
+ attr_accessor :medicationCodeableConcept # 1-1 CodeableConcept
96
+ attr_accessor :medicationReference # 1-1 Reference()
97
+ attr_accessor :device # 0-* [ Reference() ]
98
+ attr_accessor :note # 0-1 string
99
+ attr_accessor :dosage # 0-1 MedicationAdministration::Dosage
100
+
101
+ def resourceType
102
+ 'MedicationAdministration'
103
+ end
104
+ end
105
+ end
106
+ end