public static final class PV1.Builder extends Object
PV1.Builder
Build class used to construct and validate an PV1 object.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PV1 |
build()
Build
PV1 and validate necessary fields. |
PV1.Builder |
consultingDoctor(XCN value)
Set consulting doctor.
|
PV1.Builder |
patientClass(PatientClass value)
Set patient class.
|
public PV1.Builder patientClass(PatientClass value)
value - Patient class (not null).PV1.Builderpublic PV1.Builder consultingDoctor(XCN value)
value - Consulting doctor (not null).PV1.Builderpublic PV1 build() throws MDMValidationException
PV1 and validate necessary fields.PV1MDMValidationException - Thrown when validation of the PV1 contents fails.Copyright © 2021. All rights reserved.