Package ca.uhn.fhir.jpa.ips.api
Class Section.SectionBuilder
java.lang.Object
ca.uhn.fhir.jpa.ips.api.Section.SectionBuilder
- Enclosing class:
Section
-
Constructor Summary
ConstructorDescriptionSectionBuilder
(String theTitle, String theSectionSystem, String theSectionCode, String theSectionDisplay, String theProfile, INoInfoGenerator theNoInfoGenerator, List<Class<? extends org.hl7.fhir.instance.model.api.IBaseResource>> theResourceTypes) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
withNoInfoGenerator
(INoInfoGenerator theNoInfoGenerator) Supplies aINoInfoGenerator
which is used to create a stub resource to place in this section if no actual contents are found.withProfile
(String theProfile) withResourceType
(Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theResourceType) This method may be called multiple times if the section will contain multiple resource typeswithSectionCode
(String theSectionCode) withSectionDisplay
(String theSectionDisplay) withSectionSystem
(String theSectionSystem)
-
Constructor Details
-
SectionBuilder
public SectionBuilder(String theTitle, String theSectionSystem, String theSectionCode, String theSectionDisplay, String theProfile, INoInfoGenerator theNoInfoGenerator, List<Class<? extends org.hl7.fhir.instance.model.api.IBaseResource>> theResourceTypes)
-
-
Method Details
-
withTitle
-
withSectionSystem
-
withSectionCode
-
withSectionDisplay
-
withResourceType
public Section.SectionBuilder withResourceType(Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theResourceType) This method may be called multiple times if the section will contain multiple resource types -
withProfile
-
withNoInfoGenerator
Supplies aINoInfoGenerator
which is used to create a stub resource to place in this section if no actual contents are found. This can be null if you do not want any such stub to be included for this section. -
build
-