carin_for_blue_button_test_kit 0.9.1 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (674) hide show
  1. checksums.yaml +4 -4
  2. data/lib/carin_for_blue_button_test_kit/capability_statement/capability_statement_group.rb +6 -5
  3. data/lib/carin_for_blue_button_test_kit/capability_statement/tests/instantiates_test.rb +4 -16
  4. data/lib/carin_for_blue_button_test_kit/carin_search_test.rb +451 -195
  5. data/lib/carin_for_blue_button_test_kit/custom_groups/v1.1.0/c4bb_smart_launch_group.rb +59 -0
  6. data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0/c4bb_smart_launch/smart_scopes_test.rb +119 -0
  7. data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0/c4bb_smart_launch/well_known_capabilities_test.rb +48 -0
  8. data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0/c4bb_smart_launch_group.rb +126 -0
  9. data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0-dev-nonfinancial/c4bb_smart_launch/smart_scopes_test.rb +119 -0
  10. data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0-dev-nonfinancial/c4bb_smart_launch/well_known_capabilities_test.rb +51 -0
  11. data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0-dev-nonfinancial/c4bb_smart_launch_group.rb +129 -0
  12. data/lib/carin_for_blue_button_test_kit/date_search_validator.rb +102 -98
  13. data/lib/carin_for_blue_button_test_kit/fhir_resource_navigation.rb +57 -58
  14. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/c4bb_test_suite.rb +32 -56
  15. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/metadata.yml +20 -4
  16. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/{coverage_must_support_test.rb → must_support_test.rb} +2 -2
  17. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/{coverage_read_test.rb → read_test.rb} +10 -11
  18. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/{coverage_validation_test.rb → validation_test.rb} +3 -4
  19. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage_group.rb +24 -25
  20. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/id_search_test.rb +40 -0
  21. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb → eob/identifier_search_test.rb} +8 -16
  22. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/incl_all_search_test.rb +37 -0
  23. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/incl_careteam_search_test.rb +37 -0
  24. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/incl_coverage_search_test.rb +37 -0
  25. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/incl_insurer_search_test.rb +37 -0
  26. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/incl_patient_search_test.rb +37 -0
  27. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/incl_provider_search_test.rb +37 -0
  28. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb → eob/lastupdated_search_test.rb} +7 -15
  29. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit → eob}/metadata.yml +155 -42
  30. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_must_support_test.rb → eob/must_support_test.rb} +5 -5
  31. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_id_search_test.rb → eob/patient_search_test.rb} +22 -19
  32. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/read_test.rb +32 -0
  33. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb → eob/service_date_search_test.rb} +7 -15
  34. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb → eob/type_search_test.rb} +8 -16
  35. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_validation_test.rb → eob/validation_test.rb} +6 -7
  36. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_group.rb +125 -0
  37. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/id_search_test.rb +40 -0
  38. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb → eob_inpatient_institutional/identifier_search_test.rb} +8 -16
  39. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/incl_all_search_test.rb +37 -0
  40. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/incl_careteam_search_test.rb +37 -0
  41. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/incl_coverage_search_test.rb +37 -0
  42. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/incl_insurer_search_test.rb +37 -0
  43. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/incl_patient_search_test.rb +37 -0
  44. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/incl_provider_search_test.rb +37 -0
  45. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb → eob_inpatient_institutional/lastupdated_search_test.rb} +7 -15
  46. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_inpatient_institutional → eob_inpatient_institutional}/metadata.yml +155 -42
  47. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_must_support_test.rb → eob_inpatient_institutional/must_support_test.rb} +7 -7
  48. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb → eob_inpatient_institutional/patient_search_test.rb} +22 -19
  49. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/read_test.rb +32 -0
  50. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb → eob_inpatient_institutional/service_date_search_test.rb} +7 -15
  51. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_type_search_test.rb → eob_inpatient_institutional/type_search_test.rb} +8 -16
  52. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb → eob_inpatient_institutional/validation_test.rb} +6 -7
  53. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_patient_search_test.rb → eob_outpatient_institutional/id_search_test.rb} +9 -17
  54. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/identifier_search_test.rb +41 -0
  55. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/incl_all_search_test.rb +37 -0
  56. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/incl_careteam_search_test.rb +37 -0
  57. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/incl_coverage_search_test.rb +37 -0
  58. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/incl_insurer_search_test.rb +37 -0
  59. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/incl_patient_search_test.rb +37 -0
  60. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/incl_provider_search_test.rb +37 -0
  61. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/lastupdated_search_test.rb +40 -0
  62. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_outpatient_institutional → eob_outpatient_institutional}/metadata.yml +155 -42
  63. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_must_support_test.rb → eob_outpatient_institutional/must_support_test.rb} +7 -7
  64. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/patient_search_test.rb +62 -0
  65. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/read_test.rb +32 -0
  66. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/service_date_search_test.rb +40 -0
  67. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/type_search_test.rb +41 -0
  68. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb → eob_outpatient_institutional/validation_test.rb} +6 -7
  69. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/id_search_test.rb +40 -0
  70. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/identifier_search_test.rb +41 -0
  71. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/incl_all_search_test.rb +37 -0
  72. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/incl_careteam_search_test.rb +37 -0
  73. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/incl_coverage_search_test.rb +37 -0
  74. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/incl_insurer_search_test.rb +37 -0
  75. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/incl_patient_search_test.rb +37 -0
  76. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/incl_provider_search_test.rb +37 -0
  77. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/lastupdated_search_test.rb +40 -0
  78. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy → eob_pharmacy}/metadata.yml +155 -42
  79. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb → eob_pharmacy/must_support_test.rb} +7 -7
  80. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_id_search_test.rb → eob_pharmacy/patient_search_test.rb} +22 -19
  81. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/read_test.rb +32 -0
  82. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/service_date_search_test.rb +40 -0
  83. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/type_search_test.rb +41 -0
  84. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb → eob_pharmacy/validation_test.rb} +6 -7
  85. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb → eob_professional_non_clinician/id_search_test.rb} +9 -17
  86. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/identifier_search_test.rb +41 -0
  87. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/incl_all_search_test.rb +37 -0
  88. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/incl_careteam_search_test.rb +37 -0
  89. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/incl_coverage_search_test.rb +37 -0
  90. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/incl_insurer_search_test.rb +37 -0
  91. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/incl_patient_search_test.rb +37 -0
  92. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/incl_provider_search_test.rb +37 -0
  93. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/lastupdated_search_test.rb +40 -0
  94. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_professional_non_clinician → eob_professional_non_clinician}/metadata.yml +155 -42
  95. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_must_support_test.rb → eob_professional_non_clinician/must_support_test.rb} +7 -7
  96. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/patient_search_test.rb +62 -0
  97. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/read_test.rb +32 -0
  98. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/service_date_search_test.rb +40 -0
  99. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/type_search_test.rb +41 -0
  100. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_validation_test.rb → eob_professional_non_clinician/validation_test.rb} +6 -7
  101. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/metadata.yml +604 -56
  102. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/metadata.yml +4 -3
  103. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/{organization_must_support_test.rb → must_support_test.rb} +2 -2
  104. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/{organization_read_test.rb → read_test.rb} +10 -11
  105. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/{organization_validation_test.rb → validation_test.rb} +3 -4
  106. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization_group.rb +24 -25
  107. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/metadata.yml +4 -3
  108. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/{patient_must_support_test.rb → must_support_test.rb} +2 -2
  109. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/read_test.rb +39 -0
  110. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/{patient_validation_test.rb → validation_test.rb} +3 -4
  111. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient_group.rb +24 -25
  112. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/metadata.yml +4 -3
  113. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/{practitioner_must_support_test.rb → must_support_test.rb} +2 -2
  114. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/{practitioner_read_test.rb → read_test.rb} +10 -11
  115. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/{practitioner_validation_test.rb → validation_test.rb} +3 -4
  116. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner_group.rb +24 -25
  117. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/c4bb_test_suite.rb +33 -59
  118. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/{coverage_id_search_test.rb → id_search_test.rb} +16 -12
  119. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/{coverage_coverage_payor_search_test.rb → incl_payor_search_test.rb} +8 -9
  120. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/{coverage_lastupdated_search_test.rb → lastupdated_search_test.rb} +6 -12
  121. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/metadata.yml +56 -13
  122. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/{coverage_must_support_test.rb → must_support_test.rb} +2 -2
  123. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/{coverage_read_test.rb → read_test.rb} +5 -12
  124. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/{coverage_validation_test.rb → validation_test.rb} +3 -4
  125. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage_group.rb +30 -31
  126. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb → eob/billable_period_start_search_test.rb} +7 -15
  127. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/id_search_test.rb +40 -0
  128. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb → eob/identifier_search_test.rb} +8 -16
  129. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_all_search_test.rb +37 -0
  130. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_careteam_search_test.rb +37 -0
  131. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_coverage_search_test.rb +37 -0
  132. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_insurer_search_test.rb +37 -0
  133. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_patient_search_test.rb +37 -0
  134. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_payee_search_test.rb +37 -0
  135. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_provider_search_test.rb +37 -0
  136. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb → eob/lastupdated_search_test.rb} +7 -15
  137. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit → eob}/metadata.yml +188 -55
  138. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_must_support_test.rb → eob/must_support_test.rb} +5 -5
  139. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_id_search_test.rb → eob/patient_search_test.rb} +22 -19
  140. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/read_test.rb +32 -0
  141. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb → eob/service_date_search_test.rb} +7 -15
  142. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb → eob/service_start_date_search_test.rb} +7 -15
  143. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb → eob/type_search_test.rb} +8 -16
  144. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_validation_test.rb → eob/validation_test.rb} +6 -7
  145. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_group.rb +137 -0
  146. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_billable_period_start_search_test.rb → eob_inpatient_institutional/billable_period_start_search_test.rb} +7 -15
  147. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/id_search_test.rb +40 -0
  148. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb → eob_inpatient_institutional/identifier_search_test.rb} +8 -16
  149. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/incl_all_search_test.rb +37 -0
  150. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_careteam_search_test.rb → eob_inpatient_institutional/incl_careteam_search_test.rb} +10 -11
  151. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_coverage_search_test.rb → eob_inpatient_institutional/incl_coverage_search_test.rb} +10 -11
  152. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_insurer_search_test.rb → eob_inpatient_institutional/incl_insurer_search_test.rb} +10 -11
  153. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_patient_search_test.rb → eob_inpatient_institutional/incl_patient_search_test.rb} +10 -11
  154. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_payee_search_test.rb → eob_inpatient_institutional/incl_payee_search_test.rb} +10 -11
  155. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_provider_search_test.rb → eob_inpatient_institutional/incl_provider_search_test.rb} +10 -11
  156. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb → eob_inpatient_institutional/lastupdated_search_test.rb} +7 -15
  157. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_inpatient_institutional → eob_inpatient_institutional}/metadata.yml +188 -55
  158. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_must_support_test.rb → eob_inpatient_institutional/must_support_test.rb} +7 -7
  159. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb → eob_inpatient_institutional/patient_search_test.rb} +22 -19
  160. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/read_test.rb +32 -0
  161. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb → eob_inpatient_institutional/service_date_search_test.rb} +7 -15
  162. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_service_start_date_search_test.rb → eob_inpatient_institutional/service_start_date_search_test.rb} +7 -15
  163. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_type_search_test.rb → eob_inpatient_institutional/type_search_test.rb} +8 -16
  164. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb → eob_inpatient_institutional/validation_test.rb} +6 -7
  165. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_billable_period_start_search_test.rb → eob_oral/billable_period_start_search_test.rb} +7 -15
  166. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/id_search_test.rb +40 -0
  167. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb → eob_oral/identifier_search_test.rb} +8 -16
  168. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_all_search_test.rb +37 -0
  169. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_careteam_search_test.rb +37 -0
  170. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_coverage_search_test.rb +37 -0
  171. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_insurer_search_test.rb +37 -0
  172. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_patient_search_test.rb +37 -0
  173. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_payee_search_test.rb +37 -0
  174. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_provider_search_test.rb +37 -0
  175. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb → eob_oral/lastupdated_search_test.rb} +7 -15
  176. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral → eob_oral}/metadata.yml +188 -55
  177. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_must_support_test.rb → eob_oral/must_support_test.rb} +7 -7
  178. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_id_search_test.rb → eob_oral/patient_search_test.rb} +22 -19
  179. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/read_test.rb +32 -0
  180. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb → eob_oral/service_date_search_test.rb} +7 -15
  181. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_start_date_search_test.rb → eob_oral/service_start_date_search_test.rb} +7 -15
  182. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb → eob_oral/type_search_test.rb} +8 -16
  183. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb → eob_oral/validation_test.rb} +6 -7
  184. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/billable_period_start_search_test.rb +40 -0
  185. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_patient_search_test.rb → eob_outpatient_institutional/id_search_test.rb} +9 -17
  186. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/identifier_search_test.rb +41 -0
  187. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_all_search_test.rb +37 -0
  188. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_careteam_search_test.rb +37 -0
  189. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_coverage_search_test.rb +37 -0
  190. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_insurer_search_test.rb +37 -0
  191. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_patient_search_test.rb +37 -0
  192. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_payee_search_test.rb +37 -0
  193. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_provider_search_test.rb +37 -0
  194. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/lastupdated_search_test.rb +40 -0
  195. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_outpatient_institutional → eob_outpatient_institutional}/metadata.yml +188 -55
  196. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_must_support_test.rb → eob_outpatient_institutional/must_support_test.rb} +7 -7
  197. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/patient_search_test.rb +62 -0
  198. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/read_test.rb +32 -0
  199. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/service_date_search_test.rb +40 -0
  200. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/service_start_date_search_test.rb +40 -0
  201. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/type_search_test.rb +41 -0
  202. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb → eob_outpatient_institutional/validation_test.rb} +6 -7
  203. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/billable_period_start_search_test.rb +40 -0
  204. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/id_search_test.rb +40 -0
  205. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/identifier_search_test.rb +41 -0
  206. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_all_search_test.rb +37 -0
  207. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_careteam_search_test.rb +37 -0
  208. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_coverage_search_test.rb +37 -0
  209. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_insurer_search_test.rb +37 -0
  210. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_patient_search_test.rb +37 -0
  211. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_payee_search_test.rb +37 -0
  212. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_provider_search_test.rb +37 -0
  213. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/lastupdated_search_test.rb +40 -0
  214. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy → eob_pharmacy}/metadata.yml +188 -55
  215. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb → eob_pharmacy/must_support_test.rb} +7 -7
  216. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb → eob_pharmacy/patient_search_test.rb} +22 -19
  217. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/read_test.rb +32 -0
  218. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/service_date_search_test.rb +40 -0
  219. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/service_start_date_search_test.rb +40 -0
  220. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/type_search_test.rb +41 -0
  221. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb → eob_pharmacy/validation_test.rb} +6 -7
  222. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/billable_period_start_search_test.rb +40 -0
  223. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb → eob_professional_non_clinician/id_search_test.rb} +9 -17
  224. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/identifier_search_test.rb +41 -0
  225. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_all_search_test.rb +37 -0
  226. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_careteam_search_test.rb +37 -0
  227. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_coverage_search_test.rb +37 -0
  228. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_insurer_search_test.rb +37 -0
  229. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_patient_search_test.rb +37 -0
  230. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_payee_search_test.rb +37 -0
  231. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_provider_search_test.rb +37 -0
  232. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/lastupdated_search_test.rb +40 -0
  233. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_professional_non_clinician → eob_professional_non_clinician}/metadata.yml +188 -55
  234. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_must_support_test.rb → eob_professional_non_clinician/must_support_test.rb} +7 -7
  235. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/patient_search_test.rb +62 -0
  236. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/read_test.rb +32 -0
  237. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/service_date_search_test.rb +40 -0
  238. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/service_start_date_search_test.rb +40 -0
  239. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/type_search_test.rb +41 -0
  240. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_validation_test.rb → eob_professional_non_clinician/validation_test.rb} +6 -7
  241. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/metadata.yml +1036 -128
  242. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/id_search_test.rb +62 -0
  243. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/lastupdated_search_test.rb +42 -0
  244. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/metadata.yml +39 -7
  245. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/{organization_must_support_test.rb → must_support_test.rb} +2 -2
  246. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/{organization_read_test.rb → read_test.rb} +5 -12
  247. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/{organization_validation_test.rb → validation_test.rb} +3 -4
  248. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization_group.rb +29 -24
  249. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_id_search_test.rb → patient/id_search_test.rb} +16 -19
  250. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/lastupdated_search_test.rb +42 -0
  251. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/metadata.yml +39 -7
  252. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/{patient_must_support_test.rb → must_support_test.rb} +2 -2
  253. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/{patient_read_test.rb → read_test.rb} +5 -12
  254. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/{patient_validation_test.rb → validation_test.rb} +3 -4
  255. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient_group.rb +28 -25
  256. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/id_search_test.rb +62 -0
  257. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/lastupdated_search_test.rb +42 -0
  258. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/metadata.yml +39 -7
  259. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/{practitioner_must_support_test.rb → must_support_test.rb} +2 -2
  260. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/{practitioner_read_test.rb → read_test.rb} +5 -12
  261. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/{practitioner_validation_test.rb → validation_test.rb} +3 -4
  262. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner_group.rb +29 -24
  263. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/id_search_test.rb +62 -0
  264. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/lastupdated_search_test.rb +42 -0
  265. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/metadata.yml +39 -7
  266. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/{related_person_must_support_test.rb → must_support_test.rb} +3 -3
  267. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/{related_person_read_test.rb → read_test.rb} +6 -13
  268. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/{related_person_validation_test.rb → validation_test.rb} +4 -5
  269. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person_group.rb +29 -24
  270. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/c4bb_test_suite.rb +86 -0
  271. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/id_search_test.rb +63 -0
  272. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/incl_payor_search_test.rb +37 -0
  273. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/lastupdated_search_test.rb +42 -0
  274. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/metadata.yml +216 -0
  275. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/must_support_test.rb +53 -0
  276. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/read_test.rb +32 -0
  277. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/validation_test.rb +42 -0
  278. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage_group.rb +86 -0
  279. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/billable_period_start_search_test.rb +40 -0
  280. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/id_search_test.rb +40 -0
  281. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/identifier_search_test.rb +41 -0
  282. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_all_search_test.rb +37 -0
  283. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_careteam_search_test.rb +37 -0
  284. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_coverage_search_test.rb +37 -0
  285. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_insurer_search_test.rb +37 -0
  286. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_patient_search_test.rb +37 -0
  287. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_payee_search_test.rb +37 -0
  288. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_provider_search_test.rb +37 -0
  289. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/lastupdated_search_test.rb +40 -0
  290. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/metadata.yml +813 -0
  291. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/must_support_test.rb +72 -0
  292. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/patient_search_test.rb +62 -0
  293. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/read_test.rb +32 -0
  294. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/service_date_search_test.rb +40 -0
  295. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/service_start_date_search_test.rb +40 -0
  296. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/type_search_test.rb +41 -0
  297. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/validation_test.rb +42 -0
  298. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_group.rb +157 -0
  299. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/billable_period_start_search_test.rb +40 -0
  300. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/id_search_test.rb +40 -0
  301. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/identifier_search_test.rb +41 -0
  302. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_all_search_test.rb +37 -0
  303. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_careteam_search_test.rb +37 -0
  304. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_coverage_search_test.rb +37 -0
  305. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_insurer_search_test.rb +37 -0
  306. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_patient_search_test.rb +37 -0
  307. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_payee_search_test.rb +37 -0
  308. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_provider_search_test.rb +37 -0
  309. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/lastupdated_search_test.rb +40 -0
  310. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/metadata.yml +1225 -0
  311. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/must_support_test.rb +121 -0
  312. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/patient_search_test.rb +62 -0
  313. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/read_test.rb +32 -0
  314. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/service_date_search_test.rb +40 -0
  315. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/service_start_date_search_test.rb +40 -0
  316. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/type_search_test.rb +41 -0
  317. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/validation_test.rb +42 -0
  318. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/billable_period_start_search_test.rb +40 -0
  319. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/id_search_test.rb +40 -0
  320. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/identifier_search_test.rb +41 -0
  321. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_all_search_test.rb +37 -0
  322. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_careteam_search_test.rb +37 -0
  323. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_coverage_search_test.rb +37 -0
  324. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_insurer_search_test.rb +37 -0
  325. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_patient_search_test.rb +37 -0
  326. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_payee_search_test.rb +37 -0
  327. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_provider_search_test.rb +37 -0
  328. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/lastupdated_search_test.rb +40 -0
  329. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/metadata.yml +1129 -0
  330. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/must_support_test.rb +114 -0
  331. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/patient_search_test.rb +62 -0
  332. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/read_test.rb +32 -0
  333. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/service_date_search_test.rb +40 -0
  334. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/service_start_date_search_test.rb +40 -0
  335. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/type_search_test.rb +41 -0
  336. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/validation_test.rb +42 -0
  337. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/billable_period_start_search_test.rb +40 -0
  338. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/id_search_test.rb +40 -0
  339. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/identifier_search_test.rb +41 -0
  340. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_all_search_test.rb +37 -0
  341. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_careteam_search_test.rb +37 -0
  342. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_coverage_search_test.rb +37 -0
  343. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_insurer_search_test.rb +37 -0
  344. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_patient_search_test.rb +37 -0
  345. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_payee_search_test.rb +37 -0
  346. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_provider_search_test.rb +37 -0
  347. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/lastupdated_search_test.rb +40 -0
  348. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/metadata.yml +1199 -0
  349. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/must_support_test.rb +112 -0
  350. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/patient_search_test.rb +62 -0
  351. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/read_test.rb +32 -0
  352. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/service_date_search_test.rb +40 -0
  353. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/service_start_date_search_test.rb +40 -0
  354. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/type_search_test.rb +41 -0
  355. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/validation_test.rb +42 -0
  356. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/billable_period_start_search_test.rb +40 -0
  357. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/id_search_test.rb +40 -0
  358. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/identifier_search_test.rb +41 -0
  359. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_all_search_test.rb +37 -0
  360. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_careteam_search_test.rb +37 -0
  361. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_coverage_search_test.rb +37 -0
  362. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_insurer_search_test.rb +37 -0
  363. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_patient_search_test.rb +37 -0
  364. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_payee_search_test.rb +37 -0
  365. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_provider_search_test.rb +37 -0
  366. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/lastupdated_search_test.rb +40 -0
  367. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/metadata.yml +1136 -0
  368. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/must_support_test.rb +107 -0
  369. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/patient_search_test.rb +62 -0
  370. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/read_test.rb +32 -0
  371. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/service_date_search_test.rb +40 -0
  372. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/service_start_date_search_test.rb +40 -0
  373. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/type_search_test.rb +41 -0
  374. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/validation_test.rb +42 -0
  375. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/billable_period_start_search_test.rb +40 -0
  376. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/id_search_test.rb +40 -0
  377. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/identifier_search_test.rb +41 -0
  378. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_all_search_test.rb +37 -0
  379. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_careteam_search_test.rb +37 -0
  380. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_coverage_search_test.rb +37 -0
  381. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_insurer_search_test.rb +37 -0
  382. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_patient_search_test.rb +37 -0
  383. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_payee_search_test.rb +37 -0
  384. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_provider_search_test.rb +37 -0
  385. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/lastupdated_search_test.rb +40 -0
  386. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/metadata.yml +1178 -0
  387. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/must_support_test.rb +114 -0
  388. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/patient_search_test.rb +62 -0
  389. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/read_test.rb +32 -0
  390. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/service_date_search_test.rb +40 -0
  391. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/service_start_date_search_test.rb +40 -0
  392. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/type_search_test.rb +41 -0
  393. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/validation_test.rb +42 -0
  394. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/billable_period_start_search_test.rb +40 -0
  395. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/id_search_test.rb +40 -0
  396. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/identifier_search_test.rb +41 -0
  397. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_all_search_test.rb +37 -0
  398. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_careteam_search_test.rb +37 -0
  399. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_coverage_search_test.rb +37 -0
  400. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_insurer_search_test.rb +37 -0
  401. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_patient_search_test.rb +37 -0
  402. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_payee_search_test.rb +37 -0
  403. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_provider_search_test.rb +37 -0
  404. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/lastupdated_search_test.rb +40 -0
  405. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/metadata.yml +1081 -0
  406. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/must_support_test.rb +106 -0
  407. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/patient_search_test.rb +62 -0
  408. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/read_test.rb +32 -0
  409. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/service_date_search_test.rb +40 -0
  410. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/service_start_date_search_test.rb +40 -0
  411. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/type_search_test.rb +41 -0
  412. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/validation_test.rb +42 -0
  413. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/billable_period_start_search_test.rb +40 -0
  414. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/id_search_test.rb +40 -0
  415. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/identifier_search_test.rb +41 -0
  416. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_all_search_test.rb +37 -0
  417. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_careteam_search_test.rb +37 -0
  418. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_coverage_search_test.rb +37 -0
  419. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_insurer_search_test.rb +37 -0
  420. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_patient_search_test.rb +37 -0
  421. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_payee_search_test.rb +37 -0
  422. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_provider_search_test.rb +37 -0
  423. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/lastupdated_search_test.rb +40 -0
  424. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/metadata.yml +1129 -0
  425. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/must_support_test.rb +109 -0
  426. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/patient_search_test.rb +62 -0
  427. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/read_test.rb +32 -0
  428. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/service_date_search_test.rb +40 -0
  429. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/service_start_date_search_test.rb +40 -0
  430. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/type_search_test.rb +41 -0
  431. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/validation_test.rb +42 -0
  432. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/billable_period_start_search_test.rb +40 -0
  433. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/id_search_test.rb +40 -0
  434. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/identifier_search_test.rb +41 -0
  435. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_all_search_test.rb +37 -0
  436. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_careteam_search_test.rb +37 -0
  437. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_coverage_search_test.rb +37 -0
  438. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_insurer_search_test.rb +37 -0
  439. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_patient_search_test.rb +37 -0
  440. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_payee_search_test.rb +37 -0
  441. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_provider_search_test.rb +37 -0
  442. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/lastupdated_search_test.rb +40 -0
  443. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/metadata.yml +1064 -0
  444. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/must_support_test.rb +103 -0
  445. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/patient_search_test.rb +62 -0
  446. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/read_test.rb +32 -0
  447. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/service_date_search_test.rb +40 -0
  448. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/service_start_date_search_test.rb +40 -0
  449. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/type_search_test.rb +41 -0
  450. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/validation_test.rb +42 -0
  451. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/billable_period_start_search_test.rb +40 -0
  452. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/id_search_test.rb +40 -0
  453. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/identifier_search_test.rb +41 -0
  454. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_all_search_test.rb +37 -0
  455. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_careteam_search_test.rb +37 -0
  456. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_coverage_search_test.rb +37 -0
  457. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_insurer_search_test.rb +37 -0
  458. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_patient_search_test.rb +37 -0
  459. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_payee_search_test.rb +37 -0
  460. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_provider_search_test.rb +37 -0
  461. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/lastupdated_search_test.rb +40 -0
  462. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/metadata.yml +1233 -0
  463. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/must_support_test.rb +108 -0
  464. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/patient_search_test.rb +62 -0
  465. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/read_test.rb +32 -0
  466. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/service_date_search_test.rb +40 -0
  467. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/service_start_date_search_test.rb +40 -0
  468. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/type_search_test.rb +41 -0
  469. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/validation_test.rb +42 -0
  470. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/billable_period_start_search_test.rb +40 -0
  471. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/id_search_test.rb +40 -0
  472. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/identifier_search_test.rb +41 -0
  473. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_all_search_test.rb +37 -0
  474. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_careteam_search_test.rb +37 -0
  475. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_coverage_search_test.rb +37 -0
  476. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_insurer_search_test.rb +37 -0
  477. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_patient_search_test.rb +37 -0
  478. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_payee_search_test.rb +37 -0
  479. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_provider_search_test.rb +37 -0
  480. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/lastupdated_search_test.rb +40 -0
  481. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/metadata.yml +1170 -0
  482. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/must_support_test.rb +103 -0
  483. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/patient_search_test.rb +62 -0
  484. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/read_test.rb +32 -0
  485. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/service_date_search_test.rb +40 -0
  486. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/service_start_date_search_test.rb +40 -0
  487. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/type_search_test.rb +41 -0
  488. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/validation_test.rb +42 -0
  489. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/metadata.yml +12605 -0
  490. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/id_search_test.rb +62 -0
  491. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/lastupdated_search_test.rb +42 -0
  492. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/metadata.yml +168 -0
  493. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/must_support_test.rb +55 -0
  494. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/read_test.rb +32 -0
  495. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/validation_test.rb +42 -0
  496. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization_group.rb +86 -0
  497. data/lib/carin_for_blue_button_test_kit/generated/{v1.1.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb → v2.0.0-dev-nonfinancial/patient/id_search_test.rb} +18 -21
  498. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/lastupdated_search_test.rb +42 -0
  499. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/metadata.yml +256 -0
  500. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/must_support_test.rb +68 -0
  501. data/lib/carin_for_blue_button_test_kit/generated/{v1.1.0/patient/patient_read_test.rb → v2.0.0-dev-nonfinancial/patient/read_test.rb} +7 -14
  502. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/validation_test.rb +42 -0
  503. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient_group.rb +84 -0
  504. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/id_search_test.rb +62 -0
  505. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/lastupdated_search_test.rb +42 -0
  506. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/metadata.yml +144 -0
  507. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/must_support_test.rb +46 -0
  508. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/read_test.rb +32 -0
  509. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/validation_test.rb +42 -0
  510. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner_group.rb +86 -0
  511. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/id_search_test.rb +62 -0
  512. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/lastupdated_search_test.rb +42 -0
  513. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/metadata.yml +133 -0
  514. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/must_support_test.rb +47 -0
  515. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/read_test.rb +32 -0
  516. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/validation_test.rb +42 -0
  517. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person_group.rb +86 -0
  518. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/resource_list.rb +24 -0
  519. data/lib/carin_for_blue_button_test_kit/generator/group_generator.rb +104 -76
  520. data/lib/carin_for_blue_button_test_kit/generator/group_metadata.rb +82 -80
  521. data/lib/carin_for_blue_button_test_kit/generator/group_metadata_extractor.rb +42 -37
  522. data/lib/carin_for_blue_button_test_kit/generator/ig_metadata.rb +13 -10
  523. data/lib/carin_for_blue_button_test_kit/generator/ig_resources.rb +19 -13
  524. data/lib/carin_for_blue_button_test_kit/generator/include_search_test_generator.rb +26 -5
  525. data/lib/carin_for_blue_button_test_kit/generator/must_support_test_generator.rb +9 -6
  526. data/lib/carin_for_blue_button_test_kit/generator/naming.rb +13 -1
  527. data/lib/carin_for_blue_button_test_kit/generator/read_test_generator.rb +50 -15
  528. data/lib/carin_for_blue_button_test_kit/generator/search_definition_metadata_extractor.rb +58 -60
  529. data/lib/carin_for_blue_button_test_kit/generator/search_metadata_extractor.rb +14 -1
  530. data/lib/carin_for_blue_button_test_kit/generator/search_test_generator.rb +79 -37
  531. data/lib/carin_for_blue_button_test_kit/generator/special_cases.rb +0 -4
  532. data/lib/carin_for_blue_button_test_kit/generator/suite_generator.rb +9 -2
  533. data/lib/carin_for_blue_button_test_kit/generator/validation_test_generator.rb +8 -6
  534. data/lib/carin_for_blue_button_test_kit/generator.rb +4 -7
  535. data/lib/carin_for_blue_button_test_kit/igs/carin4bb-110/SearchParameter-Resource-id.json +1 -0
  536. data/lib/carin_for_blue_button_test_kit/igs/carin4bb-110/SearchParameter-Resource-lastUpdated.json +1 -0
  537. data/lib/carin_for_blue_button_test_kit/igs/carin4bb-200/SearchParameter-Resource-id.json +1 -0
  538. data/lib/carin_for_blue_button_test_kit/igs/carin4bb-200/SearchParameter-Resource-lastUpdated.json +1 -0
  539. data/lib/carin_for_blue_button_test_kit/igs/carin4bb-200-dev-nonfinancial-fixed/SearchParameter-Resource-id.json +1 -0
  540. data/lib/carin_for_blue_button_test_kit/igs/carin4bb-200-dev-nonfinancial-fixed/SearchParameter-Resource-lastUpdated.json +1 -0
  541. data/lib/carin_for_blue_button_test_kit/igs/carin4bb-200-dev-nonfinancial-fixed.tgz +0 -0
  542. data/lib/carin_for_blue_button_test_kit/must_support_test.rb +7 -7
  543. data/lib/carin_for_blue_button_test_kit/read_test.rb +56 -45
  544. data/lib/carin_for_blue_button_test_kit/search_test_properties.rb +2 -1
  545. data/lib/carin_for_blue_button_test_kit/version.rb +1 -1
  546. data/lib/carin_for_blue_button_test_kit.rb +1 -0
  547. metadata +499 -237
  548. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb +0 -38
  549. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb +0 -38
  550. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb +0 -38
  551. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb +0 -38
  552. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb +0 -38
  553. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb +0 -38
  554. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_read_test.rb +0 -39
  555. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_group.rb +0 -110
  556. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_all_search_test.rb +0 -38
  557. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_careteam_search_test.rb +0 -38
  558. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_coverage_search_test.rb +0 -38
  559. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_insurer_search_test.rb +0 -38
  560. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_patient_search_test.rb +0 -38
  561. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_provider_search_test.rb +0 -38
  562. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_identifier_search_test.rb +0 -49
  563. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_lastupdated_search_test.rb +0 -48
  564. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_patient_search_test.rb +0 -48
  565. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_read_test.rb +0 -39
  566. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_date_search_test.rb +0 -48
  567. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_type_search_test.rb +0 -49
  568. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional_group.rb +0 -58
  569. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_all_search_test.rb +0 -38
  570. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_careteam_search_test.rb +0 -38
  571. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_coverage_search_test.rb +0 -38
  572. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_insurer_search_test.rb +0 -38
  573. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_patient_search_test.rb +0 -38
  574. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_provider_search_test.rb +0 -38
  575. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_identifier_search_test.rb +0 -49
  576. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_lastupdated_search_test.rb +0 -48
  577. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_patient_search_test.rb +0 -48
  578. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_read_test.rb +0 -39
  579. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_date_search_test.rb +0 -48
  580. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_type_search_test.rb +0 -49
  581. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional_group.rb +0 -58
  582. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_all_search_test.rb +0 -38
  583. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_careteam_search_test.rb +0 -38
  584. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_coverage_search_test.rb +0 -38
  585. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_insurer_search_test.rb +0 -38
  586. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_patient_search_test.rb +0 -38
  587. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_provider_search_test.rb +0 -38
  588. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_read_test.rb +0 -39
  589. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy_group.rb +0 -58
  590. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_all_search_test.rb +0 -38
  591. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_careteam_search_test.rb +0 -38
  592. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_coverage_search_test.rb +0 -38
  593. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_insurer_search_test.rb +0 -38
  594. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_patient_search_test.rb +0 -38
  595. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_provider_search_test.rb +0 -38
  596. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_id_search_test.rb +0 -59
  597. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_identifier_search_test.rb +0 -49
  598. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_lastupdated_search_test.rb +0 -48
  599. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_patient_search_test.rb +0 -48
  600. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_read_test.rb +0 -39
  601. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_date_search_test.rb +0 -48
  602. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_type_search_test.rb +0 -49
  603. data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician_group.rb +0 -58
  604. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb +0 -38
  605. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb +0 -38
  606. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb +0 -38
  607. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb +0 -38
  608. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb +0 -38
  609. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb +0 -38
  610. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb +0 -38
  611. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_read_test.rb +0 -39
  612. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_group.rb +0 -118
  613. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_billable_period_start_search_test.rb +0 -48
  614. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_all_search_test.rb +0 -38
  615. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_careteam_search_test.rb +0 -38
  616. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_coverage_search_test.rb +0 -38
  617. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_insurer_search_test.rb +0 -38
  618. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_patient_search_test.rb +0 -38
  619. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_payee_search_test.rb +0 -38
  620. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_provider_search_test.rb +0 -38
  621. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_identifier_search_test.rb +0 -49
  622. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_lastupdated_search_test.rb +0 -48
  623. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_patient_search_test.rb +0 -48
  624. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_read_test.rb +0 -39
  625. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_date_search_test.rb +0 -48
  626. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_start_date_search_test.rb +0 -48
  627. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_type_search_test.rb +0 -49
  628. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional_group.rb +0 -58
  629. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_all_search_test.rb +0 -38
  630. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_read_test.rb +0 -39
  631. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral_group.rb +0 -58
  632. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_billable_period_start_search_test.rb +0 -48
  633. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_all_search_test.rb +0 -38
  634. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_careteam_search_test.rb +0 -38
  635. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_coverage_search_test.rb +0 -38
  636. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_insurer_search_test.rb +0 -38
  637. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_patient_search_test.rb +0 -38
  638. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_payee_search_test.rb +0 -38
  639. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_provider_search_test.rb +0 -38
  640. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_identifier_search_test.rb +0 -49
  641. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_lastupdated_search_test.rb +0 -48
  642. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_patient_search_test.rb +0 -48
  643. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_read_test.rb +0 -39
  644. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_date_search_test.rb +0 -48
  645. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_start_date_search_test.rb +0 -48
  646. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_type_search_test.rb +0 -49
  647. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional_group.rb +0 -58
  648. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_all_search_test.rb +0 -38
  649. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_careteam_search_test.rb +0 -38
  650. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_coverage_search_test.rb +0 -38
  651. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_insurer_search_test.rb +0 -38
  652. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_patient_search_test.rb +0 -38
  653. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_payee_search_test.rb +0 -38
  654. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_provider_search_test.rb +0 -38
  655. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb +0 -48
  656. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_read_test.rb +0 -39
  657. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy_group.rb +0 -58
  658. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_billable_period_start_search_test.rb +0 -48
  659. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_all_search_test.rb +0 -38
  660. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_careteam_search_test.rb +0 -38
  661. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_coverage_search_test.rb +0 -38
  662. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_insurer_search_test.rb +0 -38
  663. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_patient_search_test.rb +0 -38
  664. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_payee_search_test.rb +0 -38
  665. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_provider_search_test.rb +0 -38
  666. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_id_search_test.rb +0 -59
  667. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_identifier_search_test.rb +0 -49
  668. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_lastupdated_search_test.rb +0 -48
  669. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_patient_search_test.rb +0 -48
  670. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_read_test.rb +0 -39
  671. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_date_search_test.rb +0 -48
  672. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_start_date_search_test.rb +0 -48
  673. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_type_search_test.rb +0 -49
  674. data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician_group.rb +0 -58
