Click or drag to resize

MessageUtilsSetDefault Method (MSH, String, String, String)

Update the MSH on the specified MSH segment

Namespace:  SanteDB.Messaging.HL7.Utils
Assembly:  SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 2.2.1
Syntax
public static void SetDefault(
	this MSH msh,
	string receivingApplication,
	string receivingFacility,
	string security
)

Parameters

msh
Type: MSH
The message header to be updated
receivingApplication
Type: SystemString

[Missing <param name="receivingApplication"/> documentation for "M:SanteDB.Messaging.HL7.Utils.MessageUtils.SetDefault(NHapi.Model.V25.Segment.MSH,System.String,System.String,System.String)"]

receivingFacility
Type: SystemString

[Missing <param name="receivingFacility"/> documentation for "M:SanteDB.Messaging.HL7.Utils.MessageUtils.SetDefault(NHapi.Model.V25.Segment.MSH,System.String,System.String,System.String)"]

security
Type: SystemString

[Missing <param name="security"/> documentation for "M:SanteDB.Messaging.HL7.Utils.MessageUtils.SetDefault(NHapi.Model.V25.Segment.MSH,System.String,System.String,System.String)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MSH. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also