public override string ToString() { List <string> lst = new List <string> { "MSH", EncodingCharacters.ToString(), SendingApplication.ToString(), SendingFacility.ToString(), ReceivingApplication.ToString(), ReceivingFacility.ToString(), DateTime.ToString(), Security, MessageType.ToString(), MessageControlID, ProcessingID.ToString(), VersionID.ToString() }; switch (Message.Version) { case "2.3": break; case "2.3.1": break; case "2.4": break; case "2.5": break; } return(string.Join(EncodingCharacters.FieldSeparator.ToString(), lst)); }
public override string ToString() { if (ProcessingMode == HL7Table.ProcessingMode.None) { return(ProcessingID.Value()); } return(ProcessingID.Value() + "^" + ProcessingMode.Value()); }
public virtual void SetProcessingCode(ProcessingID processingCode) { this.processingCode = processingCode; }