Package ca.uhn.hl7v2.model.v23.segment
Class CM0
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.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: CM0 - Set ID (SI) optional
- CM0-2: Sponsor Study ID (EI)
- CM0-3: Alternate Study ID (CE) optional repeating
- CM0-4: Title of Study (ST)
- CM0-5: Chairman of Study (XCN) optional
- 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
- CM0-10: Contact's Tel. Number (XTN) optional
- CM0-11: Contact's Address (XAD) 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) CE[]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).Returns CM0-5: "Chairman of Study" - creates it if necessaryReturns CM0-1: "CM0 - Set ID" - creates it if necessaryReturns CM0-10: "Contact's Tel.Returns CM0-11: "Contact's Address" - creates it if necessaryReturns CM0-2: "Sponsor Study ID" - creates it if necessaryCE[]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 necessaryReturns CM0-5: "Chairman of Study" - creates it if necessaryReturns 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 necessaryReturns CM0-9: "Contact for Study" - creates it if necessaryReturns CM0-1: "CM0 - Set ID" - creates it if necessaryReturns CM0-9: "Contact for Study" - creates it if necessaryReturns CM0-11: "Contact's Address" - creates it if necessaryReturns CM0-10: "Contact's Tel.Returns CM0-8: "Last Accrual Date" - creates it if necessaryReturns CM0-6: "Last IRB Approval Date" - 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 indexinsertCm03_AlternateStudyID(int rep) Inserts a repetition of CM0-3: "Alternate Study ID" at a specific indexremoveAlternateStudyID(int rep) Removes a repetition of CM0-3: "Alternate Study ID" at a specific indexremoveCm03_AlternateStudyID(int rep) Removes a repetition of CM0-3: "Alternate Study ID" 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
-
getCM0SetID
Returns CM0-1: "CM0 - Set ID" - creates it if necessary -
getCm01_CM0SetID
Returns CM0-1: "CM0 - Set ID" - 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 CM0-5: "Chairman of Study" - creates it if necessary -
getCm05_ChairmanOfStudy
Returns CM0-5: "Chairman of Study" - creates it if necessary -
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 CM0-9: "Contact for Study" - creates it if necessary -
getCm09_ContactForStudy
Returns CM0-9: "Contact for Study" - creates it if necessary -
getContactSTelNumber
Returns CM0-10: "Contact's Tel. Number" - creates it if necessary -
getCm010_ContactSTelNumber
Returns CM0-10: "Contact's Tel. Number" - creates it if necessary -
getContactSAddress
Returns CM0-11: "Contact's Address" - creates it if necessary -
getCm011_ContactSAddress
Returns CM0-11: "Contact's Address" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-