|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elexis.befunde.xchange.XChangeContributor
public class XChangeContributor
Plug into the elexis xChange model. Since we have that slightly weird model of finding definition in this elexis-befunde-Plugin, this is more complicated as in other plugins. First we need to figure out the Names of the Tabs in the FindingsView. These are encoded in the hashtable as value of the Item "Setup". We can retrieve this item with the call to Messwert.getSetup(); Its Befunde-Member holds a hashtable that encodes all finding items. The names of the items are listet as hash value with the key "names", a String separated by SETUP_SEPARATOR The fields of each item are listed as hash values with the key [name]_FIELDS. Each is a String separated by SETUP_SEPARATOR. Every field contains a name and a multiline-indicator, separated by SETUP_CHECKSEPARATOR. The name can, optionally, contain a script definition. In that case it ist a String of the form result=script We create from every finding item an xChange:BefundeItem and from every finding entry an xChange:BefundElement. Thus if we have a tab "Cardio" defined, with the elements RRSyst,RRDiast,HR, there will be three FindingElements called Cardio:RRSyst, Cardio:RRDiast, Cardio:HR
Field Summary |
---|
Fields inherited from interface ch.elexis.exchange.IExchangeContributor |
---|
ExtensionPointName |
Constructor Summary | |
---|---|
XChangeContributor()
|
Method Summary | |
---|---|
void |
exportHook(MedicalElement me)
An Element is to be exported. |
java.util.HashMap<java.lang.String,java.lang.String> |
getResult(java.lang.String name,
java.lang.String date)
|
java.util.List<Messwert> |
getResults(java.lang.String name)
|
void |
importHook(XChangeContainer container,
PersistentObject context)
An Element ist to be imported. |
boolean |
init(MedicalElement me,
boolean export)
Perform any needed initialization before the first call |
void |
setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
java.lang.String propertyName,
java.lang.Object data)
|
void |
setPatient(Patient pat)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XChangeContributor()
Method Detail |
---|
public void setPatient(Patient pat)
public java.util.List<Messwert> getResults(java.lang.String name)
public java.util.HashMap<java.lang.String,java.lang.String> getResult(java.lang.String name, java.lang.String date)
public void exportHook(MedicalElement me)
IExchangeContributor
exportHook
in interface IExchangeContributor
public void importHook(XChangeContainer container, PersistentObject context)
IExchangeContributor
importHook
in interface IExchangeContributor
container
- the source containerpublic boolean init(MedicalElement me, boolean export)
IExchangeContributor
init
in interface IExchangeContributor
me
- : The Medical into/from wich the transfer will happenexport
- : true: export is about to begin. False: import is about to begin
public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config, java.lang.String propertyName, java.lang.Object data) throws org.eclipse.core.runtime.CoreException
setInitializationData
in interface org.eclipse.core.runtime.IExecutableExtension
org.eclipse.core.runtime.CoreException
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |