Class RQA_I09
- All Implemented Interfaces:
Group,Message,Structure,Visitable,Serializable
Represents a RQA_I09 message structure (see chapter ?). This structure contains the following elements:
- 1: MSH (Message header segment)
- 2: RF1 (Referral Information Segment) optional
- 3: RQA_I09_AUTHORIZATION (a Group object) optional
- 4: RQA_I09_PROVIDER (a Group object) repeating
- 5: PID (Patient Identification)
- 6: NK1 (Next of kin) optional repeating
- 7: RQA_I09_GUARANTOR_INSURANCE (a Group object) optional
- 8: ACC (Accident) optional
- 9: DG1 (Diagnosis) optional repeating
- 10: DRG (Diagnosis Related Group) optional repeating
- 11: AL1 (Patient allergy information) optional repeating
- 12: RQA_I09_PROCEDURE (a Group object) optional repeating
- 13: RQA_I09_RESULTS (a Group object) optional repeating
- 14: RQA_I09_VISIT (a Group object) optional
- 15: NTE (Notes and comments segment) optional repeating
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
ConstructorsConstructorDescriptionRQA_I09()Creates a new RQA_I09 message with DefaultModelClassFactory.RQA_I09(ModelClassFactory factory) Creates a new RQA_I09 message with custom ModelClassFactory. -
Method Summary
Modifier and TypeMethodDescriptiongetACC()Returns ACC (Accident) - creates it if necessarygetAL1()Returns the first repetition of AL1 (Patient allergy information) - creates it if necessarygetAL1(int rep) Returns a specific repetition of AL1 (Patient allergy information) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of AL1.intReturns the number of existing repetitions of AL1Returns AUTHORIZATION (a Group object) - creates it if necessarygetDG1()Returns the first repetition of DG1 (Diagnosis) - creates it if necessarygetDG1(int rep) Returns a specific repetition of DG1 (Diagnosis) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of DG1.intReturns the number of existing repetitions of DG1getDRG()Returns the first repetition of DRG (Diagnosis Related Group) - creates it if necessarygetDRG(int rep) Returns a specific repetition of DRG (Diagnosis Related Group) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of DRG.intReturns the number of existing repetitions of DRGReturns GUARANTOR_INSURANCE (a Group object) - creates it if necessarygetMSH()Returns MSH (Message header segment) - creates it if necessarygetNK1()Returns the first repetition of NK1 (Next of kin) - creates it if necessarygetNK1(int rep) Returns a specific repetition of NK1 (Next of kin) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of NK1.intReturns the number of existing repetitions of NK1getNTE()Returns the first repetition of NTE (Notes and comments segment) - creates it if necessarygetNTE(int rep) Returns a specific repetition of NTE (Notes and comments segment) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of NTE.intReturns the number of existing repetitions of NTEgetPID()Returns PID (Patient Identification) - creates it if necessaryReturns the first repetition of PROCEDURE (a Group object) - creates it if necessarygetPROCEDURE(int rep) Returns a specific repetition of PROCEDURE (a Group object) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of PROCEDURE.intReturns the number of existing repetitions of PROCEDUREReturns the first repetition of PROVIDER (a Group object) - creates it if necessarygetPROVIDER(int rep) Returns a specific repetition of PROVIDER (a Group object) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of PROVIDER.intReturns the number of existing repetitions of PROVIDERReturns the first repetition of RESULTS (a Group object) - creates it if necessarygetRESULTS(int rep) Returns a specific repetition of RESULTS (a Group object) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of RESULTS.intReturns the number of existing repetitions of RESULTSgetRF1()Returns RF1 (Referral Information Segment) - creates it if necessaryReturns "2.3"getVISIT()Returns VISIT (a Group object) - creates it if necessaryinsertAL1(int rep) Inserts a specific repetition of AL1 (Patient allergy information)voidInserts a specific repetition of AL1 (Patient allergy information)insertDG1(int rep) Inserts a specific repetition of DG1 (Diagnosis)voidInserts a specific repetition of DG1 (Diagnosis)insertDRG(int rep) Inserts a specific repetition of DRG (Diagnosis Related Group)voidInserts a specific repetition of DRG (Diagnosis Related Group)insertNK1(int rep) Inserts a specific repetition of NK1 (Next of kin)voidInserts a specific repetition of NK1 (Next of kin)insertNTE(int rep) Inserts a specific repetition of NTE (Notes and comments segment)voidInserts a specific repetition of NTE (Notes and comments segment)insertPROCEDURE(int rep) Inserts a specific repetition of PROCEDURE (a Group object)voidinsertPROCEDURE(RQA_I09_PROCEDURE structure, int rep) Inserts a specific repetition of PROCEDURE (a Group object)insertPROVIDER(int rep) Inserts a specific repetition of PROVIDER (a Group object)voidinsertPROVIDER(RQA_I09_PROVIDER structure, int rep) Inserts a specific repetition of PROVIDER (a Group object)insertRESULTS(int rep) Inserts a specific repetition of RESULTS (a Group object)voidinsertRESULTS(RQA_I09_RESULTS structure, int rep) Inserts a specific repetition of RESULTS (a Group object)removeAL1(int rep) Removes a specific repetition of AL1 (Patient allergy information)removeDG1(int rep) Removes a specific repetition of DG1 (Diagnosis)removeDRG(int rep) Removes a specific repetition of DRG (Diagnosis Related Group)removeNK1(int rep) Removes a specific repetition of NK1 (Next of kin)removeNTE(int rep) Removes a specific repetition of NTE (Notes and comments segment)removePROCEDURE(int rep) Removes a specific repetition of PROCEDURE (a Group object)removePROVIDER(int rep) Removes a specific repetition of PROVIDER (a Group object)removeRESULTS(int rep) Removes a specific repetition of RESULTS (a Group object)Methods inherited from class ca.uhn.hl7v2.model.AbstractMessage
accept, copy, encode, fillResponseHeader, generateACK, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParent, getParser, getValidationContext, initQuickstart, parse, printStructure, printStructure, setParser, toStringMethods inherited from class ca.uhn.hl7v2.model.AbstractGroup
add, add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getName, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insert, insertRepetition, insertRepetition, isChoiceElement, isEmpty, isGroup, isRepeating, isRequired, provideLocation, removeRepetition, tryToInstantiateStructure, visitNestedStructuresMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Group
addNonstandardSegment, addNonstandardSegment, get, get, getAll, getClass, getNames, isChoiceElement, isGroup, isRepeating, isRequiredMethods inherited from interface ca.uhn.hl7v2.model.Visitable
isEmpty, provideLocation
-
Constructor Details
-
RQA_I09
public RQA_I09()Creates a new RQA_I09 message with DefaultModelClassFactory. -
RQA_I09
Creates a new RQA_I09 message with custom ModelClassFactory.
-
-
Method Details
-
getVersion
Returns "2.3"- Specified by:
getVersionin interfaceMessage- Overrides:
getVersionin classAbstractMessage
-
getMSH
Returns MSH (Message header segment) - creates it if necessary
-
getRF1
Returns RF1 (Referral Information Segment) - creates it if necessary
-
getAUTHORIZATION
Returns AUTHORIZATION (a Group object) - creates it if necessary
-
getPROVIDER
Returns the first repetition of PROVIDER (a Group object) - creates it if necessary
-
getPROVIDER
Returns a specific repetition of PROVIDER (a Group object) - creates it if necessary
- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getPROVIDERReps
Returns the number of existing repetitions of PROVIDER
-
getPROVIDERAll
Returns a non-modifiable List containing all current existing repetitions of PROVIDER.
Note that unlike
getPROVIDER(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertPROVIDER
Inserts a specific repetition of PROVIDER (a Group object)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertPROVIDER
Inserts a specific repetition of PROVIDER (a Group object)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removePROVIDER
Removes a specific repetition of PROVIDER (a Group object)
- Throws:
HL7Exception- See Also:
-
getPID
Returns PID (Patient Identification) - creates it if necessary
-
getNK1
Returns the first repetition of NK1 (Next of kin) - creates it if necessary
-
getNK1
Returns a specific repetition of NK1 (Next of kin) - creates it if necessary
- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getNK1Reps
Returns the number of existing repetitions of NK1
-
getNK1All
Returns a non-modifiable List containing all current existing repetitions of NK1.
Note that unlike
getNK1(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertNK1
Inserts a specific repetition of NK1 (Next of kin)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertNK1
Inserts a specific repetition of NK1 (Next of kin)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeNK1
Removes a specific repetition of NK1 (Next of kin)
- Throws:
HL7Exception- See Also:
-
getGUARANTOR_INSURANCE
Returns GUARANTOR_INSURANCE (a Group object) - creates it if necessary
-
getACC
Returns ACC (Accident) - creates it if necessary
-
getDG1
Returns the first repetition of DG1 (Diagnosis) - creates it if necessary
-
getDG1
Returns a specific repetition of DG1 (Diagnosis) - creates it if necessary
- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getDG1Reps
Returns the number of existing repetitions of DG1
-
getDG1All
Returns a non-modifiable List containing all current existing repetitions of DG1.
Note that unlike
getDG1(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertDG1
Inserts a specific repetition of DG1 (Diagnosis)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertDG1
Inserts a specific repetition of DG1 (Diagnosis)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeDG1
Removes a specific repetition of DG1 (Diagnosis)
- Throws:
HL7Exception- See Also:
-
getDRG
Returns the first repetition of DRG (Diagnosis Related Group) - creates it if necessary
-
getDRG
Returns a specific repetition of DRG (Diagnosis Related Group) - creates it if necessary
- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getDRGReps
Returns the number of existing repetitions of DRG
-
getDRGAll
Returns a non-modifiable List containing all current existing repetitions of DRG.
Note that unlike
getDRG(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertDRG
Inserts a specific repetition of DRG (Diagnosis Related Group)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertDRG
Inserts a specific repetition of DRG (Diagnosis Related Group)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeDRG
Removes a specific repetition of DRG (Diagnosis Related Group)
- Throws:
HL7Exception- See Also:
-
getAL1
Returns the first repetition of AL1 (Patient allergy information) - creates it if necessary
-
getAL1
Returns a specific repetition of AL1 (Patient allergy information) - creates it if necessary
- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getAL1Reps
Returns the number of existing repetitions of AL1
-
getAL1All
Returns a non-modifiable List containing all current existing repetitions of AL1.
Note that unlike
getAL1(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertAL1
Inserts a specific repetition of AL1 (Patient allergy information)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertAL1
Inserts a specific repetition of AL1 (Patient allergy information)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeAL1
Removes a specific repetition of AL1 (Patient allergy information)
- Throws:
HL7Exception- See Also:
-
getPROCEDURE
Returns the first repetition of PROCEDURE (a Group object) - creates it if necessary
-
getPROCEDURE
Returns a specific repetition of PROCEDURE (a Group object) - creates it if necessary
- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getPROCEDUREReps
Returns the number of existing repetitions of PROCEDURE
-
getPROCEDUREAll
Returns a non-modifiable List containing all current existing repetitions of PROCEDURE.
Note that unlike
getPROCEDURE(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertPROCEDURE
Inserts a specific repetition of PROCEDURE (a Group object)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertPROCEDURE
Inserts a specific repetition of PROCEDURE (a Group object)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removePROCEDURE
Removes a specific repetition of PROCEDURE (a Group object)
- Throws:
HL7Exception- See Also:
-
getRESULTS
Returns the first repetition of RESULTS (a Group object) - creates it if necessary
-
getRESULTS
Returns a specific repetition of RESULTS (a Group object) - creates it if necessary
- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getRESULTSReps
Returns the number of existing repetitions of RESULTS
-
getRESULTSAll
Returns a non-modifiable List containing all current existing repetitions of RESULTS.
Note that unlike
getRESULTS(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertRESULTS
Inserts a specific repetition of RESULTS (a Group object)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertRESULTS
Inserts a specific repetition of RESULTS (a Group object)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeRESULTS
Removes a specific repetition of RESULTS (a Group object)
- Throws:
HL7Exception- See Also:
-
getVISIT
Returns VISIT (a Group object) - creates it if necessary
-
getNTE
Returns the first repetition of NTE (Notes and comments segment) - creates it if necessary
-
getNTE
Returns a specific repetition of NTE (Notes and comments segment) - creates it if necessary
- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getNTEReps
Returns the number of existing repetitions of NTE
-
getNTEAll
Returns a non-modifiable List containing all current existing repetitions of NTE.
Note that unlike
getNTE(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertNTE
Inserts a specific repetition of NTE (Notes and comments segment)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertNTE
Inserts a specific repetition of NTE (Notes and comments segment)
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeNTE
Removes a specific repetition of NTE (Notes and comments segment)
- Throws:
HL7Exception- See Also:
-