@@ -1,109 +1,113 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CarinForBlueButtonTestKit
4
- module DateSearchValidation
5
- def get_fhir_datetime_range(datetime)
6
- range = { start: DateTime.xmlschema(datetime), end: nil }
7
- range[:end] =
8
- if /^\d{4}$/.match?(datetime) # YYYY
9
- range[:start].next_year - 1.seconds
10
- elsif /^\d{4}-\d{2}$/.match?(datetime) # YYYY-MM
11
- range[:start].next_month - 1.seconds
12
- elsif /^\d{4}-\d{2}-\d{2}$/.match?(datetime) # YYYY-MM-DD
13
- range[:start].next_day - 1.seconds
14
- else # YYYY-MM-DDThh:mm:ss+zz:zz
15
- range[:start]
16
- end
17
- range
18
- end
19
-
20
- def get_fhir_period_range(period)
21
- range = { start: nil, end: nil }
22
- range[:start] = DateTime.xmlschema(period[:start]) unless period[:start].nil?
23
- return range if period[:end].nil?
24
-
25
- period_end_beginning = DateTime.xmlschema(period[:end])
26
- range[:end] =
27
- if /^\d{4}$/.match?(period[:end]) # YYYY
28
- period_end_beginning.next_year - 1.seconds
29
- elsif /^\d{4}-\d{2}$/.match?(period[:end]) # YYYY-MM
30
- period_end_beginning.next_month - 1.seconds
31
- elsif /^\d{4}-\d{2}-\d{2}$/.match?(period[:end]) # YYYY-MM-DD
32
- period_end_beginning.next_day - 1.seconds
33
- else # YYYY-MM-DDThh:mm:ss+zz:zz
34
- period_end_beginning
35
- end
36
- range
37
- end
38
-
39
- def fhir_date_comparer(search_range, target_range, comparator, extend_start = false, extend_end = false)
40
- # Implicitly, a missing lower boundary is "less than" any actual date. A missing upper boundary is "greater than" any actual date.
41
- case comparator
42
- when 'eq' # the range of the search value fully contains the range of the target value
43
- !target_range[:start].nil? && !target_range[:end].nil? && search_range[:start] <= target_range[:start] && search_range[:end] >= target_range[:end]
44
- when 'ne' # the range of the search value does not fully contain the range of the target value
45
- target_range[:start].nil? || target_range[:end].nil? || search_range[:start] > target_range[:start] || search_range[:end] < target_range[:end]
46
- when 'gt' # the range above the search value intersects (i.e. overlaps) with the range of the target value
47
- target_range[:end].nil? || search_range[:end] < target_range[:end] || (search_range[:end] < (target_range[:end] + 1) && extend_end)
48
- when 'lt' # the range below the search value intersects (i.e. overlaps) with the range of the target value
49
- target_range[:start].nil? || search_range[:start] > target_range[:start] || (search_range[:start] > (target_range[:start] - 1) && extend_start)
50
- when 'ge'
51
- fhir_date_comparer(search_range, target_range, 'gt', extend_start, extend_end) || fhir_date_comparer(search_range, target_range, 'eq')
52
- when 'le'
53
- fhir_date_comparer(search_range, target_range, 'lt', extend_start, extend_end) || fhir_date_comparer(search_range, target_range, 'eq')
54
- when 'sa' # the range above the search value contains the range of the target value
55
- !target_range[:start].nil? && search_range[:end] < target_range[:start]
56
- when 'eb' # the range below the search value contains the range of the target value
57
- !target_range[:end].nil? && search_range[:start] > target_range[:end]
58
- when 'ap' # the range of the search value overlaps with the range of the target value
59
- if target_range[:start].nil? || target_range[:end].nil?
60
- (target_range[:start].nil? && search_range[:start] < target_range[:end]) ||
61
- (target_range[:end].nil? && search_range[:end] > target_range[:start])
62
- else
63
- (search_range[:start] >= target_range[:start] && search_range[:start] <= target_range[:end]) ||
64
- (search_range[:end] >= target_range[:start] && search_range[:end] <= target_range[:end])
65
- end
66
- end
67
- end
68
-
69
- def validate_date_search(search_value, target_value)
70
- if target_value.class == Hash
71
- validate_period_search(search_value, target_value)
4
+ module DateSearchValidation
5
+ def get_fhir_datetime_range(datetime)
6
+ range = { start: DateTime.xmlschema(datetime), end: nil }
7
+ range[:end] = case datetime
8
+ when /^\d{4}$/ # YYYY
9
+ range[:start].next_year - 1.seconds
10
+ when /^\d{4}-\d{2}$/ # YYYY-MM
11
+ range[:start].next_month - 1.seconds
12
+ when /^\d{4}-\d{2}-\d{2}$/ # YYYY-MM-DD
13
+ range[:start].next_day - 1.seconds
14
+ else # YYYY-MM-DDThh:mm:ss+zz:zz
15
+ range[:start]
16
+ end
17
+ range
18
+ end
19
+
20
+ def get_fhir_period_range(period)
21
+ range = { start: nil, end: nil }
22
+ range[:start] = DateTime.xmlschema(period.start) unless period.start.nil?
23
+ return range if period.end.nil?
24
+
25
+ period_end_beginning = DateTime.xmlschema(period.end)
26
+ range[:end] = case period.end
27
+ when /^\d{4}$/ # YYYY
28
+ period_end_beginning.next_year - 1.seconds
29
+ when /^\d{4}-\d{2}$/ # YYYY-MM
30
+ period_end_beginning.next_month - 1.seconds
31
+ when /^\d{4}-\d{2}-\d{2}$/ # YYYY-MM-DD
32
+ period_end_beginning.next_day - 1.seconds
33
+ else # YYYY-MM-DDThh:mm:ss+zz:zz
34
+ period_end_beginning
35
+ end
36
+ range
37
+ end
38
+
39
+ def fhir_date_comparer(search_range, target_range, comparator, extend_start = false, extend_end = false)
40
+ # Implicitly, a missing lower boundary is "less than" any actual date. A missing upper boundary is "greater than" any actual date.
41
+ case comparator
42
+ when 'eq' # the range of the search value fully contains the range of the target value
43
+ !target_range[:start].nil? && !target_range[:end].nil? && search_range[:start] <= target_range[:start] && search_range[:end] >= target_range[:end]
44
+ when 'ne' # the range of the search value does not fully contain the range of the target value
45
+ target_range[:start].nil? || target_range[:end].nil? || search_range[:start] > target_range[:start] || search_range[:end] < target_range[:end]
46
+ when 'gt' # the range above the search value intersects (i.e. overlaps) with the range of the target value
47
+ target_range[:end].nil? || search_range[:end] < target_range[:end] || (search_range[:end] < (target_range[:end] + 1) && extend_end)
48
+ when 'lt' # the range below the search value intersects (i.e. overlaps) with the range of the target value
49
+ target_range[:start].nil? || search_range[:start] > target_range[:start] || (search_range[:start] > (target_range[:start] - 1) && extend_start)
50
+ when 'ge'
51
+ fhir_date_comparer(search_range, target_range, 'gt', extend_start,
52
+ extend_end) || fhir_date_comparer(search_range, target_range, 'eq')
53
+ when 'le'
54
+ fhir_date_comparer(search_range, target_range, 'lt', extend_start,
55
+ extend_end) || fhir_date_comparer(search_range, target_range, 'eq')
56
+ when 'sa' # the range above the search value contains the range of the target value
57
+ !target_range[:start].nil? && search_range[:end] < target_range[:start]
58
+ when 'eb' # the range below the search value contains the range of the target value
59
+ !target_range[:end].nil? && search_range[:start] > target_range[:end]
60
+ when 'ap' # the range of the search value overlaps with the range of the target value
61
+ if target_range[:start].nil? || target_range[:end].nil?
62
+ (target_range[:start].nil? && search_range[:start] < target_range[:end]) ||
63
+ (target_range[:end].nil? && search_range[:end] > target_range[:start])
72
64
  else
