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

Inheritance: AbstractMessage
显示文件 Open project: nHapiNET/nHapi

Public Methods

Method Description
AddNTE ( ) : NTE

Adds a new NTE

AddORDER ( ) : RDE_O11_ORDER

Adds a new RDE_O11_ORDER

AddSFT ( ) : SFT

Adds a new SFT

GetNTE ( ) : NTE

Returns first repetition of NTE (Notes and Comments) - creates it if necessary

GetNTE ( int rep ) : NTE

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

GetORDER ( ) : RDE_O11_ORDER

Returns first repetition of RDE_O11_ORDER (a Group object) - creates it if necessary

GetORDER ( int rep ) : RDE_O11_ORDER

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

GetSFT ( ) : SFT

Returns first repetition of SFT (Software Segment) - creates it if necessary

GetSFT ( int rep ) : SFT

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

RDE_O11 ( ) : System

Creates a new RDE_O11 Group with DefaultModelClassFactory.

RDE_O11 ( IModelClassFactory factory ) : System

Creates a new RDE_O11 Group with custom IModelClassFactory.

RemoveNTE ( NTE toRemove ) : void

Removes the given NTE

RemoveNTEAt ( int index ) : void

Removes the NTE at the given index

RemoveORDER ( RDE_O11_ORDER toRemove ) : void

Removes the given RDE_O11_ORDER

RemoveORDERAt ( int index ) : void

Removes the RDE_O11_ORDER at the given index

RemoveSFT ( SFT toRemove ) : void

Removes the given SFT

RemoveSFTAt ( int index ) : void

Removes the SFT at the given index

Private Methods

Method Description
init ( IModelClassFactory factory ) : void

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

Method Details

AddNTE() public method

Adds a new NTE
public AddNTE ( ) : NTE
return NTE

AddORDER() public method

Adds a new RDE_O11_ORDER
public AddORDER ( ) : RDE_O11_ORDER
return RDE_O11_ORDER

AddSFT() public method

Adds a new SFT
public AddSFT ( ) : SFT
return SFT

GetNTE() public method

Returns first repetition of NTE (Notes and Comments) - creates it if necessary
public GetNTE ( ) : NTE
return NTE

GetNTE() public method

Returns a specific repetition of NTE * (Notes and Comments) - creates it if necessary throws HL7Exception if the repetition requested is more than one greater than the number of existing repetitions.
public GetNTE ( int rep ) : NTE
rep int
return NTE

GetORDER() public method

Returns first repetition of RDE_O11_ORDER (a Group object) - creates it if necessary
public GetORDER ( ) : RDE_O11_ORDER
return RDE_O11_ORDER

GetORDER() public method

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

GetSFT() public method

Returns first repetition of SFT (Software Segment) - creates it if necessary
public GetSFT ( ) : SFT
return SFT

GetSFT() public method

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

RDE_O11() public method

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

RDE_O11() public method

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

RemoveNTE() public method

Removes the given NTE
public RemoveNTE ( NTE toRemove ) : void
toRemove NTE
return void

RemoveNTEAt() public method

Removes the NTE at the given index
public RemoveNTEAt ( int index ) : void
index int
return void

RemoveORDER() public method

Removes the given RDE_O11_ORDER
public RemoveORDER ( RDE_O11_ORDER toRemove ) : void
toRemove RDE_O11_ORDER
return void

RemoveORDERAt() public method

Removes the RDE_O11_ORDER at the given index
public RemoveORDERAt ( int index ) : void
index int
return void

RemoveSFT() public method

Removes the given SFT
public RemoveSFT ( SFT toRemove ) : void
toRemove SFT
return void

RemoveSFTAt() public method

Removes the SFT at the given index
public RemoveSFTAt ( int index ) : void
index int
return void