Package ca.uhn.hl7v2.model.v23.segment
Class PRA
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.segment.PRA
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 PRA message segment (Practitioner detail segment). This segment has the following fields:
- PRA-1: PRA - Primary Key Value (ST)
- PRA-2: Practioner Group (CE) optional repeating
- PRA-3: Practioner Category (ID) optional repeating
- PRA-4: Provider Billing (ID) optional
- PRA-5: Specialty (CM_SPD) optional repeating
- PRA-6: Practitioner ID Numbers (CM_PLN) optional repeating
- PRA-7: Privileges (CM_PIP) 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) Returns PRA-1: "PRA - Primary Key Value" - creates it if necessaryCE[]Returns all repetitions of Practioner Group (PRA-2).getPra2_PractionerGroup(int rep) Returns a specific repetition of PRA-2: "Practioner Group" - creates it if necessaryintReturns a count of the current number of repetitions of Practioner Group (PRA-2).ID[]Returns all repetitions of Practioner Category (PRA-3).getPra3_PractionerCategory(int rep) Returns a specific repetition of PRA-3: "Practioner Category" - creates it if necessaryintReturns a count of the current number of repetitions of Practioner Category (PRA-3).Returns PRA-4: "Provider Billing" - creates it if necessaryCM_SPD[]Returns all repetitions of Specialty (PRA-5).getPra5_Specialty(int rep) Returns a specific repetition of PRA-5: "Specialty" - creates it if necessaryintReturns a count of the current number of repetitions of Specialty (PRA-5).CM_PLN[]Returns all repetitions of Practitioner ID Numbers (PRA-6).getPra6_PractitionerIDNumbers(int rep) Returns a specific repetition of PRA-6: "Practitioner ID Numbers" - creates it if necessaryintReturns a count of the current number of repetitions of Practitioner ID Numbers (PRA-6).CM_PIP[]Returns all repetitions of Privileges (PRA-7).getPra7_Privileges(int rep) Returns a specific repetition of PRA-7: "Privileges" - creates it if necessaryintReturns a count of the current number of repetitions of Privileges (PRA-7).ID[]Returns all repetitions of Practioner Category (PRA-3).getPractionerCategory(int rep) Returns a specific repetition of PRA-3: "Practioner Category" - creates it if necessaryintReturns a count of the current number of repetitions of Practioner Category (PRA-3).CE[]Returns all repetitions of Practioner Group (PRA-2).getPractionerGroup(int rep) Returns a specific repetition of PRA-2: "Practioner Group" - creates it if necessaryintReturns a count of the current number of repetitions of Practioner Group (PRA-2).CM_PLN[]Returns all repetitions of Practitioner ID Numbers (PRA-6).getPractitionerIDNumbers(int rep) Returns a specific repetition of PRA-6: "Practitioner ID Numbers" - creates it if necessaryintReturns a count of the current number of repetitions of Practitioner ID Numbers (PRA-6).Returns PRA-1: "PRA - Primary Key Value" - creates it if necessaryCM_PIP[]Returns all repetitions of Privileges (PRA-7).getPrivileges(int rep) Returns a specific repetition of PRA-7: "Privileges" - creates it if necessaryintReturns a count of the current number of repetitions of Privileges (PRA-7).Returns PRA-4: "Provider Billing" - creates it if necessaryCM_SPD[]Returns all repetitions of Specialty (PRA-5).getSpecialty(int rep) Returns a specific repetition of PRA-5: "Specialty" - creates it if necessaryintReturns a count of the current number of repetitions of Specialty (PRA-5).insertPra2_PractionerGroup(int rep) Inserts a repetition of PRA-2: "Practioner Group" at a specific indexinsertPra3_PractionerCategory(int rep) Inserts a repetition of PRA-3: "Practioner Category" at a specific indexinsertPra5_Specialty(int rep) Inserts a repetition of PRA-5: "Specialty" at a specific indexinsertPra6_PractitionerIDNumbers(int rep) Inserts a repetition of PRA-6: "Practitioner ID Numbers" at a specific indexinsertPra7_Privileges(int rep) Inserts a repetition of PRA-7: "Privileges" at a specific indexinsertPractionerCategory(int rep) Inserts a repetition of PRA-3: "Practioner Category" at a specific indexinsertPractionerGroup(int rep) Inserts a repetition of PRA-2: "Practioner Group" at a specific indexinsertPractitionerIDNumbers(int rep) Inserts a repetition of PRA-6: "Practitioner ID Numbers" at a specific indexinsertPrivileges(int rep) Inserts a repetition of PRA-7: "Privileges" at a specific indexinsertSpecialty(int rep) Inserts a repetition of PRA-5: "Specialty" at a specific indexremovePra2_PractionerGroup(int rep) Removes a repetition of PRA-2: "Practioner Group" at a specific indexremovePra3_PractionerCategory(int rep) Removes a repetition of PRA-3: "Practioner Category" at a specific indexremovePra5_Specialty(int rep) Removes a repetition of PRA-5: "Specialty" at a specific indexremovePra6_PractitionerIDNumbers(int rep) Removes a repetition of PRA-6: "Practitioner ID Numbers" at a specific indexremovePra7_Privileges(int rep) Removes a repetition of PRA-7: "Privileges" at a specific indexremovePractionerCategory(int rep) Removes a repetition of PRA-3: "Practioner Category" at a specific indexremovePractionerGroup(int rep) Removes a repetition of PRA-2: "Practioner Group" at a specific indexremovePractitionerIDNumbers(int rep) Removes a repetition of PRA-6: "Practitioner ID Numbers" at a specific indexremovePrivileges(int rep) Removes a repetition of PRA-7: "Privileges" at a specific indexremoveSpecialty(int rep) Removes a repetition of PRA-5: "Specialty" 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
-
PRA
Creates a new PRA segment
-
-
Method Details
-
getPRAPrimaryKeyValue
Returns PRA-1: "PRA - Primary Key Value" - creates it if necessary -
getPra1_PRAPrimaryKeyValue
Returns PRA-1: "PRA - Primary Key Value" - creates it if necessary -
getPractionerGroup
Returns all repetitions of Practioner Group (PRA-2). -
getPra2_PractionerGroup
Returns all repetitions of Practioner Group (PRA-2). -
getPractionerGroupReps
Returns a count of the current number of repetitions of Practioner Group (PRA-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPractionerGroup
Returns a specific repetition of PRA-2: "Practioner Group" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPra2_PractionerGroup
Returns a specific repetition of PRA-2: "Practioner Group" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPra2_PractionerGroupReps
Returns a count of the current number of repetitions of Practioner Group (PRA-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPractionerGroup
Inserts a repetition of PRA-2: "Practioner Group" 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)
-
insertPra2_PractionerGroup
Inserts a repetition of PRA-2: "Practioner Group" 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)
-
removePractionerGroup
Removes a repetition of PRA-2: "Practioner Group" 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)
-
removePra2_PractionerGroup
Removes a repetition of PRA-2: "Practioner Group" 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)
-
getPractionerCategory
Returns all repetitions of Practioner Category (PRA-3). -
getPra3_PractionerCategory
Returns all repetitions of Practioner Category (PRA-3). -
getPractionerCategoryReps
Returns a count of the current number of repetitions of Practioner Category (PRA-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPractionerCategory
Returns a specific repetition of PRA-3: "Practioner Category" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPra3_PractionerCategory
Returns a specific repetition of PRA-3: "Practioner Category" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPra3_PractionerCategoryReps
Returns a count of the current number of repetitions of Practioner Category (PRA-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPractionerCategory
Inserts a repetition of PRA-3: "Practioner Category" 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)
-
insertPra3_PractionerCategory
Inserts a repetition of PRA-3: "Practioner Category" 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)
-
removePractionerCategory
Removes a repetition of PRA-3: "Practioner Category" 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)
-
removePra3_PractionerCategory
Removes a repetition of PRA-3: "Practioner Category" 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)
-
getProviderBilling
Returns PRA-4: "Provider Billing" - creates it if necessary -
getPra4_ProviderBilling
Returns PRA-4: "Provider Billing" - creates it if necessary -
getSpecialty
Returns all repetitions of Specialty (PRA-5). -
getPra5_Specialty
Returns all repetitions of Specialty (PRA-5). -
getSpecialtyReps
Returns a count of the current number of repetitions of Specialty (PRA-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSpecialty
Returns a specific repetition of PRA-5: "Specialty" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPra5_Specialty
Returns a specific repetition of PRA-5: "Specialty" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPra5_SpecialtyReps
Returns a count of the current number of repetitions of Specialty (PRA-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSpecialty
Inserts a repetition of PRA-5: "Specialty" 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)
-
insertPra5_Specialty
Inserts a repetition of PRA-5: "Specialty" 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)
-
removeSpecialty
Removes a repetition of PRA-5: "Specialty" 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)
-
removePra5_Specialty
Removes a repetition of PRA-5: "Specialty" 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)
-
getPractitionerIDNumbers
Returns all repetitions of Practitioner ID Numbers (PRA-6). -
getPra6_PractitionerIDNumbers
Returns all repetitions of Practitioner ID Numbers (PRA-6). -
getPractitionerIDNumbersReps
Returns a count of the current number of repetitions of Practitioner ID Numbers (PRA-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPractitionerIDNumbers
Returns a specific repetition of PRA-6: "Practitioner ID Numbers" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPra6_PractitionerIDNumbers
Returns a specific repetition of PRA-6: "Practitioner ID Numbers" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPra6_PractitionerIDNumbersReps
Returns a count of the current number of repetitions of Practitioner ID Numbers (PRA-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPractitionerIDNumbers
Inserts a repetition of PRA-6: "Practitioner ID Numbers" 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)
-
insertPra6_PractitionerIDNumbers
Inserts a repetition of PRA-6: "Practitioner ID Numbers" 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)
-
removePractitionerIDNumbers
Removes a repetition of PRA-6: "Practitioner ID Numbers" 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)
-
removePra6_PractitionerIDNumbers
Removes a repetition of PRA-6: "Practitioner ID Numbers" 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)
-
getPrivileges
Returns all repetitions of Privileges (PRA-7). -
getPra7_Privileges
Returns all repetitions of Privileges (PRA-7). -
getPrivilegesReps
Returns a count of the current number of repetitions of Privileges (PRA-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPrivileges
Returns a specific repetition of PRA-7: "Privileges" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPra7_Privileges
Returns a specific repetition of PRA-7: "Privileges" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPra7_PrivilegesReps
Returns a count of the current number of repetitions of Privileges (PRA-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPrivileges
Inserts a repetition of PRA-7: "Privileges" 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)
-
insertPra7_Privileges
Inserts a repetition of PRA-7: "Privileges" 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)
-
removePrivileges
Removes a repetition of PRA-7: "Privileges" 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)
-
removePra7_Privileges
Removes a repetition of PRA-7: "Privileges" 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
-