C# Class NHapi.Model.V271.Message.SRR_S01

Inheritance: AbstractMessage
Mostrar archivo Open project: nHapiNET/nHapi

Public Methods

Method Description
AddERR ( ) : ERR

Adds a new ERR

GetERR ( ) : ERR

Returns first repetition of ERR (Error) - creates it if necessary

GetERR ( int rep ) : ERR

Returns a specific repetition of ERR * (Error) - creates it if necessary throws HL7Exception if the repetition requested is more than one greater than the number of existing repetitions.

RemoveERR ( ERR toRemove ) : void

Removes the given ERR

RemoveERRAt ( int index ) : void

Removes the ERR at the given index

SRR_S01 ( ) : System

Creates a new SRR_S01 Group with DefaultModelClassFactory.

SRR_S01 ( IModelClassFactory factory ) : System

Creates a new SRR_S01 Group with custom IModelClassFactory.

Private Methods

Method Description
init ( IModelClassFactory factory ) : void

initalize method for SRR_S01. This does the segment setup for the message.

Method Details

AddERR() public method

Adds a new ERR
public AddERR ( ) : ERR
return ERR

GetERR() public method

Returns first repetition of ERR (Error) - creates it if necessary
public GetERR ( ) : ERR
return ERR

GetERR() public method

Returns a specific repetition of ERR * (Error) - creates it if necessary throws HL7Exception if the repetition requested is more than one greater than the number of existing repetitions.
public GetERR ( int rep ) : ERR
rep int
return ERR

RemoveERR() public method

Removes the given ERR
public RemoveERR ( ERR toRemove ) : void
toRemove ERR
return void

RemoveERRAt() public method

Removes the ERR at the given index
public RemoveERRAt ( int index ) : void
index int
return void

SRR_S01() public method

Creates a new SRR_S01 Group with DefaultModelClassFactory.
public SRR_S01 ( ) : System
return System

SRR_S01() public method

Creates a new SRR_S01 Group with custom IModelClassFactory.
public SRR_S01 ( IModelClassFactory factory ) : System
factory IModelClassFactory
return System