Package ca.uhn.hl7v2.model.v23.segment
Class PDC
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.segment.PDC
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 PDC message segment (Product Detail Country). This segment has the following fields:
- PDC-1: Manufacturer/Distributor (XON)
- PDC-2: Country (CE)
- PDC-3: Brand Name (ST)
- PDC-4: Device Family Name (ST) optional
- PDC-5: Generic Name (CE) optional
- PDC-6: Model Identifier (ST) optional repeating
- PDC-7: Catalogue Identifier (ST) optional
- PDC-8: Other Identifier (ST) optional repeating
- PDC-9: Product Code (CE) optional
- PDC-10: Marketing Basis (ID) optional
- PDC-11: Marketing Approval Identifier (ST) optional
- PDC-12: Labeled Shelf Life (CQ) optional
- PDC-13: Expected Shelf Life (CQ) optional
- PDC-14: Date First Marked (TS) optional
- PDC-15: Date Last Marked (TS) 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 PDC-3: "Brand Name" - creates it if necessaryReturns PDC-7: "Catalogue Identifier" - creates it if necessaryReturns PDC-2: "Country" - creates it if necessaryReturns PDC-14: "Date First Marked" - creates it if necessaryReturns PDC-15: "Date Last Marked" - creates it if necessaryReturns PDC-4: "Device Family Name" - creates it if necessaryReturns PDC-13: "Expected Shelf Life" - creates it if necessaryReturns PDC-5: "Generic Name" - creates it if necessaryReturns PDC-12: "Labeled Shelf Life" - creates it if necessaryReturns PDC-1: "Manufacturer/Distributor" - creates it if necessaryReturns PDC-11: "Marketing Approval Identifier" - creates it if necessaryReturns PDC-10: "Marketing Basis" - creates it if necessaryST[]Returns all repetitions of Model Identifier (PDC-6).getModelIdentifier(int rep) Returns a specific repetition of PDC-6: "Model Identifier" - creates it if necessaryintReturns a count of the current number of repetitions of Model Identifier (PDC-6).ST[]Returns all repetitions of Other Identifier (PDC-8).getOtherIdentifier(int rep) Returns a specific repetition of PDC-8: "Other Identifier" - creates it if necessaryintReturns a count of the current number of repetitions of Other Identifier (PDC-8).Returns PDC-1: "Manufacturer/Distributor" - creates it if necessaryReturns PDC-10: "Marketing Basis" - creates it if necessaryReturns PDC-11: "Marketing Approval Identifier" - creates it if necessaryReturns PDC-12: "Labeled Shelf Life" - creates it if necessaryReturns PDC-13: "Expected Shelf Life" - creates it if necessaryReturns PDC-14: "Date First Marked" - creates it if necessaryReturns PDC-15: "Date Last Marked" - creates it if necessaryReturns PDC-2: "Country" - creates it if necessaryReturns PDC-3: "Brand Name" - creates it if necessaryReturns PDC-4: "Device Family Name" - creates it if necessaryReturns PDC-5: "Generic Name" - creates it if necessaryST[]Returns all repetitions of Model Identifier (PDC-6).getPdc6_ModelIdentifier(int rep) Returns a specific repetition of PDC-6: "Model Identifier" - creates it if necessaryintReturns a count of the current number of repetitions of Model Identifier (PDC-6).Returns PDC-7: "Catalogue Identifier" - creates it if necessaryST[]Returns all repetitions of Other Identifier (PDC-8).getPdc8_OtherIdentifier(int rep) Returns a specific repetition of PDC-8: "Other Identifier" - creates it if necessaryintReturns a count of the current number of repetitions of Other Identifier (PDC-8).Returns PDC-9: "Product Code" - creates it if necessaryReturns PDC-9: "Product Code" - creates it if necessaryinsertModelIdentifier(int rep) Inserts a repetition of PDC-6: "Model Identifier" at a specific indexinsertOtherIdentifier(int rep) Inserts a repetition of PDC-8: "Other Identifier" at a specific indexinsertPdc6_ModelIdentifier(int rep) Inserts a repetition of PDC-6: "Model Identifier" at a specific indexinsertPdc8_OtherIdentifier(int rep) Inserts a repetition of PDC-8: "Other Identifier" at a specific indexremoveModelIdentifier(int rep) Removes a repetition of PDC-6: "Model Identifier" at a specific indexremoveOtherIdentifier(int rep) Removes a repetition of PDC-8: "Other Identifier" at a specific indexremovePdc6_ModelIdentifier(int rep) Removes a repetition of PDC-6: "Model Identifier" at a specific indexremovePdc8_OtherIdentifier(int rep) Removes a repetition of PDC-8: "Other Identifier" 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
-
PDC
Creates a new PDC segment
-
-
Method Details
-
getManufacturerDistributor
Returns PDC-1: "Manufacturer/Distributor" - creates it if necessary -
getPdc1_ManufacturerDistributor
Returns PDC-1: "Manufacturer/Distributor" - creates it if necessary -
getCountry
Returns PDC-2: "Country" - creates it if necessary -
getPdc2_Country
Returns PDC-2: "Country" - creates it if necessary -
getBrandName
Returns PDC-3: "Brand Name" - creates it if necessary -
getPdc3_BrandName
Returns PDC-3: "Brand Name" - creates it if necessary -
getDeviceFamilyName
Returns PDC-4: "Device Family Name" - creates it if necessary -
getPdc4_DeviceFamilyName
Returns PDC-4: "Device Family Name" - creates it if necessary -
getGenericName
Returns PDC-5: "Generic Name" - creates it if necessary -
getPdc5_GenericName
Returns PDC-5: "Generic Name" - creates it if necessary -
getModelIdentifier
Returns all repetitions of Model Identifier (PDC-6). -
getPdc6_ModelIdentifier
Returns all repetitions of Model Identifier (PDC-6). -
getModelIdentifierReps
Returns a count of the current number of repetitions of Model Identifier (PDC-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getModelIdentifier
Returns a specific repetition of PDC-6: "Model Identifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPdc6_ModelIdentifier
Returns a specific repetition of PDC-6: "Model Identifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPdc6_ModelIdentifierReps
Returns a count of the current number of repetitions of Model Identifier (PDC-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertModelIdentifier
Inserts a repetition of PDC-6: "Model Identifier" 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)
-
insertPdc6_ModelIdentifier
Inserts a repetition of PDC-6: "Model Identifier" 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)
-
removeModelIdentifier
Removes a repetition of PDC-6: "Model Identifier" 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)
-
removePdc6_ModelIdentifier
Removes a repetition of PDC-6: "Model Identifier" 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)
-
getCatalogueIdentifier
Returns PDC-7: "Catalogue Identifier" - creates it if necessary -
getPdc7_CatalogueIdentifier
Returns PDC-7: "Catalogue Identifier" - creates it if necessary -
getOtherIdentifier
Returns all repetitions of Other Identifier (PDC-8). -
getPdc8_OtherIdentifier
Returns all repetitions of Other Identifier (PDC-8). -
getOtherIdentifierReps
Returns a count of the current number of repetitions of Other Identifier (PDC-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getOtherIdentifier
Returns a specific repetition of PDC-8: "Other Identifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPdc8_OtherIdentifier
Returns a specific repetition of PDC-8: "Other Identifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPdc8_OtherIdentifierReps
Returns a count of the current number of repetitions of Other Identifier (PDC-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertOtherIdentifier
Inserts a repetition of PDC-8: "Other Identifier" 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)
-
insertPdc8_OtherIdentifier
Inserts a repetition of PDC-8: "Other Identifier" 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)
-
removeOtherIdentifier
Removes a repetition of PDC-8: "Other Identifier" 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)
-
removePdc8_OtherIdentifier
Removes a repetition of PDC-8: "Other Identifier" 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)
-
getProductCode
Returns PDC-9: "Product Code" - creates it if necessary -
getPdc9_ProductCode
Returns PDC-9: "Product Code" - creates it if necessary -
getMarketingBasis
Returns PDC-10: "Marketing Basis" - creates it if necessary -
getPdc10_MarketingBasis
Returns PDC-10: "Marketing Basis" - creates it if necessary -
getMarketingApprovalIdentifier
Returns PDC-11: "Marketing Approval Identifier" - creates it if necessary -
getPdc11_MarketingApprovalIdentifier
Returns PDC-11: "Marketing Approval Identifier" - creates it if necessary -
getLabeledShelfLife
Returns PDC-12: "Labeled Shelf Life" - creates it if necessary -
getPdc12_LabeledShelfLife
Returns PDC-12: "Labeled Shelf Life" - creates it if necessary -
getExpectedShelfLife
Returns PDC-13: "Expected Shelf Life" - creates it if necessary -
getPdc13_ExpectedShelfLife
Returns PDC-13: "Expected Shelf Life" - creates it if necessary -
getDateFirstMarked
Returns PDC-14: "Date First Marked" - creates it if necessary -
getPdc14_DateFirstMarked
Returns PDC-14: "Date First Marked" - creates it if necessary -
getDateLastMarked
Returns PDC-15: "Date Last Marked" - creates it if necessary -
getPdc15_DateLastMarked
Returns PDC-15: "Date Last Marked" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-