C# Class NHapi.Model.V26.Message.REF_I12

Inheritance: AbstractMessage
Mostrar archivo Open project: nHapiNET/nHapi

Public Methods

Method Description
AddAL1 ( ) : AL1

Adds a new AL1

AddDG1 ( ) : DG1

Adds a new DG1

AddDRG ( ) : DRG

Adds a new DRG

AddGT1 ( ) : GT1

Adds a new GT1

AddINSURANCE ( ) : REF_I12_INSURANCE

Adds a new REF_I12_INSURANCE

AddNK1 ( ) : NK1

Adds a new NK1

AddNTE ( ) : NTE

Adds a new NTE

AddOBSERVATION ( ) : REF_I12_OBSERVATION

Adds a new REF_I12_OBSERVATION

AddPROCEDURE ( ) : REF_I12_PROCEDURE

Adds a new REF_I12_PROCEDURE

AddPROVIDER_CONTACT ( ) : REF_I12_PROVIDER_CONTACT

Adds a new REF_I12_PROVIDER_CONTACT

AddSFT ( ) : SFT

Adds a new SFT

GetAL1 ( ) : AL1

Returns first repetition of AL1 (Patient Allergy Information) - creates it if necessary

GetAL1 ( int rep ) : AL1

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

GetDG1 ( ) : DG1

Returns first repetition of DG1 (Diagnosis) - creates it if necessary

GetDG1 ( int rep ) : DG1

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

GetDRG ( ) : DRG

Returns first repetition of DRG (Diagnosis Related Group) - creates it if necessary

GetDRG ( int rep ) : DRG

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

GetGT1 ( ) : GT1

Returns first repetition of GT1 (Guarantor) - creates it if necessary

GetGT1 ( int rep ) : GT1

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

GetINSURANCE ( ) : REF_I12_INSURANCE

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

GetINSURANCE ( int rep ) : REF_I12_INSURANCE

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

GetNK1 ( ) : NK1

Returns first repetition of NK1 (Next of Kin / Associated Parties) - creates it if necessary

GetNK1 ( int rep ) : NK1

Returns a specific repetition of NK1 * (Next of Kin / Associated Parties) - creates it if necessary throws HL7Exception if the repetition requested is more than one greater than the number of existing repetitions.

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.

GetOBSERVATION ( ) : REF_I12_OBSERVATION

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

GetOBSERVATION ( int rep ) : REF_I12_OBSERVATION

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

GetPROCEDURE ( ) : REF_I12_PROCEDURE

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

GetPROCEDURE ( int rep ) : REF_I12_PROCEDURE

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

GetPROVIDER_CONTACT ( ) : REF_I12_PROVIDER_CONTACT

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

GetPROVIDER_CONTACT ( int rep ) : REF_I12_PROVIDER_CONTACT