73
- validate_datetime_search(search_value, target_value)
65
+ (search_range[:start] >= target_range[:start] && search_range[:start] <= target_range[:end]) ||
66
+ (search_range[:end] >= target_range[:start] && search_range[:end] <= target_range[:end])
74
67
  end
75
68
  end
76
-
77
- def validate_datetime_search(search_value, target_value)
78
- comparator = search_value[0..1]
79
- if ['eq', 'ge', 'gt', 'le', 'lt', 'ne', 'sa', 'eb', 'ap'].include? comparator
80
- search_value = search_value[2..-1]
81
- else
82
- comparator = 'eq'
83
- end
84
- search_is_date = is_date?(search_value)
85
- target_is_date = is_date?(target_value)
86
- search_range = get_fhir_datetime_range(search_value)
87
- target_range = get_fhir_datetime_range(target_value)
88
- fhir_date_comparer(search_range, target_range, comparator, !search_is_date && target_is_date, !search_is_date && target_is_date)
69
+ end
70
+
71
+ def validate_date_search(search_value, target_value)
72
+ if target_value.kind_of?(FHIR::Model)
73
+ validate_period_search(search_value, target_value)
74
+ else
75
+ validate_datetime_search(search_value, target_value)
89
76
  end
90
-
91
- def validate_period_search(search_value, target_value)
92
- comparator = search_value[0..1]
93
- if ['eq', 'ge', 'gt', 'le', 'lt', 'ne', 'sa', 'eb', 'ap'].include? comparator
94
- search_value = search_value[2..-1]
95
- else
96
- comparator = 'eq'
97
- end
98
- search_is_date = is_date?(search_value)
99
- search_range = get_fhir_datetime_range(search_value)
100
- target_range = get_fhir_period_range(target_value)
101
- fhir_date_comparer(search_range, target_range, comparator, !search_is_date && is_date?(target_value.start), !search_is_date && is_date?(target_value.end))
77
+ end
78
+
79
+ def validate_datetime_search(search_value, target_value)
80
+ comparator = search_value[0..1]
81
+ if %w[eq ge gt le lt ne sa eb ap].include? comparator
82
+ search_value = search_value[2..]
83
+ else
84
+ comparator = 'eq'
102
85
  end
