us_core_test_kit 0.4.2 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +7 -3
  3. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/metadata.yml +4 -1
  4. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_reference_resolution_test.rb +7 -3
  5. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_reference_resolution_test.rb +7 -3
  6. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_reference_resolution_test.rb +7 -3
  7. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_reference_resolution_test.rb +7 -3
  8. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_reference_resolution_test.rb +7 -3
  9. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_reference_resolution_test.rb +7 -3
  10. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_reference_resolution_test.rb +7 -3
  11. data/lib/us_core_test_kit/generated/v3.1.1/condition/metadata.yml +7 -1
  12. data/lib/us_core_test_kit/generated/v3.1.1/device/device_reference_resolution_test.rb +7 -3
  13. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +7 -3
  14. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +7 -3
  15. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_reference_resolution_test.rb +7 -3
  16. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_reference_resolution_test.rb +7 -3
  17. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_reference_resolution_test.rb +7 -3
  18. data/lib/us_core_test_kit/generated/v3.1.1/goal/metadata.yml +10 -1
  19. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_reference_resolution_test.rb +7 -3
  20. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_reference_resolution_test.rb +7 -3
  21. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_reference_resolution_test.rb +7 -3
  22. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_reference_resolution_test.rb +7 -3
  23. data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +21 -3
  24. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_reference_resolution_test.rb +7 -3
  25. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +7 -3
  26. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +7 -3
  27. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_reference_resolution_test.rb +7 -3
  28. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_reference_resolution_test.rb +7 -3
  29. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +7 -3
  30. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_reference_resolution_test.rb +7 -3
  31. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_reference_resolution_test.rb +7 -3
  32. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +7 -3
  33. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/metadata.yml +4 -1
  34. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_reference_resolution_test.rb +7 -3
  35. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_reference_resolution_test.rb +7 -3
  36. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_reference_resolution_test.rb +7 -3
  37. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_reference_resolution_test.rb +7 -3
  38. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_reference_resolution_test.rb +7 -3
  39. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_reference_resolution_test.rb +7 -3
  40. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_reference_resolution_test.rb +7 -3
  41. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_reference_resolution_test.rb +7 -3
  42. data/lib/us_core_test_kit/generated/v4.0.0/condition/metadata.yml +7 -1
  43. data/lib/us_core_test_kit/generated/v4.0.0/device/device_reference_resolution_test.rb +7 -3
  44. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +7 -3
  45. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +7 -3
  46. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_reference_resolution_test.rb +7 -3
  47. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_reference_resolution_test.rb +7 -3
  48. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_reference_resolution_test.rb +7 -3
  49. data/lib/us_core_test_kit/generated/v4.0.0/goal/metadata.yml +10 -1
  50. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_reference_resolution_test.rb +7 -3
  51. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +7 -3
  52. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_reference_resolution_test.rb +7 -3
  53. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_reference_resolution_test.rb +7 -3
  54. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_reference_resolution_test.rb +7 -3
  55. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +21 -3
  56. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_reference_resolution_test.rb +7 -3
  57. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +7 -3
  58. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +7 -3
  59. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_reference_resolution_test.rb +7 -3
  60. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_reference_resolution_test.rb +7 -3
  61. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +7 -3
  62. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_reference_resolution_test.rb +7 -3
  63. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_reference_resolution_test.rb +7 -3
  64. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +7 -3
  65. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/metadata.yml +4 -1
  66. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_reference_resolution_test.rb +7 -3
  67. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_reference_resolution_test.rb +7 -3
  68. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_reference_resolution_test.rb +7 -3
  69. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_reference_resolution_test.rb +7 -3
  70. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_reference_resolution_test.rb +7 -3
  71. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_reference_resolution_test.rb +7 -3
  72. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_reference_resolution_test.rb +7 -3
  73. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test.rb +7 -3
  74. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +7 -1
  75. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_reference_resolution_test.rb +7 -3
  76. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +7 -1
  77. data/lib/us_core_test_kit/generated/v5.0.1/device/device_reference_resolution_test.rb +7 -3
  78. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +7 -3
  79. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +7 -3
  80. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_reference_resolution_test.rb +7 -3
  81. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_reference_resolution_test.rb +7 -3
  82. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_reference_resolution_test.rb +7 -3
  83. data/lib/us_core_test_kit/generated/v5.0.1/goal/metadata.yml +10 -1
  84. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_reference_resolution_test.rb +7 -3
  85. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +7 -3
  86. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_reference_resolution_test.rb +7 -3
  87. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_reference_resolution_test.rb +7 -3
  88. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_reference_resolution_test.rb +7 -3
  89. data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +28 -4
  90. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_reference_resolution_test.rb +7 -3
  91. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_reference_resolution_test.rb +7 -3
  92. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_reference_resolution_test.rb +7 -3
  93. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_reference_resolution_test.rb +7 -3
  94. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_reference_resolution_test.rb +7 -3
  95. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_reference_resolution_test.rb +7 -3
  96. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +7 -3
  97. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +7 -3
  98. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_reference_resolution_test.rb +7 -3
  99. data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_reference_resolution_test.rb +7 -3
  100. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +7 -3
  101. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_reference_resolution_test.rb +7 -3
  102. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_reference_resolution_test.rb +7 -3
  103. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_reference_resolution_test.rb +7 -3
  104. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_reference_resolution_test.rb +7 -3
  105. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_reference_resolution_test.rb +7 -3
  106. data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +1 -1
  107. data/lib/us_core_test_kit/reference_resolution_test.rb +27 -4
  108. data/lib/us_core_test_kit/version.rb +1 -1
  109. metadata +2 -2
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within AllergyIntolerance resources can be read'
10
+ title 'MustSupport references within AllergyIntolerance resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * AllergyIntolerance.patient
17
21
  )
