Package ca.uhn.hl7v2.model.v251.segment
Class CSR
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.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 - CSR (CX) optional
- CSR-6: Date/Time Of Patient Study Registration (TS)
- CSR-7: Person Performing Study Registration (XCN) optional repeating
- CSR-8: Study Authorizing Provider (XCN) repeating
- 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: Randomized Study 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 - CSR" - 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 Randomized Study Arm (CSR-12).getCsr12_RandomizedStudyArm(int rep) Returns a specific repetition of CSR-12: "Randomized Study Arm" - creates it if necessaryintReturns a count of the current number of repetitions of Randomized Study 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 - CSR" - creates it if necessaryReturns CSR-6: "Date/Time Of Patient Study Registration" - creates it if necessaryXCN[]Returns all repetitions of Person Performing Study Registration (CSR-7).Returns a specific repetition of CSR-7: "Person Performing Study Registration" - creates it if necessaryintReturns a count of the current number of repetitions of Person Performing Study Registration (CSR-7).XCN[]Returns all repetitions of Study Authorizing Provider (CSR-8).getCsr8_StudyAuthorizingProvider(int rep) Returns a specific repetition of CSR-8: "Study Authorizing Provider" - creates it if necessaryintReturns a count of the current number of repetitions of Study Authorizing Provider (CSR-8).Returns 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 necessaryXCN[]Returns all repetitions of Person Performing Study Registration (CSR-7).getPersonPerformingStudyRegistration(int rep) Returns a specific repetition of CSR-7: "Person Performing Study Registration" - creates it if necessaryintReturns a count of the current number of repetitions of Person Performing Study Registration (CSR-7).CE[]Returns all repetitions of Randomized Study Arm (CSR-12).getRandomizedStudyArm(int rep) Returns a specific repetition of CSR-12: "Randomized Study Arm" - creates it if necessaryintReturns a count of the current number of repetitions of Randomized Study Arm (CSR-12).Returns 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).XCN[]Returns all repetitions of Study Authorizing Provider (CSR-8).getStudyAuthorizingProvider(int rep) Returns a specific repetition of CSR-8: "Study Authorizing Provider" - creates it if necessaryintReturns a count of the current number of repetitions of Study Authorizing Provider (CSR-8).TS[]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).Inserts a repetition of CSR-11: "Study Randomization Date/time" at a specific indexinsertCsr12_RandomizedStudyArm(int rep) Inserts a repetition of CSR-12: "Randomized Study Arm" at a specific indexInserts a repetition of CSR-13: "Stratum for Study Randomization" at a specific indexInserts a repetition of CSR-7: "Person Performing Study Registration" at a specific indexinsertCsr8_StudyAuthorizingProvider(int rep) Inserts a repetition of CSR-8: "Study Authorizing Provider" at a specific indexInserts a repetition of CSR-7: "Person Performing Study Registration" at a specific indexinsertRandomizedStudyArm(int rep) Inserts a repetition of CSR-12: "Randomized Study Arm" at a specific indexinsertStratumForStudyRandomization(int rep) Inserts a repetition of CSR-13: "Stratum for Study Randomization" at a specific indexinsertStudyAuthorizingProvider(int rep) Inserts a repetition of CSR-8: "Study Authorizing Provider" at a specific indexinsertStudyRandomizationDateTime(int rep) Inserts a repetition of CSR-11: "Study Randomization Date/time" at a specific indexRemoves a repetition of CSR-11: "Study Randomization Date/time" at a specific indexremoveCsr12_RandomizedStudyArm(int rep) Removes a repetition of CSR-12: "Randomized Study Arm" at a specific indexRemoves a repetition of CSR-13: "Stratum for Study Randomization" at a specific indexRemoves a repetition of CSR-7: "Person Performing Study Registration" at a specific indexremoveCsr8_StudyAuthorizingProvider(int rep) Removes a repetition of CSR-8: "Study Authorizing Provider" at a specific indexRemoves a repetition of CSR-7: "Person Performing Study Registration" at a specific indexremoveRandomizedStudyArm(int rep) Removes a repetition of CSR-12: "Randomized Study Arm" at a specific indexremoveStratumForStudyRandomization(int rep) Removes a repetition of CSR-13: "Stratum for Study Randomization" at a specific indexremoveStudyAuthorizingProvider(int rep) Removes a repetition of CSR-8: "Study Authorizing Provider" at a specific indexremoveStudyRandomizationDateTime(int rep) Removes a repetition of CSR-11: "Study Randomization Date/time" 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 -
getAlternatePatientIDCSR
Returns CSR-5: "Alternate Patient ID - CSR" - creates it if necessary -
getCsr5_AlternatePatientIDCSR
Returns CSR-5: "Alternate Patient ID - CSR" - 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 all repetitions of Person Performing Study Registration (CSR-7). -
getCsr7_PersonPerformingStudyRegistration
Returns all repetitions of Person Performing Study Registration (CSR-7). -
getPersonPerformingStudyRegistrationReps
Returns a count of the current number of repetitions of Person Performing Study Registration (CSR-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPersonPerformingStudyRegistration
Returns a specific repetition of CSR-7: "Person Performing Study Registration" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCsr7_PersonPerformingStudyRegistration
Returns a specific repetition of CSR-7: "Person Performing Study Registration" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCsr7_PersonPerformingStudyRegistrationReps
Returns a count of the current number of repetitions of Person Performing Study Registration (CSR-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPersonPerformingStudyRegistration
Inserts a repetition of CSR-7: "Person Performing Study Registration" 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)
-
insertCsr7_PersonPerformingStudyRegistration
Inserts a repetition of CSR-7: "Person Performing Study Registration" 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)
-
removePersonPerformingStudyRegistration
Removes a repetition of CSR-7: "Person Performing Study Registration" 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)
-
removeCsr7_PersonPerformingStudyRegistration
Removes a repetition of CSR-7: "Person Performing Study Registration" 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)
-
getStudyAuthorizingProvider
Returns all repetitions of Study Authorizing Provider (CSR-8). -
getCsr8_StudyAuthorizingProvider
Returns all repetitions of Study Authorizing Provider (CSR-8). -
getStudyAuthorizingProviderReps
Returns a count of the current number of repetitions of Study Authorizing Provider (CSR-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getStudyAuthorizingProvider
Returns a specific repetition of CSR-8: "Study Authorizing Provider" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCsr8_StudyAuthorizingProvider
Returns a specific repetition of CSR-8: "Study Authorizing Provider" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCsr8_StudyAuthorizingProviderReps
Returns a count of the current number of repetitions of Study Authorizing Provider (CSR-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertStudyAuthorizingProvider
Inserts a repetition of CSR-8: "Study Authorizing Provider" 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)
-
insertCsr8_StudyAuthorizingProvider
Inserts a repetition of CSR-8: "Study Authorizing Provider" 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)
-
removeStudyAuthorizingProvider
Removes a repetition of CSR-8: "Study Authorizing Provider" 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)
-
removeCsr8_StudyAuthorizingProvider
Removes a repetition of CSR-8: "Study Authorizing Provider" 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)
-
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)
-
getRandomizedStudyArm
Returns all repetitions of Randomized Study Arm (CSR-12). -
getCsr12_RandomizedStudyArm
Returns all repetitions of Randomized Study Arm (CSR-12). -
getRandomizedStudyArmReps
Returns a count of the current number of repetitions of Randomized Study Arm (CSR-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getRandomizedStudyArm
Returns a specific repetition of CSR-12: "Randomized Study Arm" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCsr12_RandomizedStudyArm
Returns a specific repetition of CSR-12: "Randomized Study Arm" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCsr12_RandomizedStudyArmReps
Returns a count of the current number of repetitions of Randomized Study Arm (CSR-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertRandomizedStudyArm
Inserts a repetition of CSR-12: "Randomized Study 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_RandomizedStudyArm
Inserts a repetition of CSR-12: "Randomized Study 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)
-
removeRandomizedStudyArm
Removes a repetition of CSR-12: "Randomized Study 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_RandomizedStudyArm
Removes a repetition of CSR-12: "Randomized Study 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
-