103
-
104
- def is_date?(value)
105
- /^\d{4}(-\d{2})?(-\d{2})?$/.match?(value) # YYYY or YYYY-MM or YYYY-MM-DD
86
+ search_is_date = is_date?(search_value)
87
+ target_is_date = is_date?(target_value)
88
+ search_range = get_fhir_datetime_range(search_value)
89
+ target_range = get_fhir_datetime_range(target_value)
90
+ fhir_date_comparer(search_range, target_range, comparator, !search_is_date && target_is_date,
91
+ !search_is_date && target_is_date)
92
+ end
93
+
94
+ def validate_period_search(search_value, target_value)
95
+ comparator = search_value[0..1]
96
+ if %w[eq ge gt le lt ne sa eb ap].include? comparator
97
+ search_value = search_value[2..]
98
+ else
99
+ comparator = 'eq'
106
100
  end
101
+
102
+ search_is_date = is_date?(search_value)
103
+ search_range = get_fhir_datetime_range(search_value)
104
+ target_range = get_fhir_period_range(target_value)
105
+ fhir_date_comparer(search_range, target_range, comparator, !search_is_date && is_date?(target_value.start),
106
+ !search_is_date && is_date?(target_value.end))
107
+ end
108
+
109
+ def is_date?(value)
110
+ /^\d{4}(-\d{2})?(-\d{2})?$/.match?(value) # YYYY or YYYY-MM or YYYY-MM-DD
107
111
  end
108
112
  end
109
-
113
+ end
@@ -1,73 +1,72 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'json'
2
4
 
3
5
  module CarinForBlueButtonTestKit
4
- module FHIRResourceNavigation
5
- DAR_EXTENSION_URL = 'http://hl7.org/fhir/StructureDefinition/data-absent-reason'.freeze
6
-
7
- def resolve_path(elements, path)
8
- elements = Array.wrap(elements)
9
- return elements if path.blank?
10
-
11
- paths = path.split('.')
12
- segment = paths.first
13
- remaining_path = paths.drop(1).join('.')
14
-
15
- elements.flat_map do |element|
16
- child = get_next_value(element, segment)
17
- resolve_path(child, remaining_path)
18
- end.compact
6
+ module FHIRResourceNavigation
7
+ DAR_EXTENSION_URL = 'http://hl7.org/fhir/StructureDefinition/data-absent-reason'
19
8
 
20
- end
21
-
22
- def find_a_value_at(element, path, include_dar: false)
23
- return nil if element.nil?
9
+ def resolve_path(elements, path)
10
+ elements = Array.wrap(elements)
11
+ return elements if path.blank?
24
12
 
25
- elements = Array.wrap(element)
13
+ paths = path.split('.')
14
+ segment = paths.first
15
+ remaining_path = paths.drop(1).join('.')
26
16
 
