|
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 |
java.lang.Objecteaustria.dame.modell.DameDokumentverwaltung
public class DameDokumentverwaltung
Die Dokumentenverwaltung ermöglicht das Filtern aller DAME-Dokumente nach bestimmten Kriterien. Besonders wichtig ist das Filtern nach dem Patienten, damit nur Dokumente zu einem bestimmten Patienten aufgelistet werden.
Constructor Summary | |
---|---|
DameDokumentverwaltung()
|
Method Summary | |
---|---|
boolean |
addCategory(java.lang.String kategorie)
Add a Categorie |
java.lang.String |
addDocument(IOpaqueDocument dok)
ACHTUNG! |
void |
beobachterDeregistrieren(DameDokumentverwaltungsbeobachter beob)
Deregistriert einen neuen Beobachter. |
void |
beobachterRegistrieren(DameDokumentverwaltungsbeobachter beob)
Registriert einen neuen Beobachter. |
java.util.List<IOpaqueDocument> |
gefilterteDokumente(Patient pat,
Mandant mand)
Liefert alle Dokumente, die dem gegebenen Patient und dem gegebenen Mandanten zugeordnet sind und alle Dokumente, die keinem Patienten oder keinem Mandanten zugeordnet sind. |
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 |
static java.lang.String |
streuwertBerechnen(byte[] inhalt)
Berechnet den zu diesem Inhalt gehörigen SHA1-Streuwert. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DameDokumentverwaltung()
Method Detail |
---|
public boolean addCategory(java.lang.String kategorie)
IDocumentManager
addCategory
in interface IDocumentManager
public java.lang.String addDocument(IOpaqueDocument dok) throws ElexisException
addDocument
in interface IDocumentManager
dok
- The IDocument to add
ElexisException
public static java.lang.String streuwertBerechnen(byte[] inhalt)
public java.lang.String[] getCategories()
IDocumentManager
getCategories
in interface IDocumentManager
public IOpaqueDocument getDocument(java.lang.String id)
getDocument
in interface IDocumentManager
public 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
IDocumentManager
listDocuments
in interface IDocumentManager
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
public void beobachterRegistrieren(DameDokumentverwaltungsbeobachter beob)
public void beobachterDeregistrieren(DameDokumentverwaltungsbeobachter beob)
public java.util.List<IOpaqueDocument> gefilterteDokumente(Patient pat, Mandant mand) throws ElexisException
pat
- zu filternder Patientmand
- zu filternder Mandant
ElexisException
public boolean removeDocument(java.lang.String guid)
IDocumentManager
removeDocument
in interface IDocumentManager
guid
- the guid of the doucment to remove
|
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 |