|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDocumentManager
A Service acting as DocumentManagement must implement this Interfache
Method Summary | |
---|---|
boolean |
addCategory(java.lang.String categorie)
Add a Categorie |
java.lang.String |
addDocument(IOpaqueDocument doc)
Ad a document |
java.lang.String[] |
getCategories()
List Categories for Documents |
IOpaqueDocument |
getDocument(java.lang.String id)
|
java.util.List<IOpaqueDocument> |
listDocuments(java.lang.String patID,
java.lang.String categoryMatch,
java.lang.String titleMatch,
java.lang.String keywordMatch,
TimeSpan dateMatch,
java.lang.String contentsMatch)
Retrieve documents with matching criteria. |
boolean |
removeDocument(java.lang.String guid)
remove and delete a document |
Method Detail |
---|
java.lang.String[] getCategories()
boolean addCategory(java.lang.String categorie)
java.lang.String addDocument(IOpaqueDocument doc) throws ElexisException
doc
- The IDocument to add
ElexisException
boolean removeDocument(java.lang.String guid)
guid
- the guid of the doucment to remove
IOpaqueDocument getDocument(java.lang.String id)
java.util.List<IOpaqueDocument> listDocuments(java.lang.String patID, java.lang.String categoryMatch, java.lang.String titleMatch, java.lang.String keywordMatch, TimeSpan dateMatch, java.lang.String contentsMatch) throws ElexisException
patID
- The ID of the patient the documents belong tocategoryMatch
- the category or categories to matchtitleMatch
- titlekeywordMatch
- keyword to find. Will match if at least one of the documents keywords match the
parameterdateMatch
- match only documents woth dates within the given timespancontentsMatch
- find a match in the contents of the document. Note: This is not supported by all
documentmanagers and it might be very inefficient! If the parameter is not null
and the implementation does not support contentMatch, it throws an ElexisException
EE_NOT_SUPPORTED.
ElexisException
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |