Package ca.uhn.hl7v2.model.v23.segment
Class CSR
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.segment.CSR
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 CSR message segment (Clinical Study Registration). This segment has the following fields:
- CSR-1: Sponsor Study ID (EI)
- CSR-2: Alternate Study ID (EI) optional
- CSR-3: Institution Registering the Patient (CE) optional
- CSR-4: Sponsor Patient ID (CX)
- CSR-5: Alternate Patient ID (CX) optional
- CSR-6: Date/Time of Patient Study Registration (TS) optional
- CSR-7: Person Performing Study Registration (XCN) optional
- CSR-8: Study Authorizing Provider (XCN)
- CSR-9: Date/time Patient Study Consent Signed (TS) optional
- CSR-10: Patient Study Eligibility Status (CE) optional
- CSR-11: Study Randomization Date/time (TS) optional repeating
- CSR-12: Study Randomized Arm (CE) optional repeating
- CSR-13: Stratum for Study Randomization (CE) optional repeating
- CSR-14: Patient Evaluability Status (CE) optional
- CSR-15: Date/time Ended Study (TS) optional
- CSR-16: Reason Ended Study (CE) 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 CSR-5: "Alternate Patient ID" - creates it if necessaryReturns CSR-2: "Alternate Study ID" - creates it if necessaryReturns CSR-1: "Sponsor Study ID" - creates it if necessaryReturns CSR-10: "Patient Study Eligibility Status" - creates it if necessaryTS[]Returns all repetitions of Study Randomization Date/time (CSR-11).getCsr11_StudyRandomizationDateTime(int rep) Returns a specific repetition of CSR-11: "Study Randomization Date/time" - creates it if necessaryintReturns a count of the current number of repetitions of Study Randomization Date/time (CSR-11).CE[]Returns all repetitions of Study Randomized Arm (CSR-12).getCsr12_StudyRandomizedArm(int rep) Returns a specific repetition of CSR-12: "Study Randomized Arm" - creates it if necessaryintReturns a count of the current number of repetitions of Study Randomized Arm (CSR-12).CE[]Returns all repetitions of Stratum for Study Randomization (CSR-13).Returns a specific repetition of CSR-13: "Stratum for Study Randomization" - creates it if necessaryintReturns a count of the current number of repetitions of Stratum for Study Randomization (CSR-13).Returns CSR-14: "Patient Evaluability Status" - creates it if necessaryReturns CSR-15: "Date/time Ended Study" - creates it if necessaryReturns CSR-16: "Reason Ended Study" - creates it if necessaryReturns CSR-2: "Alternate Study ID" - creates it if necessaryReturns CSR-3: "Institution Registering the Patient" - creates it if necessaryReturns CSR-4: "Sponsor Patient ID" - creates it if necessaryReturns CSR-5: "Alternate Patient ID" - creates it if necessaryReturns CSR-6: "Date/Time of Patient Study Registration" - creates it if necessaryReturns CSR-7: "Person Performing Study Registration" - creates it if necessaryReturns CSR-8: "Study Authorizing Provider" - creates it if necessaryReturns CSR-9: "Date/time Patient Study Consent Signed" - creates it if necessaryReturns CSR-15: "Date/time Ended Study" - creates it if necessaryReturns CSR-6: "Date/Time of Patient Study Registration" - creates it if necessaryReturns CSR-9: "Date/time Patient Study Consent Signed" - creates it if necessaryReturns CSR-3: "Institution Registering the Patient" - creates it if necessaryReturns CSR-14: "Patient Evaluability Status" - creates it if necessaryReturns CSR-10: "Patient Study Eligibility Status" - creates it if necessaryReturns CSR-7: "Person Performing Study Registration" - creates it if necessaryReturns CSR-16: "Reason Ended Study" - creates it if necessaryReturns CSR-4: "Sponsor Patient ID" - creates it if necessaryReturns CSR-1: "Sponsor Study ID" - creates it if necessaryCE[]Returns all repetitions of Stratum for Study Randomization (CSR-13).getStratumForStudyRandomization(int rep) Returns a specific repetition of CSR-13: "Stratum for Study Randomization" - creates it if necessaryintReturns a count of the current number of repetitions of Stratum for Study Randomization (CSR-13).Returns CSR-8: "Study Authorizing Provider" - creates it if necessaryTS[]Returns all repetitions of Study Randomization Date/time (CSR-11).getStudyRandomizationDateTime(int rep) Returns a specific repetition of CSR-11: "Study Randomization Date/time" - creates it if necessaryintReturns a count of the current number of repetitions of Study Randomization Date/time (CSR-11).CE[]Returns all repetitions of Study Randomized Arm (CSR-12).getStudyRandomizedArm(int rep) Returns a specific repetition of CSR-12: "Study Randomized Arm" - creates it if necessaryintReturns a count of the current number of repetitions of Study Randomized Arm (CSR-12).Inserts a repetition of CSR-11: "Study Randomization Date/time" at a specific indexinsertCsr12_StudyRandomizedArm(int rep) Inserts a repetition of CSR-12: "Study Randomized Arm" at a specific indexInserts a repetition of CSR-13: "Stratum for Study Randomization" at a specific indexinsertStratumForStudyRandomization(int rep) Inserts a repetition of CSR-13: "Stratum for Study Randomization" at a specific indexinsertStudyRandomizationDateTime(int rep) Inserts a repetition of CSR-11: "Study Randomization Date/time" at a specific indexinsertStudyRandomizedArm(int rep) Inserts a repetition of CSR-12: "Study Randomized Arm" at a specific indexRemoves a repetition of CSR-11: "Study Randomization Date/time" at a specific indexremoveCsr12_StudyRandomizedArm(int rep) Removes a repetition of CSR-12: "Study Randomized Arm" at a specific indexRemoves a repetition of CSR-13: "Stratum for Study Randomization" at a specific indexremoveStratumForStudyRandomization(int rep) Removes a repetition of CSR-13: "Stratum for Study Randomization" at a specific indexremoveStudyRandomizationDateTime(int rep) Removes a repetition of CSR-11: "Study Randomization Date/time" at a specific indexremoveStudyRandomizedArm(int rep) Removes a repetition of CSR-12: "Study Randomized Arm" 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
-
CSR
Creates a new CSR segment
-
-
Method Details
-
getSponsorStudyID
Returns CSR-1: "Sponsor Study ID" - creates it if necessary -
getCsr1_SponsorStudyID
Returns CSR-1: "Sponsor Study ID" - creates it if necessary -
getAlternateStudyID
Returns CSR-2: "Alternate Study ID" - creates it if necessary -
getCsr2_AlternateStudyID
Returns CSR-2: "Alternate Study ID" - creates it if necessary -
getInstitutionRegisteringThePatient
Returns CSR-3: "Institution Registering the Patient" - creates it if necessary -
getCsr3_InstitutionRegisteringThePatient
Returns CSR-3: "Institution Registering the Patient" - creates it if necessary -
getSponsorPatientID
Returns CSR-4: "Sponsor Patient ID" - creates it if necessary -
getCsr4_SponsorPatientID
Returns CSR-4: "Sponsor Patient ID" - creates it if necessary -
getAlternatePatientID
Returns CSR-5: "Alternate Patient ID" - creates it if necessary -
getCsr5_AlternatePatientID
Returns CSR-5: "Alternate Patient ID" - creates it if necessary -
getDateTimeOfPatientStudyRegistration
Returns CSR-6: "Date/Time of Patient Study Registration" - creates it if necessary -
getCsr6_DateTimeOfPatientStudyRegistration
Returns CSR-6: "Date/Time of Patient Study Registration" - creates it if necessary -
getPersonPerformingStudyRegistration
Returns CSR-7: "Person Performing Study Registration" - creates it if necessary -
getCsr7_PersonPerformingStudyRegistration
Returns CSR-7: "Person Performing Study Registration" - creates it if necessary -
getStudyAuthorizingProvider
Returns CSR-8: "Study Authorizing Provider" - creates it if necessary -
getCsr8_StudyAuthorizingProvider
Returns CSR-8: "Study Authorizing Provider" - creates it if necessary -
getDateTimePatientStudyConsentSigned
Returns CSR-9: "Date/time Patient Study Consent Signed" - creates it if necessary -
getCsr9_DateTimePatientStudyConsentSigned
Returns CSR-9: "Date/time Patient Study Consent Signed" - creates it if necessary -
getPatientStudyEligibilityStatus
Returns CSR-10: "Patient Study Eligibility Status" - creates it if necessary -
getCsr10_PatientStudyEligibilityStatus
Returns CSR-10: "Patient Study Eligibility Status" - creates it if necessary -
getStudyRandomizationDateTime
Returns all repetitions of Study Randomization Date/time (CSR-11). -
getCsr11_StudyRandomizationDateTime
Returns all repetitions of Study Randomization Date/time (CSR-11). -
getStudyRandomizationDateTimeReps
Returns a count of the current number of repetitions of Study Randomization Date/time (CSR-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getStudyRandomizationDateTime
Returns a specific repetition of CSR-11: "Study Randomization Date/time" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCsr11_StudyRandomizationDateTime
Returns a specific repetition of CSR-11: "Study Randomization Date/time" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCsr11_StudyRandomizationDateTimeReps
Returns a count of the current number of repetitions of Study Randomization Date/time (CSR-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertStudyRandomizationDateTime
Inserts a repetition of CSR-11: "Study Randomization Date/time" 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)
-
insertCsr11_StudyRandomizationDateTime
Inserts a repetition of CSR-11: "Study Randomization Date/time" 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)
-
removeStudyRandomizationDateTime
Removes a repetition of CSR-11: "Study Randomization Date/time" 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)
-
removeCsr11_StudyRandomizationDateTime
Removes a repetition of CSR-11: "Study Randomization Date/time" 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)
-
getStudyRandomizedArm
Returns all repetitions of Study Randomized Arm (CSR-12). -
getCsr12_StudyRandomizedArm
Returns all repetitions of Study Randomized Arm (CSR-12). -
getStudyRandomizedArmReps
Returns a count of the current number of repetitions of Study Randomized Arm (CSR-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getStudyRandomizedArm
Returns a specific repetition of CSR-12: "Study Randomized Arm" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCsr12_StudyRandomizedArm
Returns a specific repetition of CSR-12: "Study Randomized Arm" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCsr12_StudyRandomizedArmReps
Returns a count of the current number of repetitions of Study Randomized Arm (CSR-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertStudyRandomizedArm
Inserts a repetition of CSR-12: "Study Randomized Arm" 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)
-
insertCsr12_StudyRandomizedArm
Inserts a repetition of CSR-12: "Study Randomized Arm" 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)
-
removeStudyRandomizedArm
Removes a repetition of CSR-12: "Study Randomized Arm" 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)
-
removeCsr12_StudyRandomizedArm
Removes a repetition of CSR-12: "Study Randomized Arm" 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)
-
getStratumForStudyRandomization
Returns all repetitions of Stratum for Study Randomization (CSR-13). -
getCsr13_StratumForStudyRandomization
Returns all repetitions of Stratum for Study Randomization (CSR-13). -
getStratumForStudyRandomizationReps
Returns a count of the current number of repetitions of Stratum for Study Randomization (CSR-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getStratumForStudyRandomization
Returns a specific repetition of CSR-13: "Stratum for Study Randomization" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCsr13_StratumForStudyRandomization
Returns a specific repetition of CSR-13: "Stratum for Study Randomization" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCsr13_StratumForStudyRandomizationReps
Returns a count of the current number of repetitions of Stratum for Study Randomization (CSR-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertStratumForStudyRandomization
Inserts a repetition of CSR-13: "Stratum for Study Randomization" 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)
-
insertCsr13_StratumForStudyRandomization
Inserts a repetition of CSR-13: "Stratum for Study Randomization" 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)
-
removeStratumForStudyRandomization
Removes a repetition of CSR-13: "Stratum for Study Randomization" 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)
-
removeCsr13_StratumForStudyRandomization
Removes a repetition of CSR-13: "Stratum for Study Randomization" 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)
-
getPatientEvaluabilityStatus
Returns CSR-14: "Patient Evaluability Status" - creates it if necessary -
getCsr14_PatientEvaluabilityStatus
Returns CSR-14: "Patient Evaluability Status" - creates it if necessary -
getDateTimeEndedStudy
Returns CSR-15: "Date/time Ended Study" - creates it if necessary -
getCsr15_DateTimeEndedStudy
Returns CSR-15: "Date/time Ended Study" - creates it if necessary -
getReasonEndedStudy
Returns CSR-16: "Reason Ended Study" - creates it if necessary -
getCsr16_ReasonEndedStudy
Returns CSR-16: "Reason Ended Study" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-