public class HL7v2Message
extends java.lang.Object
Message
model.Constructor and Description |
---|
HL7v2Message(java.lang.String name,
java.lang.String messageType,
java.lang.String sendTime,
java.lang.String createTime,
java.lang.String data,
java.lang.String sendFacility,
@Nullable java.lang.String schematizedData,
@Nullable java.util.Map<java.lang.String,java.lang.String> labels) |
Modifier and Type | Method and Description |
---|---|
static HL7v2Message |
fromModel(com.google.api.services.healthcare.v1.model.Message msg)
From model
Message to hl7v2 message. |
java.lang.String |
getCreateTime()
Gets create time.
|
java.lang.String |
getData()
Gets data.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
Gets labels.
|
java.lang.String |
getMessageType()
Gets message type.
|
java.lang.String |
getName()
Gets name.
|
java.lang.String |
getSchematizedData()
Gets schematized data.
|
java.lang.String |
getSendFacility()
Gets send facility.
|
java.lang.String |
getSendTime()
Gets send time.
|
void |
setSchematizedData(java.lang.String schematizedData) |
com.google.api.services.healthcare.v1.model.Message |
toModel()
To model message.
|
java.lang.String |
toString() |
public HL7v2Message(java.lang.String name, java.lang.String messageType, java.lang.String sendTime, java.lang.String createTime, java.lang.String data, java.lang.String sendFacility, @Nullable java.lang.String schematizedData, @Nullable java.util.Map<java.lang.String,java.lang.String> labels)
public java.lang.String toString()
toString
in class java.lang.Object
public static HL7v2Message fromModel(com.google.api.services.healthcare.v1.model.Message msg)
Message
to hl7v2 message.msg
- the model msgpublic com.google.api.services.healthcare.v1.model.Message toModel()
public java.lang.String getName()
public java.lang.String getMessageType()
public java.lang.String getSendTime()
public java.lang.String getCreateTime()
public java.lang.String getData()
public java.lang.String getSendFacility()
public java.lang.String getSchematizedData()
public void setSchematizedData(java.lang.String schematizedData)
public java.util.Map<java.lang.String,java.lang.String> getLabels()