Interface INoInfoGenerator

All Known Implementing Classes:
AllergyIntoleranceNoInfoR4Generator, MedicationNoInfoR4Generator, ProblemNoInfoR4Generator

public interface INoInfoGenerator
This interface is invoked when a section has no resources found, and should generate a "stub" resource explaining why. Typically this would be content such as "no information is available for this section", and might indicate for example that the absence of AllergyIntolerance resources only indicates that the allergy status is not known, not that the patient has no allergies.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hl7.fhir.instance.model.api.IBaseResource
    generate(org.hl7.fhir.instance.model.api.IIdType theSubjectId)
    Generate an appropriate no-info resource.
  • Method Details

    • generate

      org.hl7.fhir.instance.model.api.IBaseResource generate(org.hl7.fhir.instance.model.api.IIdType theSubjectId)
      Generate an appropriate no-info resource. The resource does not need to have an ID populated, although it can if it is a resource found in the repository.