public class PMU_B01 extends AbstractMessage
Represents a PMU_B01 message structure (see chapter 15.3.1). This structure contains the following elements:
log
Constructor and Description |
---|
PMU_B01()
Creates a new PMU_B01 message with DefaultModelClassFactory.
|
PMU_B01(ModelClassFactory factory)
Creates a new PMU_B01 message with custom ModelClassFactory.
|
Modifier and Type | Method and Description |
---|---|
AFF |
getAFF()
Returns
the first repetition of
AFF (Professional Affiliation) - creates it if necessary
|
AFF |
getAFF(int rep)
Returns a specific repetition of
AFF (Professional Affiliation) - creates it if necessary
|
List<AFF> |
getAFFAll()
Returns a non-modifiable List containing all current existing repetitions of AFF.
|
int |
getAFFReps()
Returns the number of existing repetitions of AFF
|
CER |
getCER()
Returns
the first repetition of
CER (Certificate Detail) - creates it if necessary
|
CER |
getCER(int rep)
Returns a specific repetition of
CER (Certificate Detail) - creates it if necessary
|
List<CER> |
getCERAll()
Returns a non-modifiable List containing all current existing repetitions of CER.
|
int |
getCERReps()
Returns the number of existing repetitions of CER
|
EDU |
getEDU()
Returns
the first repetition of
EDU (Educational Detail) - creates it if necessary
|
EDU |
getEDU(int rep)
Returns a specific repetition of
EDU (Educational Detail) - creates it if necessary
|
List<EDU> |
getEDUAll()
Returns a non-modifiable List containing all current existing repetitions of EDU.
|
int |
getEDUReps()
Returns the number of existing repetitions of EDU
|
EVN |
getEVN()
Returns
EVN (Event Type) - creates it if necessary
|
LAN |
getLAN()
Returns
the first repetition of
LAN (Language Detail) - creates it if necessary
|
LAN |
getLAN(int rep)
Returns a specific repetition of
LAN (Language Detail) - creates it if necessary
|
List<LAN> |
getLANAll()
Returns a non-modifiable List containing all current existing repetitions of LAN.
|
int |
getLANReps()
Returns the number of existing repetitions of LAN
|
MSH |
getMSH()
Returns
MSH (Message Header) - creates it if necessary
|
NK1 |
getNK1()
Returns
the first repetition of
NK1 (Next of Kin / Associated Parties) - creates it if necessary
|
NK1 |
getNK1(int rep)
Returns a specific repetition of
NK1 (Next of Kin / Associated Parties) - creates it if necessary
|
List<NK1> |
getNK1All()
Returns a non-modifiable List containing all current existing repetitions of NK1.
|
int |
getNK1Reps()
Returns the number of existing repetitions of NK1
|
ORG |
getORG()
Returns
the first repetition of
ORG (Practitioner Organization Unit s) - creates it if necessary
|
ORG |
getORG(int rep)
Returns a specific repetition of
ORG (Practitioner Organization Unit s) - creates it if necessary
|
List<ORG> |
getORGAll()
Returns a non-modifiable List containing all current existing repetitions of ORG.
|
int |
getORGReps()
Returns the number of existing repetitions of ORG
|
PRA |
getPRA()
Returns
the first repetition of
PRA (Practitioner Detail) - creates it if necessary
|
PRA |
getPRA(int rep)
Returns a specific repetition of
PRA (Practitioner Detail) - creates it if necessary
|
List<PRA> |
getPRAAll()
Returns a non-modifiable List containing all current existing repetitions of PRA.
|
int |
getPRAReps()
Returns the number of existing repetitions of PRA
|
ROL |
getROL()
Returns
the first repetition of
ROL (Role) - creates it if necessary
|
ROL |
getROL(int rep)
Returns a specific repetition of
ROL (Role) - creates it if necessary
|
List<ROL> |
getROLAll()
Returns a non-modifiable List containing all current existing repetitions of ROL.
|
int |
getROLReps()
Returns the number of existing repetitions of ROL
|
SFT |
getSFT()
Returns
the first repetition of
SFT (Software Segment) - creates it if necessary
|
SFT |
getSFT(int rep)
Returns a specific repetition of
SFT (Software Segment) - creates it if necessary
|
List<SFT> |
getSFTAll()
Returns a non-modifiable List containing all current existing repetitions of SFT.
|
int |
getSFTReps()
Returns the number of existing repetitions of SFT
|
STF |
getSTF()
Returns
STF (Staff Identification) - creates it if necessary
|
UAC |
getUAC()
Returns
UAC (User Authentication Credential Segment) - creates it if necessary
|
String |
getVersion()
Returns "2.7"
|
void |
insertAFF(AFF structure,
int rep)
Inserts a specific repetition of AFF (Professional Affiliation)
|
AFF |
insertAFF(int rep)
Inserts a specific repetition of AFF (Professional Affiliation)
|
void |
insertCER(CER structure,
int rep)
Inserts a specific repetition of CER (Certificate Detail)
|
CER |
insertCER(int rep)
Inserts a specific repetition of CER (Certificate Detail)
|
void |
insertEDU(EDU structure,
int rep)
Inserts a specific repetition of EDU (Educational Detail)
|
EDU |
insertEDU(int rep)
Inserts a specific repetition of EDU (Educational Detail)
|
LAN |
insertLAN(int rep)
Inserts a specific repetition of LAN (Language Detail)
|
void |
insertLAN(LAN structure,
int rep)
Inserts a specific repetition of LAN (Language Detail)
|
NK1 |
insertNK1(int rep)
Inserts a specific repetition of NK1 (Next of Kin / Associated Parties)
|
void |
insertNK1(NK1 structure,
int rep)
Inserts a specific repetition of NK1 (Next of Kin / Associated Parties)
|
ORG |
insertORG(int rep)
Inserts a specific repetition of ORG (Practitioner Organization Unit s)
|
void |
insertORG(ORG structure,
int rep)
Inserts a specific repetition of ORG (Practitioner Organization Unit s)
|
PRA |
insertPRA(int rep)
Inserts a specific repetition of PRA (Practitioner Detail)
|
void |
insertPRA(PRA structure,
int rep)
Inserts a specific repetition of PRA (Practitioner Detail)
|
ROL |
insertROL(int rep)
Inserts a specific repetition of ROL (Role)
|
void |
insertROL(ROL structure,
int rep)
Inserts a specific repetition of ROL (Role)
|
SFT |
insertSFT(int rep)
Inserts a specific repetition of SFT (Software Segment)
|
void |
insertSFT(SFT structure,
int rep)
Inserts a specific repetition of SFT (Software Segment)
|
AFF |
removeAFF(int rep)
Removes a specific repetition of AFF (Professional Affiliation)
|
CER |
removeCER(int rep)
Removes a specific repetition of CER (Certificate Detail)
|
EDU |
removeEDU(int rep)
Removes a specific repetition of EDU (Educational Detail)
|
LAN |
removeLAN(int rep)
Removes a specific repetition of LAN (Language Detail)
|
NK1 |
removeNK1(int rep)
Removes a specific repetition of NK1 (Next of Kin / Associated Parties)
|
ORG |
removeORG(int rep)
Removes a specific repetition of ORG (Practitioner Organization Unit s)
|
PRA |
removePRA(int rep)
Removes a specific repetition of PRA (Practitioner Detail)
|
ROL |
removeROL(int rep)
Removes a specific repetition of ROL (Role)
|
SFT |
removeSFT(int rep)
Removes a specific repetition of SFT (Software Segment)
|
accept, encode, fillResponseHeader, generateACK, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParent, getParser, getValidationContext, initQuickstart, parse, printStructure, printStructure, setParser, toString
add, add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getName, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insert, insertRepetition, insertRepetition, isChoiceElement, isEmpty, isGroup, isRepeating, isRequired, provideLocation, removeRepetition, tryToInstantiateStructure, visitNestedStructures
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addNonstandardSegment, addNonstandardSegment, get, get, getAll, getClass, getNames, isChoiceElement, isGroup, isRepeating, isRequired
isEmpty, provideLocation
public PMU_B01()
public PMU_B01(ModelClassFactory factory)
public String getVersion()
getVersion
in interface Message
getVersion
in class AbstractMessage
public SFT getSFT()
Returns the first repetition of SFT (Software Segment) - creates it if necessary
public SFT getSFT(int rep)
Returns a specific repetition of SFT (Software Segment) - creates it if necessary
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getSFTReps()
Returns the number of existing repetitions of SFT
public List<SFT> getSFTAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of SFT.
Note that unlike getSFT()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertSFT(SFT structure, int rep) throws HL7Exception
Inserts a specific repetition of SFT (Software Segment)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SFT insertSFT(int rep) throws HL7Exception
Inserts a specific repetition of SFT (Software Segment)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SFT removeSFT(int rep) throws HL7Exception
Removes a specific repetition of SFT (Software Segment)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public UAC getUAC()
Returns UAC (User Authentication Credential Segment) - creates it if necessary
public PRA getPRA()
Returns the first repetition of PRA (Practitioner Detail) - creates it if necessary
public PRA getPRA(int rep)
Returns a specific repetition of PRA (Practitioner Detail) - creates it if necessary
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getPRAReps()
Returns the number of existing repetitions of PRA
public List<PRA> getPRAAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PRA.
Note that unlike getPRA()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPRA(PRA structure, int rep) throws HL7Exception
Inserts a specific repetition of PRA (Practitioner Detail)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PRA insertPRA(int rep) throws HL7Exception
Inserts a specific repetition of PRA (Practitioner Detail)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PRA removePRA(int rep) throws HL7Exception
Removes a specific repetition of PRA (Practitioner Detail)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public ORG getORG()
Returns the first repetition of ORG (Practitioner Organization Unit s) - creates it if necessary
public ORG getORG(int rep)
Returns a specific repetition of ORG (Practitioner Organization Unit s) - creates it if necessary
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getORGReps()
Returns the number of existing repetitions of ORG
public List<ORG> getORGAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ORG.
Note that unlike getORG()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertORG(ORG structure, int rep) throws HL7Exception
Inserts a specific repetition of ORG (Practitioner Organization Unit s)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORG insertORG(int rep) throws HL7Exception
Inserts a specific repetition of ORG (Practitioner Organization Unit s)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORG removeORG(int rep) throws HL7Exception
Removes a specific repetition of ORG (Practitioner Organization Unit s)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public AFF getAFF()
Returns the first repetition of AFF (Professional Affiliation) - creates it if necessary
public AFF getAFF(int rep)
Returns a specific repetition of AFF (Professional Affiliation) - creates it if necessary
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getAFFReps()
Returns the number of existing repetitions of AFF
public List<AFF> getAFFAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of AFF.
Note that unlike getAFF()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertAFF(AFF structure, int rep) throws HL7Exception
Inserts a specific repetition of AFF (Professional Affiliation)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public AFF insertAFF(int rep) throws HL7Exception
Inserts a specific repetition of AFF (Professional Affiliation)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public AFF removeAFF(int rep) throws HL7Exception
Removes a specific repetition of AFF (Professional Affiliation)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public LAN getLAN()
Returns the first repetition of LAN (Language Detail) - creates it if necessary
public LAN getLAN(int rep)
Returns a specific repetition of LAN (Language Detail) - creates it if necessary
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getLANReps()
Returns the number of existing repetitions of LAN
public List<LAN> getLANAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of LAN.
Note that unlike getLAN()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertLAN(LAN structure, int rep) throws HL7Exception
Inserts a specific repetition of LAN (Language Detail)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public LAN insertLAN(int rep) throws HL7Exception
Inserts a specific repetition of LAN (Language Detail)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public LAN removeLAN(int rep) throws HL7Exception
Removes a specific repetition of LAN (Language Detail)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public EDU getEDU()
Returns the first repetition of EDU (Educational Detail) - creates it if necessary
public EDU getEDU(int rep)
Returns a specific repetition of EDU (Educational Detail) - creates it if necessary
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getEDUReps()
Returns the number of existing repetitions of EDU
public List<EDU> getEDUAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of EDU.
Note that unlike getEDU()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertEDU(EDU structure, int rep) throws HL7Exception
Inserts a specific repetition of EDU (Educational Detail)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public EDU insertEDU(int rep) throws HL7Exception
Inserts a specific repetition of EDU (Educational Detail)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public EDU removeEDU(int rep) throws HL7Exception
Removes a specific repetition of EDU (Educational Detail)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public CER getCER()
Returns the first repetition of CER (Certificate Detail) - creates it if necessary
public CER getCER(int rep)
Returns a specific repetition of CER (Certificate Detail) - creates it if necessary
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getCERReps()
Returns the number of existing repetitions of CER
public List<CER> getCERAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of CER.
Note that unlike getCER()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertCER(CER structure, int rep) throws HL7Exception
Inserts a specific repetition of CER (Certificate Detail)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CER insertCER(int rep) throws HL7Exception
Inserts a specific repetition of CER (Certificate Detail)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CER removeCER(int rep) throws HL7Exception
Removes a specific repetition of CER (Certificate Detail)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public NK1 getNK1()
Returns the first repetition of NK1 (Next of Kin / Associated Parties) - creates it if necessary
public NK1 getNK1(int rep)
Returns a specific repetition of NK1 (Next of Kin / Associated Parties) - creates it if necessary
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getNK1Reps()
Returns the number of existing repetitions of NK1
public List<NK1> getNK1All() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of NK1.
Note that unlike getNK1()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertNK1(NK1 structure, int rep) throws HL7Exception
Inserts a specific repetition of NK1 (Next of Kin / Associated Parties)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public NK1 insertNK1(int rep) throws HL7Exception
Inserts a specific repetition of NK1 (Next of Kin / Associated Parties)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public NK1 removeNK1(int rep) throws HL7Exception
Removes a specific repetition of NK1 (Next of Kin / Associated Parties)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public ROL getROL(int rep)
Returns a specific repetition of ROL (Role) - creates it if necessary
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getROLReps()
Returns the number of existing repetitions of ROL
public List<ROL> getROLAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ROL.
Note that unlike getROL()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertROL(ROL structure, int rep) throws HL7Exception
Inserts a specific repetition of ROL (Role)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ROL insertROL(int rep) throws HL7Exception
Inserts a specific repetition of ROL (Role)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ROL removeROL(int rep) throws HL7Exception
Removes a specific repetition of ROL (Role)
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.