Class KbvPatientBuilder
java.lang.Object
de.gematik.bbriccs.fhir.builder.BaseBuilder<R,B>
de.gematik.bbriccs.fhir.builder.ResourceBuilder<KbvPatient,KbvPatientBuilder>
de.gematik.test.erezept.fhir.builder.kbv.KbvPatientBuilder
public class KbvPatientBuilder
extends de.gematik.bbriccs.fhir.builder.ResourceBuilder<KbvPatient,KbvPatientBuilder>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress(de.gematik.bbriccs.fhir.de.valueset.Country country, String city, String postal, String street) address(org.hl7.fhir.r4.model.Address address) assigner(InstitutionalOrganization assigner) Set the Birth-Date as String in default Format (dd.MM.yyyy)build()static KbvPatientBuilderbuilder()kvnr(de.gematik.bbriccs.fhir.de.value.KVNR kvnr, de.gematik.bbriccs.fhir.de.valueset.InsuranceTypeDe insuranceType) Set the official name of the patientversion(KbvItaForVersion version) Attention: use with care as this setter might break automatic choice of the version.Methods inherited from class de.gematik.bbriccs.fhir.builder.ResourceBuilder
createResource, createResource, createResource, setIdToMethods inherited from class de.gematik.bbriccs.fhir.builder.BaseBuilder
checkRequired, checkRequiredExactlyOneOf, checkRequiredList, checkValueSet, checkValueSet, getResourceId, self, setId
-
Constructor Details
-
KbvPatientBuilder
public KbvPatientBuilder()
-
-
Method Details
-
builder
-
version
Attention: use with care as this setter might break automatic choice of the version. This builder will set the default version automatically, so there should be no need to provide an explicit version- Parameters:
version- to use for generation of this resource- Returns:
- Builder
-
kvnr
public KbvPatientBuilder kvnr(de.gematik.bbriccs.fhir.de.value.KVNR kvnr, de.gematik.bbriccs.fhir.de.valueset.InsuranceTypeDe insuranceType) -
name
Set the official name of the patient- Parameters:
given- given namefamily- family name- Returns:
- builder
-
name
-
birthDate
Set the Birth-Date as String in default Format (dd.MM.yyyy)- Parameters:
birthDate- Date of Birth- Returns:
- builder
-
birthDate
-
birthDate
-
address
-
address
public KbvPatientBuilder address(de.gematik.bbriccs.fhir.de.valueset.Country country, String city, String postal, String street) -
address
-
assigner
-
build
- Specified by:
buildin classde.gematik.bbriccs.fhir.builder.BaseBuilder<KbvPatient,KbvPatientBuilder>
-