public class HL7ServiceImpl extends BaseOpenmrsService implements HL7Service
ContextHL7Service| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
countHL7InArchive(int messageState,
java.lang.String query)
the total count of all HL7InArchive objects in the database
|
java.lang.Integer |
countHL7InError(java.lang.String query)
the total count of all HL7InError objects in the database
|
java.lang.Integer |
countHL7InQueue(int messageState,
java.lang.String query)
the total count of all HL7InQueue objects in the database
|
void |
createHL7InArchive(HL7InArchive hl7InArchive)
Deprecated.
|
void |
createHL7InError(HL7InError hl7InError)
Deprecated.
|
void |
createHL7InQueue(HL7InQueue hl7InQueue)
Deprecated.
|
void |
createHL7Source(HL7Source hl7Source)
Deprecated.
|
Person |
createPersonFromNK1(ca.uhn.hl7v2.model.v25.segment.NK1 nk1)
creates a Person from information held in an NK1 segment; if valid PatientIdentifiers exist,
a Patient will be created and returned
|
void |
deleteHL7InArchive(HL7InArchive hl7InArchive)
Deprecated.
|
void |
deleteHL7InError(HL7InError hl7InError)
Deprecated.
|
void |
deleteHL7InQueue(HL7InQueue hl7InQueue)
Deprecated.
|
void |
deleteHL7Source(HL7Source hl7Source)
Deprecated.
|
void |
encounterCreated(Encounter encounter)
Deprecated.
This method is no longer needed. When an encounter is created in the ROUR01
handler, it is created with all obs. Any AOP hooking should be done on the
EncounterService.createEncounter(Encounter) method
|
void |
garbageCollect()
Clean up the current memory consumption
|
java.util.List<HL7InArchive> |
getAllHL7InArchives()
Get all archive hl7 queue items from the database
|
java.util.List<HL7InError> |
getAllHL7InErrors()
Get all
HL7InError items from the database |
java.util.List<HL7InQueue> |
getAllHL7InQueues()
Return a list of all hl7 in queues in the database
|
java.util.List<HL7Source> |
getAllHL7Sources()
Get all of the hl7 source objects from the database.
|
HL7InArchive |
getHL7InArchive(java.lang.Integer hl7InArchiveId)
Get the archive item with the given id, If hl7 archives were moved to the file system, you
can't do a look up by hl7ArchiveId, instead call
HL7Service.getHL7InArchiveByUuid(String) |
java.util.List<HL7InArchive> |
getHL7InArchiveBatch(int start,
int length,
int messageState,
java.lang.String query)
Return a list of all hl7 in archives based on batch settings and a query string
|
java.util.List<HL7InArchive> |
getHL7InArchiveByState(java.lang.Integer state)
If hl7 migration has been run and the state matches that of processed items, the method
returns a list of all archives in the file system, for any other state , it returns an empty
list, this is because all archives would have a status of 'processed' after migration and all
deleted archives moved back into the queue with a status of 'deleted' otherwise it returns
archives with a matching state if migration hasn't yet been run.
|
HL7InArchive |
getHL7InArchiveByUuid(java.lang.String uuid)
Get the archive item with the given uuid
|
java.util.Collection<HL7InArchive> |
getHL7InArchives()
Deprecated.
|
HL7InError |
getHL7InError(java.lang.Integer hl7InErrorId)
Get the error item with the given id
|
java.util.List<HL7InError> |
getHL7InErrorBatch(int start,
int length,
java.lang.String query)
Return a list of all hl7 in errors based on batch settings and a query string
|
HL7InError |
getHL7InErrorByUuid(java.lang.String uuid)
Get the error item with the given uuid
|
java.util.Collection<HL7InError> |
getHL7InErrors()
Deprecated.
|
HL7InQueue |
getHL7InQueue(java.lang.Integer hl7InQueueId)
Get the hl7 queue item with the given primary key id
|
java.util.List<HL7InQueue> |
getHL7InQueueBatch(int start,
int length,
int messageState,
java.lang.String query)
Return a list of all hl7 in queues based on batch settings and a query string
|
java.util.List<HL7InQueue> |
getHL7InQueueByState(java.lang.Integer state)
Get the queue items given a state (deleted, error, pending, processing, processed).
|
HL7InQueue |
getHL7InQueueByUuid(java.lang.String uuid)
Get the hl7 queue item with the given uuid
|
java.util.Collection<HL7InQueue> |
getHL7InQueues()
Deprecated.
|
HL7QueueItem |
getHl7QueueItemByUuid(java.lang.String uuid)
Get
HL7QueueItem with the given uuid. |
HL7Source |
getHL7Source(java.lang.Integer hl7SourceId)
Auto generated method comment
|
HL7Source |
getHL7Source(java.lang.String name)
Deprecated.
|
HL7Source |
getHL7SourceByName(java.lang.String name)
Get the hl7 source object from the database that has the given name
|
java.util.Collection<HL7Source> |
getHL7Sources()
Deprecated.
|
static HL7ServiceImpl |
getInstance()
Singleton Factory method
|
HL7InQueue |
getNextHL7InQueue()
Get the first queue item in the database
|
java.lang.String |
getUuidFromIdentifiers(ca.uhn.hl7v2.model.v25.datatype.CX[] identifiers)
finds a UUID from an array of identifiers
|
void |
loadHL7InArchiveData(HL7InArchive archive)
Loads HL7 data from the filesystem for an archived HL7InArchive
|
void |
loadHL7InArchiveData(java.util.List<HL7InArchive> archives)
Loads data for a list of HL7 archives from the filesystem
|
void |
migrateHl7InArchivesToFileSystem(java.util.Map<java.lang.String,java.lang.Integer> progressStatusMap)
Method is called by the archives migration thread to transfer hl7 in archives from the
hl7_in_archives database table to the file system
|
ca.uhn.hl7v2.model.Message |
parseHL7String(java.lang.String hl7Message)
Parses the given string and returns the resulting
Message |
HL7InQueue |
processHL7InQueue(HL7InQueue hl7InQueue)
Process the given
HL7InQueue item. |
ca.uhn.hl7v2.model.Message |
processHL7Message(ca.uhn.hl7v2.model.Message message)
Parses the given
Message and saves the resulting content to the database |
void |
purgeHL7InArchive(HL7InArchive hl7InArchive)
Completely delete the hl7 in archive item from the database
|
void |
purgeHL7InError(HL7InError hl7InError)
Completely remove this error item from the database
|
void |
purgeHL7InQueue(HL7InQueue hl7InQueue)
Completely delete the hl7 in queue item from the database.
|
void |
purgeHL7Source(HL7Source hl7Source)
Completely remove the source from the database.
|
java.lang.Integer |
resolveLocationId(ca.uhn.hl7v2.model.v25.datatype.PL pl)
Resolves location from person location object, and if location id is specified then returns
correspond internal identifier of the specified location.
|
java.lang.Integer |
resolvePatientId(ca.uhn.hl7v2.model.v25.segment.PID pid) |
Person |
resolvePersonFromIdentifiers(ca.uhn.hl7v2.model.v25.datatype.CX[] identifiers)
determines a person (or patient) based on identifiers from a CX array, as found in a PID or
NK1 segment; the first resolving identifier in the list wins
|
java.lang.Integer |
resolvePersonId(ca.uhn.hl7v2.model.v25.datatype.XCN xcn) |
java.lang.Integer |
resolveUserId(ca.uhn.hl7v2.model.v25.datatype.XCN xcn) |
HL7Source |
retireHL7Source(HL7Source hl7Source)
Mark the given
hl7Source as no longer active |
HL7InArchive |
saveHL7InArchive(HL7InArchive hl7InArchive)
Save the given hl7 in archive to the database
|
HL7InError |
saveHL7InError(HL7InError hl7InError)
Save the given error item to the database
|
HL7InQueue |
saveHL7InQueue(HL7InQueue hl7InQueue)
Save the given
hl7InQueue to the database |
HL7Source |
saveHL7Source(HL7Source hl7Source)
Save the given
hl7Source to the database |
void |
setHL7DAO(HL7DAO dao)
Auto generated method comment
|
void |
setHL7Handlers(java.util.Map<java.lang.String,ca.uhn.hl7v2.app.Application> handlers)
Sets the given handlers as router applications that are available to HAPI when it is parsing
an hl7 message.
This method is usually used by Spring and the handlers are set in the applicationContext-server.xml method. The key in the map is a string like "ORU_R01" where the first part is the message type and the second is the trigger event. |
void |
setParser(ca.uhn.hl7v2.parser.GenericParser parser)
Used by spring to inject the parser
|
void |
setRouter(ca.uhn.hl7v2.app.MessageTypeRouter router)
Used by spring to inject the router
|
void |
updateHL7InArchive(HL7InArchive hl7InArchive)
Deprecated.
|
void |
updateHL7InError(HL7InError hl7InError)
Deprecated.
|
void |
updateHL7Source(HL7Source hl7Source)
Deprecated.
|
onShutdown, onStartupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonShutdown, onStartupprotected HL7DAO dao
public static HL7ServiceImpl getInstance()
public void setHL7DAO(HL7DAO dao)
HL7ServicesetHL7DAO in interface HL7ServiceHL7Service.setHL7DAO(org.openmrs.hl7.db.HL7DAO)public void setParser(ca.uhn.hl7v2.parser.GenericParser parser)
parser - the parser to usepublic void setRouter(ca.uhn.hl7v2.app.MessageTypeRouter router)
router - the router to usepublic HL7Source saveHL7Source(HL7Source hl7Source) throws APIException
HL7Servicehl7Source to the databasesaveHL7Source in interface HL7Servicehl7Source - the source to saveAPIExceptionHL7Service.saveHL7Source(org.openmrs.hl7.HL7Source)public void purgeHL7Source(HL7Source hl7Source) throws APIException
HL7ServiceHL7Service.retireHL7Source(HL7Source)purgeHL7Source in interface HL7ServiceAPIExceptionHL7Service.purgeHL7Source(org.openmrs.hl7.HL7Source)public HL7Source retireHL7Source(HL7Source hl7Source) throws APIException
HL7Servicehl7Source as no longer activeretireHL7Source in interface HL7Servicehl7Source - the source to retireAPIExceptionHL7Service.retireHL7Source(org.openmrs.hl7.HL7Source)@Deprecated public void createHL7Source(HL7Source hl7Source)
createHL7Source in interface HL7ServiceHL7Service.createHL7Source(org.openmrs.hl7.HL7Source)public HL7Source getHL7Source(java.lang.Integer hl7SourceId)
HL7ServicegetHL7Source in interface HL7ServiceHL7Sourceobject for given identifierHL7Service.getHL7Source(java.lang.Integer)public java.util.List<HL7Source> getAllHL7Sources() throws APIException
HL7ServicegetAllHL7Sources in interface HL7ServiceAPIExceptionHL7Service.getAllHL7Sources()public HL7Source getHL7SourceByName(java.lang.String name) throws APIException
HL7ServicegetHL7SourceByName in interface HL7Servicename - string to 'search' onAPIExceptionHL7Service.getHL7SourceByName(java.lang.String)@Deprecated public HL7Source getHL7Source(java.lang.String name)
getHL7Source in interface HL7ServiceHL7Service.getHL7Source(java.lang.String)@Deprecated public java.util.Collection<HL7Source> getHL7Sources()
getHL7Sources in interface HL7ServiceHL7Service.getHL7Sources()@Deprecated public void updateHL7Source(HL7Source hl7Source)
updateHL7Source in interface HL7ServiceHL7Service.updateHL7Source(org.openmrs.hl7.HL7Source)@Deprecated public void deleteHL7Source(HL7Source hl7Source)
deleteHL7Source in interface HL7ServiceHL7Service.deleteHL7Source(org.openmrs.hl7.HL7Source)public java.util.List<HL7InQueue> getAllHL7InQueues() throws APIException
HL7ServicegetAllHL7InQueues in interface HL7ServiceAPIExceptionHL7Service.getAllHL7InQueues()public java.util.List<HL7InQueue> getHL7InQueueBatch(int start, int length, int messageState, java.lang.String query) throws APIException
HL7ServicegetHL7InQueueBatch in interface HL7Servicestart - beginning indexlength - size of the batchmessageState - status of the HL7InQueue messagequery - search stringAPIExceptionorg.openmrs.hl7.HL7Service#getHL7InQueueBatch(int, int, java.lang.String)public java.util.List<HL7InError> getHL7InErrorBatch(int start, int length, java.lang.String query) throws APIException
HL7ServicegetHL7InErrorBatch in interface HL7Servicestart - beginning indexlength - size of the batchquery - search stringAPIExceptionHL7Service.getHL7InErrorBatch(int, int, java.lang.String)public java.util.List<HL7InArchive> getHL7InArchiveBatch(int start, int length, int messageState, java.lang.String query) throws APIException
HL7ServicegetHL7InArchiveBatch in interface HL7Servicestart - beginning indexlength - size of the batchmessageState - status of the HL7InArchive messagequery - search stringAPIExceptionorg.openmrs.hl7.HL7Service#getHL7InArchiveBatch(int, int, java.lang.String)public java.lang.Integer countHL7InQueue(int messageState,
java.lang.String query)
throws APIException
HL7ServicecountHL7InQueue in interface HL7ServicemessageState - HL7InQueue statusquery - search stringAPIExceptionHL7Service.countHL7InQueue(int, java.lang.String)public java.lang.Integer countHL7InError(java.lang.String query)
throws APIException
HL7ServicecountHL7InError in interface HL7Servicequery - search stringAPIExceptionHL7Service.countHL7InError(java.lang.String)public java.lang.Integer countHL7InArchive(int messageState,
java.lang.String query)
throws APIException
HL7ServicecountHL7InArchive in interface HL7ServicemessageState - status of the HL7InArchive messagequery - search stringAPIExceptionHL7Service.countHL7InArchive(int, java.lang.String)public void purgeHL7InQueue(HL7InQueue hl7InQueue)
HL7ServicepurgeHL7InQueue in interface HL7ServiceHL7Service.purgeHL7InQueue(org.openmrs.hl7.HL7InQueue)public HL7InQueue saveHL7InQueue(HL7InQueue hl7InQueue) throws APIException
HL7Servicehl7InQueue to the databasesaveHL7InQueue in interface HL7Servicehl7InQueue - the queue item to saveAPIExceptionHL7Service.saveHL7InQueue(org.openmrs.hl7.HL7InQueue)@Deprecated public void createHL7InQueue(HL7InQueue hl7InQueue)
createHL7InQueue in interface HL7ServiceHL7Service.createHL7InQueue(org.openmrs.hl7.HL7InQueue)public HL7InQueue getHL7InQueue(java.lang.Integer hl7InQueueId)
HL7ServicegetHL7InQueue in interface HL7Servicehl7InQueueId - the id to search onHL7Service.getHL7InQueue(java.lang.Integer)public HL7InQueue getHL7InQueueByUuid(java.lang.String uuid) throws APIException
HL7ServicegetHL7InQueueByUuid in interface HL7ServicenullAPIException@Deprecated public java.util.Collection<HL7InQueue> getHL7InQueues()
getHL7InQueues in interface HL7ServiceHL7Service.getHL7InQueues()public HL7InQueue getNextHL7InQueue()
HL7ServicegetNextHL7InQueue in interface HL7ServiceHL7Service.getNextHL7InQueue()@Deprecated public void deleteHL7InQueue(HL7InQueue hl7InQueue)
deleteHL7InQueue in interface HL7ServiceHL7Service.deleteHL7InQueue(org.openmrs.hl7.HL7InQueue)public java.util.List<HL7InArchive> getHL7InArchiveByState(java.lang.Integer state) throws APIException
HL7ServicegetHL7InArchiveByState in interface HL7ServiceAPIExceptionHL7Service.getHL7InArchiveByState(java.lang.Integer)public java.util.List<HL7InQueue> getHL7InQueueByState(java.lang.Integer state) throws APIException
HL7ServicegetHL7InQueueByState in interface HL7ServiceAPIExceptionHL7Service.getHL7InQueueByState(java.lang.Integer)public java.util.List<HL7InArchive> getAllHL7InArchives() throws APIException
HL7ServicegetAllHL7InArchives in interface HL7ServiceAPIExceptionHL7Service.getAllHL7InArchives()public void purgeHL7InArchive(HL7InArchive hl7InArchive) throws APIException
HL7ServicepurgeHL7InArchive in interface HL7Servicehl7InArchive - the archived item to deleteAPIExceptionHL7Service.purgeHL7InArchive(org.openmrs.hl7.HL7InArchive)public HL7InArchive saveHL7InArchive(HL7InArchive hl7InArchive) throws APIException
HL7ServicesaveHL7InArchive in interface HL7Servicehl7InArchive - the archive to saveAPIExceptionHL7Service.saveHL7InArchive(org.openmrs.hl7.HL7InArchive)@Deprecated public void createHL7InArchive(HL7InArchive hl7InArchive)
createHL7InArchive in interface HL7ServiceHL7Service.createHL7InArchive(org.openmrs.hl7.HL7InArchive)public HL7InArchive getHL7InArchive(java.lang.Integer hl7InArchiveId)
HL7ServiceHL7Service.getHL7InArchiveByUuid(String)getHL7InArchive in interface HL7Servicehl7InArchiveId - the id to search onHL7Service.getHL7InArchive(java.lang.Integer)@Deprecated public java.util.Collection<HL7InArchive> getHL7InArchives()
getHL7InArchives in interface HL7ServiceHL7Service.getHL7InArchives()@Deprecated public void updateHL7InArchive(HL7InArchive hl7InArchive)
updateHL7InArchive in interface HL7ServiceHL7Service.updateHL7InArchive(org.openmrs.hl7.HL7InArchive)@Deprecated public void deleteHL7InArchive(HL7InArchive hl7InArchive)
deleteHL7InArchive in interface HL7ServiceHL7Service.deleteHL7InArchive(org.openmrs.hl7.HL7InArchive)public java.util.List<HL7InError> getAllHL7InErrors() throws APIException
HL7ServiceHL7InError items from the databasegetAllHL7InErrors in interface HL7ServiceHL7InError items from the databaseAPIExceptionHL7Service.getAllHL7InErrors()public void purgeHL7InError(HL7InError hl7InError) throws APIException
HL7ServicepurgeHL7InError in interface HL7Servicehl7InError - the item to removeAPIExceptionHL7Service.purgeHL7InError(org.openmrs.hl7.HL7InError)public HL7InError saveHL7InError(HL7InError hl7InError) throws APIException
HL7ServicesaveHL7InError in interface HL7Servicehl7InError - the item to saveAPIExceptionHL7Service.saveHL7InError(org.openmrs.hl7.HL7InError)@Deprecated public void createHL7InError(HL7InError hl7InError)
createHL7InError in interface HL7ServiceHL7Service.createHL7InError(org.openmrs.hl7.HL7InError)public HL7InError getHL7InError(java.lang.Integer hl7InErrorId)
HL7ServicegetHL7InError in interface HL7Servicehl7InErrorId - the id to search onHL7Service.getHL7InError(java.lang.Integer)public HL7InError getHL7InErrorByUuid(java.lang.String uuid) throws APIException
HL7ServicegetHL7InErrorByUuid in interface HL7ServicenullAPIException@Deprecated public java.util.Collection<HL7InError> getHL7InErrors()
getHL7InErrors in interface HL7ServiceHL7Service.getHL7InErrors()@Deprecated public void updateHL7InError(HL7InError hl7InError)
updateHL7InError in interface HL7ServiceHL7Service.updateHL7InError(org.openmrs.hl7.HL7InError)@Deprecated public void deleteHL7InError(HL7InError hl7InError)
deleteHL7InError in interface HL7ServiceHL7Service.deleteHL7InError(org.openmrs.hl7.HL7InError)public java.lang.Integer resolveUserId(ca.uhn.hl7v2.model.v25.datatype.XCN xcn)
throws ca.uhn.hl7v2.HL7Exception
resolveUserId in interface HL7Servicexcn - HL7 component of data type XCN (extended composite ID number and name for persons)
(see HL7 2.5 manual Ch.2A.86)ca.uhn.hl7v2.HL7Exceptionpublic java.lang.Integer resolvePersonId(ca.uhn.hl7v2.model.v25.datatype.XCN xcn)
throws ca.uhn.hl7v2.HL7Exception
resolvePersonId in interface HL7Servicexcn - HL7 component of data type XCN (extended composite ID number and name for persons)
(see HL7 2.5 manual Ch.2A.86)ca.uhn.hl7v2.HL7ExceptionHL7Service.resolvePersonId(ca.uhn.hl7v2.model.v25.datatype.XCN)public java.lang.Integer resolveLocationId(ca.uhn.hl7v2.model.v25.datatype.PL pl)
throws ca.uhn.hl7v2.HL7Exception
HL7ServiceresolveLocationId in interface HL7Servicepl - HL7 component of data type PL (person location) (see Ch 2.A.53)ca.uhn.hl7v2.HL7Exceptionpublic java.lang.Integer resolvePatientId(ca.uhn.hl7v2.model.v25.segment.PID pid)
throws ca.uhn.hl7v2.HL7Exception
resolvePatientId in interface HL7Servicepid - A PID segment of an hl7 messageca.uhn.hl7v2.HL7Exceptionpublic Person resolvePersonFromIdentifiers(ca.uhn.hl7v2.model.v25.datatype.CX[] identifiers) throws ca.uhn.hl7v2.HL7Exception
HL7ServiceresolvePersonFromIdentifiers in interface HL7Serviceidentifiers - CX identifier list from an identifier (either PID or NK1)ca.uhn.hl7v2.HL7Exceptionpublic void garbageCollect()
HL7ServicegarbageCollect in interface HL7ServiceHL7Service.garbageCollect()@Deprecated public void encounterCreated(Encounter encounter)
HL7ServiceencounterCreated in interface HL7ServiceHL7Service.encounterCreated(org.openmrs.Encounter)public HL7InQueue processHL7InQueue(HL7InQueue hl7InQueue) throws ca.uhn.hl7v2.HL7Exception
HL7ServiceHL7InQueue item. HL7InError is created and saved. HL7InArchive is created and saved.HL7InQueue is removed from the hl7 in queue table regardless of success or
failure of the processing.processHL7InQueue in interface HL7Servicehl7InQueue - the HL7InQueue to parse and save all encounters/obs to the dbHL7InQueueca.uhn.hl7v2.HL7ExceptionHL7Service.processHL7InQueue(org.openmrs.hl7.HL7InQueue)public ca.uhn.hl7v2.model.Message parseHL7String(java.lang.String hl7Message)
throws ca.uhn.hl7v2.HL7Exception
HL7ServiceMessageparseHL7String in interface HL7Servicehl7Message - the hl7 string to parse and saveMessage that the given hl7 string representsca.uhn.hl7v2.HL7Exceptionorg.openmrs.hl7.HL7Service#parseHL7Message(java.lang.String)public HL7InArchive getHL7InArchiveByUuid(java.lang.String uuid) throws APIException
HL7ServicegetHL7InArchiveByUuid in interface HL7Serviceuuid - to search onAPIExceptionHL7Service.getHL7InArchiveByUuid(java.lang.String)public ca.uhn.hl7v2.model.Message processHL7Message(ca.uhn.hl7v2.model.Message message)
throws ca.uhn.hl7v2.HL7Exception
HL7ServiceMessage and saves the resulting content to the databaseprocessHL7Message in interface HL7Servicemessage - the Message to process and save to the db.ca.uhn.hl7v2.HL7ExceptionHL7Service.processHL7Message(ca.uhn.hl7v2.model.Message)public void setHL7Handlers(java.util.Map<java.lang.String,ca.uhn.hl7v2.app.Application> handlers)
handlers - a map from MessageName to Application objectpublic Person createPersonFromNK1(ca.uhn.hl7v2.model.v25.segment.NK1 nk1) throws ca.uhn.hl7v2.HL7Exception
HL7ServicecreatePersonFromNK1 in interface HL7Servicenk1 - the NK1 segment with person informationca.uhn.hl7v2.HL7ExceptionHL7Service.createPersonFromNK1(ca.uhn.hl7v2.model.v25.segment.NK1)public java.lang.String getUuidFromIdentifiers(ca.uhn.hl7v2.model.v25.datatype.CX[] identifiers)
throws ca.uhn.hl7v2.HL7Exception
HL7ServicegetUuidFromIdentifiers in interface HL7Serviceca.uhn.hl7v2.HL7ExceptionHL7Service.getUuidFromIdentifiers(ca.uhn.hl7v2.model.v25.datatype.CX[])public void loadHL7InArchiveData(java.util.List<HL7InArchive> archives) throws APIException
HL7ServiceloadHL7InArchiveData in interface HL7ServiceAPIExceptionHL7Service.loadHL7InArchiveData(List)public void loadHL7InArchiveData(HL7InArchive archive) throws APIException
HL7ServiceloadHL7InArchiveData in interface HL7ServiceAPIExceptionHL7Service.loadHL7InArchiveData(HL7InArchive)public void migrateHl7InArchivesToFileSystem(java.util.Map<java.lang.String,java.lang.Integer> progressStatusMap)
throws APIException
HL7ServicemigrateHl7InArchivesToFileSystem in interface HL7ServiceprogressStatusMap - the map holding the number of archives transferred and failed
transfersAPIExceptionHL7Service.migrateHl7InArchivesToFileSystem(Map)public HL7QueueItem getHl7QueueItemByUuid(java.lang.String uuid) throws APIException
HL7ServiceHL7QueueItem with the given uuid.
It calls HL7Service.getHL7InQueueByUuid(String), HL7Service.getHL7InArchiveByUuid(String) and
HL7Service.getHL7InErrorByUuid(String) consecutively and returns the first non-null result.
getHl7QueueItemByUuid in interface HL7ServicenullAPIExceptionCopyright © 2018 OpenMRS Inc.. All Rights Reserved.