27
- if path.empty?
28
- unless include_dar
29
- elements = elements.reject do |el|
30
- el.respond_to?(:extension) && el.extension.any? { |ext| ext.url == DAR_EXTENSION_URL}
31
- end
32
- end
17
+ elements.flat_map do |element|
18
+ child = get_next_value(element, segment)
19
+ resolve_path(child, remaining_path)
20
+ end.compact
21
+ end
22
+
23
+ def find_a_value_at(element, path, include_dar: false, &block)
24
+ return nil if element.nil?
33
25
 
34
- return elements.find { |el| yield(el) } if block_given?
35
-
36
- return elements.first
26
+ elements = Array.wrap(element)
27
+
28
+ if path.empty?
29
+ unless include_dar
30
+ elements = elements.reject do |el|
31
+ el.respond_to?(:extension) && el.extension.any? { |ext| ext.url == DAR_EXTENSION_URL }
32
+ end
37
33
  end
38
-
39
- path_segments = path.split('.')
40
- segment = path_segments.shift.delete_suffix('[x]').to_sym
41
-
42
- no_elements_present =
43
- elements.none? do |element|
34
+
35
+ return elements.find(&block) if block_given?
36
+
37
+ return elements.first
38
+ end
39
+
40
+ path_segments = path.split('.')
41
+ segment = path_segments.shift.delete_suffix('[x]').to_sym
42
+
43
+ no_elements_present =
44
+ elements.none? do |element|
44
45
  child = get_next_value(element, segment)
