health-data-standards 4.0.6 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/lib/health-data-standards.rb +3 -0
  3. data/lib/health-data-standards/export/cat_1.rb +2 -2
  4. data/lib/health-data-standards/export/qrda/hqmf-qrda-oids.json +13 -1
  5. data/lib/health-data-standards/export/view_helper.rb +11 -4
  6. data/lib/health-data-standards/import/cat1/adverse_event_importer.rb +12 -0
  7. data/lib/health-data-standards/import/cat1/allergy_intolerance_importer.rb +13 -0
  8. data/lib/health-data-standards/import/cat1/medication_substance_administered_importer.rb +19 -0
  9. data/lib/health-data-standards/validate/qrda_qdm_template_validator.rb +70 -1
  10. data/lib/health-data-standards/validate/validators.rb +10 -0
  11. data/resources/schematron/qrda/cat_1_r5/HL7 QRDA Category I STU 5.sch +3069 -0
  12. data/resources/schematron/qrda/cat_1_r5/voc.xml +1186 -0
  13. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.1.cat1.erb +14 -0
  14. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.103.cat1.erb +17 -0
  15. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.105.cat1.erb +65 -0
  16. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.12.cat1.erb +53 -0
  17. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.135.cat1.erb +69 -0
  18. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.136.cat1.erb +50 -0
  19. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.140.cat1.erb +25 -0
  20. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.144.cat1.erb +24 -0
  21. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.145.cat1.erb +18 -0
  22. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.146.cat1.erb +33 -0
  23. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.147.cat1.erb +28 -0
  24. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.17.cat1.erb +17 -0
  25. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.18.cat1.erb +29 -0
  26. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.2.cat1.erb +29 -0
  27. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.22.cat1.erb +24 -0
  28. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.23.cat1.erb +94 -0
  29. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.3.cat1.erb +25 -0
  30. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.31.cat1.erb +18 -0
  31. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.32.cat1.erb +21 -0
  32. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.37.cat1.erb +16 -0
  33. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.38.cat1.erb +23 -0
  34. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.4.cat1.erb +29 -0
  35. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.41.cat1.erb +45 -0
  36. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.42.cat1.erb +27 -0
  37. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.45.cat1.erb +36 -0
  38. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.47.cat1.erb +41 -0
  39. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.51.cat1.erb +14 -0
  40. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.54.cat1.erb +32 -0
  41. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.55.cat1.erb +18 -0
  42. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.57.cat1.erb +23 -0
  43. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.59.cat1.erb +25 -0
  44. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.63.cat1.erb +15 -0
  45. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.64.cat1.erb +55 -0
  46. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.7.cat1.erb +31 -0
  47. data/templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.9.cat1.erb +35 -0
  48. data/templates/cat1/r5/_2.16.840.1.113883.10.20.28.3.6.cat1.erb +17 -0
  49. data/templates/cat1/r5/_address.cat1.erb +7 -0
  50. data/templates/cat1/r5/_author.cat1.erb +28 -0
  51. data/templates/cat1/r5/_author_qdm.cat1.erb +8 -0
  52. data/templates/cat1/r5/_component_value.cat1.erb +5 -0
  53. data/templates/cat1/r5/_components.cat1.erb +11 -0
  54. data/templates/cat1/r5/_fulfills.cat1.erb +14 -0
  55. data/templates/cat1/r5/_id.cat1.erb +1 -0
  56. data/templates/cat1/r5/_measures.cat1.erb +93 -0
  57. data/templates/cat1/r5/_medication_details.cat1.erb +12 -0
  58. data/templates/cat1/r5/_medication_dispense.cat1.erb +22 -0
  59. data/templates/cat1/r5/_ordinality.cat1.erb +6 -0
  60. data/templates/cat1/r5/_organization.cat1.erb +9 -0
  61. data/templates/cat1/r5/_patient_data.cat1.erb +17 -0
  62. data/templates/cat1/r5/_providers.cat1.erb +76 -0
  63. data/templates/cat1/r5/_reason.cat1.erb +30 -0
  64. data/templates/cat1/r5/_record_target.cat1.erb +54 -0
  65. data/templates/cat1/r5/_reporting_parameters.cat1.erb +31 -0
  66. data/templates/cat1/r5/_result_value.cat1.erb +20 -0
  67. data/templates/cat1/r5/_results.cat1.erb +18 -0
  68. data/templates/cat1/r5/_telecom.cat1.erb +1 -0
  69. data/templates/cat1/r5/show.cat1.erb +192 -0
  70. metadata +65 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: health-data-standards
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.6
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The MITRE Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-20 00:00:00.000000000 Z
11
+ date: 2018-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -244,6 +244,8 @@ files:
244
244
  - lib/health-data-standards/import/c32/immunization_importer.rb
245
245
  - lib/health-data-standards/import/c32/insurance_provider_importer.rb
246
246
  - lib/health-data-standards/import/c32/patient_importer.rb
247
+ - lib/health-data-standards/import/cat1/adverse_event_importer.rb
248
+ - lib/health-data-standards/import/cat1/allergy_intolerance_importer.rb
247
249
  - lib/health-data-standards/import/cat1/clinical_trial_participant_importer.rb
