use of com.google.api.services.healthcare.v1.model.SchematizedData in project beam by apache.
the class HL7v2Message method toModel.
/**
* To model message.
*
* @return the message
*/
public Message toModel() {
Message out = new Message();
out.setName(this.getName());
out.setMessageType(this.getMessageType());
out.setSendTime(this.getSendTime());
out.setCreateTime(this.getCreateTime());
out.setData(this.getData());
out.setSendFacility(this.getSendFacility());
if (this.schematizedData != null) {
out.setSchematizedData(new SchematizedData().setData(this.schematizedData));
}
out.setLabels(this.labels);
return out;
}
Aggregations