SAP ABAP Class CL_ISHMED_ME_CALCULATOR (i.s.h.med: Medication - Calculator Class)
Hierarchy
☛
IS-H (Software Component) SAP Healthcare
⤷ IS-HMED (Application Component) Clinical System
⤷ NMED_ME (Package) IS-H*MED: Medication
⤷ IS-HMED (Application Component) Clinical System
⤷ NMED_ME (Package) IS-H*MED: Medication
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_ISH_IDENTIFY_OBJECT | IS-H: Assign a Type to an Object | 20060515 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_ISH_OBJECT_TYPES | IS-H: Definition of Types | 20060515 |
Properties
Class | CL_ISHMED_ME_CALCULATOR | |
Short Description | i.s.h.med: Medication - Calculator Class | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | NMED_ME | IS-H*MED: Medication |
Created | 20060515 | SAP |
Last change | 20071120 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_ISHMED_ME_CALCULATOR has no forward declaration.
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_ISH_IDENTIFY_OBJECT | IS-H: Assign a Type to an Object | 20060515 | ||
2 | IF_ISH_OBJECT_TYPES | IS-H: Definition of Types | 20060515 |
Friends
Class CL_ISHMED_ME_CALCULATOR has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | CO_OTYPE_ME_CALCULATOR | Constant | Public | Type reference (TYPE) | ISH_OBJECT_TYPE | 12201 | Object Type for Medication Calculator | 20060515 | |
2 | GR_ERRORHANDLER | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ISHMED_ERRORHANDLING | Accepts Errors Occurred | 20060515 | ||
3 | G_RESULT | Instance attribute | Protected | Type reference (TYPE) | N1ME_QUANTITY | Current Result of Last Calculation | 20060515 | ||
4 | G_RESULT_UNIT | Instance attribute | Protected | Type reference (TYPE) | UNIT | Unit of Result | 20060515 | ||
5 | OFF | Constant | Public | Type reference (TYPE) | ISH_ON_OFF | ' ' | OFF | 20060515 | |
6 | ON | Constant | Public | Type reference (TYPE) | ISH_ON_OFF | 'X' | ON | 20060515 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD | Instance method | Public | Method | Adds a Value to Existing Intermediate Result | 20060515 |
2 | CHECK_UNITS | Static method | Protected | Method | Checks Whether Units Match | 20060515 |
3 | COMPARE | Static method | Public | Method | Compare Two Values (Resulting from Value + Unit) | 20060515 |
4 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20060515 |
5 | CONVERT | Static method | Public | Method | Convert a Value of a Unit to Another Unit | 20060619 |
6 | CREATE | Static method | Public | Method | Creates Class Instance | 20060515 |
7 | DIVIDE | Instance method | Public | Method | Divides Existing Intermediate Result with Value | 20060515 |
8 | GET_ERRORS | Instance method | Public | Method | Returns Error Which Occurred Last | 20060515 |
9 | GET_RESULT | Instance method | Public | Method | Returns Intermediate Result | 20060515 |
10 | GET_TYPE | Instance method | Public | Method | 20060515 | |
11 | GET_UNIT_FACTOR | Static method | Protected | Method | Determine Factors of Two Units | 20060515 |
12 | INITIALIZE | Instance method | Public | Method | Initializes Instance | 20060515 |
13 | IS_A | Instance method | Public | Method | 20060515 | |
14 | IS_ERROR | Instance method | Public | Method | Returns Error Which Occurred Last | 20060515 |
15 | IS_INHERITED_FROM | Instance method | Public | Method | 20060515 | |
16 | IS_INITIAL | Instance method | Public | Method | Is Content of Instance Still Blank (i.e. Initial)? | 20060515 |
17 | MULTIPLY | Instance method | Public | Method | Multiplies Existing Intermediate Result with Value | 20060515 |
18 | SET | Instance method | Public | Method | Sets Values for First Calculation Operation | 20060515 |
19 | SUBTRACT | Instance method | Public | Method | Subtracts Value from Existing Intermediate Results | 20060515 |
20 | SUBTRACT_DATES | Static method | Public | Method | Map Difference (in Seconds) Between 2 Dates | 20070712 |
Events
Class CL_ISHMED_ME_CALCULATOR has no event.
Types
Class CL_ISHMED_ME_CALCULATOR has no local type.
Method Signatures
Method ADD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IR_ADDEND | Value transfer | Object reference (TYPE REF TO) | CL_ISHMED_ME_CALCULATOR | Summand als Zwischenergebnis aus IR_ADDEND | 20060515 | ||
2 | Importing | I_ADDEND | Value transfer | Type reference (TYPE) | ANY | Wert, der zum Inhalt der Klasse addiert wird (Summand) | 20060515 | ||
3 | Importing | I_ADDEND_UNIT | Value transfer | Type reference (TYPE) | UNIT | Einheit des Summands | 20060515 |
Method ADD on class CL_ISHMED_ME_CALCULATOR has no exception.
Method CHECK_UNITS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CR_ERRORHANDLER | Call by reference | Object reference (TYPE REF TO) | CL_ISHMED_ERRORHANDLING | IS-H*MED: Klasse zur Fehlerabarbeitung | 20060515 | ||
2 | Exporting | E_RC | Value transfer | Type reference (TYPE) | ISH_METHOD_RC | Returncode | 20060515 | ||
3 | Importing | I_ACCEPT_UNIT2_EMPTY | Value transfer | Type reference (TYPE) | ISH_ON_OFF | 'X' | 'X'...UNIT2 darf leer sein | 20060515 | |
4 | Importing | I_UNIT1 | Value transfer | Type reference (TYPE) | UNIT | Erste Einheit | 20060515 | ||
5 | Importing | I_UNIT2 | Value transfer | Type reference (TYPE) | UNIT | Zweite Einheit (oder leer) | 20060515 |
Method CHECK_UNITS on class CL_ISHMED_ME_CALCULATOR has no exception.
Method COMPARE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IR_VAL1_CALC | Call by reference | Object reference (TYPE REF TO) | CL_ISHMED_ME_CALCULATOR | Wert1 aus Resultat dieser Instanz | 20060619 | ||
2 | Importing | IR_VAL2_CALC | Call by reference | Object reference (TYPE REF TO) | CL_ISHMED_ME_CALCULATOR | Wert2 aus Resultat dieser Instanz | 20060619 | ||
3 | Importing | I_UNIT1 | Value transfer | Type reference (TYPE) | UNIT | Einheit zu Wert1 | 20060515 | ||
4 | Importing | I_UNIT2 | Value transfer | Type reference (TYPE) | UNIT | Einheit zu Wert2 | 20060515 | ||
5 | Importing | I_VALUE1 | Value transfer | Type reference (TYPE) | ANY | Wert1 | 20060515 | ||
6 | Importing | I_VALUE2 | Value transfer | Type reference (TYPE) | ANY | Wert2 | 20060515 | ||
7 | Returning | R_RESULT_FLAG | Value transfer | Type reference (TYPE) | N1C001 | Siehe Beschreibung | 20060515 |
Method COMPARE on class CL_ISHMED_ME_CALCULATOR has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_ISHMED_ME_CALCULATOR has no parameter.
Method CONSTRUCTOR on class CL_ISHMED_ME_CALCULATOR has no exception.
Method CONVERT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CR_ERRORHANDLER | Call by reference | Object reference (TYPE REF TO) | CL_ISHMED_ERRORHANDLING | IS-H*MED: Klasse zur Fehlerabarbeitung | 20060619 | ||
2 | Exporting | E_NEW_VALUE | Value transfer | Type reference (TYPE) | ANY | Der neue (konvertierte) Wert | 20060619 | ||
3 | Exporting | E_RC | Value transfer | Type reference (TYPE) | ISH_METHOD_RC | Returncode | 20060619 | ||
4 | Importing | IR_VAL_CALC | Call by reference | Object reference (TYPE REF TO) | CL_ISHMED_ME_CALCULATOR | Wert + Einheit aus Resultat dieser Instanz | 20060619 | ||
5 | Importing | I_NEW_UNIT | Value transfer | Type reference (TYPE) | UNIT | Die Einheit, in der I_VALUE konvertiert werden muss | 20060619 | ||
6 | Importing | I_UNIT | Value transfer | Type reference (TYPE) | UNIT | Einheit des zu konvertierenden Werts | 20060619 | ||
7 | Importing | I_VALUE | Value transfer | Type reference (TYPE) | ANY | Zu konvertierender Wert | 20060619 |
Method CONVERT on class CL_ISHMED_ME_CALCULATOR has no exception.
Method CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RR_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_ISHMED_ME_CALCULATOR | Die erzeugte Instanz | 20060515 |
Method CREATE on class CL_ISHMED_ME_CALCULATOR has no exception.
Method DIVIDE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IR_DIVISOR | Call by reference | Object reference (TYPE REF TO) | CL_ISHMED_ME_CALCULATOR | Divisor als Zwischenergebnis aus IR_DIVISOR | 20060515 | ||
2 | Importing | I_DIVISOR | Value transfer | Type reference (TYPE) | ANY | Wert, durch den der Inhalt der Klasse dividiert wird | 20060515 | ||
3 | Importing | I_DIVISOR_UNIT | Value transfer | Type reference (TYPE) | UNIT | Einheit des Divisors | 20060515 |
Method DIVIDE on class CL_ISHMED_ME_CALCULATOR has no exception.
Method GET_ERRORS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CR_ERRORHANDLER | Call by reference | Object reference (TYPE REF TO) | CL_ISHMED_ERRORHANDLING | Die aufgetretenen Fehler | 20060515 | ||
2 | Exporting | E_ERROR_OCCURED | Value transfer | Type reference (TYPE) | ISH_ON_OFF | 'X'...wenn Fehler aufgetreten sind | 20060515 | ||
3 | Importing | I_CLEAR_ERRORS | Value transfer | Type reference (TYPE) | ISH_ON_OFF | ' ' | 'X'...Internen Errorhandler nach Kopieren der Fehler löschen | 20060515 |
Method GET_ERRORS on class CL_ISHMED_ME_CALCULATOR has no exception.
Method GET_RESULT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_RESULT | Value transfer | Type reference (TYPE) | P | Ergebnis der letzten Berechnung | 20060515 | ||
2 | Exporting | E_RESULT_STRING | Value transfer | Type reference (TYPE) | STRING | Das Ergebnis als String z.B. für Meldungen | 20060619 | ||
3 | Exporting | E_RESULT_UNIT | Value transfer | Type reference (TYPE) | UNIT | Einheit des Resultats | 20060515 |
Method GET_RESULT on class CL_ISHMED_ME_CALCULATOR has no exception.
Method GET_TYPE Signature
Method GET_TYPE on class CL_ISHMED_ME_CALCULATOR has no parameter.
Method GET_TYPE on class CL_ISHMED_ME_CALCULATOR has no exception.
Method GET_UNIT_FACTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CR_ERRORHANDLER | Call by reference | Object reference (TYPE REF TO) | CL_ISHMED_ERRORHANDLING | IS-H*MED: Klasse zur Fehlerabarbeitung | 20060515 | ||
2 | Exporting | E_RC | Value transfer | Type reference (TYPE) | ISH_METHOD_RC | Returncode | 20060515 | ||
3 | Exporting | E_UNIT_FACTOR | Value transfer | Type reference (TYPE) | F | Faktor zwischen Einheit1 und Einheit2 | 20060515 | ||
4 | Importing | I_UNIT1 | Value transfer | Type reference (TYPE) | UNIT | Einheit 1 | 20060515 | ||
5 | Importing | I_UNIT2 | Value transfer | Type reference (TYPE) | UNIT | Einheit 2 | 20060515 |
Method GET_UNIT_FACTOR on class CL_ISHMED_ME_CALCULATOR has no exception.
Method INITIALIZE Signature
Method INITIALIZE on class CL_ISHMED_ME_CALCULATOR has no parameter.
Method INITIALIZE on class CL_ISHMED_ME_CALCULATOR has no exception.
Method IS_A Signature
Method IS_A on class CL_ISHMED_ME_CALCULATOR has no parameter.
Method IS_A on class CL_ISHMED_ME_CALCULATOR has no exception.
Method IS_ERROR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_CLEAR_ERRORS | Value transfer | Type reference (TYPE) | ISH_ON_OFF | ' ' | 'X'...Internen Errorhandler nach Kopieren der Fehler löschen | 20060515 | |
2 | Returning | R_ERROR_OCCURED | Value transfer | Type reference (TYPE) | ISH_ON_OFF | 'X'...wenn Fehler aufgetreten sind | 20060515 |
Method IS_ERROR on class CL_ISHMED_ME_CALCULATOR has no exception.
Method IS_INHERITED_FROM Signature
Method IS_INHERITED_FROM on class CL_ISHMED_ME_CALCULATOR has no parameter.
Method IS_INHERITED_FROM on class CL_ISHMED_ME_CALCULATOR has no exception.
Method IS_INITIAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_INITIAL | Value transfer | Type reference (TYPE) | ISH_ON_OFF | 'X'...Inhalt der Instanz ist initial | 20060515 |
Method IS_INITIAL on class CL_ISHMED_ME_CALCULATOR has no exception.
Method MULTIPLY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IR_FACTOR | Call by reference | Object reference (TYPE REF TO) | CL_ISHMED_ME_CALCULATOR | Faktor als Zwischenergebnis aus IR_FACTOR | 20060515 | ||
2 | Importing | I_FACTOR | Value transfer | Type reference (TYPE) | ANY | Wert, mit dem der Inhalt der Klasse multipliziert wird | 20060515 | ||
3 | Importing | I_FACTOR_UNIT | Value transfer | Type reference (TYPE) | UNIT | Einheit des Faktors | 20060515 |
Method MULTIPLY on class CL_ISHMED_ME_CALCULATOR has no exception.
Method SET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IR_CALC | Call by reference | Object reference (TYPE REF TO) | CL_ISHMED_ME_CALCULATOR | Neuer Wert aus IR_CALC nehmen | 20060515 | ||
2 | Importing | I_UNIT | Value transfer | Type reference (TYPE) | UNIT | Einheit, die zu dem Wert gehört | 20060515 | ||
3 | Importing | I_VALUE | Value transfer | Type reference (TYPE) | ANY | Wert, auf dem die nächste Rechnung basiert | 20060515 |
Method SET on class CL_ISHMED_ME_CALCULATOR has no exception.
Method SUBTRACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IR_SUBTRAHEND | Value transfer | Object reference (TYPE REF TO) | CL_ISHMED_ME_CALCULATOR | Subtrahend als Zwischenergebnis aus IR_SUBTRAHEND | 20060515 | ||
2 | Importing | I_SUBTRAHEND | Value transfer | Type reference (TYPE) | ANY | Wert, der vom Inhalt der Klasse abgezogen wird (Subtrahend) | 20060515 | ||
3 | Importing | I_SUBTRAHEND_UNIT | Value transfer | Type reference (TYPE) | UNIT | Einheit des Subtrahends | 20060515 |
Method SUBTRACT on class CL_ISHMED_ME_CALCULATOR has no exception.
Method SUBTRACT_DATES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CR_ERRORHANDLER | Call by reference | Object reference (TYPE REF TO) | CL_ISHMED_ERRORHANDLING | IS-H*MED: Klasse zur Fehlerabarbeitung | 20070712 | ||
2 | Exporting | E_RC | Value transfer | Type reference (TYPE) | ISH_METHOD_RC | IS-H: Returncode bei Methodenaufrufen | 20070712 | ||
3 | Exporting | E_RESULT | Value transfer | Type reference (TYPE) | I | 20070712 | |||
4 | Importing | I_DATE | Value transfer | Type reference (TYPE) | SY-DATUM | Aktuelles Datum des Applikationsservers | 20070712 | ||
5 | Importing | I_SUBTRACT_DATE | Value transfer | Type reference (TYPE) | SY-DATUM | Aktuelles Datum des Applikationsservers | 20070712 | ||
6 | Importing | I_SUBTRACT_TIME | Value transfer | Type reference (TYPE) | SY-UZEIT | Aktuelle Uhrzeit des Applikationsservers | 20070712 | ||
7 | Importing | I_TIME | Value transfer | Type reference (TYPE) | SY-UZEIT | Aktuelle Uhrzeit des Applikationsservers | 20070712 |
Method SUBTRACT_DATES on class CL_ISHMED_ME_CALCULATOR has no exception.
History
Last changed by/on | SAP | 20071120 |
SAP Release Created in |