public static PersonUniversal createDataEnterer(NonCodedCDACommonFields commonFields) throws MissingMandatoryFieldException {
MissingMandatoryFieldException missingFields = new MissingMandatoryFieldException();
// Null checks for mandatory fields
if (commonFields.getDataEntererSDSID() == null) {
missingFields.addMissingField("dataEntererSDSID", "The SDS ID of the data enterer must be provided");
}
if (commonFields.getDataEntererSDSRoleID() == null) {
missingFields.addMissingField("dataEntererSDSRoleID", "The SDS Role ID of the data enterer must be provided");
}
if (commonFields.getDataEntererName() == null) {