@@ -59,7 +59,10 @@
59
59
  :full_paths:
60
60
  - AllergyIntolerance.clinicalStatus
61
61
  :comparators: {}
62
- :values: []
62
+ :values:
63
+ - active
64
+ - inactive
65
+ - resolved
63
66
  :type: CodeableConcept
64
67
  :contains_multiple: false
65
68
  :multiple_or: MAY
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within CarePlan resources can be read'
10
+ title 'MustSupport references within CarePlan resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * CarePlan.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within CareTeam resources can be read'
10
+ title 'MustSupport references within CareTeam resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * CareTeam.participant.member
17
21
  * CareTeam.subject
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Condition resources can be read'
10
+ title 'MustSupport references within Condition resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Condition.encounter
17
21
  * Condition.subject
@@ -215,7 +215,13 @@
215
215
  :full_paths:
216
216
  - Condition.clinicalStatus
217
217
  :comparators: {}
218
- :values: []
218
+ :values:
219
+ - active
220
+ - recurrence
221
+ - relapse
222
+ - inactive
223
+ - remission
224
+ - resolved
219
225
  :type: CodeableConcept
220
226
  :contains_multiple: false
221
227
  :multiple_or: MAY
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Condition resources can be read'
10
+ title 'MustSupport references within Condition resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Condition.subject
17
21
  )
@@ -217,7 +217,13 @@
217
217
  :full_paths:
218
218
  - Condition.clinicalStatus
219
219
  :comparators: {}
220
- :values: []
220
+ :values:
221
+ - active
222
+ - recurrence
223
+ - relapse
224
+ - inactive
225
+ - remission
226
+ - resolved
221
227
  :type: CodeableConcept
222
228
  :contains_multiple: false
