Package ca.uhn.hl7v2.model.v23.segment
Class PSH
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.segment.PSH
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 PSH message segment (Product Summary Header). This segment has the following fields:
- PSH-1: Report Type (ST)
- PSH-2: Report Form Identifier (ST) optional
- PSH-3: Report Date (TS)
- PSH-4: Report Interval Start Date (TS) optional
- PSH-5: Report Interval End Date (TS) optional
- PSH-6: Quantity Manufactured (CQ) optional
- PSH-7: Quantity Distributed (CQ) optional
- PSH-8: Quantity Distributed Method (ID) optional
- PSH-9: Quantity Distributed Comment (FT) optional
- PSH-10: Quantity in Use (CQ) optional
- PSH-11: Quantity in Use Method (ID) optional
- PSH-12: Quantity in Use Comment (FT) optional
- PSH-13: Number of Product Experience Reports Filed by Facility (NM) optional repeating
- PSH-14: Number of Product Experience Reports Filed by Distributor (NM) 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) NM[]Returns all repetitions of Number of Product Experience Reports Filed by Distributor (PSH-14).Returns a specific repetition of PSH-14: "Number of Product Experience Reports Filed by Distributor" - creates it if necessaryintReturns a count of the current number of repetitions of Number of Product Experience Reports Filed by Distributor (PSH-14).NM[]Returns all repetitions of Number of Product Experience Reports Filed by Facility (PSH-13).Returns a specific repetition of PSH-13: "Number of Product Experience Reports Filed by Facility" - creates it if necessaryintReturns a count of the current number of repetitions of Number of Product Experience Reports Filed by Facility (PSH-13).Returns PSH-1: "Report Type" - creates it if necessaryReturns PSH-10: "Quantity in Use" - creates it if necessaryReturns PSH-11: "Quantity in Use Method" - creates it if necessaryReturns PSH-12: "Quantity in Use Comment" - creates it if necessaryNM[]Returns all repetitions of Number of Product Experience Reports Filed by Facility (PSH-13).Returns a specific repetition of PSH-13: "Number of Product Experience Reports Filed by Facility" - creates it if necessaryintReturns a count of the current number of repetitions of Number of Product Experience Reports Filed by Facility (PSH-13).NM[]Returns all repetitions of Number of Product Experience Reports Filed by Distributor (PSH-14).Returns a specific repetition of PSH-14: "Number of Product Experience Reports Filed by Distributor" - creates it if necessaryintReturns a count of the current number of repetitions of Number of Product Experience Reports Filed by Distributor (PSH-14).Returns PSH-2: "Report Form Identifier" - creates it if necessaryReturns PSH-3: "Report Date" - creates it if necessaryReturns PSH-4: "Report Interval Start Date" - creates it if necessaryReturns PSH-5: "Report Interval End Date" - creates it if necessaryReturns PSH-6: "Quantity Manufactured" - creates it if necessaryReturns PSH-7: "Quantity Distributed" - creates it if necessaryReturns PSH-8: "Quantity Distributed Method" - creates it if necessaryReturns PSH-9: "Quantity Distributed Comment" - creates it if necessaryReturns PSH-7: "Quantity Distributed" - creates it if necessaryReturns PSH-9: "Quantity Distributed Comment" - creates it if necessaryReturns PSH-8: "Quantity Distributed Method" - creates it if necessaryReturns PSH-10: "Quantity in Use" - creates it if necessaryReturns PSH-12: "Quantity in Use Comment" - creates it if necessaryReturns PSH-11: "Quantity in Use Method" - creates it if necessaryReturns PSH-6: "Quantity Manufactured" - creates it if necessaryReturns PSH-3: "Report Date" - creates it if necessaryReturns PSH-2: "Report Form Identifier" - creates it if necessaryReturns PSH-5: "Report Interval End Date" - creates it if necessaryReturns PSH-4: "Report Interval Start Date" - creates it if necessaryReturns PSH-1: "Report Type" - creates it if necessaryInserts a repetition of PSH-14: "Number of Product Experience Reports Filed by Distributor" at a specific indexInserts a repetition of PSH-13: "Number of Product Experience Reports Filed by Facility" at a specific indexInserts a repetition of PSH-13: "Number of Product Experience Reports Filed by Facility" at a specific indexInserts a repetition of PSH-14: "Number of Product Experience Reports Filed by Distributor" at a specific indexRemoves a repetition of PSH-14: "Number of Product Experience Reports Filed by Distributor" at a specific indexRemoves a repetition of PSH-13: "Number of Product Experience Reports Filed by Facility" at a specific indexRemoves a repetition of PSH-13: "Number of Product Experience Reports Filed by Facility" at a specific indexRemoves a repetition of PSH-14: "Number of Product Experience Reports Filed by Distributor" 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
-
PSH
Creates a new PSH segment
-
-
Method Details
-
getReportType
Returns PSH-1: "Report Type" - creates it if necessary -
getPsh1_ReportType
Returns PSH-1: "Report Type" - creates it if necessary -
getReportFormIdentifier
Returns PSH-2: "Report Form Identifier" - creates it if necessary -
getPsh2_ReportFormIdentifier
Returns PSH-2: "Report Form Identifier" - creates it if necessary -
getReportDate
Returns PSH-3: "Report Date" - creates it if necessary -
getPsh3_ReportDate
Returns PSH-3: "Report Date" - creates it if necessary -
getReportIntervalStartDate
Returns PSH-4: "Report Interval Start Date" - creates it if necessary -
getPsh4_ReportIntervalStartDate
Returns PSH-4: "Report Interval Start Date" - creates it if necessary -
getReportIntervalEndDate
Returns PSH-5: "Report Interval End Date" - creates it if necessary -
getPsh5_ReportIntervalEndDate
Returns PSH-5: "Report Interval End Date" - creates it if necessary -
getQuantityManufactured
Returns PSH-6: "Quantity Manufactured" - creates it if necessary -
getPsh6_QuantityManufactured
Returns PSH-6: "Quantity Manufactured" - creates it if necessary -
getQuantityDistributed
Returns PSH-7: "Quantity Distributed" - creates it if necessary -
getPsh7_QuantityDistributed
Returns PSH-7: "Quantity Distributed" - creates it if necessary -
getQuantityDistributedMethod
Returns PSH-8: "Quantity Distributed Method" - creates it if necessary -
getPsh8_QuantityDistributedMethod
Returns PSH-8: "Quantity Distributed Method" - creates it if necessary -
getQuantityDistributedComment
Returns PSH-9: "Quantity Distributed Comment" - creates it if necessary -
getPsh9_QuantityDistributedComment
Returns PSH-9: "Quantity Distributed Comment" - creates it if necessary -
getQuantityInUse
Returns PSH-10: "Quantity in Use" - creates it if necessary -
getPsh10_QuantityInUse
Returns PSH-10: "Quantity in Use" - creates it if necessary -
getQuantityInUseMethod
Returns PSH-11: "Quantity in Use Method" - creates it if necessary -
getPsh11_QuantityInUseMethod
Returns PSH-11: "Quantity in Use Method" - creates it if necessary -
getQuantityInUseComment
Returns PSH-12: "Quantity in Use Comment" - creates it if necessary -
getPsh12_QuantityInUseComment
Returns PSH-12: "Quantity in Use Comment" - creates it if necessary -
getNumberOfProductExperienceReportsFiledByFacility
Returns all repetitions of Number of Product Experience Reports Filed by Facility (PSH-13). -
getPsh13_NumberOfProductExperienceReportsFiledByFacility
Returns all repetitions of Number of Product Experience Reports Filed by Facility (PSH-13). -
getNumberOfProductExperienceReportsFiledByFacilityReps
Returns a count of the current number of repetitions of Number of Product Experience Reports Filed by Facility (PSH-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getNumberOfProductExperienceReportsFiledByFacility
Returns a specific repetition of PSH-13: "Number of Product Experience Reports Filed by Facility" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPsh13_NumberOfProductExperienceReportsFiledByFacility
Returns a specific repetition of PSH-13: "Number of Product Experience Reports Filed by Facility" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPsh13_NumberOfProductExperienceReportsFiledByFacilityReps
Returns a count of the current number of repetitions of Number of Product Experience Reports Filed by Facility (PSH-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertNumberOfProductExperienceReportsFiledByFacility
Inserts a repetition of PSH-13: "Number of Product Experience Reports Filed by Facility" 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)
-
insertPsh13_NumberOfProductExperienceReportsFiledByFacility
Inserts a repetition of PSH-13: "Number of Product Experience Reports Filed by Facility" 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)
-
removeNumberOfProductExperienceReportsFiledByFacility
Removes a repetition of PSH-13: "Number of Product Experience Reports Filed by Facility" 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)
-
removePsh13_NumberOfProductExperienceReportsFiledByFacility
Removes a repetition of PSH-13: "Number of Product Experience Reports Filed by Facility" 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)
-
getNumberOfProductExperienceReportsFiledByDistributor
Returns all repetitions of Number of Product Experience Reports Filed by Distributor (PSH-14). -
getPsh14_NumberOfProductExperienceReportsFiledByDistributor
Returns all repetitions of Number of Product Experience Reports Filed by Distributor (PSH-14). -
getNumberOfProductExperienceReportsFiledByDistributorReps
Returns a count of the current number of repetitions of Number of Product Experience Reports Filed by Distributor (PSH-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getNumberOfProductExperienceReportsFiledByDistributor
Returns a specific repetition of PSH-14: "Number of Product Experience Reports Filed by Distributor" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPsh14_NumberOfProductExperienceReportsFiledByDistributor
Returns a specific repetition of PSH-14: "Number of Product Experience Reports Filed by Distributor" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPsh14_NumberOfProductExperienceReportsFiledByDistributorReps
Returns a count of the current number of repetitions of Number of Product Experience Reports Filed by Distributor (PSH-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertNumberOfProductExperienceReportsFiledByDistributor
Inserts a repetition of PSH-14: "Number of Product Experience Reports Filed by Distributor" 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)
-
insertPsh14_NumberOfProductExperienceReportsFiledByDistributor
public NM insertPsh14_NumberOfProductExperienceReportsFiledByDistributor(int rep) throws HL7Exception Inserts a repetition of PSH-14: "Number of Product Experience Reports Filed by Distributor" 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)
-
removeNumberOfProductExperienceReportsFiledByDistributor
Removes a repetition of PSH-14: "Number of Product Experience Reports Filed by Distributor" 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)
-
removePsh14_NumberOfProductExperienceReportsFiledByDistributor
public NM removePsh14_NumberOfProductExperienceReportsFiledByDistributor(int rep) throws HL7Exception Removes a repetition of PSH-14: "Number of Product Experience Reports Filed by Distributor" 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
-