us_core_test_kit 0.2.2 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/us_core_test_kit/fhir_resource_navigation.rb +11 -3
- data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bp/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/care_plan/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/care_team/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/condition/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/device/device_must_support_test.rb +1 -2
- data/lib/us_core_test_kit/generated/v3.1.1/device/device_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/device/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_must_support_test.rb +1 -2
- data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/document_reference/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/encounter/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/goal/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/heartrate/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/immunization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/medication_request/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +32 -0
- data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/organization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/practitioner/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/procedure/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/provenance/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/resprate/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/care_plan/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/care_team/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/condition/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/device/device_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/device/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_must_support_test.rb +1 -2
- data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_must_support_test.rb +2 -4
- data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/encounter/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/goal/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/immunization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_must_support_test.rb +1 -2
- data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/medication_request/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +47 -2
- data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/organization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +13 -1
- data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_must_support_test.rb +8 -6
- data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/practitioner/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/procedure/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/provenance/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +2 -2
- data/lib/us_core_test_kit/generator/group_metadata.rb +1 -0
- data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +5 -0
- data/lib/us_core_test_kit/generator/ig_loader.rb +12 -5
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +23 -22
- data/lib/us_core_test_kit/generator/must_support_test_generator.rb +26 -3
- data/lib/us_core_test_kit/generator/validation_test_generator.rb +4 -0
- data/lib/us_core_test_kit/generator.rb +9 -14
- data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-bodyheight.json +0 -0
- data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-bodytemp.json +0 -0
- data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-bodyweight.json +0 -0
- data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-bp.json +0 -0
- data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-heartrate.json +0 -0
- data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-resprate.json +0 -0
- data/lib/us_core_test_kit/igs/{v311/package.tgz → us_core_311.tgz} +0 -0
- data/lib/us_core_test_kit/igs/{v400/package.tgz → us_core_400.tgz} +0 -0
- data/lib/us_core_test_kit/must_support_test.rb +25 -3
- data/lib/us_core_test_kit/search_test.rb +107 -48
- data/lib/us_core_test_kit/validation_test.rb +4 -2
- data/lib/us_core_test_kit/version.rb +3 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 153661141de8fedd5f0bd460226575041d132ea1ea8563ea5dd91043088367ca
|
4
|
+
data.tar.gz: 64e416316f73ba2f244ef366a124f9e53fc46abfc3a499f536f5f4f458945309
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0043a4b23b90ea9395d65f19ff4f6798fabaf55873159a0e52fb04b4381b1ec36717663b3e3734a60c312620d70b1280f7f73f1a1abe45fa26599764facd1e6d
|
7
|
+
data.tar.gz: 7808a0a2777e0c260007acfaedf42481cfca1773ca78b6c0de775e3a4b6599532b4f9bbbc6d4840ac5636ba5f72d952304f0323cfbcb9dda1fc7bd88f199243a
|
@@ -1,5 +1,7 @@
|
|
1
1
|
module USCoreTestKit
|
2
2
|
module FHIRResourceNavigation
|
3
|
+
DAR_EXTENSION_URL = 'http://hl7.org/fhir/StructureDefinition/data-absent-reason'.freeze
|
4
|
+
|
3
5
|
def resolve_path(elements, path)
|
4
6
|
elements = Array.wrap(elements)
|
5
7
|
return elements if path.blank?
|
@@ -14,12 +16,18 @@ module USCoreTestKit
|
|
14
16
|
end.compact
|
15
17
|
end
|
16
18
|
|
17
|
-
def find_a_value_at(element, path)
|
19
|
+
def find_a_value_at(element, path, include_dar: false)
|
18
20
|
return nil if element.nil?
|
19
21
|
|
20
22
|
elements = Array.wrap(element)
|
21
23
|
|
22
24
|
if path.empty?
|
25
|
+
unless include_dar
|
26
|
+
elements = elements.reject do |el|
|
27
|
+
el.respond_to?(:extension) && el.extension.any? { |ext| ext.url == DAR_EXTENSION_URL}
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
23
31
|
return elements.find { |el| yield(el) } if block_given?
|
24
32
|
|
25
33
|
return elements.first
|
@@ -43,9 +51,9 @@ module USCoreTestKit
|
|
43
51
|
child = get_next_value(element, segment)
|
44
52
|
element_found =
|
45
53
|
if block_given?
|
46
|
-
find_a_value_at(child, remaining_path) { |value_found| yield(value_found) }
|
54
|
+
find_a_value_at(child, remaining_path, include_dar: include_dar) { |value_found| yield(value_found) }
|
47
55
|
else
|
48
|
-
find_a_value_at(child, remaining_path)
|
56
|
+
find_a_value_at(child, remaining_path, include_dar: include_dar)
|
49
57
|
end
|
50
58
|
|
51
59
|
return element_found if element_found.present? || element_found == false
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: AllergyIntolerance
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance
|
8
8
|
:profile_name: US Core AllergyIntolerance Profile
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: AllergyIntolerance
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core AllergyIntolerance Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: Observation
|
7
7
|
:profile_url: http://hl7.org/fhir/StructureDefinition/bodyheight
|
8
8
|
:profile_name: Observation Body Height Profile
|
9
|
+
:profile_version: 4.0.1
|
9
10
|
:title: Observation Body Height
|
10
11
|
:short_description: Verify support for the server capabilities required by the Observation
|
11
12
|
Body Height Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: Observation
|
7
7
|
:profile_url: http://hl7.org/fhir/StructureDefinition/bodytemp
|
8
8
|
:profile_name: Observation Body Temperature Profile
|
9
|
+
:profile_version: 4.0.1
|
9
10
|
:title: Observation Body Temperature
|
10
11
|
:short_description: Verify support for the server capabilities required by the Observation
|
11
12
|
Body Temperature Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: Observation
|
7
7
|
:profile_url: http://hl7.org/fhir/StructureDefinition/bodyweight
|
8
8
|
:profile_name: Observation Body Weight Profile
|
9
|
+
:profile_version: 4.0.1
|
9
10
|
:title: Observation Body Weight
|
10
11
|
:short_description: Verify support for the server capabilities required by the Observation
|
11
12
|
Body Weight Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: Observation
|
7
7
|
:profile_url: http://hl7.org/fhir/StructureDefinition/bp
|
8
8
|
:profile_name: Observation Blood Pressure Profile
|
9
|
+
:profile_version: 4.0.1
|
9
10
|
:title: Observation Blood Pressure
|
10
11
|
:short_description: Verify support for the server capabilities required by the Observation
|
11
12
|
Blood Pressure Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: CarePlan
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan
|
8
8
|
:profile_name: US Core CarePlan Profile
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: CarePlan
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core CarePlan Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: CareTeam
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam
|
8
8
|
:profile_name: US Core CareTeam Profile
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: CareTeam
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core CareTeam Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: Condition
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition
|
8
8
|
:profile_name: US Core Condition Profile
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: Condition
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core Condition Profile.
|
@@ -20,8 +20,7 @@ module USCoreTestKit
|
|
20
20
|
* Device.serialNumber
|
21
21
|
* Device.type
|
22
22
|
* Device.udiCarrier
|
23
|
-
* Device.udiCarrier.carrierAIDC
|
24
|
-
* Device.udiCarrier.carrierHRF
|
23
|
+
* Device.udiCarrier.carrierAIDC or Device.udiCarrier.carrierHRF
|
25
24
|
* Device.udiCarrier.deviceIdentifier
|
26
25
|
)
|
27
26
|
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: Device
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device
|
8
8
|
:profile_name: US Core Implantable Device Profile
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: Implantable Device
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core Implantable Device Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: DiagnosticReport
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab
|
8
8
|
:profile_name: US Core DiagnosticReport Profile for Laboratory Results Reporting
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: DiagnosticReport for Laboratory Results Reporting
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core DiagnosticReport Profile for Laboratory Results Reporting.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: DiagnosticReport
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note
|
8
8
|
:profile_name: US Core DiagnosticReport Profile for Report and Note exchange
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: DiagnosticReport for Report and Note exchange
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core DiagnosticReport Profile for Report and Note exchange.
|
@@ -17,8 +17,7 @@ module USCoreTestKit
|
|
17
17
|
* DocumentReference.content
|
18
18
|
* DocumentReference.content.attachment
|
19
19
|
* DocumentReference.content.attachment.contentType
|
20
|
-
* DocumentReference.content.attachment.data
|
21
|
-
* DocumentReference.content.attachment.url
|
20
|
+
* DocumentReference.content.attachment.data or DocumentReference.content.attachment.url
|
22
21
|
* DocumentReference.content.format
|
23
22
|
* DocumentReference.context
|
24
23
|
* DocumentReference.context.encounter
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: DocumentReference
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference
|
8
8
|
:profile_name: US Core DocumentReference Profile
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: DocumentReference
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core DocumentReference Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: Encounter
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
|
8
8
|
:profile_name: US Core Encounter Profile
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: Encounter
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core Encounter Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: Goal
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal
|
8
8
|
:profile_name: US Core Goal Profile
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: Goal
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core Goal Profile.
|
data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_validation_test.rb
CHANGED
@@ -32,6 +32,7 @@ fail if their code/system are not found in the valueset.
|
|
32
32
|
run do
|
33
33
|
perform_validation_test(scratch_resources[:all] || [],
|
34
34
|
'http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile',
|
35
|
+
'3.1.1',
|
35
36
|
skip_if_empty: true)
|
36
37
|
end
|
37
38
|
end
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: Observation
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile
|
8
8
|
:profile_name: US Core Pediatric Head Occipital-frontal Circumference Percentile Profile
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: Pediatric Head Occipital-frontal Circumference Percentile
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core Pediatric Head Occipital-frontal Circumference Percentile Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: Observation
|
7
7
|
:profile_url: http://hl7.org/fhir/StructureDefinition/heartrate
|
8
8
|
:profile_name: Observation Heart Rate Profile
|
9
|
+
:profile_version: 4.0.1
|
9
10
|
:title: Observation Heart Rate
|
10
11
|
:short_description: Verify support for the server capabilities required by the Observation
|
11
12
|
Heart Rate Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: Immunization
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization
|
8
8
|
:profile_name: US Core Immunization Profile
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: Immunization
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core Immunization Profile.
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:resource: MedicationRequest
|
7
7
|
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest
|
8
8
|
:profile_name: US Core MedicationRequest Profile
|
9
|
+
:profile_version: 3.1.1
|
9
10
|
:title: MedicationRequest
|
10
11
|
:short_description: Verify support for the server capabilities required by the US
|
11
12
|
Core MedicationRequest Profile.
|