Returns a specific repetition of REF_I12_PROVIDER_CONTACT * (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.

REF_I12 ( ) : System

Creates a new REF_I12 Group with DefaultModelClassFactory.

REF_I12 ( IModelClassFactory factory ) : System

Creates a new REF_I12 Group with custom IModelClassFactory.

RemoveAL1 ( AL1 toRemove ) : void

Removes the given AL1

RemoveAL1At ( int index ) : void

Removes the AL1 at the given index

RemoveDG1 ( DG1 toRemove ) : void

Removes the given DG1

RemoveDG1At ( int index ) : void

Removes the DG1 at the given index

RemoveDRG ( DRG toRemove ) : void

Removes the given DRG

RemoveDRGAt ( int index ) : void

Removes the DRG at the given index

RemoveGT1 ( GT1 toRemove ) : void

Removes the given GT1

RemoveGT1At ( int index ) : void

Removes the GT1 at the given index

RemoveINSURANCE ( REF_I12_INSURANCE toRemove ) : void

Removes the given REF_I12_INSURANCE

RemoveINSURANCEAt ( int index ) : void

Removes the REF_I12_INSURANCE at the given index

RemoveNK1 ( NK1 toRemove ) : void

Removes the given NK1

RemoveNK1At ( int index ) : void

Removes the NK1 at the given index

RemoveNTE ( NTE toRemove ) : void

Removes the given NTE

RemoveNTEAt ( int index ) : void

Removes the NTE at the given index

RemoveOBSERVATION ( REF_I12_OBSERVATION toRemove ) : void

Removes the given REF_I12_OBSERVATION

RemoveOBSERVATIONAt ( int index ) : void

Removes the REF_I12_OBSERVATION at the given index

RemovePROCEDURE ( REF_I12_PROCEDURE toRemove ) : void

Removes the given REF_I12_PROCEDURE

RemovePROCEDUREAt ( int index ) : void

Removes the REF_I12_PROCEDURE at the given index

RemovePROVIDER_CONTACT ( REF_I12_PROVIDER_CONTACT toRemove ) : void

Removes the given REF_I12_PROVIDER_CONTACT

RemovePROVIDER_CONTACTAt ( int index ) : void

Removes the REF_I12_PROVIDER_CONTACT 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 REF_I12. This does the segment setup for the message.

Method Details

AddAL1() public method

Adds a new AL1
public AddAL1 ( ) : AL1
return AL1

AddDG1() public method

Adds a new DG1
public AddDG1 ( ) : DG1
return DG1

AddDRG() public method

Adds a new DRG
public AddDRG ( ) : DRG
return DRG

AddGT1() public method

Adds a new GT1
public AddGT1 ( ) : GT1
return GT1

AddINSURANCE() public method

Adds a new REF_I12_INSURANCE
public AddINSURANCE ( ) : REF_I12_INSURANCE
return REF_I12_INSURANCE

AddNK1() public method

Adds a new NK1
public AddNK1 ( ) : NK1
return NK1

AddNTE() public method

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

AddOBSERVATION() public method

Adds a new REF_I12_OBSERVATION
public AddOBSERVATION ( ) : REF_I12_OBSERVATION
return REF_I12_OBSERVATION

AddPROCEDURE() public method

Adds a new REF_I12_PROCEDURE
public AddPROCEDURE ( ) : REF_I12_PROCEDURE
return REF_I12_PROCEDURE

AddPROVIDER_CONTACT() public method

Adds a new REF_I12_PROVIDER_CONTACT
public AddPROVIDER_CONTACT ( ) : REF_I12_PROVIDER_CONTACT
return REF_I12_PROVIDER_CONTACT

AddSFT() public method

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

GetAL1() public method

Returns first repetition of AL1 (Patient Allergy Information) - creates it if necessary
public GetAL1 ( ) : AL1
return AL1

GetAL1() public method

Returns a specific repetition of AL1 * (Patient Allergy Information) - creates it if necessary throws HL7Exception if the repetition requested is more than one greater than the number of existing repetitions.
public GetAL1 ( int rep ) : AL1
rep int
return AL1

GetDG1() public method

Returns first repetition of DG1 (Diagnosis) - creates it if necessary
public GetDG1 ( ) : DG1
return DG1

GetDG1() public method

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

GetDRG() public method

Returns first repetition of DRG (Diagnosis Related Group) - creates it if necessary
public GetDRG ( ) : DRG
return DRG

GetDRG() public method

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

GetGT1() public method

Returns first repetition of GT1 (Guarantor) - creates it if necessary
public GetGT1 ( ) : GT1
return GT1

GetGT1() public method

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

GetINSURANCE() public method

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

GetINSURANCE() public method

Returns a specific repetition of REF_I12_INSURANCE * (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 GetINSURANCE ( int rep ) : REF_I12_INSURANCE
rep int
return REF_I12_INSURANCE

GetNK1() public method

Returns first repetition of NK1 (Next of Kin / Associated Parties) - creates it if necessary
public GetNK1 ( ) : NK1
return NK1

GetNK1() public method

Returns a specific repetition of NK1 * (Next of Kin / Associated Parties) - creates it if necessary throws HL7Exception if the repetition requested is more than one greater than the number of existing repetitions.
public GetNK1 ( int rep ) : NK1
rep int
return NK1

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

GetOBSERVATION() public method

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

GetOBSERVATION() public method

Returns a specific repetition of REF_I12_OBSERVATION * (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 GetOBSERVATION ( int rep ) : REF_I12_OBSERVATION
rep int
return REF_I12_OBSERVATION

GetPROCEDURE() public method

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

GetPROCEDURE() public method

Returns a specific repetition of REF_I12_PROCEDURE * (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 GetPROCEDURE ( int rep ) : REF_I12_PROCEDURE
rep int
return REF_I12_PROCEDURE

GetPROVIDER_CONTACT() public method

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

GetPROVIDER_CONTACT() public method

Returns a specific repetition of REF_I12_PROVIDER_CONTACT * (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 GetPROVIDER_CONTACT ( int rep ) : REF_I12_PROVIDER_CONTACT
rep int
return REF_I12_PROVIDER_CONTACT

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

REF_I12() public method

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

REF_I12() public method

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

RemoveAL1() public method

Removes the given AL1
public RemoveAL1 ( AL1 toRemove ) : void
toRemove AL1
return void

RemoveAL1At() public method

Removes the AL1 at the given index
public RemoveAL1At ( int index ) : void
index int
return void

RemoveDG1() public method

Removes the given DG1
public RemoveDG1 ( DG1 toRemove ) : void
toRemove DG1
return void

RemoveDG1At() public method

Removes the DG1 at the given index
public RemoveDG1At ( int index ) : void
index int
return void

RemoveDRG() public method

Removes the given DRG
public RemoveDRG ( DRG toRemove ) : void
toRemove DRG
return void

RemoveDRGAt() public method

Removes the DRG at the given index
public RemoveDRGAt ( int index ) : void
index int
return void

RemoveGT1() public method

Removes the given GT1
public RemoveGT1 ( GT1 toRemove ) : void
toRemove GT1
return void

RemoveGT1At() public method

Removes the GT1 at the given index
public RemoveGT1At ( int index ) : void
index int
return void

RemoveINSURANCE() public method

Removes the given REF_I12_INSURANCE
public RemoveINSURANCE ( REF_I12_INSURANCE toRemove ) : void
toRemove REF_I12_INSURANCE
return void

RemoveINSURANCEAt() public method

Removes the REF_I12_INSURANCE at the given index
public RemoveINSURANCEAt ( int index ) : void
index int
return void

RemoveNK1() public method

Removes the given NK1
public RemoveNK1 ( NK1 toRemove ) : void
toRemove NK1
return void

RemoveNK1At() public method

Removes the NK1 at the given index
public RemoveNK1At ( int index ) : void
index int
return void

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

RemoveOBSERVATION() public method

Removes the given REF_I12_OBSERVATION
public RemoveOBSERVATION ( REF_I12_OBSERVATION toRemove ) : void
toRemove REF_I12_OBSERVATION
return void

RemoveOBSERVATIONAt() public method

Removes the REF_I12_OBSERVATION at the given index
public RemoveOBSERVATIONAt ( int index ) : void
index int
return void

RemovePROCEDURE() public method

Removes the given REF_I12_PROCEDURE
public RemovePROCEDURE ( REF_I12_PROCEDURE toRemove ) : void
toRemove REF_I12_PROCEDURE
return void

RemovePROCEDUREAt() public method

Removes the REF_I12_PROCEDURE at the given index
public RemovePROCEDUREAt ( int index ) : void
index int
return void

RemovePROVIDER_CONTACT() public method

Removes the given REF_I12_PROVIDER_CONTACT
public RemovePROVIDER_CONTACT ( REF_I12_PROVIDER_CONTACT toRemove ) : void
toRemove REF_I12_PROVIDER_CONTACT
return void

RemovePROVIDER_CONTACTAt() public method

Removes the REF_I12_PROVIDER_CONTACT at the given index
public RemovePROVIDER_CONTACTAt ( 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