fhir_models 1.6.3 → 1.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1129) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +23 -0
  3. data/.gitignore +1 -2
  4. data/.rubocop.yml +1162 -0
  5. data/.travis.yml +6 -1
  6. data/Gemfile +3 -9
  7. data/Rakefile +13 -14
  8. data/bin/console +14 -0
  9. data/bin/setup +8 -0
  10. data/fhir_models.gemspec +34 -18
  11. data/lib/fhir_models.rb +23 -35
  12. data/lib/{bootstrap → fhir_models/bootstrap}/definitions.rb +25 -24
  13. data/lib/{bootstrap → fhir_models/bootstrap}/field.rb +5 -5
  14. data/lib/{bootstrap → fhir_models/bootstrap}/generator.rb +68 -69
  15. data/lib/{bootstrap → fhir_models/bootstrap}/hashable.rb +21 -20
  16. data/lib/{bootstrap → fhir_models/bootstrap}/json.rb +3 -4
  17. data/lib/{bootstrap → fhir_models/bootstrap}/model.rb +28 -24
  18. data/lib/{bootstrap → fhir_models/bootstrap}/preprocess.rb +19 -18
  19. data/lib/{bootstrap → fhir_models/bootstrap}/template.rb +15 -15
  20. data/lib/{bootstrap → fhir_models/bootstrap}/xml.rb +25 -25
  21. data/{definitions → lib/fhir_models/definitions}/schema/account.xsd +0 -0
  22. data/{definitions → lib/fhir_models/definitions}/schema/activitydefinition.xsd +0 -0
  23. data/{definitions → lib/fhir_models/definitions}/schema/allergyintolerance.xsd +0 -0
  24. data/{definitions → lib/fhir_models/definitions}/schema/appointment.xsd +0 -0
  25. data/{definitions → lib/fhir_models/definitions}/schema/appointmentresponse.xsd +0 -0
  26. data/{definitions → lib/fhir_models/definitions}/schema/auditevent.xsd +0 -0
  27. data/{definitions → lib/fhir_models/definitions}/schema/basic.xsd +0 -0
  28. data/{definitions → lib/fhir_models/definitions}/schema/binary.xsd +0 -0
  29. data/{definitions → lib/fhir_models/definitions}/schema/bodysite.xsd +0 -0
  30. data/{definitions → lib/fhir_models/definitions}/schema/bundle.xsd +0 -0
  31. data/{definitions → lib/fhir_models/definitions}/schema/careplan.xsd +0 -0
  32. data/{definitions → lib/fhir_models/definitions}/schema/careteam.xsd +0 -0
  33. data/{definitions → lib/fhir_models/definitions}/schema/claim.xsd +0 -0
  34. data/{definitions → lib/fhir_models/definitions}/schema/claimresponse.xsd +0 -0
  35. data/{definitions → lib/fhir_models/definitions}/schema/clinicalimpression.xsd +0 -0
  36. data/{definitions → lib/fhir_models/definitions}/schema/codesystem.xsd +0 -0
  37. data/{definitions → lib/fhir_models/definitions}/schema/communication.xsd +0 -0
  38. data/{definitions → lib/fhir_models/definitions}/schema/communicationrequest.xsd +0 -0
  39. data/{definitions → lib/fhir_models/definitions}/schema/compartmentdefinition.xsd +0 -0
  40. data/{definitions → lib/fhir_models/definitions}/schema/composition.xsd +0 -0
  41. data/{definitions → lib/fhir_models/definitions}/schema/conceptmap.xsd +0 -0
  42. data/{definitions → lib/fhir_models/definitions}/schema/condition.xsd +0 -0
  43. data/{definitions → lib/fhir_models/definitions}/schema/conformance.xsd +0 -0
  44. data/{definitions → lib/fhir_models/definitions}/schema/consent.xsd +0 -0
  45. data/{definitions → lib/fhir_models/definitions}/schema/contract.xsd +0 -0
  46. data/{definitions → lib/fhir_models/definitions}/schema/coverage.xsd +0 -0
  47. data/{definitions → lib/fhir_models/definitions}/schema/dataelement.xsd +0 -0
  48. data/{definitions → lib/fhir_models/definitions}/schema/decisionsupportrule.xsd +0 -0
  49. data/{definitions → lib/fhir_models/definitions}/schema/decisionsupportservicemodule.xsd +0 -0
  50. data/{definitions → lib/fhir_models/definitions}/schema/detectedissue.xsd +0 -0
  51. data/{definitions → lib/fhir_models/definitions}/schema/device.xsd +0 -0
  52. data/{definitions → lib/fhir_models/definitions}/schema/devicecomponent.xsd +0 -0
  53. data/{definitions → lib/fhir_models/definitions}/schema/devicemetric.xsd +0 -0
  54. data/{definitions → lib/fhir_models/definitions}/schema/deviceuserequest.xsd +0 -0
  55. data/{definitions → lib/fhir_models/definitions}/schema/deviceusestatement.xsd +0 -0
  56. data/{definitions → lib/fhir_models/definitions}/schema/diagnosticorder.xsd +0 -0
  57. data/{definitions → lib/fhir_models/definitions}/schema/diagnosticreport.xsd +0 -0
  58. data/{definitions → lib/fhir_models/definitions}/schema/diagnosticrequest.xsd +0 -0
  59. data/{definitions → lib/fhir_models/definitions}/schema/documentmanifest.xsd +0 -0
  60. data/{definitions → lib/fhir_models/definitions}/schema/documentreference.xsd +0 -0
  61. data/{definitions → lib/fhir_models/definitions}/schema/eligibilityrequest.xsd +0 -0
  62. data/{definitions → lib/fhir_models/definitions}/schema/eligibilityresponse.xsd +0 -0
  63. data/{definitions → lib/fhir_models/definitions}/schema/encounter.xsd +0 -0
  64. data/{definitions → lib/fhir_models/definitions}/schema/endpoint.xsd +0 -0
  65. data/{definitions → lib/fhir_models/definitions}/schema/enrollmentrequest.xsd +0 -0
  66. data/{definitions → lib/fhir_models/definitions}/schema/enrollmentresponse.xsd +0 -0
  67. data/{definitions → lib/fhir_models/definitions}/schema/episodeofcare.xsd +0 -0
  68. data/{definitions → lib/fhir_models/definitions}/schema/expansionprofile.xsd +0 -0
  69. data/{definitions → lib/fhir_models/definitions}/schema/explanationofbenefit.xsd +0 -0
  70. data/{definitions → lib/fhir_models/definitions}/schema/familymemberhistory.xsd +0 -0
  71. data/{definitions → lib/fhir_models/definitions}/schema/fhir-all.xsd +0 -0
  72. data/{definitions → lib/fhir_models/definitions}/schema/fhir-base.xsd +0 -0
  73. data/{definitions → lib/fhir_models/definitions}/schema/fhir-single-copy.xsd +0 -0
  74. data/{definitions → lib/fhir_models/definitions}/schema/fhir-single.xsd +0 -0
  75. data/{definitions → lib/fhir_models/definitions}/schema/fhir-xhtml.xsd +0 -0
  76. data/{definitions → lib/fhir_models/definitions}/schema/flag.xsd +0 -0
  77. data/{definitions → lib/fhir_models/definitions}/schema/goal.xsd +0 -0
  78. data/{definitions → lib/fhir_models/definitions}/schema/group.xsd +0 -0
  79. data/{definitions → lib/fhir_models/definitions}/schema/guidanceresponse.xsd +0 -0
  80. data/{definitions → lib/fhir_models/definitions}/schema/healthcareservice.xsd +0 -0
  81. data/{definitions → lib/fhir_models/definitions}/schema/imagingexcerpt.xsd +0 -0
  82. data/{definitions → lib/fhir_models/definitions}/schema/imagingmanifest.xsd +0 -0
  83. data/{definitions → lib/fhir_models/definitions}/schema/imagingobjectselection.xsd +0 -0
  84. data/{definitions → lib/fhir_models/definitions}/schema/imagingstudy.xsd +0 -0
  85. data/{definitions → lib/fhir_models/definitions}/schema/immunization.xsd +0 -0
  86. data/{definitions → lib/fhir_models/definitions}/schema/immunizationrecommendation.xsd +0 -0
  87. data/{definitions → lib/fhir_models/definitions}/schema/implementationguide.xsd +0 -0
  88. data/{definitions → lib/fhir_models/definitions}/schema/library.xsd +0 -0
  89. data/{definitions → lib/fhir_models/definitions}/schema/linkage.xsd +0 -0
  90. data/{definitions → lib/fhir_models/definitions}/schema/list.xsd +0 -0
  91. data/{definitions → lib/fhir_models/definitions}/schema/location.xsd +0 -0
  92. data/{definitions → lib/fhir_models/definitions}/schema/measure.xsd +0 -0
  93. data/{definitions → lib/fhir_models/definitions}/schema/measurereport.xsd +0 -0
  94. data/{definitions → lib/fhir_models/definitions}/schema/media.xsd +0 -0
  95. data/{definitions → lib/fhir_models/definitions}/schema/medication.xsd +0 -0
  96. data/{definitions → lib/fhir_models/definitions}/schema/medicationadministration.xsd +0 -0
  97. data/{definitions → lib/fhir_models/definitions}/schema/medicationdispense.xsd +0 -0
  98. data/{definitions → lib/fhir_models/definitions}/schema/medicationorder.xsd +0 -0
  99. data/{definitions → lib/fhir_models/definitions}/schema/medicationstatement.xsd +0 -0
  100. data/{definitions → lib/fhir_models/definitions}/schema/messageheader.xsd +0 -0
  101. data/{definitions → lib/fhir_models/definitions}/schema/moduledefinition.xsd +0 -0
  102. data/{definitions → lib/fhir_models/definitions}/schema/namingsystem.xsd +0 -0
  103. data/{definitions → lib/fhir_models/definitions}/schema/nutritionorder.xsd +0 -0
  104. data/{definitions → lib/fhir_models/definitions}/schema/nutritionrequest.xsd +0 -0
  105. data/{definitions → lib/fhir_models/definitions}/schema/observation.xsd +0 -0
  106. data/{definitions → lib/fhir_models/definitions}/schema/operationdefinition.xsd +0 -0
  107. data/{definitions → lib/fhir_models/definitions}/schema/operationoutcome.xsd +0 -0
  108. data/{definitions → lib/fhir_models/definitions}/schema/order.xsd +0 -0
  109. data/{definitions → lib/fhir_models/definitions}/schema/orderresponse.xsd +0 -0
  110. data/{definitions → lib/fhir_models/definitions}/schema/orderset.xsd +0 -0
  111. data/{definitions → lib/fhir_models/definitions}/schema/organization.xsd +0 -0
  112. data/{definitions → lib/fhir_models/definitions}/schema/parameters.xsd +0 -0
  113. data/{definitions → lib/fhir_models/definitions}/schema/patient.xsd +0 -0
  114. data/{definitions → lib/fhir_models/definitions}/schema/paymentnotice.xsd +0 -0
  115. data/{definitions → lib/fhir_models/definitions}/schema/paymentreconciliation.xsd +0 -0
  116. data/{definitions → lib/fhir_models/definitions}/schema/person.xsd +0 -0
  117. data/{definitions → lib/fhir_models/definitions}/schema/plandefinition.xsd +0 -0
  118. data/{definitions → lib/fhir_models/definitions}/schema/practitioner.xsd +0 -0
  119. data/{definitions → lib/fhir_models/definitions}/schema/practitionerrole.xsd +0 -0
  120. data/{definitions → lib/fhir_models/definitions}/schema/procedure.xsd +0 -0
  121. data/{definitions → lib/fhir_models/definitions}/schema/procedurerequest.xsd +0 -0
  122. data/{definitions → lib/fhir_models/definitions}/schema/processrequest.xsd +0 -0
  123. data/{definitions → lib/fhir_models/definitions}/schema/processresponse.xsd +0 -0
  124. data/{definitions → lib/fhir_models/definitions}/schema/protocol.xsd +0 -0
  125. data/{definitions → lib/fhir_models/definitions}/schema/provenance.xsd +0 -0
  126. data/{definitions → lib/fhir_models/definitions}/schema/questionnaire.xsd +0 -0
  127. data/{definitions → lib/fhir_models/definitions}/schema/questionnaireresponse.xsd +0 -0
  128. data/{definitions → lib/fhir_models/definitions}/schema/referralrequest.xsd +0 -0
  129. data/{definitions → lib/fhir_models/definitions}/schema/relatedperson.xsd +0 -0
  130. data/{definitions → lib/fhir_models/definitions}/schema/riskassessment.xsd +0 -0
  131. data/{definitions → lib/fhir_models/definitions}/schema/schedule.xsd +0 -0
  132. data/{definitions → lib/fhir_models/definitions}/schema/searchparameter.xsd +0 -0
  133. data/{definitions → lib/fhir_models/definitions}/schema/sequence.xsd +0 -0
  134. data/{definitions → lib/fhir_models/definitions}/schema/slot.xsd +0 -0
  135. data/{definitions → lib/fhir_models/definitions}/schema/specimen.xsd +0 -0
  136. data/{definitions → lib/fhir_models/definitions}/schema/structuredefinition.xsd +0 -0
  137. data/{definitions → lib/fhir_models/definitions}/schema/structuremap.xsd +0 -0
  138. data/{definitions → lib/fhir_models/definitions}/schema/subscription.xsd +0 -0
  139. data/{definitions → lib/fhir_models/definitions}/schema/substance.xsd +0 -0
  140. data/{definitions → lib/fhir_models/definitions}/schema/supplydelivery.xsd +0 -0
  141. data/{definitions → lib/fhir_models/definitions}/schema/supplyrequest.xsd +0 -0
  142. data/{definitions → lib/fhir_models/definitions}/schema/task.xsd +0 -0
  143. data/{definitions → lib/fhir_models/definitions}/schema/testscript.xsd +0 -0
  144. data/{definitions → lib/fhir_models/definitions}/schema/valueset.xsd +0 -0
  145. data/{definitions → lib/fhir_models/definitions}/schema/visionprescription.xsd +0 -0
  146. data/{definitions → lib/fhir_models/definitions}/schema/xml.xsd +0 -0
  147. data/{definitions → lib/fhir_models/definitions}/schema/xmldsig-core-schema.xsd +0 -0
  148. data/{definitions → lib/fhir_models/definitions}/structures/extension-definitions.json +0 -0
  149. data/{definitions → lib/fhir_models/definitions}/structures/profiles-others.json +0 -0
  150. data/{definitions → lib/fhir_models/definitions}/structures/profiles-resources.json +0 -0
  151. data/{definitions → lib/fhir_models/definitions}/structures/profiles-types.json +0 -0
  152. data/{definitions → lib/fhir_models/definitions}/structures/search-parameters.json +0 -0
  153. data/{definitions → lib/fhir_models/definitions}/valuesets/expansions.json +0 -0
  154. data/{definitions → lib/fhir_models/definitions}/valuesets/v2-tables.json +0 -0
  155. data/{definitions → lib/fhir_models/definitions}/valuesets/v3-codesystems.json +0 -0
  156. data/{definitions → lib/fhir_models/definitions}/valuesets/valuesets.json +0 -0
  157. data/{definitions → lib/fhir_models/definitions}/version.info +0 -0
  158. data/{examples → lib/fhir_models/examples}/json/account-example.json +0 -0
  159. data/{examples → lib/fhir_models/examples}/json/activitydefinition-example.json +0 -0
  160. data/{examples → lib/fhir_models/examples}/json/allergyintolerance-example.json +0 -0
  161. data/{examples → lib/fhir_models/examples}/json/appointment-example-request.json +0 -0
  162. data/{examples → lib/fhir_models/examples}/json/appointment-example.json +0 -0
  163. data/{examples → lib/fhir_models/examples}/json/appointment-example2doctors.json +0 -0
  164. data/{examples → lib/fhir_models/examples}/json/appointmentresponse-example-req.json +0 -0
  165. data/{examples → lib/fhir_models/examples}/json/appointmentresponse-example.json +0 -0
  166. data/{examples → lib/fhir_models/examples}/json/audit-event-example-login.json +0 -0
  167. data/{examples → lib/fhir_models/examples}/json/audit-event-example-logout.json +0 -0
  168. data/{examples → lib/fhir_models/examples}/json/audit-event-example-media.json +0 -0
  169. data/{examples → lib/fhir_models/examples}/json/audit-event-example-pixQuery.json +0 -0
  170. data/{examples → lib/fhir_models/examples}/json/audit-event-example-search.json +0 -0
  171. data/{examples → lib/fhir_models/examples}/json/audit-event-example-vread.json +0 -0
  172. data/{examples → lib/fhir_models/examples}/json/auditevent-example-disclosure.json +0 -0
  173. data/{examples → lib/fhir_models/examples}/json/auditevent-example.json +0 -0
  174. data/{examples → lib/fhir_models/examples}/json/basic-example-narrative.json +0 -0
  175. data/{examples → lib/fhir_models/examples}/json/basic-example.json +0 -0
  176. data/{examples → lib/fhir_models/examples}/json/basic-example2.json +0 -0
  177. data/{examples → lib/fhir_models/examples}/json/binary-example.json +0 -0
  178. data/{examples → lib/fhir_models/examples}/json/bodysite-example-fetus.json +0 -0
  179. data/{examples → lib/fhir_models/examples}/json/bodysite-example-skin-patch.json +0 -0
  180. data/{examples → lib/fhir_models/examples}/json/bodysite-example-tumor.json +0 -0
  181. data/{examples → lib/fhir_models/examples}/json/bundle-example.json +0 -0
  182. data/{examples → lib/fhir_models/examples}/json/careplan-example-GPVisit.json +0 -0
  183. data/{examples → lib/fhir_models/examples}/json/careplan-example-f001-heart.json +0 -0
  184. data/{examples → lib/fhir_models/examples}/json/careplan-example-f002-lung.json +0 -0
  185. data/{examples → lib/fhir_models/examples}/json/careplan-example-f003-pharynx.json +0 -0
  186. data/{examples → lib/fhir_models/examples}/json/careplan-example-f201-renal.json +0 -0
  187. data/{examples → lib/fhir_models/examples}/json/careplan-example-f202-malignancy.json +0 -0
  188. data/{examples → lib/fhir_models/examples}/json/careplan-example-f203-sepsis.json +0 -0
  189. data/{examples → lib/fhir_models/examples}/json/careplan-example-integrated.json +0 -0
  190. data/{examples → lib/fhir_models/examples}/json/careplan-example-pregnancy.json +0 -0
  191. data/{examples → lib/fhir_models/examples}/json/careplan-example.json +0 -0
  192. data/{examples → lib/fhir_models/examples}/json/careteam-example.json +0 -0
  193. data/{examples → lib/fhir_models/examples}/json/claim-example-institutional.json +0 -0
  194. data/{examples → lib/fhir_models/examples}/json/claim-example-oral-average.json +0 -0
  195. data/{examples → lib/fhir_models/examples}/json/claim-example-oral-contained-identifier.json +0 -0
  196. data/{examples → lib/fhir_models/examples}/json/claim-example-oral-contained.json +0 -0
  197. data/{examples → lib/fhir_models/examples}/json/claim-example-oral-identifier.json +0 -0
  198. data/{examples → lib/fhir_models/examples}/json/claim-example-oral-orthoplan.json +0 -0
  199. data/{examples → lib/fhir_models/examples}/json/claim-example-pharmacy.json +0 -0
  200. data/{examples → lib/fhir_models/examples}/json/claim-example-professional.json +0 -0
  201. data/{examples → lib/fhir_models/examples}/json/claim-example-vision-glasses.json +0 -0
  202. data/{examples → lib/fhir_models/examples}/json/claim-example-vision.json +0 -0
  203. data/{examples → lib/fhir_models/examples}/json/claim-example.json +0 -0
  204. data/{examples → lib/fhir_models/examples}/json/claimresponse-example.json +0 -0
  205. data/{examples → lib/fhir_models/examples}/json/clinicalimpression-example.json +0 -0
  206. data/{examples → lib/fhir_models/examples}/json/codesystem-example.json +0 -0
  207. data/{examples → lib/fhir_models/examples}/json/codesystem-list-example-codes.json +0 -0
  208. data/{examples → lib/fhir_models/examples}/json/communication-example-fm-attachment.json +0 -0
  209. data/{examples → lib/fhir_models/examples}/json/communication-example-fm-solicited-attachment.json +0 -0
  210. data/{examples → lib/fhir_models/examples}/json/communication-example.json +0 -0
  211. data/{examples → lib/fhir_models/examples}/json/communicationrequest-example-fm-solicit-attachment.json +0 -0
  212. data/{examples → lib/fhir_models/examples}/json/communicationrequest-example.json +0 -0
  213. data/{examples → lib/fhir_models/examples}/json/composition-example.json +0 -0
  214. data/{examples → lib/fhir_models/examples}/json/conceptmap-example-specimen-type.json +0 -0
  215. data/{examples → lib/fhir_models/examples}/json/conceptmap-example.json +0 -0
  216. data/{examples → lib/fhir_models/examples}/json/condition-example-f001-heart.json +0 -0
  217. data/{examples → lib/fhir_models/examples}/json/condition-example-f002-lung.json +0 -0
  218. data/{examples → lib/fhir_models/examples}/json/condition-example-f003-abscess.json +0 -0
  219. data/{examples → lib/fhir_models/examples}/json/condition-example-f201-fever.json +0 -0
  220. data/{examples → lib/fhir_models/examples}/json/condition-example-f202-malignancy.json +0 -0
  221. data/{examples → lib/fhir_models/examples}/json/condition-example-f203-sepsis.json +0 -0
  222. data/{examples → lib/fhir_models/examples}/json/condition-example-f204-renal.json +0 -0
  223. data/{examples → lib/fhir_models/examples}/json/condition-example-f205-infection.json +0 -0
  224. data/{examples → lib/fhir_models/examples}/json/condition-example-stroke.json +0 -0
  225. data/{examples → lib/fhir_models/examples}/json/condition-example.json +0 -0
  226. data/{examples → lib/fhir_models/examples}/json/condition-example2.json +0 -0
  227. data/{examples → lib/fhir_models/examples}/json/conformance-example.json +0 -0
  228. data/{examples → lib/fhir_models/examples}/json/conformance-phr-example.json +0 -0
  229. data/{examples → lib/fhir_models/examples}/json/consent-example-Emergency.json +0 -0
  230. data/{examples → lib/fhir_models/examples}/json/consent-example-Out.json +0 -0
  231. data/{examples → lib/fhir_models/examples}/json/consent-example-grantor.json +0 -0
  232. data/{examples → lib/fhir_models/examples}/json/consent-example-notAuthor.json +0 -0
  233. data/{examples → lib/fhir_models/examples}/json/consent-example-notOrg.json +0 -0
  234. data/{examples → lib/fhir_models/examples}/json/consent-example-notThem.json +0 -0
  235. data/{examples → lib/fhir_models/examples}/json/consent-example-notThis.json +0 -0
  236. data/{examples → lib/fhir_models/examples}/json/consent-example-notTime.json +0 -0
  237. data/{examples → lib/fhir_models/examples}/json/consent-example-pkb.json +0 -0
  238. data/{examples → lib/fhir_models/examples}/json/consent-example-signature.json +0 -0
  239. data/{examples → lib/fhir_models/examples}/json/consent-example-smartonfhir.json +0 -0
  240. data/{examples → lib/fhir_models/examples}/json/consent-example.json +0 -0
  241. data/{examples → lib/fhir_models/examples}/json/contract-example.json +0 -0
  242. data/{examples → lib/fhir_models/examples}/json/coverage-example-2.json +0 -0
  243. data/{examples → lib/fhir_models/examples}/json/coverage-example.json +0 -0
  244. data/{examples → lib/fhir_models/examples}/json/dataelement-example.json +0 -0
  245. data/{examples → lib/fhir_models/examples}/json/dataelement-labtestmaster-example.json +0 -0
  246. data/{examples → lib/fhir_models/examples}/json/decisionsupportservicemodule-example.json +0 -0
  247. data/{examples → lib/fhir_models/examples}/json/detectedissue-example-allergy.json +0 -0
  248. data/{examples → lib/fhir_models/examples}/json/detectedissue-example-dup.json +0 -0
  249. data/{examples → lib/fhir_models/examples}/json/detectedissue-example-lab.json +0 -0
  250. data/{examples → lib/fhir_models/examples}/json/detectedissue-example.json +0 -0
  251. data/{examples → lib/fhir_models/examples}/json/device-example-f001-feedingtube.json +0 -0
  252. data/{examples → lib/fhir_models/examples}/json/device-example-ihe-pcd.json +0 -0
  253. data/{examples → lib/fhir_models/examples}/json/device-example-pacemaker.json +0 -0
  254. data/{examples → lib/fhir_models/examples}/json/device-example-software.json +0 -0
  255. data/{examples → lib/fhir_models/examples}/json/device-example-udi1.json +0 -0
  256. data/{examples → lib/fhir_models/examples}/json/device-example-udi2.json +0 -0
  257. data/{examples → lib/fhir_models/examples}/json/device-example-udi3.json +0 -0
  258. data/{examples → lib/fhir_models/examples}/json/device-example-udi4.json +0 -0
  259. data/{examples → lib/fhir_models/examples}/json/device-example.json +0 -0
  260. data/{examples → lib/fhir_models/examples}/json/devicecomponent-example-prodspec.json +0 -0
  261. data/{examples → lib/fhir_models/examples}/json/devicecomponent-example.json +0 -0
  262. data/{examples → lib/fhir_models/examples}/json/devicemetric-example.json +0 -0
  263. data/{examples → lib/fhir_models/examples}/json/deviceuserequest-example.json +0 -0
  264. data/{examples → lib/fhir_models/examples}/json/deviceusestatement-example.json +0 -0
  265. data/{examples → lib/fhir_models/examples}/json/diagnosticreport-example-dxa.json +0 -0
  266. data/{examples → lib/fhir_models/examples}/json/diagnosticreport-example-f001-bloodexam.json +0 -0
  267. data/{examples → lib/fhir_models/examples}/json/diagnosticreport-example-f201-brainct.json +0 -0
  268. data/{examples → lib/fhir_models/examples}/json/diagnosticreport-example-f202-bloodculture.json +0 -0
  269. data/{examples → lib/fhir_models/examples}/json/diagnosticreport-example-ghp.json +0 -0
  270. data/{examples → lib/fhir_models/examples}/json/diagnosticreport-example-lipids.json +0 -0
  271. data/{examples → lib/fhir_models/examples}/json/diagnosticreport-example-papsmear.json +0 -0
  272. data/{examples → lib/fhir_models/examples}/json/diagnosticreport-example-ultrasound.json +0 -0
  273. data/{examples → lib/fhir_models/examples}/json/diagnosticreport-example.json +0 -0
  274. data/{examples → lib/fhir_models/examples}/json/diagnosticreport-examples-general.json +0 -0
  275. data/{examples → lib/fhir_models/examples}/json/diagnosticreport-genetics-example-2-familyhistory.json +0 -0
  276. data/{examples → lib/fhir_models/examples}/json/diagnosticreport-hla-genetics-results-example.json +0 -0
  277. data/{examples → lib/fhir_models/examples}/json/diagnosticrequest-example-di.json +0 -0
  278. data/{examples → lib/fhir_models/examples}/json/diagnosticrequest-example-ft4.json +0 -0
  279. data/{examples → lib/fhir_models/examples}/json/diagnosticrequest-example-lipid.json +0 -0
  280. data/{examples → lib/fhir_models/examples}/json/diagnosticrequest-genetics-example-1.json +0 -0
  281. data/{examples → lib/fhir_models/examples}/json/document-example-dischargesummary.json +0 -0
  282. data/{examples → lib/fhir_models/examples}/json/documentreference-example.json +0 -0
  283. data/{examples → lib/fhir_models/examples}/json/eligibilityrequest-example.json +0 -0
  284. data/{examples → lib/fhir_models/examples}/json/eligibilityresponse-example-benefits.json +0 -0
  285. data/{examples → lib/fhir_models/examples}/json/eligibilityresponse-example.json +0 -0
  286. data/{examples → lib/fhir_models/examples}/json/encounter-example-f001-heart.json +0 -0
  287. data/{examples → lib/fhir_models/examples}/json/encounter-example-f002-lung.json +0 -0
  288. data/{examples → lib/fhir_models/examples}/json/encounter-example-f003-abscess.json +0 -0
  289. data/{examples → lib/fhir_models/examples}/json/encounter-example-f201-20130404.json +0 -0
  290. data/{examples → lib/fhir_models/examples}/json/encounter-example-f202-20130128.json +0 -0
  291. data/{examples → lib/fhir_models/examples}/json/encounter-example-f203-20130311.json +0 -0
  292. data/{examples → lib/fhir_models/examples}/json/encounter-example-home.json +0 -0
  293. data/{examples → lib/fhir_models/examples}/json/encounter-example-xcda.json +0 -0
  294. data/{examples → lib/fhir_models/examples}/json/encounter-example.json +0 -0
  295. data/{examples → lib/fhir_models/examples}/json/endpoint-example.json +0 -0
  296. data/{examples → lib/fhir_models/examples}/json/endpoint-examples-general-template.json +0 -0
  297. data/{examples → lib/fhir_models/examples}/json/enrollmentrequest-example.json +0 -0
  298. data/{examples → lib/fhir_models/examples}/json/enrollmentresponse-example.json +0 -0
  299. data/{examples → lib/fhir_models/examples}/json/episodeofcare-example.json +0 -0
  300. data/{examples → lib/fhir_models/examples}/json/expansionprofile-example.json +0 -0
  301. data/{examples → lib/fhir_models/examples}/json/explanationofbenefit-example.json +0 -0
  302. data/{examples → lib/fhir_models/examples}/json/extension-structuredefinition-example.json +0 -0
  303. data/{examples → lib/fhir_models/examples}/json/familymemberhistory-example-mother.json +0 -0
  304. data/{examples → lib/fhir_models/examples}/json/familymemberhistory-example.json +0 -0
  305. data/{examples → lib/fhir_models/examples}/json/flag-example-encounter.json +0 -0
  306. data/{examples → lib/fhir_models/examples}/json/flag-example.json +0 -0
  307. data/{examples → lib/fhir_models/examples}/json/goal-example.json +0 -0
  308. data/{examples → lib/fhir_models/examples}/json/group-example-member.json +0 -0
  309. data/{examples → lib/fhir_models/examples}/json/group-example.json +0 -0
  310. data/{examples → lib/fhir_models/examples}/json/guidanceresponse-example.json +0 -0
  311. data/{examples → lib/fhir_models/examples}/json/healthcareservice-example.json +0 -0
  312. data/{examples → lib/fhir_models/examples}/json/imagingmanifest-example.json +0 -0
  313. data/{examples → lib/fhir_models/examples}/json/imagingstudy-example.json +0 -0
  314. data/{examples → lib/fhir_models/examples}/json/immunization-example-refused.json +0 -0
  315. data/{examples → lib/fhir_models/examples}/json/immunization-example.json +0 -0
  316. data/{examples → lib/fhir_models/examples}/json/immunizationrecommendation-example.json +0 -0
  317. data/{examples → lib/fhir_models/examples}/json/implementationguide-example.json +0 -0
  318. data/{examples → lib/fhir_models/examples}/json/library-cms146-example.json +0 -0
  319. data/{examples → lib/fhir_models/examples}/json/library-example.json +0 -0
  320. data/{examples → lib/fhir_models/examples}/json/linkage-example.json +0 -0
  321. data/{examples → lib/fhir_models/examples}/json/list-example-allergies.json +0 -0
  322. data/{examples → lib/fhir_models/examples}/json/list-example-empty.json +0 -0
  323. data/{examples → lib/fhir_models/examples}/json/list-example-familyhistory-f201-roel.json +0 -0
  324. data/{examples → lib/fhir_models/examples}/json/list-example-familyhistory-genetics-profile-annie.json +0 -0
  325. data/{examples → lib/fhir_models/examples}/json/list-example-familyhistory-genetics-profile.json +0 -0
  326. data/{examples → lib/fhir_models/examples}/json/list-example-medlist.json +0 -0
  327. data/{examples → lib/fhir_models/examples}/json/list-example-simple-empty.json +0 -0
  328. data/{examples → lib/fhir_models/examples}/json/list-example.json +0 -0
  329. data/{examples → lib/fhir_models/examples}/json/location-example-ambulance.json +0 -0
  330. data/{examples → lib/fhir_models/examples}/json/location-example-hl7hq.json +0 -0
  331. data/{examples → lib/fhir_models/examples}/json/location-example-patients-home.json +0 -0
  332. data/{examples → lib/fhir_models/examples}/json/location-example-room.json +0 -0
  333. data/{examples → lib/fhir_models/examples}/json/location-example-ukpharmacy.json +0 -0
  334. data/{examples → lib/fhir_models/examples}/json/location-example.json +0 -0
  335. data/{examples → lib/fhir_models/examples}/json/measurereport-cms146-cat1-example.json +0 -0
  336. data/{examples → lib/fhir_models/examples}/json/measurereport-cms146-cat2-example.json +0 -0
  337. data/{examples → lib/fhir_models/examples}/json/measurereport-cms146-cat3-example.json +0 -0
  338. data/{examples → lib/fhir_models/examples}/json/media-example-dicom.json +0 -0
  339. data/{examples → lib/fhir_models/examples}/json/media-example-sound.json +0 -0
  340. data/{examples → lib/fhir_models/examples}/json/media-example.json +0 -0
  341. data/{examples → lib/fhir_models/examples}/json/medicationadministrationexample3.json +0 -0
  342. data/{examples → lib/fhir_models/examples}/json/medicationdispenseexample8.json +0 -0
  343. data/{examples → lib/fhir_models/examples}/json/medicationexample0301.json +0 -0
  344. data/{examples → lib/fhir_models/examples}/json/medicationexample0302.json +0 -0
  345. data/{examples → lib/fhir_models/examples}/json/medicationexample0303.json +0 -0
  346. data/{examples → lib/fhir_models/examples}/json/medicationexample0304.json +0 -0
  347. data/{examples → lib/fhir_models/examples}/json/medicationexample0305.json +0 -0
  348. data/{examples → lib/fhir_models/examples}/json/medicationexample0306.json +0 -0
  349. data/{examples → lib/fhir_models/examples}/json/medicationexample0307.json +0 -0
  350. data/{examples → lib/fhir_models/examples}/json/medicationexample0308.json +0 -0
  351. data/{examples → lib/fhir_models/examples}/json/medicationexample0309.json +0 -0
  352. data/{examples → lib/fhir_models/examples}/json/medicationexample0310.json +0 -0
  353. data/{examples → lib/fhir_models/examples}/json/medicationexample0311.json +0 -0
  354. data/{examples → lib/fhir_models/examples}/json/medicationexample0312.json +0 -0
  355. data/{examples → lib/fhir_models/examples}/json/medicationexample0313.json +0 -0
  356. data/{examples → lib/fhir_models/examples}/json/medicationexample0314.json +0 -0
  357. data/{examples → lib/fhir_models/examples}/json/medicationexample0315.json +0 -0
  358. data/{examples → lib/fhir_models/examples}/json/medicationexample0316.json +0 -0
  359. data/{examples → lib/fhir_models/examples}/json/medicationexample0317.json +0 -0
  360. data/{examples → lib/fhir_models/examples}/json/medicationexample0318.json +0 -0
  361. data/{examples → lib/fhir_models/examples}/json/medicationexample0319.json +0 -0
  362. data/{examples → lib/fhir_models/examples}/json/medicationexample0320.json +0 -0
  363. data/{examples → lib/fhir_models/examples}/json/medicationexample0321.json +0 -0
  364. data/{examples → lib/fhir_models/examples}/json/medicationexample1.json +0 -0
  365. data/{examples → lib/fhir_models/examples}/json/medicationexample15.json +0 -0
  366. data/{examples → lib/fhir_models/examples}/json/medicationorderexample1.json +0 -0
  367. data/{examples → lib/fhir_models/examples}/json/medicationorderexample2.json +0 -0
  368. data/{examples → lib/fhir_models/examples}/json/medicationstatementexample1.json +0 -0
  369. data/{examples → lib/fhir_models/examples}/json/medicationstatementexample2.json +0 -0
  370. data/{examples → lib/fhir_models/examples}/json/medicationstatementexample3.json +0 -0
  371. data/{examples → lib/fhir_models/examples}/json/medicationstatementexample4.json +0 -0
  372. data/{examples → lib/fhir_models/examples}/json/medicationstatementexample5.json +0 -0
  373. data/{examples → lib/fhir_models/examples}/json/medicationstatementexample6.json +0 -0
  374. data/{examples → lib/fhir_models/examples}/json/medicationstatementexample7.json +0 -0
  375. data/{examples → lib/fhir_models/examples}/json/messageheader-example.json +0 -0
  376. data/{examples → lib/fhir_models/examples}/json/namingsystem-example-id.json +0 -0
  377. data/{examples → lib/fhir_models/examples}/json/namingsystem-example-replaced.json +0 -0
  378. data/{examples → lib/fhir_models/examples}/json/namingsystem-example.json +0 -0
  379. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-cardiacdiet.json +0 -0
  380. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-diabeticdiet.json +0 -0
  381. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-diabeticsupplement.json +0 -0
  382. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-energysupplement.json +0 -0
  383. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-enteralbolus.json +0 -0
  384. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-enteralcontinuous.json +0 -0
  385. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-fiberrestricteddiet.json +0 -0
  386. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-infantenteral.json +0 -0
  387. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-proteinsupplement.json +0 -0
  388. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-pureeddiet-simple.json +0 -0
  389. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-pureeddiet.json +0 -0
  390. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-renaldiet.json +0 -0
  391. data/{examples → lib/fhir_models/examples}/json/nutritionrequest-example-texture-modified.json +0 -0
  392. data/{examples → lib/fhir_models/examples}/json/observation-example-10minute-apgar-score.json +0 -0
  393. data/{examples → lib/fhir_models/examples}/json/observation-example-1minute-apgar-score.json +0 -0
  394. data/{examples → lib/fhir_models/examples}/json/observation-example-20minute-apgar-score.json +0 -0
  395. data/{examples → lib/fhir_models/examples}/json/observation-example-2minute-apgar-score.json +0 -0
  396. data/{examples → lib/fhir_models/examples}/json/observation-example-5minute-apgar-score.json +0 -0
  397. data/{examples → lib/fhir_models/examples}/json/observation-example-bloodpressure-cancel.json +0 -0
  398. data/{examples → lib/fhir_models/examples}/json/observation-example-bloodpressure.json +0 -0
  399. data/{examples → lib/fhir_models/examples}/json/observation-example-bmd.json +0 -0
  400. data/{examples → lib/fhir_models/examples}/json/observation-example-eye-color.json +0 -0
  401. data/{examples → lib/fhir_models/examples}/json/observation-example-f001-glucose.json +0 -0
  402. data/{examples → lib/fhir_models/examples}/json/observation-example-f002-excess.json +0 -0
  403. data/{examples → lib/fhir_models/examples}/json/observation-example-f003-co2.json +0 -0
  404. data/{examples → lib/fhir_models/examples}/json/observation-example-f004-erythrocyte.json +0 -0
  405. data/{examples → lib/fhir_models/examples}/json/observation-example-f005-hemoglobin.json +0 -0
  406. data/{examples → lib/fhir_models/examples}/json/observation-example-f202-temperature.json +0 -0
  407. data/{examples → lib/fhir_models/examples}/json/observation-example-f203-bicarbonate.json +0 -0
  408. data/{examples → lib/fhir_models/examples}/json/observation-example-f204-creatinine.json +0 -0
  409. data/{examples → lib/fhir_models/examples}/json/observation-example-f205-egfr.json +0 -0
  410. data/{examples → lib/fhir_models/examples}/json/observation-example-f206-staphylococcus.json +0 -0
  411. data/{examples → lib/fhir_models/examples}/json/observation-example-genetics-1.json +0 -0
  412. data/{examples → lib/fhir_models/examples}/json/observation-example-genetics-2.json +0 -0
  413. data/{examples → lib/fhir_models/examples}/json/observation-example-genetics-3.json +0 -0
  414. data/{examples → lib/fhir_models/examples}/json/observation-example-genetics-4.json +0 -0
  415. data/{examples → lib/fhir_models/examples}/json/observation-example-genetics-5.json +0 -0
  416. data/{examples → lib/fhir_models/examples}/json/observation-example-glasgow-qa.json +0 -0
  417. data/{examples → lib/fhir_models/examples}/json/observation-example-glasgow.json +0 -0
  418. data/{examples → lib/fhir_models/examples}/json/observation-example-sample-data.json +0 -0
  419. data/{examples → lib/fhir_models/examples}/json/observation-example-satO2.json +0 -0
  420. data/{examples → lib/fhir_models/examples}/json/observation-example-unsat.json +0 -0
  421. data/{examples → lib/fhir_models/examples}/json/observation-example.json +0 -0
  422. data/{examples → lib/fhir_models/examples}/json/operationdefinition-example.json +0 -0
  423. data/{examples → lib/fhir_models/examples}/json/operationoutcome-example-allok.json +0 -0
  424. data/{examples → lib/fhir_models/examples}/json/operationoutcome-example-break-the-glass.json +0 -0
  425. data/{examples → lib/fhir_models/examples}/json/operationoutcome-example-exception.json +0 -0
  426. data/{examples → lib/fhir_models/examples}/json/operationoutcome-example-searchfail.json +0 -0
  427. data/{examples → lib/fhir_models/examples}/json/operationoutcome-example-validationfail.json +0 -0
  428. data/{examples → lib/fhir_models/examples}/json/operationoutcome-example.json +0 -0
  429. data/{examples → lib/fhir_models/examples}/json/organization-example-f001-burgers.json +0 -0
  430. data/{examples → lib/fhir_models/examples}/json/organization-example-f002-burgers-card.json +0 -0
  431. data/{examples → lib/fhir_models/examples}/json/organization-example-f003-burgers-ENT.json +0 -0
  432. data/{examples → lib/fhir_models/examples}/json/organization-example-f201-aumc.json +0 -0
  433. data/{examples → lib/fhir_models/examples}/json/organization-example-f203-bumc.json +0 -0
  434. data/{examples → lib/fhir_models/examples}/json/organization-example-gastro.json +0 -0
  435. data/{examples → lib/fhir_models/examples}/json/organization-example-good-health-care.json +0 -0
  436. data/{examples → lib/fhir_models/examples}/json/organization-example-insurer.json +0 -0
  437. data/{examples → lib/fhir_models/examples}/json/organization-example-lab.json +0 -0
  438. data/{examples → lib/fhir_models/examples}/json/organization-example-mmanu.json +0 -0
  439. data/{examples → lib/fhir_models/examples}/json/organization-example.json +0 -0
  440. data/{examples → lib/fhir_models/examples}/json/parameters-example.json +0 -0
  441. data/{examples → lib/fhir_models/examples}/json/patient-example-a.json +0 -0
  442. data/{examples → lib/fhir_models/examples}/json/patient-example-animal.json +0 -0
  443. data/{examples → lib/fhir_models/examples}/json/patient-example-b.json +0 -0
  444. data/{examples → lib/fhir_models/examples}/json/patient-example-c.json +0 -0
  445. data/{examples → lib/fhir_models/examples}/json/patient-example-d.json +0 -0
  446. data/{examples → lib/fhir_models/examples}/json/patient-example-dicom.json +0 -0
  447. data/{examples → lib/fhir_models/examples}/json/patient-example-f001-pieter.json +0 -0
  448. data/{examples → lib/fhir_models/examples}/json/patient-example-f201-roel.json +0 -0
  449. data/{examples → lib/fhir_models/examples}/json/patient-example-ihe-pcd.json +0 -0
  450. data/{examples → lib/fhir_models/examples}/json/patient-example-proband.json +0 -0
  451. data/{examples → lib/fhir_models/examples}/json/patient-example-us-extensions.json +0 -0
  452. data/{examples → lib/fhir_models/examples}/json/patient-example-xcda.json +0 -0
  453. data/{examples → lib/fhir_models/examples}/json/patient-example-xds.json +0 -0
  454. data/{examples → lib/fhir_models/examples}/json/patient-example.json +0 -0
  455. data/{examples → lib/fhir_models/examples}/json/patient-examples-cypress-template.json +0 -0
  456. data/{examples → lib/fhir_models/examples}/json/patient-examples-general.json +0 -0
  457. data/{examples → lib/fhir_models/examples}/json/patient-genetics-example1.json +0 -0
  458. data/{examples → lib/fhir_models/examples}/json/patient-glossy-example.json +0 -0
  459. data/{examples → lib/fhir_models/examples}/json/paymentnotice-example.json +0 -0
  460. data/{examples → lib/fhir_models/examples}/json/paymentreconciliation-example.json +0 -0
  461. data/{examples → lib/fhir_models/examples}/json/person-example-f002-ariadne.json +0 -0
  462. data/{examples → lib/fhir_models/examples}/json/person-example.json +0 -0
  463. data/{examples → lib/fhir_models/examples}/json/plandefinition-example.json +0 -0
  464. data/{examples → lib/fhir_models/examples}/json/plandefinition-protocol-example.json +0 -0
  465. data/{examples → lib/fhir_models/examples}/json/practitioner-example-f001-evdb.json +0 -0
  466. data/{examples → lib/fhir_models/examples}/json/practitioner-example-f002-pv.json +0 -0
  467. data/{examples → lib/fhir_models/examples}/json/practitioner-example-f003-mv.json +0 -0
  468. data/{examples → lib/fhir_models/examples}/json/practitioner-example-f004-rb.json +0 -0
  469. data/{examples → lib/fhir_models/examples}/json/practitioner-example-f005-al.json +0 -0
  470. data/{examples → lib/fhir_models/examples}/json/practitioner-example-f006-rvdb.json +0 -0
  471. data/{examples → lib/fhir_models/examples}/json/practitioner-example-f007-sh.json +0 -0
  472. data/{examples → lib/fhir_models/examples}/json/practitioner-example-f201-ab.json +0 -0
  473. data/{examples → lib/fhir_models/examples}/json/practitioner-example-f202-lm.json +0 -0
  474. data/{examples → lib/fhir_models/examples}/json/practitioner-example-f203-jvg.json +0 -0
  475. data/{examples → lib/fhir_models/examples}/json/practitioner-example-f204-ce.json +0 -0
  476. data/{examples → lib/fhir_models/examples}/json/practitioner-example-xcda-author.json +0 -0
  477. data/{examples → lib/fhir_models/examples}/json/practitioner-example-xcda1.json +0 -0
  478. data/{examples → lib/fhir_models/examples}/json/practitioner-example.json +0 -0
  479. data/{examples → lib/fhir_models/examples}/json/practitioner-examples-general.json +0 -0
  480. data/{examples → lib/fhir_models/examples}/json/practitionerrole-example.json +0 -0
  481. data/{examples → lib/fhir_models/examples}/json/procedure-example-biopsy.json +0 -0
  482. data/{examples → lib/fhir_models/examples}/json/procedure-example-f001-heart.json +0 -0
  483. data/{examples → lib/fhir_models/examples}/json/procedure-example-f002-lung.json +0 -0
  484. data/{examples → lib/fhir_models/examples}/json/procedure-example-f003-abscess.json +0 -0
  485. data/{examples → lib/fhir_models/examples}/json/procedure-example-f004-tracheotomy.json +0 -0
  486. data/{examples → lib/fhir_models/examples}/json/procedure-example-f201-tpf.json +0 -0
  487. data/{examples → lib/fhir_models/examples}/json/procedure-example-implant.json +0 -0
  488. data/{examples → lib/fhir_models/examples}/json/procedure-example.json +0 -0
  489. data/{examples → lib/fhir_models/examples}/json/procedurerequest-example.json +0 -0
  490. data/{examples → lib/fhir_models/examples}/json/processrequest-example-poll-eob.json +0 -0
  491. data/{examples → lib/fhir_models/examples}/json/processrequest-example-poll-exclusive.json +0 -0
  492. data/{examples → lib/fhir_models/examples}/json/processrequest-example-poll-inclusive.json +0 -0
  493. data/{examples → lib/fhir_models/examples}/json/processrequest-example-poll-payrec.json +0 -0
  494. data/{examples → lib/fhir_models/examples}/json/processrequest-example-poll-specific.json +0 -0
  495. data/{examples → lib/fhir_models/examples}/json/processrequest-example-reprocess.json +0 -0
  496. data/{examples → lib/fhir_models/examples}/json/processrequest-example-reverse.json +0 -0
  497. data/{examples → lib/fhir_models/examples}/json/processrequest-example-status.json +0 -0
  498. data/{examples → lib/fhir_models/examples}/json/processrequest-example.json +0 -0
  499. data/{examples → lib/fhir_models/examples}/json/processresponse-example.json +0 -0
  500. data/{examples → lib/fhir_models/examples}/json/provenance-example-sig.json +0 -0
  501. data/{examples → lib/fhir_models/examples}/json/provenance-example.json +0 -0
  502. data/{examples → lib/fhir_models/examples}/json/questionnaire-example-bluebook.json +0 -0
  503. data/{examples → lib/fhir_models/examples}/json/questionnaire-example-f201-lifelines.json +0 -0
  504. data/{examples → lib/fhir_models/examples}/json/questionnaire-example-gcs.json +0 -0
  505. data/{examples → lib/fhir_models/examples}/json/questionnaire-example.json +0 -0
  506. data/{examples → lib/fhir_models/examples}/json/questionnaireresponse-example-bluebook.json +0 -0
  507. data/{examples → lib/fhir_models/examples}/json/questionnaireresponse-example-f201-lifelines.json +0 -0
  508. data/{examples → lib/fhir_models/examples}/json/questionnaireresponse-example-gcs.json +0 -0
  509. data/{examples → lib/fhir_models/examples}/json/questionnaireresponse-example.json +0 -0
  510. data/{examples → lib/fhir_models/examples}/json/referralrequest-example.json +0 -0
  511. data/{examples → lib/fhir_models/examples}/json/relatedperson-example-f001-sarah.json +0 -0
  512. data/{examples → lib/fhir_models/examples}/json/relatedperson-example-f002-ariadne.json +0 -0
  513. data/{examples → lib/fhir_models/examples}/json/relatedperson-example-peter.json +0 -0
  514. data/{examples → lib/fhir_models/examples}/json/relatedperson-example.json +0 -0
  515. data/{examples → lib/fhir_models/examples}/json/riskassessment-example-cardiac.json +0 -0
  516. data/{examples → lib/fhir_models/examples}/json/riskassessment-example-population.json +0 -0
  517. data/{examples → lib/fhir_models/examples}/json/riskassessment-example-prognosis.json +0 -0
  518. data/{examples → lib/fhir_models/examples}/json/riskassessment-example.json +0 -0
  519. data/{examples → lib/fhir_models/examples}/json/schedule-example.json +0 -0
  520. data/{examples → lib/fhir_models/examples}/json/searchparameter-example-extension.json +0 -0
  521. data/{examples → lib/fhir_models/examples}/json/searchparameter-example.json +0 -0
  522. data/{examples → lib/fhir_models/examples}/json/sequence-example.json +0 -0
  523. data/{examples → lib/fhir_models/examples}/json/slot-example-busy.json +0 -0
  524. data/{examples → lib/fhir_models/examples}/json/slot-example-tentative.json +0 -0
  525. data/{examples → lib/fhir_models/examples}/json/slot-example-unavailable.json +0 -0
  526. data/{examples → lib/fhir_models/examples}/json/slot-example.json +0 -0
  527. data/{examples → lib/fhir_models/examples}/json/specimen-example-isolate.json +0 -0
  528. data/{examples → lib/fhir_models/examples}/json/specimen-example-serum.json +0 -0
  529. data/{examples → lib/fhir_models/examples}/json/specimen-example-urine.json +0 -0
  530. data/{examples → lib/fhir_models/examples}/json/specimen-example.json +0 -0
  531. data/{examples → lib/fhir_models/examples}/json/structuredefinition-example.json +0 -0
  532. data/{examples → lib/fhir_models/examples}/json/structuremap-example.json +0 -0
  533. data/{examples → lib/fhir_models/examples}/json/subscription-example-error.json +0 -0
  534. data/{examples → lib/fhir_models/examples}/json/subscription-example.json +0 -0
  535. data/{examples → lib/fhir_models/examples}/json/substance-example-amoxicillin-clavulanate.json +0 -0
  536. data/{examples → lib/fhir_models/examples}/json/substance-example-f201-dust.json +0 -0
  537. data/{examples → lib/fhir_models/examples}/json/substance-example-f202-staphylococcus.json +0 -0
  538. data/{examples → lib/fhir_models/examples}/json/substance-example-f203-potassium.json +0 -0
  539. data/{examples → lib/fhir_models/examples}/json/substance-example-silver-nitrate-product.json +0 -0
  540. data/{examples → lib/fhir_models/examples}/json/substance-example.json +0 -0
  541. data/{examples → lib/fhir_models/examples}/json/supplydelivery-example.json +0 -0
  542. data/{examples → lib/fhir_models/examples}/json/supplyrequest-example.json +0 -0
  543. data/{examples → lib/fhir_models/examples}/json/task-example.json +0 -0
  544. data/{examples → lib/fhir_models/examples}/json/testscript-example-multiserver.json +0 -0
  545. data/{examples → lib/fhir_models/examples}/json/testscript-example-rule.json +0 -0
  546. data/{examples → lib/fhir_models/examples}/json/testscript-example.json +0 -0
  547. data/{examples → lib/fhir_models/examples}/json/valueset-example-expansion.json +0 -0
  548. data/{examples → lib/fhir_models/examples}/json/valueset-example-intensional.json +0 -0
  549. data/{examples → lib/fhir_models/examples}/json/valueset-example-yesnodontknow.json +0 -0
  550. data/{examples → lib/fhir_models/examples}/json/valueset-example.json +0 -0
  551. data/{examples → lib/fhir_models/examples}/json/valueset-list-example-codes.json +0 -0
  552. data/{examples → lib/fhir_models/examples}/json/visionprescription-example-1.json +0 -0
  553. data/{examples → lib/fhir_models/examples}/json/visionprescription-example.json +0 -0
  554. data/{examples → lib/fhir_models/examples}/json/xds-example.json +0 -0
  555. data/{examples → lib/fhir_models/examples}/xml/account-example.xml +0 -0
  556. data/{examples → lib/fhir_models/examples}/xml/activitydefinition-example.xml +0 -0
  557. data/{examples → lib/fhir_models/examples}/xml/allergyintolerance-example.xml +0 -0
  558. data/{examples → lib/fhir_models/examples}/xml/appointment-example-request.xml +0 -0
  559. data/{examples → lib/fhir_models/examples}/xml/appointment-example.xml +0 -0
  560. data/{examples → lib/fhir_models/examples}/xml/appointment-example2doctors.xml +0 -0
  561. data/{examples → lib/fhir_models/examples}/xml/appointmentresponse-example-req.xml +0 -0
  562. data/{examples → lib/fhir_models/examples}/xml/appointmentresponse-example.xml +0 -0
  563. data/{examples → lib/fhir_models/examples}/xml/audit-event-example-login.xml +0 -0
  564. data/{examples → lib/fhir_models/examples}/xml/audit-event-example-logout.xml +0 -0
  565. data/{examples → lib/fhir_models/examples}/xml/audit-event-example-media.xml +0 -0
  566. data/{examples → lib/fhir_models/examples}/xml/audit-event-example-pixQuery.xml +0 -0
  567. data/{examples → lib/fhir_models/examples}/xml/audit-event-example-search.xml +0 -0
  568. data/{examples → lib/fhir_models/examples}/xml/audit-event-example-vread.xml +0 -0
  569. data/{examples → lib/fhir_models/examples}/xml/auditevent-example-disclosure.xml +0 -0
  570. data/{examples → lib/fhir_models/examples}/xml/auditevent-example.xml +0 -0
  571. data/{examples → lib/fhir_models/examples}/xml/basic-example-narrative.xml +0 -0
  572. data/{examples → lib/fhir_models/examples}/xml/basic-example.xml +0 -0
  573. data/{examples → lib/fhir_models/examples}/xml/basic-example2.xml +0 -0
  574. data/{examples → lib/fhir_models/examples}/xml/binary-example.xml +0 -0
  575. data/{examples → lib/fhir_models/examples}/xml/bodysite-example-fetus.xml +0 -0
  576. data/{examples → lib/fhir_models/examples}/xml/bodysite-example-skin-patch.xml +0 -0
  577. data/{examples → lib/fhir_models/examples}/xml/bodysite-example-tumor.xml +0 -0
  578. data/{examples → lib/fhir_models/examples}/xml/bundle-example.xml +0 -0
  579. data/{examples → lib/fhir_models/examples}/xml/careplan-example-GPVisit.xml +0 -0
  580. data/{examples → lib/fhir_models/examples}/xml/careplan-example-f001-heart.xml +0 -0
  581. data/{examples → lib/fhir_models/examples}/xml/careplan-example-f002-lung.xml +0 -0
  582. data/{examples → lib/fhir_models/examples}/xml/careplan-example-f003-pharynx.xml +0 -0
  583. data/{examples → lib/fhir_models/examples}/xml/careplan-example-f201-renal.xml +0 -0
  584. data/{examples → lib/fhir_models/examples}/xml/careplan-example-f202-malignancy.xml +0 -0
  585. data/{examples → lib/fhir_models/examples}/xml/careplan-example-f203-sepsis.xml +0 -0
  586. data/{examples → lib/fhir_models/examples}/xml/careplan-example-integrated.xml +0 -0
  587. data/{examples → lib/fhir_models/examples}/xml/careplan-example-pregnancy.xml +0 -0
  588. data/{examples → lib/fhir_models/examples}/xml/careplan-example.xml +0 -0
  589. data/{examples → lib/fhir_models/examples}/xml/careteam-example.xml +0 -0
  590. data/{examples → lib/fhir_models/examples}/xml/claim-example-institutional.xml +0 -0
  591. data/{examples → lib/fhir_models/examples}/xml/claim-example-oral-average.xml +0 -0
  592. data/{examples → lib/fhir_models/examples}/xml/claim-example-oral-contained-identifier.xml +0 -0
  593. data/{examples → lib/fhir_models/examples}/xml/claim-example-oral-contained.xml +0 -0
  594. data/{examples → lib/fhir_models/examples}/xml/claim-example-oral-identifier.xml +0 -0
  595. data/{examples → lib/fhir_models/examples}/xml/claim-example-oral-orthoplan.xml +0 -0
  596. data/{examples → lib/fhir_models/examples}/xml/claim-example-pharmacy.xml +0 -0
  597. data/{examples → lib/fhir_models/examples}/xml/claim-example-professional.xml +0 -0
  598. data/{examples → lib/fhir_models/examples}/xml/claim-example-vision-glasses.xml +0 -0
  599. data/{examples → lib/fhir_models/examples}/xml/claim-example-vision.xml +0 -0
  600. data/{examples → lib/fhir_models/examples}/xml/claim-example.xml +0 -0
  601. data/{examples → lib/fhir_models/examples}/xml/claimresponse-example.xml +0 -0
  602. data/{examples → lib/fhir_models/examples}/xml/clinicalimpression-example.xml +0 -0
  603. data/{examples → lib/fhir_models/examples}/xml/codesystem-example.xml +0 -0
  604. data/{examples → lib/fhir_models/examples}/xml/codesystem-list-example-codes.xml +0 -0
  605. data/{examples → lib/fhir_models/examples}/xml/communication-example-fm-attachment.xml +0 -0
  606. data/{examples → lib/fhir_models/examples}/xml/communication-example-fm-solicited-attachment.xml +0 -0
  607. data/{examples → lib/fhir_models/examples}/xml/communication-example.xml +0 -0
  608. data/{examples → lib/fhir_models/examples}/xml/communicationrequest-example-fm-solicit-attachment.xml +0 -0
  609. data/{examples → lib/fhir_models/examples}/xml/communicationrequest-example.xml +0 -0
  610. data/{examples → lib/fhir_models/examples}/xml/composition-example.xml +0 -0
  611. data/{examples → lib/fhir_models/examples}/xml/conceptmap-example-specimen-type.xml +0 -0
  612. data/{examples → lib/fhir_models/examples}/xml/conceptmap-example.xml +0 -0
  613. data/{examples → lib/fhir_models/examples}/xml/condition-example-f001-heart.xml +0 -0
  614. data/{examples → lib/fhir_models/examples}/xml/condition-example-f002-lung.xml +0 -0
  615. data/{examples → lib/fhir_models/examples}/xml/condition-example-f003-abscess.xml +0 -0
  616. data/{examples → lib/fhir_models/examples}/xml/condition-example-f201-fever.xml +0 -0
  617. data/{examples → lib/fhir_models/examples}/xml/condition-example-f202-malignancy.xml +0 -0
  618. data/{examples → lib/fhir_models/examples}/xml/condition-example-f203-sepsis.xml +0 -0
  619. data/{examples → lib/fhir_models/examples}/xml/condition-example-f204-renal.xml +0 -0
  620. data/{examples → lib/fhir_models/examples}/xml/condition-example-f205-infection.xml +0 -0
  621. data/{examples → lib/fhir_models/examples}/xml/condition-example-stroke.xml +0 -0
  622. data/{examples → lib/fhir_models/examples}/xml/condition-example.xml +0 -0
  623. data/{examples → lib/fhir_models/examples}/xml/condition-example2.xml +0 -0
  624. data/{examples → lib/fhir_models/examples}/xml/conformance-example.xml +0 -0
  625. data/{examples → lib/fhir_models/examples}/xml/conformance-phr-example.xml +0 -0
  626. data/{examples → lib/fhir_models/examples}/xml/consent-example-Emergency.xml +0 -0
  627. data/{examples → lib/fhir_models/examples}/xml/consent-example-Out.xml +0 -0
  628. data/{examples → lib/fhir_models/examples}/xml/consent-example-grantor.xml +0 -0
  629. data/{examples → lib/fhir_models/examples}/xml/consent-example-notAuthor.xml +0 -0
  630. data/{examples → lib/fhir_models/examples}/xml/consent-example-notOrg.xml +0 -0
  631. data/{examples → lib/fhir_models/examples}/xml/consent-example-notThem.xml +0 -0
  632. data/{examples → lib/fhir_models/examples}/xml/consent-example-notThis.xml +0 -0
  633. data/{examples → lib/fhir_models/examples}/xml/consent-example-notTime.xml +0 -0
  634. data/{examples → lib/fhir_models/examples}/xml/consent-example-pkb.xml +0 -0
  635. data/{examples → lib/fhir_models/examples}/xml/consent-example-signature.xml +0 -0
  636. data/{examples → lib/fhir_models/examples}/xml/consent-example-smartonfhir.xml +0 -0
  637. data/{examples → lib/fhir_models/examples}/xml/consent-example.xml +0 -0
  638. data/{examples → lib/fhir_models/examples}/xml/contract-example.xml +0 -0
  639. data/{examples → lib/fhir_models/examples}/xml/coverage-example-2.xml +0 -0
  640. data/{examples → lib/fhir_models/examples}/xml/coverage-example.xml +0 -0
  641. data/{examples → lib/fhir_models/examples}/xml/dataelement-example.xml +0 -0
  642. data/{examples → lib/fhir_models/examples}/xml/dataelement-labtestmaster-example.xml +0 -0
  643. data/{examples → lib/fhir_models/examples}/xml/decisionsupportservicemodule-example.xml +0 -0
  644. data/{examples → lib/fhir_models/examples}/xml/detectedissue-example-allergy.xml +0 -0
  645. data/{examples → lib/fhir_models/examples}/xml/detectedissue-example-dup.xml +0 -0
  646. data/{examples → lib/fhir_models/examples}/xml/detectedissue-example-lab.xml +0 -0
  647. data/{examples → lib/fhir_models/examples}/xml/detectedissue-example.xml +0 -0
  648. data/{examples → lib/fhir_models/examples}/xml/device-example-f001-feedingtube.xml +0 -0
  649. data/{examples → lib/fhir_models/examples}/xml/device-example-ihe-pcd.xml +0 -0
  650. data/{examples → lib/fhir_models/examples}/xml/device-example-pacemaker.xml +0 -0
  651. data/{examples → lib/fhir_models/examples}/xml/device-example-software.xml +0 -0
  652. data/{examples → lib/fhir_models/examples}/xml/device-example-udi1.xml +0 -0
  653. data/{examples → lib/fhir_models/examples}/xml/device-example-udi2.xml +0 -0
  654. data/{examples → lib/fhir_models/examples}/xml/device-example-udi3.xml +0 -0
  655. data/{examples → lib/fhir_models/examples}/xml/device-example-udi4.xml +0 -0
  656. data/{examples → lib/fhir_models/examples}/xml/device-example.xml +0 -0
  657. data/{examples → lib/fhir_models/examples}/xml/devicecomponent-example-prodspec.xml +0 -0
  658. data/{examples → lib/fhir_models/examples}/xml/devicecomponent-example.xml +0 -0
  659. data/{examples → lib/fhir_models/examples}/xml/devicemetric-example.xml +0 -0
  660. data/{examples → lib/fhir_models/examples}/xml/deviceuserequest-example.xml +0 -0
  661. data/{examples → lib/fhir_models/examples}/xml/deviceusestatement-example.xml +0 -0
  662. data/{examples → lib/fhir_models/examples}/xml/diagnosticreport-example-dxa.xml +0 -0
  663. data/{examples → lib/fhir_models/examples}/xml/diagnosticreport-example-f001-bloodexam.xml +0 -0
  664. data/{examples → lib/fhir_models/examples}/xml/diagnosticreport-example-f201-brainct.xml +0 -0
  665. data/{examples → lib/fhir_models/examples}/xml/diagnosticreport-example-f202-bloodculture.xml +0 -0
  666. data/{examples → lib/fhir_models/examples}/xml/diagnosticreport-example-ghp.xml +0 -0
  667. data/{examples → lib/fhir_models/examples}/xml/diagnosticreport-example-lipids.xml +0 -0
  668. data/{examples → lib/fhir_models/examples}/xml/diagnosticreport-example-papsmear.xml +0 -0
  669. data/{examples → lib/fhir_models/examples}/xml/diagnosticreport-example-ultrasound.xml +0 -0
  670. data/{examples → lib/fhir_models/examples}/xml/diagnosticreport-example.xml +0 -0
  671. data/{examples → lib/fhir_models/examples}/xml/diagnosticreport-examples-general.xml +0 -0
  672. data/{examples → lib/fhir_models/examples}/xml/diagnosticreport-genetics-example-2-familyhistory.xml +0 -0
  673. data/{examples → lib/fhir_models/examples}/xml/diagnosticreport-hla-genetics-results-example.xml +0 -0
  674. data/{examples → lib/fhir_models/examples}/xml/diagnosticrequest-example-di.xml +0 -0
  675. data/{examples → lib/fhir_models/examples}/xml/diagnosticrequest-example-ft4.xml +0 -0
  676. data/{examples → lib/fhir_models/examples}/xml/diagnosticrequest-example-lipid.xml +0 -0
  677. data/{examples → lib/fhir_models/examples}/xml/diagnosticrequest-genetics-example-1.xml +0 -0
  678. data/{examples → lib/fhir_models/examples}/xml/document-example-dischargesummary.xml +0 -0
  679. data/{examples → lib/fhir_models/examples}/xml/documentreference-example.xml +0 -0
  680. data/{examples → lib/fhir_models/examples}/xml/eligibilityrequest-example.xml +0 -0
  681. data/{examples → lib/fhir_models/examples}/xml/eligibilityresponse-example-benefits.xml +0 -0
  682. data/{examples → lib/fhir_models/examples}/xml/eligibilityresponse-example.xml +0 -0
  683. data/{examples → lib/fhir_models/examples}/xml/encounter-example-f001-heart.xml +0 -0
  684. data/{examples → lib/fhir_models/examples}/xml/encounter-example-f002-lung.xml +0 -0
  685. data/{examples → lib/fhir_models/examples}/xml/encounter-example-f003-abscess.xml +0 -0
  686. data/{examples → lib/fhir_models/examples}/xml/encounter-example-f201-20130404.xml +0 -0
  687. data/{examples → lib/fhir_models/examples}/xml/encounter-example-f202-20130128.xml +0 -0
  688. data/{examples → lib/fhir_models/examples}/xml/encounter-example-f203-20130311.xml +0 -0
  689. data/{examples → lib/fhir_models/examples}/xml/encounter-example-home.xml +0 -0
  690. data/{examples → lib/fhir_models/examples}/xml/encounter-example-xcda.xml +0 -0
  691. data/{examples → lib/fhir_models/examples}/xml/encounter-example.xml +0 -0
  692. data/{examples → lib/fhir_models/examples}/xml/endpoint-example.xml +0 -0
  693. data/{examples → lib/fhir_models/examples}/xml/endpoint-examples-general-template.xml +0 -0
  694. data/{examples → lib/fhir_models/examples}/xml/enrollmentrequest-example.xml +0 -0
  695. data/{examples → lib/fhir_models/examples}/xml/enrollmentresponse-example.xml +0 -0
  696. data/{examples → lib/fhir_models/examples}/xml/episodeofcare-example.xml +0 -0
  697. data/{examples → lib/fhir_models/examples}/xml/expansionprofile-example.xml +0 -0
  698. data/{examples → lib/fhir_models/examples}/xml/explanationofbenefit-example.xml +0 -0
  699. data/{examples → lib/fhir_models/examples}/xml/extension-structuredefinition-example.xml +0 -0
  700. data/{examples → lib/fhir_models/examples}/xml/familymemberhistory-example-mother.xml +0 -0
  701. data/{examples → lib/fhir_models/examples}/xml/familymemberhistory-example.xml +0 -0
  702. data/{examples → lib/fhir_models/examples}/xml/flag-example-encounter.xml +0 -0
  703. data/{examples → lib/fhir_models/examples}/xml/flag-example.xml +0 -0
  704. data/{examples → lib/fhir_models/examples}/xml/goal-example.xml +0 -0
  705. data/{examples → lib/fhir_models/examples}/xml/group-example-member.xml +0 -0
  706. data/{examples → lib/fhir_models/examples}/xml/group-example.xml +0 -0
  707. data/{examples → lib/fhir_models/examples}/xml/guidanceresponse-example.xml +0 -0
  708. data/{examples → lib/fhir_models/examples}/xml/healthcareservice-example.xml +0 -0
  709. data/{examples → lib/fhir_models/examples}/xml/imagingmanifest-example.xml +0 -0
  710. data/{examples → lib/fhir_models/examples}/xml/imagingstudy-example.xml +0 -0
  711. data/{examples → lib/fhir_models/examples}/xml/immunization-example-refused.xml +0 -0
  712. data/{examples → lib/fhir_models/examples}/xml/immunization-example.xml +0 -0
  713. data/{examples → lib/fhir_models/examples}/xml/immunizationrecommendation-example.xml +0 -0
  714. data/{examples → lib/fhir_models/examples}/xml/implementationguide-example.xml +0 -0
  715. data/{examples → lib/fhir_models/examples}/xml/library-cms146-example.xml +0 -0
  716. data/{examples → lib/fhir_models/examples}/xml/library-example.xml +0 -0
  717. data/{examples → lib/fhir_models/examples}/xml/linkage-example.xml +0 -0
  718. data/{examples → lib/fhir_models/examples}/xml/list-example-allergies.xml +0 -0
  719. data/{examples → lib/fhir_models/examples}/xml/list-example-empty.xml +0 -0
  720. data/{examples → lib/fhir_models/examples}/xml/list-example-familyhistory-f201-roel.xml +0 -0
  721. data/{examples → lib/fhir_models/examples}/xml/list-example-familyhistory-genetics-profile-annie.xml +0 -0
  722. data/{examples → lib/fhir_models/examples}/xml/list-example-familyhistory-genetics-profile.xml +0 -0
  723. data/{examples → lib/fhir_models/examples}/xml/list-example-medlist.xml +0 -0
  724. data/{examples → lib/fhir_models/examples}/xml/list-example-simple-empty.xml +0 -0
  725. data/{examples → lib/fhir_models/examples}/xml/list-example.xml +0 -0
  726. data/{examples → lib/fhir_models/examples}/xml/location-example-ambulance.xml +0 -0
  727. data/{examples → lib/fhir_models/examples}/xml/location-example-hl7hq.xml +0 -0
  728. data/{examples → lib/fhir_models/examples}/xml/location-example-patients-home.xml +0 -0
  729. data/{examples → lib/fhir_models/examples}/xml/location-example-room.xml +0 -0
  730. data/{examples → lib/fhir_models/examples}/xml/location-example-ukpharmacy.xml +0 -0
  731. data/{examples → lib/fhir_models/examples}/xml/location-example.xml +0 -0
  732. data/{examples → lib/fhir_models/examples}/xml/measurereport-cms146-cat1-example.xml +0 -0
  733. data/{examples → lib/fhir_models/examples}/xml/measurereport-cms146-cat2-example.xml +0 -0
  734. data/{examples → lib/fhir_models/examples}/xml/measurereport-cms146-cat3-example.xml +0 -0
  735. data/{examples → lib/fhir_models/examples}/xml/media-example-dicom.xml +0 -0
  736. data/{examples → lib/fhir_models/examples}/xml/media-example-sound.xml +0 -0
  737. data/{examples → lib/fhir_models/examples}/xml/media-example.xml +0 -0
  738. data/{examples → lib/fhir_models/examples}/xml/medicationadministrationexample3.xml +0 -0
  739. data/{examples → lib/fhir_models/examples}/xml/medicationdispenseexample8.xml +0 -0
  740. data/{examples → lib/fhir_models/examples}/xml/medicationexample0301.xml +0 -0
  741. data/{examples → lib/fhir_models/examples}/xml/medicationexample0302.xml +0 -0
  742. data/{examples → lib/fhir_models/examples}/xml/medicationexample0303.xml +0 -0
  743. data/{examples → lib/fhir_models/examples}/xml/medicationexample0304.xml +0 -0
  744. data/{examples → lib/fhir_models/examples}/xml/medicationexample0305.xml +0 -0
  745. data/{examples → lib/fhir_models/examples}/xml/medicationexample0306.xml +0 -0
  746. data/{examples → lib/fhir_models/examples}/xml/medicationexample0307.xml +0 -0
  747. data/{examples → lib/fhir_models/examples}/xml/medicationexample0308.xml +0 -0
  748. data/{examples → lib/fhir_models/examples}/xml/medicationexample0309.xml +0 -0
  749. data/{examples → lib/fhir_models/examples}/xml/medicationexample0310.xml +0 -0
  750. data/{examples → lib/fhir_models/examples}/xml/medicationexample0311.xml +0 -0
  751. data/{examples → lib/fhir_models/examples}/xml/medicationexample0312.xml +0 -0
  752. data/{examples → lib/fhir_models/examples}/xml/medicationexample0313.xml +0 -0
  753. data/{examples → lib/fhir_models/examples}/xml/medicationexample0314.xml +0 -0
  754. data/{examples → lib/fhir_models/examples}/xml/medicationexample0315.xml +0 -0
  755. data/{examples → lib/fhir_models/examples}/xml/medicationexample0316.xml +0 -0
  756. data/{examples → lib/fhir_models/examples}/xml/medicationexample0317.xml +0 -0
  757. data/{examples → lib/fhir_models/examples}/xml/medicationexample0318.xml +0 -0
  758. data/{examples → lib/fhir_models/examples}/xml/medicationexample0319.xml +0 -0
  759. data/{examples → lib/fhir_models/examples}/xml/medicationexample0320.xml +0 -0
  760. data/{examples → lib/fhir_models/examples}/xml/medicationexample0321.xml +0 -0
  761. data/{examples → lib/fhir_models/examples}/xml/medicationexample1.xml +0 -0
  762. data/{examples → lib/fhir_models/examples}/xml/medicationexample15.xml +0 -0
  763. data/{examples → lib/fhir_models/examples}/xml/medicationorderexample1.xml +0 -0
  764. data/{examples → lib/fhir_models/examples}/xml/medicationorderexample2.xml +0 -0
  765. data/{examples → lib/fhir_models/examples}/xml/medicationstatementexample1.xml +0 -0
  766. data/{examples → lib/fhir_models/examples}/xml/medicationstatementexample2.xml +0 -0
  767. data/{examples → lib/fhir_models/examples}/xml/medicationstatementexample3.xml +0 -0
  768. data/{examples → lib/fhir_models/examples}/xml/medicationstatementexample4.xml +0 -0
  769. data/{examples → lib/fhir_models/examples}/xml/medicationstatementexample5.xml +0 -0
  770. data/{examples → lib/fhir_models/examples}/xml/medicationstatementexample6.xml +0 -0
  771. data/{examples → lib/fhir_models/examples}/xml/medicationstatementexample7.xml +0 -0
  772. data/{examples → lib/fhir_models/examples}/xml/messageheader-example.xml +0 -0
  773. data/{examples → lib/fhir_models/examples}/xml/namingsystem-example-id.xml +0 -0
  774. data/{examples → lib/fhir_models/examples}/xml/namingsystem-example-replaced.xml +0 -0
  775. data/{examples → lib/fhir_models/examples}/xml/namingsystem-example.xml +0 -0
  776. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-cardiacdiet.xml +0 -0
  777. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-diabeticdiet.xml +0 -0
  778. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-diabeticsupplement.xml +0 -0
  779. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-energysupplement.xml +0 -0
  780. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-enteralbolus.xml +0 -0
  781. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-enteralcontinuous.xml +0 -0
  782. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-fiberrestricteddiet.xml +0 -0
  783. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-infantenteral.xml +0 -0
  784. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-proteinsupplement.xml +0 -0
  785. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-pureeddiet-simple.xml +0 -0
  786. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-pureeddiet.xml +0 -0
  787. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-renaldiet.xml +0 -0
  788. data/{examples → lib/fhir_models/examples}/xml/nutritionrequest-example-texture-modified.xml +0 -0
  789. data/{examples → lib/fhir_models/examples}/xml/observation-example-10minute-apgar-score.xml +0 -0
  790. data/{examples → lib/fhir_models/examples}/xml/observation-example-1minute-apgar-score.xml +0 -0
  791. data/{examples → lib/fhir_models/examples}/xml/observation-example-20minute-apgar-score.xml +0 -0
  792. data/{examples → lib/fhir_models/examples}/xml/observation-example-2minute-apgar-score.xml +0 -0
  793. data/{examples → lib/fhir_models/examples}/xml/observation-example-5minute-apgar-score.xml +0 -0
  794. data/{examples → lib/fhir_models/examples}/xml/observation-example-bloodpressure-cancel.xml +0 -0
  795. data/{examples → lib/fhir_models/examples}/xml/observation-example-bloodpressure.xml +0 -0
  796. data/{examples → lib/fhir_models/examples}/xml/observation-example-bmd.xml +0 -0
  797. data/{examples → lib/fhir_models/examples}/xml/observation-example-eye-color.xml +0 -0
  798. data/{examples → lib/fhir_models/examples}/xml/observation-example-f001-glucose.xml +0 -0
  799. data/{examples → lib/fhir_models/examples}/xml/observation-example-f002-excess.xml +0 -0
  800. data/{examples → lib/fhir_models/examples}/xml/observation-example-f003-co2.xml +0 -0
  801. data/{examples → lib/fhir_models/examples}/xml/observation-example-f004-erythrocyte.xml +0 -0
  802. data/{examples → lib/fhir_models/examples}/xml/observation-example-f005-hemoglobin.xml +0 -0
  803. data/{examples → lib/fhir_models/examples}/xml/observation-example-f202-temperature.xml +0 -0
  804. data/{examples → lib/fhir_models/examples}/xml/observation-example-f203-bicarbonate.xml +0 -0
  805. data/{examples → lib/fhir_models/examples}/xml/observation-example-f204-creatinine.xml +0 -0
  806. data/{examples → lib/fhir_models/examples}/xml/observation-example-f205-egfr.xml +0 -0
  807. data/{examples → lib/fhir_models/examples}/xml/observation-example-f206-staphylococcus.xml +0 -0
  808. data/{examples → lib/fhir_models/examples}/xml/observation-example-genetics-1.xml +0 -0
  809. data/{examples → lib/fhir_models/examples}/xml/observation-example-genetics-2.xml +0 -0
  810. data/{examples → lib/fhir_models/examples}/xml/observation-example-genetics-3.xml +0 -0
  811. data/{examples → lib/fhir_models/examples}/xml/observation-example-genetics-4.xml +0 -0
  812. data/{examples → lib/fhir_models/examples}/xml/observation-example-genetics-5.xml +0 -0
  813. data/{examples → lib/fhir_models/examples}/xml/observation-example-glasgow-qa.xml +0 -0
  814. data/{examples → lib/fhir_models/examples}/xml/observation-example-glasgow.xml +0 -0
  815. data/{examples → lib/fhir_models/examples}/xml/observation-example-sample-data.xml +0 -0
  816. data/{examples → lib/fhir_models/examples}/xml/observation-example-satO2.xml +0 -0
  817. data/{examples → lib/fhir_models/examples}/xml/observation-example-unsat.xml +0 -0
  818. data/{examples → lib/fhir_models/examples}/xml/observation-example.xml +0 -0
  819. data/{examples → lib/fhir_models/examples}/xml/operationdefinition-example.xml +0 -0
  820. data/{examples → lib/fhir_models/examples}/xml/operationoutcome-example-allok.xml +0 -0
  821. data/{examples → lib/fhir_models/examples}/xml/operationoutcome-example-break-the-glass.xml +0 -0
  822. data/{examples → lib/fhir_models/examples}/xml/operationoutcome-example-exception.xml +0 -0
  823. data/{examples → lib/fhir_models/examples}/xml/operationoutcome-example-searchfail.xml +0 -0
  824. data/{examples → lib/fhir_models/examples}/xml/operationoutcome-example-validationfail.xml +0 -0
  825. data/{examples → lib/fhir_models/examples}/xml/operationoutcome-example.xml +0 -0
  826. data/{examples → lib/fhir_models/examples}/xml/organization-example-f001-burgers.xml +0 -0
  827. data/{examples → lib/fhir_models/examples}/xml/organization-example-f002-burgers-card.xml +0 -0
  828. data/{examples → lib/fhir_models/examples}/xml/organization-example-f003-burgers-ENT.xml +0 -0
  829. data/{examples → lib/fhir_models/examples}/xml/organization-example-f201-aumc.xml +0 -0
  830. data/{examples → lib/fhir_models/examples}/xml/organization-example-f203-bumc.xml +0 -0
  831. data/{examples → lib/fhir_models/examples}/xml/organization-example-gastro.xml +0 -0
  832. data/{examples → lib/fhir_models/examples}/xml/organization-example-good-health-care.xml +0 -0
  833. data/{examples → lib/fhir_models/examples}/xml/organization-example-insurer.xml +0 -0
  834. data/{examples → lib/fhir_models/examples}/xml/organization-example-lab.xml +0 -0
  835. data/{examples → lib/fhir_models/examples}/xml/organization-example-mmanu.xml +0 -0
  836. data/{examples → lib/fhir_models/examples}/xml/organization-example.xml +0 -0
  837. data/{examples → lib/fhir_models/examples}/xml/parameters-example.xml +0 -0
  838. data/{examples → lib/fhir_models/examples}/xml/patient-example-a.xml +0 -0
  839. data/{examples → lib/fhir_models/examples}/xml/patient-example-animal.xml +0 -0
  840. data/{examples → lib/fhir_models/examples}/xml/patient-example-b.xml +0 -0
  841. data/{examples → lib/fhir_models/examples}/xml/patient-example-c.xml +0 -0
  842. data/{examples → lib/fhir_models/examples}/xml/patient-example-d.xml +0 -0
  843. data/{examples → lib/fhir_models/examples}/xml/patient-example-dicom.xml +0 -0
  844. data/{examples → lib/fhir_models/examples}/xml/patient-example-f001-pieter.xml +0 -0
  845. data/{examples → lib/fhir_models/examples}/xml/patient-example-f201-roel.xml +0 -0
  846. data/{examples → lib/fhir_models/examples}/xml/patient-example-ihe-pcd.xml +0 -0
  847. data/{examples → lib/fhir_models/examples}/xml/patient-example-proband.xml +0 -0
  848. data/{examples → lib/fhir_models/examples}/xml/patient-example-us-extensions.xml +0 -0
  849. data/{examples → lib/fhir_models/examples}/xml/patient-example-xcda.xml +0 -0
  850. data/{examples → lib/fhir_models/examples}/xml/patient-example-xds.xml +0 -0
  851. data/{examples → lib/fhir_models/examples}/xml/patient-example.xml +0 -0
  852. data/{examples → lib/fhir_models/examples}/xml/patient-examples-cypress-template.xml +0 -0
  853. data/{examples → lib/fhir_models/examples}/xml/patient-examples-general.xml +0 -0
  854. data/{examples → lib/fhir_models/examples}/xml/patient-genetics-example1.xml +0 -0
  855. data/{examples → lib/fhir_models/examples}/xml/patient-glossy-example.xml +0 -0
  856. data/{examples → lib/fhir_models/examples}/xml/paymentnotice-example.xml +0 -0
  857. data/{examples → lib/fhir_models/examples}/xml/paymentreconciliation-example.xml +0 -0
  858. data/{examples → lib/fhir_models/examples}/xml/person-example-f002-ariadne.xml +0 -0
  859. data/{examples → lib/fhir_models/examples}/xml/person-example.xml +0 -0
  860. data/{examples → lib/fhir_models/examples}/xml/plandefinition-example.xml +0 -0
  861. data/{examples → lib/fhir_models/examples}/xml/plandefinition-protocol-example.xml +0 -0
  862. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-f001-evdb.xml +0 -0
  863. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-f002-pv.xml +0 -0
  864. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-f003-mv.xml +0 -0
  865. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-f004-rb.xml +0 -0
  866. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-f005-al.xml +0 -0
  867. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-f006-rvdb.xml +0 -0
  868. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-f007-sh.xml +0 -0
  869. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-f201-ab.xml +0 -0
  870. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-f202-lm.xml +0 -0
  871. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-f203-jvg.xml +0 -0
  872. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-f204-ce.xml +0 -0
  873. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-xcda-author.xml +0 -0
  874. data/{examples → lib/fhir_models/examples}/xml/practitioner-example-xcda1.xml +0 -0
  875. data/{examples → lib/fhir_models/examples}/xml/practitioner-example.xml +0 -0
  876. data/{examples → lib/fhir_models/examples}/xml/practitioner-examples-general.xml +0 -0
  877. data/{examples → lib/fhir_models/examples}/xml/practitionerrole-example.xml +0 -0
  878. data/{examples → lib/fhir_models/examples}/xml/procedure-example-biopsy.xml +0 -0
  879. data/{examples → lib/fhir_models/examples}/xml/procedure-example-f001-heart.xml +0 -0
  880. data/{examples → lib/fhir_models/examples}/xml/procedure-example-f002-lung.xml +0 -0
  881. data/{examples → lib/fhir_models/examples}/xml/procedure-example-f003-abscess.xml +0 -0
  882. data/{examples → lib/fhir_models/examples}/xml/procedure-example-f004-tracheotomy.xml +0 -0
  883. data/{examples → lib/fhir_models/examples}/xml/procedure-example-f201-tpf.xml +0 -0
  884. data/{examples → lib/fhir_models/examples}/xml/procedure-example-implant.xml +0 -0
  885. data/{examples → lib/fhir_models/examples}/xml/procedure-example.xml +0 -0
  886. data/{examples → lib/fhir_models/examples}/xml/procedurerequest-example.xml +0 -0
  887. data/{examples → lib/fhir_models/examples}/xml/processrequest-example-poll-eob.xml +0 -0
  888. data/{examples → lib/fhir_models/examples}/xml/processrequest-example-poll-exclusive.xml +0 -0
  889. data/{examples → lib/fhir_models/examples}/xml/processrequest-example-poll-inclusive.xml +0 -0
  890. data/{examples → lib/fhir_models/examples}/xml/processrequest-example-poll-payrec.xml +0 -0
  891. data/{examples → lib/fhir_models/examples}/xml/processrequest-example-poll-specific.xml +0 -0
  892. data/{examples → lib/fhir_models/examples}/xml/processrequest-example-reprocess.xml +0 -0
  893. data/{examples → lib/fhir_models/examples}/xml/processrequest-example-reverse.xml +0 -0
  894. data/{examples → lib/fhir_models/examples}/xml/processrequest-example-status.xml +0 -0
  895. data/{examples → lib/fhir_models/examples}/xml/processrequest-example.xml +0 -0
  896. data/{examples → lib/fhir_models/examples}/xml/processresponse-example.xml +0 -0
  897. data/{examples → lib/fhir_models/examples}/xml/provenance-example-sig.xml +0 -0
  898. data/{examples → lib/fhir_models/examples}/xml/provenance-example.xml +0 -0
  899. data/{examples → lib/fhir_models/examples}/xml/questionnaire-example-bluebook.xml +0 -0
  900. data/{examples → lib/fhir_models/examples}/xml/questionnaire-example-f201-lifelines.xml +0 -0
  901. data/{examples → lib/fhir_models/examples}/xml/questionnaire-example-gcs.xml +0 -0
  902. data/{examples → lib/fhir_models/examples}/xml/questionnaire-example.xml +0 -0
  903. data/{examples → lib/fhir_models/examples}/xml/questionnaireresponse-example-bluebook.xml +0 -0
  904. data/{examples → lib/fhir_models/examples}/xml/questionnaireresponse-example-f201-lifelines.xml +0 -0
  905. data/{examples → lib/fhir_models/examples}/xml/questionnaireresponse-example-gcs.xml +0 -0
  906. data/{examples → lib/fhir_models/examples}/xml/questionnaireresponse-example.xml +0 -0
  907. data/{examples → lib/fhir_models/examples}/xml/referralrequest-example.xml +0 -0
  908. data/{examples → lib/fhir_models/examples}/xml/relatedperson-example-f001-sarah.xml +0 -0
  909. data/{examples → lib/fhir_models/examples}/xml/relatedperson-example-f002-ariadne.xml +0 -0
  910. data/{examples → lib/fhir_models/examples}/xml/relatedperson-example-peter.xml +0 -0
  911. data/{examples → lib/fhir_models/examples}/xml/relatedperson-example.xml +0 -0
  912. data/{examples → lib/fhir_models/examples}/xml/riskassessment-example-cardiac.xml +0 -0
  913. data/{examples → lib/fhir_models/examples}/xml/riskassessment-example-population.xml +0 -0
  914. data/{examples → lib/fhir_models/examples}/xml/riskassessment-example-prognosis.xml +0 -0
  915. data/{examples → lib/fhir_models/examples}/xml/riskassessment-example.xml +0 -0
  916. data/{examples → lib/fhir_models/examples}/xml/schedule-example.xml +0 -0
  917. data/{examples → lib/fhir_models/examples}/xml/searchparameter-example-extension.xml +0 -0
  918. data/{examples → lib/fhir_models/examples}/xml/searchparameter-example.xml +0 -0
  919. data/{examples → lib/fhir_models/examples}/xml/sequence-example.xml +0 -0
  920. data/{examples → lib/fhir_models/examples}/xml/slot-example-busy.xml +0 -0
  921. data/{examples → lib/fhir_models/examples}/xml/slot-example-tentative.xml +0 -0
  922. data/{examples → lib/fhir_models/examples}/xml/slot-example-unavailable.xml +0 -0
  923. data/{examples → lib/fhir_models/examples}/xml/slot-example.xml +0 -0
  924. data/{examples → lib/fhir_models/examples}/xml/specimen-example-isolate.xml +0 -0
  925. data/{examples → lib/fhir_models/examples}/xml/specimen-example-serum.xml +0 -0
  926. data/{examples → lib/fhir_models/examples}/xml/specimen-example-urine.xml +0 -0
  927. data/{examples → lib/fhir_models/examples}/xml/specimen-example.xml +0 -0
  928. data/{examples → lib/fhir_models/examples}/xml/structuredefinition-example.xml +0 -0
  929. data/{examples → lib/fhir_models/examples}/xml/structuremap-example.xml +0 -0
  930. data/{examples → lib/fhir_models/examples}/xml/subscription-example-error.xml +0 -0
  931. data/{examples → lib/fhir_models/examples}/xml/subscription-example.xml +0 -0
  932. data/{examples → lib/fhir_models/examples}/xml/substance-example-amoxicillin-clavulanate.xml +0 -0
  933. data/{examples → lib/fhir_models/examples}/xml/substance-example-f201-dust.xml +0 -0
  934. data/{examples → lib/fhir_models/examples}/xml/substance-example-f202-staphylococcus.xml +0 -0
  935. data/{examples → lib/fhir_models/examples}/xml/substance-example-f203-potassium.xml +0 -0
  936. data/{examples → lib/fhir_models/examples}/xml/substance-example-silver-nitrate-product.xml +0 -0
  937. data/{examples → lib/fhir_models/examples}/xml/substance-example.xml +0 -0
  938. data/{examples → lib/fhir_models/examples}/xml/supplydelivery-example.xml +0 -0
  939. data/{examples → lib/fhir_models/examples}/xml/supplyrequest-example.xml +0 -0
  940. data/{examples → lib/fhir_models/examples}/xml/task-example.xml +0 -0
  941. data/{examples → lib/fhir_models/examples}/xml/testscript-example-multiserver.xml +0 -0
  942. data/{examples → lib/fhir_models/examples}/xml/testscript-example-rule.xml +0 -0
  943. data/{examples → lib/fhir_models/examples}/xml/testscript-example.xml +0 -0
  944. data/{examples → lib/fhir_models/examples}/xml/valueset-example-expansion.xml +0 -0
  945. data/{examples → lib/fhir_models/examples}/xml/valueset-example-intensional.xml +0 -0
  946. data/{examples → lib/fhir_models/examples}/xml/valueset-example-yesnodontknow.xml +0 -0
  947. data/{examples → lib/fhir_models/examples}/xml/valueset-example.xml +0 -0
  948. data/{examples → lib/fhir_models/examples}/xml/valueset-list-example-codes.xml +0 -0
  949. data/{examples → lib/fhir_models/examples}/xml/visionprescription-example-1.xml +0 -0
  950. data/{examples → lib/fhir_models/examples}/xml/visionprescription-example.xml +0 -0
  951. data/{examples → lib/fhir_models/examples}/xml/xds-example.xml +0 -0
  952. data/lib/{fhir.rb → fhir_models/fhir.rb} +3 -2
  953. data/lib/fhir_models/fhir/metadata.rb +26 -0
  954. data/lib/{fhir → fhir_models/fhir}/resources/Account.rb +0 -0
  955. data/lib/{fhir → fhir_models/fhir}/resources/ActivityDefinition.rb +0 -0
  956. data/lib/{fhir → fhir_models/fhir}/resources/AllergyIntolerance.rb +0 -0
  957. data/lib/{fhir → fhir_models/fhir}/resources/Appointment.rb +0 -0
  958. data/lib/{fhir → fhir_models/fhir}/resources/AppointmentResponse.rb +0 -0
  959. data/lib/{fhir → fhir_models/fhir}/resources/AuditEvent.rb +0 -0
  960. data/lib/{fhir → fhir_models/fhir}/resources/Basic.rb +0 -0
  961. data/lib/{fhir → fhir_models/fhir}/resources/Binary.rb +0 -0
  962. data/lib/{fhir → fhir_models/fhir}/resources/BodySite.rb +0 -0
  963. data/lib/{fhir → fhir_models/fhir}/resources/Bundle.rb +0 -0
  964. data/lib/{fhir → fhir_models/fhir}/resources/CarePlan.rb +0 -0
  965. data/lib/{fhir → fhir_models/fhir}/resources/CareTeam.rb +0 -0
  966. data/lib/{fhir → fhir_models/fhir}/resources/Claim.rb +0 -0
  967. data/lib/{fhir → fhir_models/fhir}/resources/ClaimResponse.rb +0 -0
  968. data/lib/{fhir → fhir_models/fhir}/resources/ClinicalImpression.rb +0 -0
  969. data/lib/{fhir → fhir_models/fhir}/resources/CodeSystem.rb +0 -0
  970. data/lib/{fhir → fhir_models/fhir}/resources/Communication.rb +0 -0
  971. data/lib/{fhir → fhir_models/fhir}/resources/CommunicationRequest.rb +0 -0
  972. data/lib/{fhir → fhir_models/fhir}/resources/CompartmentDefinition.rb +0 -0
  973. data/lib/{fhir → fhir_models/fhir}/resources/Composition.rb +0 -0
  974. data/lib/{fhir → fhir_models/fhir}/resources/ConceptMap.rb +0 -0
  975. data/lib/{fhir → fhir_models/fhir}/resources/Condition.rb +0 -0
  976. data/lib/{fhir → fhir_models/fhir}/resources/Conformance.rb +0 -0
  977. data/lib/{fhir → fhir_models/fhir}/resources/Consent.rb +0 -0
  978. data/lib/{fhir → fhir_models/fhir}/resources/Contract.rb +0 -0
  979. data/lib/{fhir → fhir_models/fhir}/resources/Coverage.rb +0 -0
  980. data/lib/{fhir → fhir_models/fhir}/resources/DataElement.rb +0 -0
  981. data/lib/{fhir → fhir_models/fhir}/resources/DecisionSupportServiceModule.rb +0 -0
  982. data/lib/{fhir → fhir_models/fhir}/resources/DetectedIssue.rb +0 -0
  983. data/lib/{fhir → fhir_models/fhir}/resources/Device.rb +0 -0
  984. data/lib/{fhir → fhir_models/fhir}/resources/DeviceComponent.rb +0 -0
  985. data/lib/{fhir → fhir_models/fhir}/resources/DeviceMetric.rb +0 -0
  986. data/lib/{fhir → fhir_models/fhir}/resources/DeviceUseRequest.rb +0 -0
  987. data/lib/{fhir → fhir_models/fhir}/resources/DeviceUseStatement.rb +0 -0
  988. data/lib/{fhir → fhir_models/fhir}/resources/DiagnosticReport.rb +0 -0
  989. data/lib/{fhir → fhir_models/fhir}/resources/DiagnosticRequest.rb +0 -0
  990. data/lib/{fhir → fhir_models/fhir}/resources/DocumentManifest.rb +0 -0
  991. data/lib/{fhir → fhir_models/fhir}/resources/DocumentReference.rb +0 -0
  992. data/lib/{fhir → fhir_models/fhir}/resources/DomainResource.rb +0 -0
  993. data/lib/{fhir → fhir_models/fhir}/resources/EligibilityRequest.rb +0 -0
  994. data/lib/{fhir → fhir_models/fhir}/resources/EligibilityResponse.rb +0 -0
  995. data/lib/{fhir → fhir_models/fhir}/resources/Encounter.rb +0 -0
  996. data/lib/{fhir → fhir_models/fhir}/resources/Endpoint.rb +0 -0
  997. data/lib/{fhir → fhir_models/fhir}/resources/EnrollmentRequest.rb +0 -0
  998. data/lib/{fhir → fhir_models/fhir}/resources/EnrollmentResponse.rb +0 -0
  999. data/lib/{fhir → fhir_models/fhir}/resources/EpisodeOfCare.rb +0 -0
  1000. data/lib/{fhir → fhir_models/fhir}/resources/ExpansionProfile.rb +0 -0
  1001. data/lib/{fhir → fhir_models/fhir}/resources/ExplanationOfBenefit.rb +0 -0
  1002. data/lib/{fhir → fhir_models/fhir}/resources/FamilyMemberHistory.rb +0 -0
  1003. data/lib/{fhir → fhir_models/fhir}/resources/Flag.rb +0 -0
  1004. data/lib/{fhir → fhir_models/fhir}/resources/Goal.rb +0 -0
  1005. data/lib/{fhir → fhir_models/fhir}/resources/Group.rb +0 -0
  1006. data/lib/{fhir → fhir_models/fhir}/resources/GuidanceResponse.rb +0 -0
  1007. data/lib/{fhir → fhir_models/fhir}/resources/HealthcareService.rb +0 -0
  1008. data/lib/{fhir → fhir_models/fhir}/resources/ImagingManifest.rb +0 -0
  1009. data/lib/{fhir → fhir_models/fhir}/resources/ImagingStudy.rb +0 -0
  1010. data/lib/{fhir → fhir_models/fhir}/resources/Immunization.rb +0 -0
  1011. data/lib/{fhir → fhir_models/fhir}/resources/ImmunizationRecommendation.rb +0 -0
  1012. data/lib/{fhir → fhir_models/fhir}/resources/ImplementationGuide.rb +0 -0
  1013. data/lib/{fhir → fhir_models/fhir}/resources/Library.rb +0 -0
  1014. data/lib/{fhir → fhir_models/fhir}/resources/Linkage.rb +0 -0
  1015. data/lib/{fhir → fhir_models/fhir}/resources/List.rb +0 -0
  1016. data/lib/{fhir → fhir_models/fhir}/resources/Location.rb +0 -0
  1017. data/lib/{fhir → fhir_models/fhir}/resources/Measure.rb +0 -0
  1018. data/lib/{fhir → fhir_models/fhir}/resources/MeasureReport.rb +0 -0
  1019. data/lib/{fhir → fhir_models/fhir}/resources/Media.rb +0 -0
  1020. data/lib/{fhir → fhir_models/fhir}/resources/Medication.rb +0 -0
  1021. data/lib/{fhir → fhir_models/fhir}/resources/MedicationAdministration.rb +0 -0
  1022. data/lib/{fhir → fhir_models/fhir}/resources/MedicationDispense.rb +0 -0
  1023. data/lib/{fhir → fhir_models/fhir}/resources/MedicationOrder.rb +0 -0
  1024. data/lib/{fhir → fhir_models/fhir}/resources/MedicationStatement.rb +0 -0
  1025. data/lib/{fhir → fhir_models/fhir}/resources/MessageHeader.rb +0 -0
  1026. data/lib/{fhir → fhir_models/fhir}/resources/NamingSystem.rb +0 -0
  1027. data/lib/{fhir → fhir_models/fhir}/resources/NutritionRequest.rb +0 -0
  1028. data/lib/{fhir → fhir_models/fhir}/resources/Observation.rb +0 -0
  1029. data/lib/{fhir → fhir_models/fhir}/resources/OperationDefinition.rb +0 -0
  1030. data/lib/{fhir → fhir_models/fhir}/resources/OperationOutcome.rb +0 -0
  1031. data/lib/{fhir → fhir_models/fhir}/resources/Organization.rb +0 -0
  1032. data/lib/{fhir → fhir_models/fhir}/resources/Parameters.rb +0 -0
  1033. data/lib/{fhir → fhir_models/fhir}/resources/Patient.rb +0 -0
  1034. data/lib/{fhir → fhir_models/fhir}/resources/PaymentNotice.rb +0 -0
  1035. data/lib/{fhir → fhir_models/fhir}/resources/PaymentReconciliation.rb +0 -0
  1036. data/lib/{fhir → fhir_models/fhir}/resources/Person.rb +0 -0
  1037. data/lib/{fhir → fhir_models/fhir}/resources/PlanDefinition.rb +0 -0
  1038. data/lib/{fhir → fhir_models/fhir}/resources/Practitioner.rb +0 -0
  1039. data/lib/{fhir → fhir_models/fhir}/resources/PractitionerRole.rb +0 -0
  1040. data/lib/{fhir → fhir_models/fhir}/resources/Procedure.rb +0 -0
  1041. data/lib/{fhir → fhir_models/fhir}/resources/ProcedureRequest.rb +0 -0
  1042. data/lib/{fhir → fhir_models/fhir}/resources/ProcessRequest.rb +0 -0
  1043. data/lib/{fhir → fhir_models/fhir}/resources/ProcessResponse.rb +0 -0
  1044. data/lib/{fhir → fhir_models/fhir}/resources/Provenance.rb +0 -0
  1045. data/lib/{fhir → fhir_models/fhir}/resources/Questionnaire.rb +0 -0
  1046. data/lib/{fhir → fhir_models/fhir}/resources/QuestionnaireResponse.rb +0 -0
  1047. data/lib/{fhir → fhir_models/fhir}/resources/ReferralRequest.rb +0 -0
  1048. data/lib/{fhir → fhir_models/fhir}/resources/RelatedPerson.rb +0 -0
  1049. data/lib/{fhir → fhir_models/fhir}/resources/Resource.rb +0 -0
  1050. data/lib/{fhir → fhir_models/fhir}/resources/RiskAssessment.rb +0 -0
  1051. data/lib/{fhir → fhir_models/fhir}/resources/Schedule.rb +0 -0
  1052. data/lib/{fhir → fhir_models/fhir}/resources/SearchParameter.rb +0 -0
  1053. data/lib/{fhir → fhir_models/fhir}/resources/Sequence.rb +0 -0
  1054. data/lib/{fhir → fhir_models/fhir}/resources/Slot.rb +0 -0
  1055. data/lib/{fhir → fhir_models/fhir}/resources/Specimen.rb +0 -0
  1056. data/lib/{fhir → fhir_models/fhir}/resources/StructureDefinition.rb +0 -0
  1057. data/lib/{fhir → fhir_models/fhir}/resources/StructureMap.rb +0 -0
  1058. data/lib/{fhir → fhir_models/fhir}/resources/Subscription.rb +0 -0
  1059. data/lib/{fhir → fhir_models/fhir}/resources/Substance.rb +0 -0
  1060. data/lib/{fhir → fhir_models/fhir}/resources/SupplyDelivery.rb +0 -0
  1061. data/lib/{fhir → fhir_models/fhir}/resources/SupplyRequest.rb +0 -0
  1062. data/lib/{fhir → fhir_models/fhir}/resources/Task.rb +0 -0
  1063. data/lib/{fhir → fhir_models/fhir}/resources/TestScript.rb +0 -0
  1064. data/lib/{fhir → fhir_models/fhir}/resources/ValueSet.rb +0 -0
  1065. data/lib/{fhir → fhir_models/fhir}/resources/VisionPrescription.rb +0 -0
  1066. data/lib/{fhir → fhir_models/fhir}/types/Address.rb +0 -0
  1067. data/lib/{fhir → fhir_models/fhir}/types/Age.rb +0 -0
  1068. data/lib/{fhir → fhir_models/fhir}/types/Annotation.rb +0 -0
  1069. data/lib/{fhir → fhir_models/fhir}/types/Attachment.rb +0 -0
  1070. data/lib/{fhir → fhir_models/fhir}/types/BackboneElement.rb +0 -0
  1071. data/lib/{fhir → fhir_models/fhir}/types/CodeableConcept.rb +0 -0
  1072. data/lib/{fhir → fhir_models/fhir}/types/Coding.rb +0 -0
  1073. data/lib/{fhir → fhir_models/fhir}/types/ContactDetail.rb +0 -0
  1074. data/lib/{fhir → fhir_models/fhir}/types/ContactPoint.rb +0 -0
  1075. data/lib/{fhir → fhir_models/fhir}/types/Contributor.rb +0 -0
  1076. data/lib/{fhir → fhir_models/fhir}/types/Count.rb +0 -0
  1077. data/lib/{fhir → fhir_models/fhir}/types/DataRequirement.rb +0 -0
  1078. data/lib/{fhir → fhir_models/fhir}/types/Distance.rb +0 -0
  1079. data/lib/{fhir → fhir_models/fhir}/types/Duration.rb +0 -0
  1080. data/lib/{fhir → fhir_models/fhir}/types/Element.rb +0 -0
  1081. data/lib/{fhir → fhir_models/fhir}/types/ElementDefinition.rb +0 -0
  1082. data/lib/{fhir → fhir_models/fhir}/types/Extension.rb +0 -0
  1083. data/lib/{fhir → fhir_models/fhir}/types/HumanName.rb +0 -0
  1084. data/lib/{fhir → fhir_models/fhir}/types/Identifier.rb +0 -0
  1085. data/lib/{fhir → fhir_models/fhir}/types/Meta.rb +0 -0
  1086. data/lib/{fhir → fhir_models/fhir}/types/Money.rb +0 -0
  1087. data/lib/{fhir → fhir_models/fhir}/types/Narrative.rb +0 -0
  1088. data/lib/{fhir → fhir_models/fhir}/types/ParameterDefinition.rb +0 -0
  1089. data/lib/{fhir → fhir_models/fhir}/types/Period.rb +0 -0
  1090. data/lib/{fhir → fhir_models/fhir}/types/Quantity.rb +0 -0
  1091. data/lib/{fhir → fhir_models/fhir}/types/Range.rb +0 -0
  1092. data/lib/{fhir → fhir_models/fhir}/types/Ratio.rb +0 -0
  1093. data/lib/{fhir → fhir_models/fhir}/types/Reference.rb +0 -0
  1094. data/lib/{fhir → fhir_models/fhir}/types/RelatedResource.rb +0 -0
  1095. data/lib/{fhir → fhir_models/fhir}/types/SampledData.rb +0 -0
  1096. data/lib/{fhir → fhir_models/fhir}/types/Signature.rb +0 -0
  1097. data/lib/{fhir → fhir_models/fhir}/types/Timing.rb +0 -0
  1098. data/lib/{fhir → fhir_models/fhir}/types/TriggerDefinition.rb +0 -0
  1099. data/lib/{fhir → fhir_models/fhir}/types/UsageContext.rb +0 -0
  1100. data/lib/{fhir_ext → fhir_models/fhir_ext}/StructureDefinition.rb +118 -121
  1101. data/lib/{fhir_ext → fhir_models/fhir_ext}/StructureDefinitionFinding.rb +5 -5
  1102. data/lib/{fluentpath → fhir_models/fluentpath}/evaluate.rb +88 -88
  1103. data/lib/{fluentpath → fhir_models/fluentpath}/expression.rb +4 -4
  1104. data/lib/{fluentpath → fhir_models/fluentpath}/parse.rb +8 -8
  1105. data/lib/{tasks → fhir_models/tasks}/tasks.rake +41 -41
  1106. data/lib/fhir_models/version.rb +5 -0
  1107. metadata +1215 -1174
  1108. data/lib/fhir/metadata.rb +0 -26
  1109. data/test/test_helper.rb +0 -10
  1110. data/test/unit/contents_test.rb +0 -35
  1111. data/test/unit/equality_test.rb +0 -79
  1112. data/test/unit/expansions_test.rb +0 -18
  1113. data/test/unit/extension_by_name_test.rb +0 -45
  1114. data/test/unit/fluentpath/and_or_not_test.rb +0 -69
  1115. data/test/unit/fluentpath/convert_to_boolean_test.rb +0 -59
  1116. data/test/unit/fluentpath/existence_test.rb +0 -154
  1117. data/test/unit/fluentpath/extension_test.rb +0 -54
  1118. data/test/unit/fluentpath/fluent_equality_test.rb +0 -249
  1119. data/test/unit/fluentpath/invariants_test.rb +0 -293
  1120. data/test/unit/fluentpath/math_test.rb +0 -62
  1121. data/test/unit/fluentpath/path_test.rb +0 -118
  1122. data/test/unit/fluentpath/string_test.rb +0 -38
  1123. data/test/unit/json_format_test.rb +0 -171
  1124. data/test/unit/json_validation_test.rb +0 -36
  1125. data/test/unit/multiple_types_test.rb +0 -76
  1126. data/test/unit/profile_validation_test.rb +0 -39
  1127. data/test/unit/xml_format_test.rb +0 -120
  1128. data/test/unit/xml_schema_validation_test.rb +0 -69
  1129. data/test/unit/xml_validation_test.rb +0 -49
