Package ca.uhn.hl7v2.model.v24.segment
Class CM0
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.CM0
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 CM0 message segment (Clinical Study Master). This segment has the following fields:
- CM0-1: Set ID - CM0 (SI) optional
- CM0-2: Sponsor Study ID (EI)
- CM0-3: Alternate Study ID (EI) optional repeating
- CM0-4: Title of Study (ST)
- CM0-5: Chairman of Study (XCN) optional repeating
- CM0-6: Last IRB Approval Date (DT) optional
- CM0-7: Total Accrual to Date (NM) optional
- CM0-8: Last Accrual Date (DT) optional
- CM0-9: Contact for Study (XCN) optional repeating
- CM0-10: Contact's Telephone Number (XTN) optional
- CM0-11: Contact's Address (XAD) optional repeating
- 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) EI[]Returns all repetitions of Alternate Study ID (CM0-3).getAlternateStudyID(int rep) Returns a specific repetition of CM0-3: "Alternate Study ID" - creates it if necessaryintReturns a count of the current number of repetitions of Alternate Study ID (CM0-3).XCN[]Returns all repetitions of Chairman of Study (CM0-5).getChairmanOfStudy(int rep) Returns a specific repetition of CM0-5: "Chairman of Study" - creates it if necessaryintReturns a count of the current number of repetitions of Chairman of Study (CM0-5).Returns CM0-1: "Set ID - CM0" - creates it if necessaryReturns CM0-10: "Contact's Telephone Number" - creates it if necessaryXAD[]Returns all repetitions of Contact's Address (CM0-11).getCm011_ContactSAddress(int rep) Returns a specific repetition of CM0-11: "Contact's Address" - creates it if necessaryintReturns a count of the current number of repetitions of Contact's Address (CM0-11).Returns CM0-2: "Sponsor Study ID" - creates it if necessaryEI[]Returns all repetitions of Alternate Study ID (CM0-3).getCm03_AlternateStudyID(int rep) Returns a specific repetition of CM0-3: "Alternate Study ID" - creates it if necessaryintReturns a count of the current number of repetitions of Alternate Study ID (CM0-3).Returns CM0-4: "Title of Study" - creates it if necessaryXCN[]Returns all repetitions of Chairman of Study (CM0-5).getCm05_ChairmanOfStudy(int rep) Returns a specific repetition of CM0-5: "Chairman of Study" - creates it if necessaryintReturns a count of the current number of repetitions of Chairman of Study (CM0-5).Returns CM0-6: "Last IRB Approval Date" - creates it if necessaryReturns CM0-7: "Total Accrual to Date" - creates it if necessaryReturns CM0-8: "Last Accrual Date" - creates it if necessaryXCN[]Returns all repetitions of Contact for Study (CM0-9).getCm09_ContactForStudy(int rep) Returns a specific repetition of CM0-9: "Contact for Study" - creates it if necessaryintReturns a count of the current number of repetitions of Contact for Study (CM0-9).XCN[]Returns all repetitions of Contact for Study (CM0-9).getContactForStudy(int rep) Returns a specific repetition of CM0-9: "Contact for Study" - creates it if necessaryintReturns a count of the current number of repetitions of Contact for Study (CM0-9).XAD[]Returns all repetitions of Contact's Address (CM0-11).getContactSAddress(int rep) Returns a specific repetition of CM0-11: "Contact's Address" - creates it if necessaryintReturns a count of the current number of repetitions of Contact's Address (CM0-11).Returns CM0-10: "Contact's Telephone Number" - creates it if necessaryReturns CM0-8: "Last Accrual Date" - creates it if necessaryReturns CM0-6: "Last IRB Approval Date" - creates it if necessaryReturns CM0-1: "Set ID - CM0" - creates it if necessaryReturns CM0-2: "Sponsor Study ID" - creates it if necessaryReturns CM0-4: "Title of Study" - creates it if necessaryReturns CM0-7: "Total Accrual to Date" - creates it if necessaryinsertAlternateStudyID(int rep) Inserts a repetition of CM0-3: "Alternate Study ID" at a specific indexinsertChairmanOfStudy(int rep) Inserts a repetition of CM0-5: "Chairman of Study" at a specific indexinsertCm011_ContactSAddress(int rep) Inserts a repetition of CM0-11: "Contact's Address" at a specific indexinsertCm03_AlternateStudyID(int rep) Inserts a repetition of CM0-3: "Alternate Study ID" at a specific indexinsertCm05_ChairmanOfStudy(int rep) Inserts a repetition of CM0-5: "Chairman of Study" at a specific indexinsertCm09_ContactForStudy(int rep) Inserts a repetition of CM0-9: "Contact for Study" at a specific indexinsertContactForStudy(int rep) Inserts a repetition of CM0-9: "Contact for Study" at a specific indexinsertContactSAddress(int rep) Inserts a repetition of CM0-11: "Contact's Address" at a specific indexremoveAlternateStudyID(int rep) Removes a repetition of CM0-3: "Alternate Study ID" at a specific indexremoveChairmanOfStudy(int rep) Removes a repetition of CM0-5: "Chairman of Study" at a specific indexremoveCm011_ContactSAddress(int rep) Removes a repetition of CM0-11: "Contact's Address" at a specific indexremoveCm03_AlternateStudyID(int rep) Removes a repetition of CM0-3: "Alternate Study ID" at a specific indexremoveCm05_ChairmanOfStudy(int rep) Removes a repetition of CM0-5: "Chairman of Study" at a specific indexremoveCm09_ContactForStudy(int rep) Removes a repetition of CM0-9: "Contact for Study" at a specific indexremoveContactForStudy(int rep) Removes a repetition of CM0-9: "Contact for Study" at a specific indexremoveContactSAddress(int rep) Removes a repetition of CM0-11: "Contact's Address" 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
-
CM0
Creates a new CM0 segment
-
-
Method Details
-
getSetIDCM0
Returns CM0-1: "Set ID - CM0" - creates it if necessary -
getCm01_SetIDCM0
Returns CM0-1: "Set ID - CM0" - creates it if necessary -
getSponsorStudyID
Returns CM0-2: "Sponsor Study ID" - creates it if necessary -
getCm02_SponsorStudyID
Returns CM0-2: "Sponsor Study ID" - creates it if necessary -
getAlternateStudyID
Returns all repetitions of Alternate Study ID (CM0-3). -
getCm03_AlternateStudyID
Returns all repetitions of Alternate Study ID (CM0-3). -
getAlternateStudyIDReps
Returns a count of the current number of repetitions of Alternate Study ID (CM0-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getAlternateStudyID
Returns a specific repetition of CM0-3: "Alternate Study ID" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCm03_AlternateStudyID
Returns a specific repetition of CM0-3: "Alternate Study ID" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCm03_AlternateStudyIDReps
Returns a count of the current number of repetitions of Alternate Study ID (CM0-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertAlternateStudyID
Inserts a repetition of CM0-3: "Alternate Study ID" 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)
-
insertCm03_AlternateStudyID
Inserts a repetition of CM0-3: "Alternate Study ID" 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)
-
removeAlternateStudyID
Removes a repetition of CM0-3: "Alternate Study ID" 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)
-
removeCm03_AlternateStudyID
Removes a repetition of CM0-3: "Alternate Study ID" 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)
-
getTitleOfStudy
Returns CM0-4: "Title of Study" - creates it if necessary -
getCm04_TitleOfStudy
Returns CM0-4: "Title of Study" - creates it if necessary -
getChairmanOfStudy
Returns all repetitions of Chairman of Study (CM0-5). -
getCm05_ChairmanOfStudy
Returns all repetitions of Chairman of Study (CM0-5). -
getChairmanOfStudyReps
Returns a count of the current number of repetitions of Chairman of Study (CM0-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getChairmanOfStudy
Returns a specific repetition of CM0-5: "Chairman of Study" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCm05_ChairmanOfStudy
Returns a specific repetition of CM0-5: "Chairman of Study" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCm05_ChairmanOfStudyReps
Returns a count of the current number of repetitions of Chairman of Study (CM0-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertChairmanOfStudy
Inserts a repetition of CM0-5: "Chairman of Study" 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)
-
insertCm05_ChairmanOfStudy
Inserts a repetition of CM0-5: "Chairman of Study" 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)
-
removeChairmanOfStudy
Removes a repetition of CM0-5: "Chairman of Study" 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)
-
removeCm05_ChairmanOfStudy
Removes a repetition of CM0-5: "Chairman of Study" 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)
-
getLastIRBApprovalDate
Returns CM0-6: "Last IRB Approval Date" - creates it if necessary -
getCm06_LastIRBApprovalDate
Returns CM0-6: "Last IRB Approval Date" - creates it if necessary -
getTotalAccrualToDate
Returns CM0-7: "Total Accrual to Date" - creates it if necessary -
getCm07_TotalAccrualToDate
Returns CM0-7: "Total Accrual to Date" - creates it if necessary -
getLastAccrualDate
Returns CM0-8: "Last Accrual Date" - creates it if necessary -
getCm08_LastAccrualDate
Returns CM0-8: "Last Accrual Date" - creates it if necessary -
getContactForStudy
Returns all repetitions of Contact for Study (CM0-9). -
getCm09_ContactForStudy
Returns all repetitions of Contact for Study (CM0-9). -
getContactForStudyReps
Returns a count of the current number of repetitions of Contact for Study (CM0-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getContactForStudy
Returns a specific repetition of CM0-9: "Contact for Study" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCm09_ContactForStudy
Returns a specific repetition of CM0-9: "Contact for Study" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCm09_ContactForStudyReps
Returns a count of the current number of repetitions of Contact for Study (CM0-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertContactForStudy
Inserts a repetition of CM0-9: "Contact for Study" 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)
-
insertCm09_ContactForStudy
Inserts a repetition of CM0-9: "Contact for Study" 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)
-
removeContactForStudy
Removes a repetition of CM0-9: "Contact for Study" 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)
-
removeCm09_ContactForStudy
Removes a repetition of CM0-9: "Contact for Study" 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)
-
getContactSTelephoneNumber
Returns CM0-10: "Contact's Telephone Number" - creates it if necessary -
getCm010_ContactSTelephoneNumber
Returns CM0-10: "Contact's Telephone Number" - creates it if necessary -
getContactSAddress
Returns all repetitions of Contact's Address (CM0-11). -
getCm011_ContactSAddress
Returns all repetitions of Contact's Address (CM0-11). -
getContactSAddressReps
Returns a count of the current number of repetitions of Contact's Address (CM0-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getContactSAddress
Returns a specific repetition of CM0-11: "Contact's Address" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCm011_ContactSAddress
Returns a specific repetition of CM0-11: "Contact's Address" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCm011_ContactSAddressReps
Returns a count of the current number of repetitions of Contact's Address (CM0-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertContactSAddress
Inserts a repetition of CM0-11: "Contact's Address" 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)
-
insertCm011_ContactSAddress
Inserts a repetition of CM0-11: "Contact's Address" 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)
-
removeContactSAddress
Removes a repetition of CM0-11: "Contact's Address" 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)
-
removeCm011_ContactSAddress
Removes a repetition of CM0-11: "Contact's Address" 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)
-
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-