us_core_test_kit 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/generated/allergy_intolerance/metadata.yml +165 -0
  3. data/lib/us_core_test_kit/generated/bodyheight/metadata.yml +328 -0
  4. data/lib/us_core_test_kit/generated/bodytemp/metadata.yml +328 -0
  5. data/lib/us_core_test_kit/generated/bodyweight/metadata.yml +328 -0
  6. data/lib/us_core_test_kit/generated/bp/metadata.yml +379 -0
  7. data/lib/us_core_test_kit/generated/care_plan/metadata.yml +296 -0
  8. data/lib/us_core_test_kit/generated/care_team/metadata.yml +140 -0
  9. data/lib/us_core_test_kit/generated/condition/metadata.yml +231 -0
  10. data/lib/us_core_test_kit/generated/device/metadata.yml +1145 -0
  11. data/lib/us_core_test_kit/generated/diagnostic_report_lab/metadata.yml +1253 -0
  12. data/lib/us_core_test_kit/generated/diagnostic_report_note/metadata.yml +1246 -0
  13. data/lib/us_core_test_kit/generated/document_reference/metadata.yml +354 -0
  14. data/lib/us_core_test_kit/generated/encounter/metadata.yml +364 -0
  15. data/lib/us_core_test_kit/generated/goal/metadata.yml +195 -0
  16. data/lib/us_core_test_kit/generated/head_circumference/metadata.yml +323 -0
  17. data/lib/us_core_test_kit/generated/heartrate/metadata.yml +325 -0
  18. data/lib/us_core_test_kit/generated/immunization/metadata.yml +210 -0
  19. data/lib/us_core_test_kit/generated/medication_request/metadata.yml +307 -0
  20. data/lib/us_core_test_kit/generated/metadata.yml +12911 -0
  21. data/lib/us_core_test_kit/generated/observation_lab/metadata.yml +1287 -0
  22. data/lib/us_core_test_kit/generated/organization/metadata.yml +146 -0
  23. data/lib/us_core_test_kit/generated/patient/metadata.yml +320 -0
  24. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/metadata.yml +323 -0
  25. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/metadata.yml +323 -0
  26. data/lib/us_core_test_kit/generated/practitioner/metadata.yml +136 -0
  27. data/lib/us_core_test_kit/generated/procedure/metadata.yml +1265 -0
  28. data/lib/us_core_test_kit/generated/provenance/metadata.yml +185 -0
  29. data/lib/us_core_test_kit/generated/pulse_oximetry/metadata.yml +410 -0
  30. data/lib/us_core_test_kit/generated/resprate/metadata.yml +325 -0
  31. data/lib/us_core_test_kit/generated/smokingstatus/metadata.yml +292 -0
  32. data/lib/us_core_test_kit/version.rb +1 -1
  33. metadata +31 -1