45
46
  child.present? || child == false
46
47
  end
47
-
48
- return nil if no_elements_present
49
48
 
50
- remaining_path = path_segments.join('.')
51
- elements.each do |element|
52
- child = get_next_value(element, segment)
53
- element_found =
54
- if block_given?
55
- find_a_value_at(child, remaining_path, include_dar: include_dar) { |value_found| yield(value_found) }
56
- else
57
- find_a_value_at(child, remaining_path, include_dar: include_dar)
58
- end
59
-
60
- return element_found if element_found.present? || element_found == false
61
- end
62
-
63
- nil
64
- end
65
-
66
- def get_next_value(element, property)
67
- element[property.to_s.strip]
68
- rescue NoMethodError
69
- nil
49
+ return nil if no_elements_present
50
+
51
+ remaining_path = path_segments.join('.')
52
+ elements.each do |element|
53
+ child = get_next_value(element, segment)
54
+ element_found = if block_given?
55
+ find_a_value_at(child, remaining_path, include_dar:, &block)
56
+ else
57
+ find_a_value_at(child, remaining_path, include_dar:)
58
+ end
59
+
60
+ return element_found if element_found.present? || element_found == false
70
61
  end
62
+
63
+ nil
64
+ end
65
+
66
+ def get_next_value(element, property)
67
+ element.send(property)
68
+ rescue NoMethodError
69
+ nil
71
70
  end
72
71
  end
73
-
72
+ end
@@ -3,21 +3,23 @@ require 'smart_app_launch_test_kit'
3
3
  require_relative '../../version'
4
4
 
5
5
  require_relative '../../capability_statement/capability_statement_group'
6
+ require_relative '../../custom_groups/v1.1.0/c4bb_smart_launch_group'
6
7
 
7
8
  require_relative 'patient_group'
9
+ require_relative 'eob_group'
8
10
  require_relative 'coverage_group'
9
- require_relative 'explanation_of_benefit_group'
10
- require_relative 'explanation_of_benefit_inpatient_institutional_group'
11
- require_relative 'explanation_of_benefit_outpatient_institutional_group'
12
- require_relative 'explanation_of_benefit_pharmacy_group'
13
- require_relative 'explanation_of_benefit_professional_non_clinician_group'
14
11
  require_relative 'organization_group'
15
12
  require_relative 'practitioner_group'
16
13
 
17
14
  module CarinForBlueButtonTestKit
18
15
  module CARIN4BBV110
19
- class C4BBTestKit < Inferno::TestSuite
16
+ class C4BBTestSuite < Inferno::TestSuite
20
17
  title 'CARIN IG for Blue Button® v1.1.0'
