okay let's smash this one out! We'll need two different tests for each of these cases
for the bundle with no variants you can update the "Bundle without variants" test (currently on 148) to submit the bundle, and then do the checks on the response from the fhir api.
for the bundle with variants you'll want to find all observations with the profile http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/variant. and there should only be one of those
http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/variant
. and there should only be one of those_Originally posted by @stefpiatek in https://github.com/gosh-dre/gmsa_genomic_fhir_webapp/pull/65#discussion_r989242163_