@@ -0,0 +1,140 @@
1
+ ---
2
+ :name: us_core_careteam
3
+ :class_name: USCorev311CareteamSequence
4
+ :version: v3.1.1
5
+ :reformatted_version: v311
6
+ :resource: CareTeam
7
+ :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam
8
+ :profile_name: US Core CareTeam Profile
9
+ :title: CareTeam
10
+ :short_description: Verify support for the server capabilities required by the US
11
+ Core CareTeam Profile.
12
+ :interactions:
13
+ - :code: create
14
+ :expectation: MAY
15
+ - :code: search-type
16
+ :expectation: SHALL
17
+ - :code: read
18
+ :expectation: SHALL
19
+ - :code: vread
20
+ :expectation: SHOULD
21
+ - :code: update
22
+ :expectation: MAY
23
+ - :code: patch
24
+ :expectation: MAY
25
+ - :code: delete
26
+ :expectation: MAY
27
+ - :code: history-instance
28
+ :expectation: SHOULD
29
+ - :code: history-type
30
+ :expectation: MAY
31
+ :operations: []
32
+ :searches:
33
+ - :expectation: SHALL
34
+ :names:
35
+ - patient
36
+ - status
37
+ :names_not_must_support_or_mandatory: []
38
+ :must_support_or_mandatory: true
39
+ :search_definitions:
40
+ :patient:
41
+ :path: subject
42
+ :full_path: CareTeam.subject
43
+ :comparators: {}
44
+ :values: []
45
+ :type: Reference
46
+ :contains_multiple: false
47
+ :multiple_or: MAY
48
+ :status:
49
+ :path: status
50
+ :full_path: CareTeam.status
51
+ :comparators: {}
52
+ :values:
53
+ - proposed
54
+ - active
55
+ - suspended
56
+ - inactive
57
+ - entered-in-error
58
+ :type: code
59
+ :contains_multiple: false
60
+ :multiple_or: SHALL
61
+ :include_params: []
62
+ :revincludes:
63
+ - Provenance:target
64
+ :required_concepts: []
65
+ :must_supports:
66
+ :extensions: []
67
+ :slices: []
68
+ :elements:
69
+ - :path: status
70
+ - :path: subject
71
+ - :path: participant
72
+ - :path: participant.role
73
+ - :path: participant.member
74
+ :mandatory_elements:
75
+ - CareTeam.subject
76
+ - CareTeam.participant
77
+ - CareTeam.participant.role
78
+ - CareTeam.participant.member
79
+ :bindings:
80
+ - :type: code
81
+ :strength: preferred
82
+ :system: http://hl7.org/fhir/ValueSet/languages
83
+ :path: language
84
+ - :type: code
85
+ :strength: required
86
+ :system: http://hl7.org/fhir/ValueSet/care-team-status
87
+ :path: status
88
+ - :type: CodeableConcept
89
+ :strength: example
90
+ :system: http://hl7.org/fhir/ValueSet/care-team-category
91
+ :path: category
92
+ - :type: CodeableConcept
93
+ :strength: extensible
94
+ :system: http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles
95
+ :path: participant.role
96
+ - :type: CodeableConcept
97
+ :strength: example
98
+ :system: http://hl7.org/fhir/ValueSet/clinical-findings
99
+ :path: reasonCode
100
+ :references:
101
+ - :path: CareTeam.subject
102
+ :profiles:
103
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
104
+ - :path: CareTeam.encounter
105
+ :profiles:
106
+ - http://hl7.org/fhir/StructureDefinition/Encounter
107
+ - :path: CareTeam.participant.member
108
+ :profiles:
109
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
110
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
111
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
112
+ - :path: CareTeam.participant.onBehalfOf
113
+ :profiles:
114
+ - http://hl7.org/fhir/StructureDefinition/Organization
115
+ - :path: CareTeam.reasonReference
116
+ :profiles:
117
+ - http://hl7.org/fhir/StructureDefinition/Condition
118
+ - :path: CareTeam.managingOrganization
119
+ :profiles:
120
+ - http://hl7.org/fhir/StructureDefinition/Organization
121
+ :tests:
122
+ - :id: us_core_311_care_team_patient_status_search_test
123
+ :file_name: care_team_patient_status_search_test.rb
124
+ - :id: us_core_311_care_team_read_test
125
+ :file_name: care_team_read_test.rb
126
+ - :id: us_core_311_care_team_provenance_revinclude_search_test
127
+ :file_name: care_team_provenance_revinclude_search_test.rb
128
+ - :id: us_core_311_care_team_validation_test
129
+ :file_name: care_team_validation_test.rb
130
+ - :id: us_core_311_care_team_must_support_test
131
+ :file_name: care_team_must_support_test.rb
132
+ - :id: us_core_311_care_team_reference_resolution_test
133
+ :file_name: care_team_reference_resolution_test.rb
134
+ :id: us_core_311_care_team
135
+ :file_name: care_team_group.rb
136
+ :delayed_references:
137
+ - :path: participant.member
138
+ :resources:
139
+ - Practitioner
140
+ - Organization
@@ -0,0 +1,231 @@
1
+ ---
2
+ :name: us_core_condition
3
+ :class_name: USCorev311ConditionSequence
4
+ :version: v3.1.1
5
+ :reformatted_version: v311
6
+ :resource: Condition
7
+ :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition
8
+ :profile_name: US Core Condition Profile
9
+ :title: Condition
10
+ :short_description: Verify support for the server capabilities required by the US
11
+ Core Condition Profile.
12
+ :interactions:
13
+ - :code: create
14
+ :expectation: MAY
15
+ - :code: search-type
16
+ :expectation: SHALL
17
+ - :code: read
18
+ :expectation: SHALL
19
+ - :code: vread
20
+ :expectation: SHOULD
21
+ - :code: update
22
+ :expectation: MAY
23
+ - :code: patch
24
+ :expectation: MAY
25
+ - :code: delete
26
+ :expectation: MAY
27
+ - :code: history-instance
28
+ :expectation: SHOULD
29
+ - :code: history-type
30
+ :expectation: MAY
31
+ :operations: []
32
+ :searches:
33
+ - :names:
34
+ - patient
35
+ :expectation: SHALL
36
+ :names_not_must_support_or_mandatory: []
37
+ :must_support_or_mandatory: true
38
+ - :expectation: SHOULD
39
+ :names:
40
+ - patient
41
+ - onset-date
42
+ :names_not_must_support_or_mandatory:
43
+ - onset-date
44
+ :must_support_or_mandatory: false
45
+ - :expectation: SHOULD
46
+ :names:
47
+ - patient
48
+ - category
49
+ :names_not_must_support_or_mandatory: []
50
+ :must_support_or_mandatory: true
51
+ - :expectation: SHOULD
52
+ :names:
53
+ - patient
54
+ - clinical-status
55
+ :names_not_must_support_or_mandatory: []
56
+ :must_support_or_mandatory: true
57
+ - :expectation: SHOULD
58
+ :names:
59
+ - patient
60
+ - code
61
+ :names_not_must_support_or_mandatory: []
62
+ :must_support_or_mandatory: true
63
+ :search_definitions:
64
+ :patient:
65
+ :path: subject
66
+ :full_path: Condition.subject
67
+ :comparators: {}
68
+ :values: []
69
+ :type: Reference
70
+ :contains_multiple: false
71
+ :multiple_or: MAY
72
+ :onset-date:
73
+ :path: onsetDateTime
74
+ :full_path: Condition.onsetDateTime
75
+ :comparators:
76
+ :eq: MAY
77
+ :ne: MAY
78
+ :gt: SHALL
79
+ :ge: SHALL
80
+ :lt: SHALL
81
+ :le: SHALL
82
+ :sa: MAY
83
+ :eb: MAY
84
+ :ap: MAY
85
+ :values: []
86
+ :type: date
87
+ :contains_multiple: false
88
+ :multiple_or: MAY
89
+ :category:
90
+ :path: category
91
+ :full_path: Condition.category
92
+ :comparators: {}
93
+ :values:
94
+ - health-concern
95
+ :type: CodeableConcept
96
+ :contains_multiple: true
97
+ :multiple_or: MAY
98
+ :clinical-status:
99
+ :path: clinicalStatus
100
+ :full_path: Condition.clinicalStatus
101
+ :comparators: {}
102
+ :values:
103
+ - active
104
+ - recurrence
105
+ - relapse
106
+ - inactive
107
+ - remission
108
+ - resolved
109
+ :type: CodeableConcept
110
+ :contains_multiple: false
111
+ :multiple_or: MAY
112
+ :code:
113
+ :path: code
114
+ :full_path: Condition.code
115
+ :comparators: {}
116
+ :values:
117
+ - '160245001'
118
+ :type: CodeableConcept
119
+ :contains_multiple: false
120
+ :multiple_or: MAY
121
+ :include_params: []
122
+ :revincludes:
123
+ - Provenance:target
124
+ :required_concepts:
125
+ - clinicalStatus
126
+ - verificationStatus
127
+ :must_supports:
128
+ :extensions: []
129
+ :slices: []
130
+ :elements:
131
+ - :path: clinicalStatus
132
+ - :path: verificationStatus
133
+ - :path: category
134
+ - :path: code
135
+ - :path: subject
136
+ :mandatory_elements:
137
+ - Condition.category
138
+ - Condition.code
139
+ - Condition.subject
140
+ :bindings:
141
+ - :type: code
142
+ :strength: preferred
143
+ :system: http://hl7.org/fhir/ValueSet/languages
144
+ :path: language
145
+ - :type: CodeableConcept
146
+ :strength: required
147
+ :system: http://hl7.org/fhir/ValueSet/condition-clinical
148
+ :path: clinicalStatus
149
+ - :type: CodeableConcept
150
+ :strength: required
151
+ :system: http://hl7.org/fhir/ValueSet/condition-ver-status
152
+ :path: verificationStatus
153
+ - :type: CodeableConcept
154
+ :strength: extensible
155
+ :system: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
156
+ :path: category
157
+ - :type: CodeableConcept
158
+ :strength: preferred
159
+ :system: http://hl7.org/fhir/ValueSet/condition-severity
160
+ :path: severity
161
+ - :type: CodeableConcept
162
+ :strength: extensible
163
+ :system: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
164
+ :path: code
165
+ - :type: CodeableConcept
166
+ :strength: example
167
+ :system: http://hl7.org/fhir/ValueSet/body-site
168
+ :path: bodySite
169
+ - :type: CodeableConcept
170
+ :strength: example
171
+ :system: http://hl7.org/fhir/ValueSet/condition-stage
172
+ :path: stage.summary
173
+ - :type: CodeableConcept
174
+ :strength: example
175
+ :system: http://hl7.org/fhir/ValueSet/condition-stage-type
176
+ :path: stage.type
177
+ - :type: CodeableConcept
178
+ :strength: example
179
+ :system: http://hl7.org/fhir/ValueSet/manifestation-or-symptom
180
+ :path: evidence.code
181
+ :references:
182
+ - :path: Condition.subject
183
+ :profiles:
184
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
185
+ - :path: Condition.encounter
186
+ :profiles:
187
+ - http://hl7.org/fhir/StructureDefinition/Encounter
188
+ - :path: Condition.recorder
189
+ :profiles:
190
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
191
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
192
+ - http://hl7.org/fhir/StructureDefinition/Patient
193
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
194
+ - :path: Condition.asserter
195
+ :profiles:
196
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
197
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
198
+ - http://hl7.org/fhir/StructureDefinition/Patient
199
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
200
+ - :path: Condition.stage.assessment
201
+ :profiles:
202
+ - http://hl7.org/fhir/StructureDefinition/ClinicalImpression
203
+ - http://hl7.org/fhir/StructureDefinition/DiagnosticReport
204
+ - http://hl7.org/fhir/StructureDefinition/Observation
205
+ - :path: Condition.evidence.detail
206
+ :profiles:
207
+ - http://hl7.org/fhir/StructureDefinition/Resource
208
+ :tests:
209
+ - :id: us_core_311_condition_patient_search_test
210
+ :file_name: condition_patient_search_test.rb
211
+ - :id: us_core_311_condition_patient_onset_date_search_test
212
+ :file_name: condition_patient_onset_date_search_test.rb
213
+ - :id: us_core_311_condition_patient_category_search_test
214
+ :file_name: condition_patient_category_search_test.rb
215
+ - :id: us_core_311_condition_patient_clinical_status_search_test
216
+ :file_name: condition_patient_clinical_status_search_test.rb
217
+ - :id: us_core_311_condition_patient_code_search_test
218
+ :file_name: condition_patient_code_search_test.rb
219
+ - :id: us_core_311_condition_read_test
220
+ :file_name: condition_read_test.rb
221
+ - :id: us_core_311_condition_provenance_revinclude_search_test
222
+ :file_name: condition_provenance_revinclude_search_test.rb
223
+ - :id: us_core_311_condition_validation_test
224
+ :file_name: condition_validation_test.rb
225
+ - :id: us_core_311_condition_must_support_test
226
+ :file_name: condition_must_support_test.rb
227
+ - :id: us_core_311_condition_reference_resolution_test
228
+ :file_name: condition_reference_resolution_test.rb
229
+ :id: us_core_311_condition
230
+ :file_name: condition_group.rb
231
+ :delayed_references: []