Skip to content

3. Add Implementation Guide Package

Keith Carlson Jr edited this page Jun 8, 2022 · 10 revisions

Goal

Validate against US Core 3.1.1 profiles.

Resources

Solution

patient_group.rb

run do
  assert_resource_type(:patient)
  assert_valid_resource(profile_url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient')
end

inferno_template.rb

assert_valid_bundle_entries(
  resource_types: {
    'Condition': 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition'
  }
)

link to the diff between step-1 and step-1-solution branches.

Clone this wiki locally