18
+ description %(
19
+ The CARIN for Blue Button test suite validates system conformance to the HL7® FHIR® [CARIN for Blue Button® Implementation Guide](http://hl7.org/fhir/us/carin-bb/STU1.1).
20
+
21
+
22
+ )
21
23
  version VERSION
22
24
  links [
23
25
  {
@@ -45,62 +47,36 @@ module CarinForBlueButtonTestKit
45
47
  input :url,
46
48
  title: 'FHIR Endpoint',
47
49
  description: 'URL of the FHIR endpoint'
48
- input :smart_credentials,
49
- title: 'OAuth Credentials',
50
- type: :oauth_credentials,
51
- optional: true
52
-
53
- # SMART Test Suite requirement
54
- group from: :smart_discovery,
55
- run_as_group: true
56
- group from: :smart_standalone_launch,
57
- run_as_group: true,
58
- config: {
59
- outputs: {
60
- patient_id: { name: :patient_ids },
61
- smart_credentials: { name: :smart_credentials }
62
- }
63
- },
64
- description: %(
65
- # Background
66
-
67
- The [Standalone
68
- Launch Sequence](https://www.hl7.org/fhir/smart-app-launch/1.0.0/index.html#standalone-launch-sequence)
69
- allows an app, like Inferno, to be launched independent of an
70
- existing EHR session. It is one of the two launch methods described in
71
- the SMART App Launch Framework alongside EHR Launch. The app will
72
- request authorization for the provided scope from the authorization
73
- endpoint, ultimately receiving an authorization token which can be used
74
- to gain access to resources on the FHIR server.
75
-
76
- # Test Methodology
77
-
78
- Inferno will redirect the user to the authorization endpoint so that
79
- they can provide any required credentials and authorize the application.
80
- Upon successful authorization, Inferno will exchange the authorization
81
- code provided for an access token.
82
-
83
- For more information on the #{title}:
84
-
85
- * [Standalone Launch Sequence](https://www.hl7.org/fhir/smart-app-launch/1.0.0/index.html#standalone-launch-sequence)
86
- )
87
50
 
88
51
  fhir_client do
89
52
  url :url
90
53
  oauth_credentials :smart_credentials
91
54
  end
92
55
 
93
- group from: :capability_statement_group
94
-
95
- group from: :c4bb_v110_patient
96
- group from: :c4bb_v110_coverage
97
- group from: :c4bb_v110_explanation_of_benefit
98
- group from: :c4bb_v110_explanation_of_benefit_inpatient_institutional
99
- group from: :c4bb_v110_explanation_of_benefit_outpatient_institutional
100
- group from: :c4bb_v110_explanation_of_benefit_pharmacy
101
- group from: :c4bb_v110_explanation_of_benefit_professional_non_clinician
102
- group from: :c4bb_v110_organization
103
- group from: :c4bb_v110_practitioner
56
+ group from: :c4bb_v110_smart_launch
57
+
58
+ group do
59
+ title 'C4BB FHIR API Tests'
60
+ description %(
61
+ The CARIN for Blue Button FHIR API Tests evaluate the ability of a system (C4BB FHIR Server)
62
+ to support required and optional FHIR operations and search parameters to return
63
+ conformant C4BB resources.
64
+ )
65
+
66
+ input :smart_credentials,
67
+ title: 'OAuth Credentials',
68
+ type: :oauth_credentials,
69
+ optional: true
70
+ input_order :url, :smart_credentials
71
+
72
+ group from: :capability_statement_group
73
+
74
+ group from: :c4bb_v110_patient
75
+ group from: :c4bb_v110_eob
76
+ group from: :c4bb_v110_coverage
77
+ group from: :c4bb_v110_organization
78
+ group from: :c4bb_v110_practitioner
79
+ end
104
80
  end
105
81
  end
106
82
  end
@@ -4,6 +4,7 @@
4
4
  :version: v1.1.0
5
5
  :reformatted_version: v110
6
6
  :resource: Coverage
7
+ :conformance_expectation: SHALL
7
8
  :profile_url: http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage
8
9
  :profile_name: C4BB Coverage
9
10
  :profile_version: 1.1.0
@@ -15,7 +16,22 @@
15
16
  :expectation: SHALL
16
17
  :operations: []
17
18
  :searches: []
18
- :search_definitions: {}
19
+ :search_definitions:
20
+ :payor:
21
+ :paths:
22
+ - payor
23
+ :full_paths:
24
+ - Coverage.payor
25
+ :comparators: {}
26
+ :values: []
27
+ :type: Reference
28
+ :target_paths:
29
+ - :path: payor
30
+ :target:
31
+ - Organization
32
+ - Patient
33
+ - RelatedPerson
34
+ :contains_multiple: false
19
35
  :include_params:
20
36
  - Coverage:payor
21
37
  :revincludes: []
@@ -134,11 +150,11 @@
134
150
  - http://hl7.org/fhir/StructureDefinition/Contract
135
151
  :tests:
136
152
  - :id: c4bb_v110_coverage_read_test
137
- :file_name: coverage_read_test.rb
153
+ :file_name: read_test.rb
138
154
  - :id: c4bb_v110_coverage_validation_test
139
- :file_name: coverage_validation_test.rb
155
+ :file_name: validation_test.rb
140
156
  - :id: c4bb_v110_coverage_must_support_test
141
- :file_name: coverage_must_support_test.rb
157
+ :file_name: must_support_test.rb
142
158
  :id: c4bb_v110_coverage
143
159
  :file_name: coverage_group.rb
144
160
  :delayed_references:
@@ -1,5 +1,5 @@
1
1
  require_relative '../../../must_support_test'
2
- require_relative './coverage_read_test'
2
+ require_relative './read_test'
3
3
  require_relative '../../../generator/group_metadata'
4
4
 
5
5
  module CarinForBlueButtonTestKit
@@ -15,7 +15,7 @@ module CarinForBlueButtonTestKit
15
15
  Statement. This test will look through the Coverage resources
16
16
  found previously for the following must support elements:
17
17
 
18
- * Coverage.beneficiary
18
+ * Coverage.beneficiary
19
19
  * Coverage.class
20
20
  * Coverage.class.name
21
21
  * Coverage.class.value
@@ -10,14 +10,13 @@ module CarinForBlueButtonTestKit
10
10
  description 'A server SHALL support the Coverage read interaction.'
11
11
 
12
12
  id :c4bb_v110_coverage_read_test
13
-
14
- input :coverage_ids,
15
- title: "coverage IDs",
13
+
14
+ input :additional_coverage_ids,
15
+ title: "Additional coverage IDs",
16
16
  type: 'text',
17
- description: "coverage Resource ID"
18
-
19
- input_order :url, :smart_credentials, :coverage_ids
20
-
17
+ description: "coverage Resource ID. This is optional, but must be provided if executing only the Coverage test group.",
18
+ optional: true
19
+
21
20
  def resource_type
22
21
  'Coverage'
23
22
  end
@@ -26,13 +25,13 @@ module CarinForBlueButtonTestKit
26
25
  scratch[:coverage_resources] ||= {}
27
26
  end
28
27
 
29
- def coverage_id_list
30
- return [nil] unless respond_to? :coverage_ids
31
- coverage_ids.split(',').map(&:strip)
28
+ def resource_ids
29
+ return [] unless respond_to? :additional_coverage_ids
30
+ additional_coverage_ids.split(',').map(&:strip)
32
31
  end
33
32
 
34
33
  run do
35
- perform_read_test(coverage_id_list)
34
+ perform_read_test(scratch.dig(:references, 'Coverage'))
36
35
  end
37
36
  end
38
37
  end
@@ -1,5 +1,5 @@
1
1
  require_relative '../../../validation_test'
2
- require_relative './coverage_read_test'
2
+ require_relative './read_test'
3
3
 
4
4
  module CarinForBlueButtonTestKit
5
5
  module CARIN4BBV110
@@ -9,8 +9,7 @@ module CarinForBlueButtonTestKit
9
9
 
10
10
  id :c4bb_v110_coverage_validation_test
11
11
  title 'Coverage resources returned during previous tests conform to the C4BB Coverage'
12
- description %(
13
- This test verifies resources returned from the first search conform to
12
+ description %(This test verifies resources returned from the first search conform to
14
13
  the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage).
15
14
  Systems must demonstrate at least one valid example in order to pass this test.
16
15
 
@@ -23,7 +22,7 @@ fail if their code/system are not found in the valueset.
23
22
  )
24
23
 
25
24
  output :dar_code_found, :dar_extension_found
26
-
25
+
27
26
  def resource_type
28
27
  'Coverage'
29
28
  end
@@ -1,14 +1,14 @@
1
- require_relative 'coverage/coverage_read_test'
2
- require_relative 'coverage/coverage_validation_test'
3
- require_relative 'coverage/coverage_must_support_test'
4
-
5
- module CarinForBlueButtonTestKit
6
- module CARIN4BBV110
7
- class CoverageGroup < Inferno::TestGroup
8
- title 'Coverage Tests'
9
- short_description 'Verify support for the server capabilities required by the C4BB Coverage.'
10
- description %(
11
- # Background
1
+ require_relative 'coverage/read_test'
2
+ require_relative 'coverage/validation_test'
3
+ require_relative 'coverage/must_support_test'
4
+
5
+ module CarinForBlueButtonTestKit
6
+ module CARIN4BBV110
7
+ class CoverageGroup < Inferno::TestGroup
8
+ title 'Coverage Tests'
9
+ short_description 'Verify support for the server capabilities required by the C4BB Coverage.'
10
+ description %(
11
+ # Background
12
12
 
13
13
  The CARIN for Blue Button Coverage sequence verifies that the system under test is
14
14
  able to provide correct responses for Coverage queries. These queries
@@ -40,19 +40,18 @@ At least one instance of each external reference in elements marked as
40
40
  The test will attempt to read each reference found and will fail if no
41
41
  read succeeds.
42
42
 
43
- )
44
-
45
- id :c4bb_v110_coverage
46
- run_as_group
47
-
48
- def self.metadata
49
- @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'coverage', 'metadata.yml'), aliases: true))
50
- end
51
-
52
- test from: :c4bb_v110_coverage_read_test
53
- test from: :c4bb_v110_coverage_validation_test
54
- test from: :c4bb_v110_coverage_must_support_test
55
- end
43
+ )
44
+
45
+ id :c4bb_v110_coverage
46
+ run_as_group
47
+
48
+ def self.metadata
49
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'coverage', 'metadata.yml'), aliases: true))
56
50
  end
51
+
52
+ test from: :c4bb_v110_coverage_read_test
53
+ test from: :c4bb_v110_coverage_validation_test
54
+ test from: :c4bb_v110_coverage_must_support_test
57
55
  end
58
-
56
+ end
57
+ end