public class CareProviderBuilder extends Object
CareProvider
object with this builder object. create the builder , add the different parts with the builder methods, and
call build to retrieve the filled CareProvider
object.Constructor and Description |
---|
CareProviderBuilder(String quality,
String id)
creates the careProvider with the main identifier ( see cookbook).
|
public CareProviderBuilder(String quality, String id)
quality
- the quality of the careProvider ( see cookbook ).id
- the identifier ( nihiiNumber , ssin number, .. )public final CareProviderBuilder addPhysicalPersonIdentification(Identification identification)
CareProviderBuilder
with the specified identificationidentification
- the person data, supposed to be correctly filled inpublic final CareProviderBuilder addOrganisationIdentification(Identification identification)
CareProviderBuilder
with the specified identificationidentification
- the organisation data, supposed to be correctly filled inpublic final CareProviderBuilder addPhysicalPersonWithSsin(String name, String ssin)
CareProviderBuilder
with a professional given by ssinname
- the name of the personssin
- the ssin number of the personpublic final CareProviderBuilder addPhysicalPersonWithNihii(String name, String quality, String value)
CareProviderBuilder
with a professional given by nihiiname
- the name of the personquality
- the quality used in the nihiivalue
- the nihii numberpublic final CareProviderBuilder addOrganisationWithNihii(String name, String quality, String value)
CareProviderBuilder
with a nihii organizationname
- the name of the organisationquality
- the quality of the nihii numbervalue
- the nihii numberpublic final CareProviderBuilder addOrganisationWithCbe(String name, String cbeNumber)
CareProviderBuilder
with a cbe organizationname
- the organisation namecbeNumber
- the CBE numberpublic final CareProvider build()
CareProvider
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.