248
250
  - lib/health-data-standards/import/cat1/device_order_importer.rb
249
251
  - lib/health-data-standards/import/cat1/diagnosis_active_importer.rb
@@ -264,6 +266,7 @@ files:
264
266
  - lib/health-data-standards/import/cat1/medication_active_importer.rb
265
267
  - lib/health-data-standards/import/cat1/medication_dispensed_act_importer.rb
266
268
  - lib/health-data-standards/import/cat1/medication_dispensed_importer.rb
269
+ - lib/health-data-standards/import/cat1/medication_substance_administered_importer.rb
267
270
  - lib/health-data-standards/import/cat1/patient_importer.rb
268
271
  - lib/health-data-standards/import/cat1/procedure_intolerance_importer.rb
269
272
  - lib/health-data-standards/import/cat1/procedure_order_importer.rb
@@ -521,6 +524,8 @@ files:
521
524
  - resources/schematron/qrda/cat_1_r3_1/voc.xml
522
525
  - resources/schematron/qrda/cat_1_r4/HL7 QRDA Category I STU 4.sch
523
526
  - resources/schematron/qrda/cat_1_r4/voc.xml
527
+ - resources/schematron/qrda/cat_1_r5/HL7 QRDA Category I STU 5.sch
528
+ - resources/schematron/qrda/cat_1_r5/voc.xml
524
529
  - resources/schematron/qrda/cat_3/QRDA Category III.sch
525
530
  - resources/schematron/qrda/cat_3/voc.xml
526
531
  - resources/schematron/qrda/cat_3_r1_1/HL7 QRDA Category III STU 1.1.sch
@@ -788,6 +793,63 @@ files:
788
793
  - templates/cat1/r4/_result_value.cat1.erb
789
794
  - templates/cat1/r4/_telecom.cat1.erb
790
795
  - templates/cat1/r4/show.cat1.erb
796
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.1.cat1.erb
797
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.103.cat1.erb
798
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.105.cat1.erb
799
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.12.cat1.erb
800
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.135.cat1.erb
801
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.136.cat1.erb
802
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.140.cat1.erb
803
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.144.cat1.erb
804
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.145.cat1.erb
805
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.146.cat1.erb
806
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.147.cat1.erb
807
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.17.cat1.erb
808
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
809
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.2.cat1.erb
810
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.22.cat1.erb
811
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.23.cat1.erb
812
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.3.cat1.erb
813
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.31.cat1.erb
814
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.32.cat1.erb
815
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.37.cat1.erb
816
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.38.cat1.erb
817
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.4.cat1.erb
818
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.41.cat1.erb
819
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
820
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.45.cat1.erb
821
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.47.cat1.erb
822
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.51.cat1.erb
823
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
824
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.55.cat1.erb
825
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.57.cat1.erb
826
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.59.cat1.erb
827
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.63.cat1.erb
828
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.64.cat1.erb
829
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
830
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.9.cat1.erb
831
+ - templates/cat1/r5/_2.16.840.1.113883.10.20.28.3.6.cat1.erb
832
+ - templates/cat1/r5/_address.cat1.erb
833
+ - templates/cat1/r5/_author.cat1.erb
834
+ - templates/cat1/r5/_author_qdm.cat1.erb
835
+ - templates/cat1/r5/_component_value.cat1.erb
836
+ - templates/cat1/r5/_components.cat1.erb
837
+ - templates/cat1/r5/_fulfills.cat1.erb
838
+ - templates/cat1/r5/_id.cat1.erb
839
+ - templates/cat1/r5/_measures.cat1.erb
840
+ - templates/cat1/r5/_medication_details.cat1.erb
841
+ - templates/cat1/r5/_medication_dispense.cat1.erb
842
+ - templates/cat1/r5/_ordinality.cat1.erb
843
+ - templates/cat1/r5/_organization.cat1.erb
844
+ - templates/cat1/r5/_patient_data.cat1.erb
845
+ - templates/cat1/r5/_providers.cat1.erb
846
+ - templates/cat1/r5/_reason.cat1.erb
847
+ - templates/cat1/r5/_record_target.cat1.erb
848
+ - templates/cat1/r5/_reporting_parameters.cat1.erb
849
+ - templates/cat1/r5/_result_value.cat1.erb
850
+ - templates/cat1/r5/_results.cat1.erb
851
+ - templates/cat1/r5/_telecom.cat1.erb
852
+ - templates/cat1/r5/show.cat1.erb
791
853
  - templates/cat3/r1/_address.cat3.erb
792
854
  - templates/cat3/r1/_author.cat3.erb
793
855
  - templates/cat3/r1/_continuous_variable_value.cat3.erb
@@ -883,7 +945,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
883
945
  version: '0'
884
946
  requirements: []
885
947
  rubyforge_project:
886
- rubygems_version: 2.6.14
948
+ rubygems_version: 2.5.2.1
887
949
  signing_key:
888
950
  specification_version: 4
889
951
  summary: A library for generating and consuming various healthcare related formats.