public static FhirIOPatientEverything getPatientEverything() {
    return new FhirIOPatientEverything();
  }
@Test
  public void test_FhirIO_failedPatientEverything() {
    PatientEverythingParameter input =
        PatientEverythingParameter.builder().setResourceName("bad-resource-name").build();
    FhirIOPatientEverything.Result everythingResult =
        pipeline.apply(Create.of(input)).apply(FhirIO.getPatientEverything());

    PCollection<HealthcareIOError<String>> failed = everythingResult.getFailedReads();
    PCollection<String> failedEverything =
        failed.apply(
            MapElements.into(TypeDescriptors.strings()).via(HealthcareIOError::getDataResource));

    PAssert.that(failedEverything).containsInAnyOrder(input.toString());
    PAssert.that(everythingResult.getPatientCompartments()).empty();
    pipeline.run();
  }