Package ca.uhn.hl7v2.model.v251.segment
Class IAM
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.IAM
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 IAM message segment (Patient Adverse Reaction Information). This segment has the following fields:
- IAM-1: Set ID - IAM (SI)
- IAM-2: Allergen Type Code (CE) optional
- IAM-3: Allergen Code/Mnemonic/Description (CE)
- IAM-4: Allergy Severity Code (CE) optional
- IAM-5: Allergy Reaction Code (ST) optional repeating
- IAM-6: Allergy Action Code (CNE)
- IAM-7: Allergy Unique Identifier (EI) optional
- IAM-8: Action Reason (ST) optional
- IAM-9: Sensitivity to Causative Agent Code (CE) optional
- IAM-10: Allergen Group Code/Mnemonic/Description (CE) optional
- IAM-11: Onset Date (DT) optional
- IAM-12: Onset Date Text (ST) optional
- IAM-13: Reported Date/Time (TS) optional
- IAM-14: Reported By (XPN) optional
- IAM-15: Relationship to Patient Code (CE) optional
- IAM-16: Alert Device Code (CE) optional
- IAM-17: Allergy Clinical Status Code (CE) optional
- IAM-18: Statused by Person (XCN) optional
- IAM-19: Statused by Organization (XON) optional
- IAM-20: Statused at Date/Time (TS) optional
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns IAM-8: "Action Reason" - creates it if necessaryReturns IAM-16: "Alert Device Code" - creates it if necessaryReturns IAM-3: "Allergen Code/Mnemonic/Description" - creates it if necessaryReturns IAM-10: "Allergen Group Code/Mnemonic/Description" - creates it if necessaryReturns IAM-2: "Allergen Type Code" - creates it if necessaryReturns IAM-6: "Allergy Action Code" - creates it if necessaryReturns IAM-17: "Allergy Clinical Status Code" - creates it if necessaryST[]Returns all repetitions of Allergy Reaction Code (IAM-5).getAllergyReactionCode(int rep) Returns a specific repetition of IAM-5: "Allergy Reaction Code" - creates it if necessaryintReturns a count of the current number of repetitions of Allergy Reaction Code (IAM-5).Returns IAM-4: "Allergy Severity Code" - creates it if necessaryReturns IAM-7: "Allergy Unique Identifier" - creates it if necessaryReturns IAM-1: "Set ID - IAM" - creates it if necessaryReturns IAM-10: "Allergen Group Code/Mnemonic/Description" - creates it if necessaryReturns IAM-11: "Onset Date" - creates it if necessaryReturns IAM-12: "Onset Date Text" - creates it if necessaryReturns IAM-13: "Reported Date/Time" - creates it if necessaryReturns IAM-14: "Reported By" - creates it if necessaryReturns IAM-15: "Relationship to Patient Code" - creates it if necessaryReturns IAM-16: "Alert Device Code" - creates it if necessaryReturns IAM-17: "Allergy Clinical Status Code" - creates it if necessaryReturns IAM-18: "Statused by Person" - creates it if necessaryReturns IAM-19: "Statused by Organization" - creates it if necessaryReturns IAM-2: "Allergen Type Code" - creates it if necessaryReturns IAM-20: "Statused at Date/Time" - creates it if necessaryReturns IAM-3: "Allergen Code/Mnemonic/Description" - creates it if necessaryReturns IAM-4: "Allergy Severity Code" - creates it if necessaryST[]Returns all repetitions of Allergy Reaction Code (IAM-5).getIam5_AllergyReactionCode(int rep) Returns a specific repetition of IAM-5: "Allergy Reaction Code" - creates it if necessaryintReturns a count of the current number of repetitions of Allergy Reaction Code (IAM-5).Returns IAM-6: "Allergy Action Code" - creates it if necessaryReturns IAM-7: "Allergy Unique Identifier" - creates it if necessaryReturns IAM-8: "Action Reason" - creates it if necessaryReturns IAM-9: "Sensitivity to Causative Agent Code" - creates it if necessaryReturns IAM-11: "Onset Date" - creates it if necessaryReturns IAM-12: "Onset Date Text" - creates it if necessaryReturns IAM-15: "Relationship to Patient Code" - creates it if necessaryReturns IAM-14: "Reported By" - creates it if necessaryReturns IAM-13: "Reported Date/Time" - creates it if necessaryReturns IAM-9: "Sensitivity to Causative Agent Code" - creates it if necessaryReturns IAM-1: "Set ID - IAM" - creates it if necessaryReturns IAM-20: "Statused at Date/Time" - creates it if necessaryReturns IAM-19: "Statused by Organization" - creates it if necessaryReturns IAM-18: "Statused by Person" - creates it if necessaryinsertAllergyReactionCode(int rep) Inserts a repetition of IAM-5: "Allergy Reaction Code" at a specific indexinsertIam5_AllergyReactionCode(int rep) Inserts a repetition of IAM-5: "Allergy Reaction Code" at a specific indexremoveAllergyReactionCode(int rep) Removes a repetition of IAM-5: "Allergy Reaction Code" at a specific indexremoveIam5_AllergyReactionCode(int rep) Removes a repetition of IAM-5: "Allergy Reaction Code" at a specific indexMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
IAM
Creates a new IAM segment
-
-
Method Details
-
getSetIDIAM
Returns IAM-1: "Set ID - IAM" - creates it if necessary -
getIam1_SetIDIAM
Returns IAM-1: "Set ID - IAM" - creates it if necessary -
getAllergenTypeCode
Returns IAM-2: "Allergen Type Code" - creates it if necessary -
getIam2_AllergenTypeCode
Returns IAM-2: "Allergen Type Code" - creates it if necessary -
getAllergenCodeMnemonicDescription
Returns IAM-3: "Allergen Code/Mnemonic/Description" - creates it if necessary -
getIam3_AllergenCodeMnemonicDescription
Returns IAM-3: "Allergen Code/Mnemonic/Description" - creates it if necessary -
getAllergySeverityCode
Returns IAM-4: "Allergy Severity Code" - creates it if necessary -
getIam4_AllergySeverityCode
Returns IAM-4: "Allergy Severity Code" - creates it if necessary -
getAllergyReactionCode
Returns all repetitions of Allergy Reaction Code (IAM-5). -
getIam5_AllergyReactionCode
Returns all repetitions of Allergy Reaction Code (IAM-5). -
getAllergyReactionCodeReps
Returns a count of the current number of repetitions of Allergy Reaction Code (IAM-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getAllergyReactionCode
Returns a specific repetition of IAM-5: "Allergy Reaction Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getIam5_AllergyReactionCode
Returns a specific repetition of IAM-5: "Allergy Reaction Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getIam5_AllergyReactionCodeReps
Returns a count of the current number of repetitions of Allergy Reaction Code (IAM-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertAllergyReactionCode
Inserts a repetition of IAM-5: "Allergy Reaction Code" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertIam5_AllergyReactionCode
Inserts a repetition of IAM-5: "Allergy Reaction Code" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeAllergyReactionCode
Removes a repetition of IAM-5: "Allergy Reaction Code" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeIam5_AllergyReactionCode
Removes a repetition of IAM-5: "Allergy Reaction Code" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getAllergyActionCode
Returns IAM-6: "Allergy Action Code" - creates it if necessary -
getIam6_AllergyActionCode
Returns IAM-6: "Allergy Action Code" - creates it if necessary -
getAllergyUniqueIdentifier
Returns IAM-7: "Allergy Unique Identifier" - creates it if necessary -
getIam7_AllergyUniqueIdentifier
Returns IAM-7: "Allergy Unique Identifier" - creates it if necessary -
getActionReason
Returns IAM-8: "Action Reason" - creates it if necessary -
getIam8_ActionReason
Returns IAM-8: "Action Reason" - creates it if necessary -
getSensitivityToCausativeAgentCode
Returns IAM-9: "Sensitivity to Causative Agent Code" - creates it if necessary -
getIam9_SensitivityToCausativeAgentCode
Returns IAM-9: "Sensitivity to Causative Agent Code" - creates it if necessary -
getAllergenGroupCodeMnemonicDescription
Returns IAM-10: "Allergen Group Code/Mnemonic/Description" - creates it if necessary -
getIam10_AllergenGroupCodeMnemonicDescription
Returns IAM-10: "Allergen Group Code/Mnemonic/Description" - creates it if necessary -
getOnsetDate
Returns IAM-11: "Onset Date" - creates it if necessary -
getIam11_OnsetDate
Returns IAM-11: "Onset Date" - creates it if necessary -
getOnsetDateText
Returns IAM-12: "Onset Date Text" - creates it if necessary -
getIam12_OnsetDateText
Returns IAM-12: "Onset Date Text" - creates it if necessary -
getReportedDateTime
Returns IAM-13: "Reported Date/Time" - creates it if necessary -
getIam13_ReportedDateTime
Returns IAM-13: "Reported Date/Time" - creates it if necessary -
getReportedBy
Returns IAM-14: "Reported By" - creates it if necessary -
getIam14_ReportedBy
Returns IAM-14: "Reported By" - creates it if necessary -
getRelationshipToPatientCode
Returns IAM-15: "Relationship to Patient Code" - creates it if necessary -
getIam15_RelationshipToPatientCode
Returns IAM-15: "Relationship to Patient Code" - creates it if necessary -
getAlertDeviceCode
Returns IAM-16: "Alert Device Code" - creates it if necessary -
getIam16_AlertDeviceCode
Returns IAM-16: "Alert Device Code" - creates it if necessary -
getAllergyClinicalStatusCode
Returns IAM-17: "Allergy Clinical Status Code" - creates it if necessary -
getIam17_AllergyClinicalStatusCode
Returns IAM-17: "Allergy Clinical Status Code" - creates it if necessary -
getStatusedByPerson
Returns IAM-18: "Statused by Person" - creates it if necessary -
getIam18_StatusedByPerson
Returns IAM-18: "Statused by Person" - creates it if necessary -
getStatusedByOrganization
Returns IAM-19: "Statused by Organization" - creates it if necessary -
getIam19_StatusedByOrganization
Returns IAM-19: "Statused by Organization" - creates it if necessary -
getStatusedAtDateTime
Returns IAM-20: "Statused at Date/Time" - creates it if necessary -
getIam20_StatusedAtDateTime
Returns IAM-20: "Statused at Date/Time" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-