223
229
  :multiple_or: MAY
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Device resources can be read'
10
+ title 'MustSupport references within Device resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Device.patient
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within DiagnosticReport resources can be read'
10
+ title 'MustSupport references within DiagnosticReport resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * DiagnosticReport.performer
17
21
  * DiagnosticReport.result
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within DiagnosticReport resources can be read'
10
+ title 'MustSupport references within DiagnosticReport resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * DiagnosticReport.encounter
17
21
  * DiagnosticReport.media.link
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within DocumentReference resources can be read'
10
+ title 'MustSupport references within DocumentReference resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * DocumentReference.author
17
21
  * DocumentReference.context.encounter
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Encounter resources can be read'
10
+ title 'MustSupport references within Encounter resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Encounter.location.location
17
21
  * Encounter.participant.individual
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Goal resources can be read'
10
+ title 'MustSupport references within Goal resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Goal.subject
17
21
  )
@@ -90,7 +90,16 @@
90
90
  :full_paths:
91
91
  - Goal.lifecycleStatus
92
92
  :comparators: {}
93
- :values: []
93
+ :values:
94
+ - proposed
95
+ - planned
96
+ - accepted
97
+ - active
98
+ - on-hold
99
+ - completed
100
+ - cancelled
101
+ - entered-in-error
102
+ - rejected
94
103
  :type: code
95
104
  :contains_multiple: false
96
105
  :multiple_or: MAY
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Immunization resources can be read'
10
+ title 'MustSupport references within Immunization resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Immunization.patient
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within MedicationRequest resources can be read'
10
+ title 'MustSupport references within MedicationRequest resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * MedicationRequest.encounter
17
21
  * MedicationRequest.medication[x]
@@ -61,7 +61,10 @@
61
61
  :full_paths:
62
62
  - AllergyIntolerance.clinicalStatus
63
63
  :comparators: {}
64
- :values: []
64
+ :values:
65
+ - active
66
+ - inactive
67
+ - resolved
65
68
  :type: CodeableConcept
66
69
  :contains_multiple: false
67
70
  :multiple_or: MAY
@@ -761,7 +764,13 @@
761
764
  :full_paths:
762
765
  - Condition.clinicalStatus
763
766
  :comparators: {}
764
- :values: []
767
+ :values:
768
+ - active
769
+ - recurrence
770
+ - relapse
771
+ - inactive
772
+ - remission
773
+ - resolved
765
774
  :type: CodeableConcept
766
775
  :contains_multiple: false
767
776
  :multiple_or: MAY
@@ -1063,7 +1072,13 @@
1063
1072
  :full_paths:
1064
1073
  - Condition.clinicalStatus
1065
1074
  :comparators: {}
1066
- :values: []
1075
+ :values:
1076
+ - active
1077
+ - recurrence
1078
+ - relapse
1079
+ - inactive
1080
+ - remission
1081
+ - resolved
1067
1082
  :type: CodeableConcept
1068
1083
  :contains_multiple: false
1069
1084
  :multiple_or: MAY
@@ -2459,7 +2474,16 @@
2459
2474
  :full_paths:
2460
2475
  - Goal.lifecycleStatus
2461
2476
  :comparators: {}
2462
- :values: []
2477
+ :values:
2478
+ - proposed
2479
+ - planned
2480
+ - accepted
2481
+ - active
2482
+ - on-hold
2483
+ - completed
2484
+ - cancelled
2485
+ - entered-in-error
2486
+ - rejected
2463
2487
  :type: code
2464
2488
  :contains_multiple: false
2465
2489
  :multiple_or: MAY
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.subject
17
21
  )
@@ -7,11 +7,15 @@ module USCoreTestKit
7
7
  include USCoreTestKit::ReferenceResolutionTest
8
8
  include ResourceList
9
9
 
10
- title 'MustSupport references within Observation resources can be read'
10
+ title 'MustSupport references within Observation resources are valid'
11
11
  description %(
12
12
  This test will attempt to read external references provided within elements
13
- marked as 'MustSupport', if any are available. Elements which may provide
14
- external references include:
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
15
19
 
16
20
  * Observation.derivedFrom
17
21
  * Observation.hasMember