@@ -1,54 +0,0 @@
1
- require_relative '../../test_helper'
2
-
3
- class ExtensionTest < Test::Unit::TestCase
4
-
5
- CONCEPT = {
6
- 'coding'=> [{
7
- 'system'=> 'http://hl7.org/fhir/v3/Race',
8
- 'code'=> '1096-7'
9
- }]
10
- }
11
- EXT = {
12
- 'url'=>'http://hl7.org/fhir/StructureDefinition/us-core-race',
13
- 'valueCodeableConcept'=> CONCEPT
14
- }
15
- EXT_ARRAY = [ EXT ]
16
- PATIENT = {
17
- 'name' => {
18
- 'given' => ['Foo']
19
- },
20
- 'extension' => EXT_ARRAY,
21
- 'resourceType' => 'Patient'
22
- }
23
-
24
- def test_extension
25
- result = FluentPath.evaluate('Patient.extension',PATIENT)
26
- assert result==EXT_ARRAY, 'Failed to resolve extension.'
27
- end
28
-
29
- def test_extension_with_block
30
- result = FluentPath.evaluate("Patient.extension('http://hl7.org/fhir/StructureDefinition/us-core-race')",PATIENT)
31
- assert result==EXT, 'Failed to resolve extension by name.'
32
- end
33
-
34
- def test_extension_item
35
- result = FluentPath.evaluate('Patient.extension[0]',PATIENT)
36
- assert result==EXT, 'Failed to resolve extension by index.'
37
- end
38
-
39
- def test_extension_value
40
- result = FluentPath.evaluate('Patient.extension[0].value',PATIENT)
41
- assert result==CONCEPT, 'Failed to resolve extension value.'
42
- end
43
-
44
- def test_extension_with_block_value
45
- result = FluentPath.evaluate("Patient.extension('http://hl7.org/fhir/StructureDefinition/us-core-race').value",PATIENT)
46
- assert result==CONCEPT, 'Failed to resolve named extension value.'
47
- end
48
-
49
- def test_extension_missing
50
- result = FluentPath.evaluate("Patient.extension('http://hl7.org/fhir/StructureDefinition/us-core-ethnicity')",PATIENT)
51
- assert result==nil, 'Failed to resolve missing extension.'
52
- end
53
-
54
- end
@@ -1,249 +0,0 @@
1
- require_relative '../../test_helper'
2
-
3
- class FluentEqualityTest < Test::Unit::TestCase
4
-
5
- def test_equals_strings
6
- data = {
7
- 'a' => 'foo',
8
- 'b' => 'foo'
9
- }
10
- result = FluentPath.evaluate('a = b',data)
11
- assert result==true, 'Failed equals test.'
12
- end
13
-
14
- def test_equals_numbers
15
- data = {
16
- 'a' => 1.0,
17
- 'b' => 1.0
18
- }
19
- result = FluentPath.evaluate('a = b',data)
20
- assert result==true, 'Failed equals test.'
21
- end
22
-
23
- def test_equals_dateTimes
24
- data = {
25
- 'a' => '2016-06-06T10:55:34+01:00',
26
- 'b' => '2016-06-06T10:55:34+01:00'
27
- }
28
- result = FluentPath.evaluate('a = b',data)
29
- assert result==true, 'Failed equals test.'
30
- end
31
-
32
- def test_not_equals_strings
33
- data = {
34
- 'a' => 'foo',
35
- 'b' => 'bar'
36
- }
37
- result = FluentPath.evaluate('a != b',data)
38
- assert result==true, 'Failed not_equals test.'
39
- end
40
-
41
- def test_not_equals_numbers
42
- data = {
43
- 'a' => 1.0,
44
- 'b' => 1.5
45
- }
46
- result = FluentPath.evaluate('a != b',data)
47
- assert result==true, 'Failed not_equals test.'
48
- end
49
-
50
- def test_not_equals_dateTimes
51
- data = {
52
- 'a' => '2016-06-06T10:55:34+01:00',
53
- 'b' => '2016-06-09T10:55:34+01:00'
54
- }
55
- result = FluentPath.evaluate('a != b',data)
56
- assert result==true, 'Failed not_equals test.'
57
- end
58
-
59
- def test_less_than_strings
60
- data = {
61
- 'a' => 'a',
62
- 'b' => 'b'
63
- }
64
- result = FluentPath.evaluate('a < b',data)
65
- assert result==true, 'Failed less_than test.'
66
- end
67
-
68
- def test_less_than_numbers
69
- data = {
70
- 'a' => 1.0,
71
- 'b' => 1.5
72
- }
73
- result = FluentPath.evaluate('a < b',data)
74
- assert result==true, 'Failed less_than test.'
75
- end
76
-
77
- def test_less_than_dateTimes
78
- data = {
79
- 'a' => '2016-06-06T10:55:34+01:00',
80
- 'b' => '2016-06-09T10:55:34+01:00'
81
- }
82
- result = FluentPath.evaluate('a < b',data)
83
- assert result==true, 'Failed less_than test.'
84
- end
85
-
86
- def test_greater_than_strings
87
- data = {
88
- 'a' => 'd',
89
- 'b' => 'b'
90
- }
91
- result = FluentPath.evaluate('a > b',data)
92
- assert result==true, 'Failed greater_than test.'
93
- end
94
-
95
- def test_greater_than_numbers
96
- data = {
97
- 'a' => 1.9,
98
- 'b' => 1.5
99
- }
100
- result = FluentPath.evaluate('a > b',data)
101
- assert result==true, 'Failed greater_than test.'
102
- end
103
-
104
- def test_greater_than_dateTimes
105
- data = {
106
- 'a' => '2016-06-18T10:55:34+01:00',
107
- 'b' => '2016-06-09T10:55:34+01:00'
108
- }
109
- result = FluentPath.evaluate('a > b',data)
110
- assert result==true, 'Failed greater_than test.'
111
- end
112
-
113
- def test_greater_than_equals_strings
114
- data = {
115
- 'a' => 'd',
116
- 'b' => 'b'
117
- }
118
- result = FluentPath.evaluate('a >= b',data)
119
- assert result==true, 'Failed greater_than_equals test.'
120
- end
121
-
122
- def test_greater_than_equals_numbers
123
- data = {
124
- 'a' => 1.55,
125
- 'b' => 1.5
126
- }
127
- result = FluentPath.evaluate('a >= b',data)
128
- assert result==true, 'Failed greater_than_equals test.'
129
- end
130
-
131
- def test_greater_than_equals_dateTimes
132
- data = {
133
- 'a' => '2016-06-18T10:55:34+01:00',
134
- 'b' => '2016-06-09T10:55:34+01:00'
135
- }
136
- result = FluentPath.evaluate('a >= b',data)
137
- assert result==true, 'Failed greater_than_equals test.'
138
- end
139
-
140
- # -------------------------------------- negative tests -----------------------------------------
141
-
142
- def test_equals_strings_false
143
- data = {
144
- 'a' => 'foo',
145
- 'b' => 'bar'
146
- }
147
- result = FluentPath.evaluate('a = b',data)
148
- assert result==false, 'Failed equals test.'
149
- end
150
-
151
- def test_equals_numbers_false
152
- data = {
153
- 'a' => 1.0,
154
- 'b' => 1.2
155
- }
156
- result = FluentPath.evaluate('a = b',data)
157
- assert result==false, 'Failed equals test.'
158
- end
159
-
160
- def test_equals_dateTimes_false
161
- data = {
162
- 'a' => '2016-06-06T10:55:34+01:00',
163
- 'b' => '2016-03-06T10:55:34+01:00'
164
- }
165
- result = FluentPath.evaluate('a = b',data)
166
- assert result==false, 'Failed equals test.'
167
- end
168
-
169
- def test_not_equals_strings_false
170
- data = {
171
- 'a' => 'foo',
172
- 'b' => 'foo'
173
- }
174
- result = FluentPath.evaluate('a != b',data)
175
- assert result==false, 'Failed not_equals test.'
176
- end
177
-
178
- def test_not_equals_numbers_false
179
- data = {
180
- 'a' => 1.0,
181
- 'b' => 1.0
182
- }
183
- result = FluentPath.evaluate('a != b',data)
184
- assert result==false, 'Failed not_equals test.'
185
- end
186
-
187
- def test_not_equals_dateTimes_false
188
- data = {
189
- 'a' => '2016-06-06T10:55:34+01:00',
190
- 'b' => '2016-06-06T10:55:34+01:00'
191
- }
192
- result = FluentPath.evaluate('a != b',data)
193
- assert result==false, 'Failed not_equals test.'
194
- end
195
-
196
- def test_less_than_strings_false
197
- data = {
198
- 'a' => 'b',
199
- 'b' => 'a'
200
- }
201
- result = FluentPath.evaluate('a < b',data)
202
- assert result==false, 'Failed less_than test.'
203
- end
204
-
205
- def test_less_than_numbers_false
206
- data = {
207
- 'a' => 1.5,
208
- 'b' => 1.0
209
- }
210
- result = FluentPath.evaluate('a < b',data)
211
- assert result==false, 'Failed less_than test.'
212
- end
213
-
214
- def test_less_than_dateTimes_false
215
- data = {
216
- 'a' => '2016-06-09T10:55:34+01:00',
217
- 'b' => '2016-06-06T10:55:34+01:00'
218
- }
219
- result = FluentPath.evaluate('a < b',data)
220
- assert result==false, 'Failed less_than test.'
221
- end
222
-
223
- def test_greater_than_strings_false
224
- data = {
225
- 'a' => 'a',
226
- 'b' => 'b'
227
- }
228
- result = FluentPath.evaluate('a > b',data)
229
- assert result==false, 'Failed greater_than test.'
230
- end
231
-
232
- def test_greater_than_numbers_false
233
- data = {
234
- 'a' => 0.9,
235
- 'b' => 1.5
236
- }
237
- result = FluentPath.evaluate('a > b',data)
238
- assert result==false, 'Failed greater_than test.'
239
- end
240
-
241
- def test_greater_than_dateTimes_false
242
- data = {
243
- 'a' => '2016-06-09T10:55:34+01:00',
244
- 'b' => '2016-06-18T10:55:34+01:00'
245
- }
246
- result = FluentPath.evaluate('a > b',data)
247
- assert result==false, 'Failed greater_than test.'
248
- end
249
- end
@@ -1,293 +0,0 @@
1
- require_relative '../../test_helper'
2
-
3
- class InvariantsTest < Test::Unit::TestCase
4
-
5
- def test_tim3_true
6
- expression = "((period or frequency) and when).not()"
7
- data = {
8
- 'period' => '2016-2017',
9
- 'frequency' => 'daily'
10
- }
11
- result = FluentPath.evaluate(expression,data)
12
- assert result==true, 'Failed tim-3 test.'
13
- end
14
-
15
- def test_tim3_false
16
- expression = "((period or frequency) and when).not()"
17
- data = {
18
- 'period' => '2016-2017',
19
- 'frequency' => 'daily',
20
- 'when' => 'noon'
21
- }
22
- result = FluentPath.evaluate(expression,data)
23
- assert result==false, 'Failed tim-3 test.'
24
- end
25
-
26
- def test_imm1_true
27
- expression = "(wasNotGiven = true).not() or (reaction.empty() and explanation.reasonNotGiven.empty())"
28
- data = {
29
- 'resourceType' => 'Immunization',
30
- 'wasNotGiven' => false,
31
- 'reaction' => [],
32
- 'explanation' => {
33
- 'reasonNotGiven' => []
34
- }
35
- }
36
- result = FluentPath.evaluate(expression,data)
37
- assert result==true, 'Failed imm-1 test.'
38
- end
39
-
40
- def test_imm1_false
41
- expression = "(wasNotGiven = true).not() or (reaction.empty() and explanation.reasonNotGiven.empty())"
42
- data = {
43
- 'resourceType' => 'Immunization',
44
- 'wasNotGiven' => true,
45
- 'reaction' => [],
46
- 'explanation' => {
47
- 'reasonNotGiven' => ['Refusal']
48
- }
49
- }
50
- result = FluentPath.evaluate(expression,data)
51
- assert result==false, 'Failed imm-1 test.'
52
- end
53
-
54
- def test_imm2_true
55
- expression = "(wasNotGiven = true) or explanation.reasonNotGiven.empty()"
56
- data = {
57
- 'resourceType' => 'Immunization',
58
- 'wasNotGiven' => true,
59
- 'explanation' => {
60
- 'reasonNotGiven' => []
61
- }
62
- }
63
- result = FluentPath.evaluate(expression,data)
64
- assert result==true, 'Failed imm-2 test.'
65
- end
66
-
67
- def test_imm2_false
68
- expression = "(wasNotGiven = true) or explanation.reasonNotGiven.empty()"
69
- data = {
70
- 'resourceType' => 'Immunization',
71
- 'wasNotGiven' => false,
72
- 'explanation' => {
73
- 'reasonNotGiven' => ['Refusal']
74
- }
75
- }
76
- result = FluentPath.evaluate(expression,data)
77
- assert result==false, 'Failed imm-2 test.'
78
- end
79
-
80
- def test_nsd2
81
- expression = "uniqueId.where(preferred = true).select(type).distinct()"
82
- data = {
83
- 'resourceType' => 'NamingSystem',
84
- 'uniqueId' => {
85
- 'preferred' => true,
86
- 'type' => ['A','B','B']
87
- }
88
- }
89
- result = FluentPath.evaluate(expression,data)
90
- assert result==['A','B'], 'Failed nsd-2 test.'
91
- end
92
-
93
- def test_obs7_false
94
- expression = "component.where(code = $context.code).empty()"
95
- data = {
96
- 'resourceType' => 'Observation',
97
- 'code' => {
98
- 'coding' => [{'code'=>'foo'},{'code'=>'bar'}]
99
- },
100
- 'component' => [
101
- {
102
- 'code' => {'coding' => [{'code'=>'foo'},{'code'=>'bar'}]}
103
- },{
104
- 'code' => {'coding' => [{'code'=>'baz'},{'code'=>'boz'}]}
105
- }
106
- ]
107
- }
108
- result = FluentPath.evaluate(expression,data)
109
- assert result==false, 'Failed obs-7 test.'
110
- end
111
-
112
- def test_obs7_true
113
- expression = "component.where(code = $context.code).empty()"
114
- data = {
115
- 'resourceType' => 'Observation',
116
- 'code' => {
117
- 'coding' => [{'code'=>'foo'},{'code'=>'bar'}]
118
- },
119
- 'component' => [
120
- {
121
- 'code' => {'coding' => [{'code'=>'baz'},{'code'=>'boz'}]}
122
- }
123
- ]
124
- }
125
- result = FluentPath.evaluate(expression,data)
126
- assert result==true, 'Failed obs-7 test.'
127
- end
128
-
129
- def test_per1_date_true
130
- expression = "start.empty() or end.empty() or (start <= end)"
131
- data = {
132
- 'start' => '2016-06-06',
133
- 'end' => '2016-06-16'
134
- }
135
- result = FluentPath.evaluate(expression,data)
136
- assert result==true, 'Failed per-1 test.'
137
- end
138
-
139
- def test_per1_date_false
140
- expression = "start.empty() or end.empty() or (start <= end)"
141
- data = {
142
- 'start' => '2016-06-06',
143
- 'end' => '2016-06-01'
144
- }
145
- result = FluentPath.evaluate(expression,data)
146
- assert result==false, 'Failed per-1 test.'
147
- end
148
-
149
- def test_per1_dateTime_true
150
- expression = "start.empty() or end.empty() or (start <= end)"
151
- data = {
152
- 'start' => '2016-06-06T10:55:34+01:00',
153
- 'end' => '2016-06-16T09:44:23+01:00'
154
- }
155
- result = FluentPath.evaluate(expression,data)
156
- assert result==true, 'Failed per-1 test.'
157
- end
158
-
159
- def test_per1_dateTime_false
160
- expression = "start.empty() or end.empty() or (start <= end)"
161
- data = {
162
- 'start' => '2016-06-06T10:55:34+01:00',
163
- 'end' => '2016-06-01T09:44:23+01:00'
164
- }
165
- result = FluentPath.evaluate(expression,data)
166
- assert result==false, 'Failed per-1 test.'
167
- end
168
-
169
- def test_dis1_true
170
- expression = "(code or value.empty()) and (system.empty() or system = %ucum)"
171
- data = {
172
- 'code' => 'kg',
173
- 'system' => 'http://unitsofmeasure.org',
174
- 'value' => 300
175
- }
176
- result = FluentPath.evaluate(expression,data)
177
- assert result==true, 'Failed dis-1 test.'
178
- end
179
-
180
- def test_dis1_false
181
- expression = "(code or value.empty()) and (system.empty() or system = %ucum)"
182
- data = {
183
- 'code' => 'kg',
184
- 'system' => 'foobar',
185
- 'value' => 300
186
- }
187
- result = FluentPath.evaluate(expression,data)
188
- assert result==false, 'Failed dis-1 test.'
189
- end
190
-
191
- def test_que10_true
192
- expression = "(type in ('boolean'|'decimal'|'integer'|string'|'text'|'url')) or maxLength.empty()"
193
- data = {
194
- 'type' => 'string',
195
- 'maxLength' => 300
196
- }
197
- result = FluentPath.evaluate(expression,data)
198
- assert result==true, 'Failed que-10 test.'
199
- end
200
-
201
- def test_eld14_true
202
- expression = "constraint.select(key).distinct()"
203
- data = {
204
- 'constraint' => [{'key'=>'A'},{'key'=>'B'},{'key'=>'A'}]
205
- }
206
- result = FluentPath.evaluate(expression,data)
207
- assert result==['A','B'], 'Failed eld-14 test.'
208
- end
209
-
210
- def test_eld2_true
211
- expression = "min.empty() or max.empty() or (max = '*') or (min <= max.toInteger())"
212
- data = {
213
- 'min' => 1,
214
- 'max' => '2'
215
- }
216
- result = FluentPath.evaluate(expression,data)
217
- assert result==true, 'Failed eld-2 test.'
218
- end
219
-
220
- def test_eld2_false
221
- expression = "min.empty() or max.empty() or (max = '*') or (min <= max.toInteger())"
222
- data = {
223
- 'min' => 1,
224
- 'max' => '0'
225
- }
226
- result = FluentPath.evaluate(expression,data)
227
- assert result==false, 'Failed eld-2 test.'
228
- end
229
-
230
- def test_eld2_unlimited
231
- expression = "min.empty() or max.empty() or (max = '*') or (min <= max.toInteger())"
232
- data = {
233
- 'min' => 1,
234
- 'max' => '*'
235
- }
236
- result = FluentPath.evaluate(expression,data)
237
- assert result==true, 'Failed eld-2 test.'
238
- end
239
-
240
- def test_opd2
241
- expression = "searchType implies type = 'string'"
242
- data = {
243
- 'searchType' => 'number',
244
- 'type' => 'string'
245
- }
246
- result = FluentPath.evaluate(expression,data)
247
- assert result==true, 'Failed opd-2 test.'
248
- end
249
-
250
- def test_sdf12
251
- expression = "snapshot.element.select(base) implies baseType"
252
- data = {
253
- 'baseType' => 'Patient',
254
- 'snapshot' => {
255
- 'element' => [{ 'base' => 'Patient' }]
256
- }
257
- }
258
- result = FluentPath.evaluate(expression,data)
259
- assert result==true, 'Failed sdf-12 test.'
260
- end
261
-
262
- def test_sdf9_true
263
- expression = "children().element.first().label.empty() and children().element.first().code.empty() and children().element.first().requirements.empty()"
264
- data = {
265
- 'baseType' => 'Patient',
266
- 'snapshot' => {
267
- 'element' => [{
268
- 'base' => 'Patient'
269
- }]
270
- }
271
- }
272
- result = FluentPath.evaluate(expression,data)
273
- assert result==true, 'Failed sdf-9 test.'
274
- end
275
-
276
- def test_sdf9_false
277
- expression = "children().element.first().label.empty() and children().element.first().code.empty() and children().element.first().requirements.empty()"
278
- data = {
279
- 'baseType' => 'Patient',
280
- 'snapshot' => {
281
- 'element' => [{
282
- 'base' => 'Patient',
283
- 'label' => 'Foo',
284
- 'code' => [{'code'=>'Bar'}],
285
- 'requirements' => 'Baz'
286
- }]
287
- }
288
- }
289
- result = FluentPath.evaluate(expression,data)
290
- assert result==false, 'Failed sdf-9 test.'
291
- end
292
-
293
- end