SAP ABAP Class CL_ISHMED_UTL_ME_BASE (i.s.h.med: Utility Class for Medication)
Hierarchy
IS-H (Software Component) SAP Healthcare
   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_CONSTANT_DEFINITION IS-H: Definition of General Constants 20100329
Properties
Class CL_ISHMED_UTL_ME_BASE  
Short Description i.s.h.med: Utility Class for Medication    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package NMED_ME   IS-H*MED: Medication 
Created 20100329   SAP 
Last change 20110810   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ISHMED_UTL_ME_BASE has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_ISH_CONSTANT_DEFINITION IS-H: Definition of General Constants 20100329
Friends
Class CL_ISHMED_UTL_ME_BASE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ACTIVE Instance attribute Public Attribute reference (LIKE) 20100329
2 CO_MODE_DELETE Instance attribute Public Attribute reference (LIKE) 20100329
3 CO_MODE_ERROR Instance attribute Public Attribute reference (LIKE) 20100329
4 CO_MODE_INSERT Instance attribute Public Attribute reference (LIKE) 20100329
5 CO_MODE_UNCHANGED Instance attribute Public Attribute reference (LIKE) 20100329
6 CO_MODE_UPDATE Instance attribute Public Attribute reference (LIKE) 20100329
7 CO_VCODE_DISPLAY Instance attribute Public Attribute reference (LIKE) 20100329
8 CO_VCODE_INSERT Instance attribute Public Attribute reference (LIKE) 20100329
9 CO_VCODE_UPDATE Instance attribute Public Attribute reference (LIKE) 20100329
10 CV_AUSTRIA Instance attribute Public Attribute reference (LIKE) 20100329
11 CV_CANADA Instance attribute Public Attribute reference (LIKE) 20100329
12 CV_FRANCE Instance attribute Public Attribute reference (LIKE) 20100329
13 CV_GERMANY Instance attribute Public Attribute reference (LIKE) 20100329
14 CV_ITALY Instance attribute Public Attribute reference (LIKE) 20100329
15 CV_NETHERLANDS Instance attribute Public Attribute reference (LIKE) 20100329
16 CV_SINGAPORE Instance attribute Public Attribute reference (LIKE) 20100329
17 CV_SPAIN Instance attribute Public Attribute reference (LIKE) 20100329
18 CV_SWITZERLAND Instance attribute Public Attribute reference (LIKE) 20100329
19 FALSE Instance attribute Public Attribute reference (LIKE) 20100329
20 INACTIVE Instance attribute Public Attribute reference (LIKE) 20100329
21 NO Instance attribute Public Attribute reference (LIKE) 20100329
22 OFF Instance attribute Public Attribute reference (LIKE) 20100329
23 ON Instance attribute Public Attribute reference (LIKE) 20100329
24 TRUE Instance attribute Public Attribute reference (LIKE) 20100329
25 YES Instance attribute Public Attribute reference (LIKE) 20100329
Methods
# Method Level Visibility Method type Description Created on
1 CALC_DUR_FROM_DATES Static method Public Method Calculate Duration from Order Data 20100329
2 CALC_PDRUGDQ_FOR_PRN_EVENT Static method Public Method Calculates Planned Quantity for PRN Medication Event 20100329
3 CALC_TIME_DIFFERENCE Static method Public Method Calculates Time Difference Between two Dates/Times 20100329
4 GET_DURATION Static method Public Method Calculates Duration Between two Dates/Times 20100329
5 SECS_TO_UNIT Static method Public Method Converts Seconds into Specific Time Unit 20100329
Events
Class CL_ISHMED_UTL_ME_BASE has no event.
Types
Class CL_ISHMED_UTL_ME_BASE has no local type.
Method Signatures

Method CALC_DUR_FROM_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 20100329
2 Exporting E_RC Value transfer Type reference (TYPE) ISH_METHOD_RC IS-H: Returncode bei Methodenaufrufen 20100329
3 Importing IR_ORDER Call by reference Object reference (TYPE REF TO) CL_ISHMED_ME_ORDER IS-H*MED: Arzneimittelverordnung 20100329

Method CALC_DUR_FROM_DATES on class CL_ISHMED_UTL_ME_BASE has no exception.

Method CALC_PDRUGDQ_FOR_PRN_EVENT 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 20100329
2 Exporting E_PDRUGDQ Value transfer Type reference (TYPE) N1ME_PDRUGDQ Medikation: Planmenge 20100329
3 Exporting E_RC Value transfer Type reference (TYPE) ISH_METHOD_RC IS-H: Returncode bei Methodenaufrufen 20100329
4 Importing IR_EVENT Call by reference Object reference (TYPE REF TO) CL_ISHMED_ME_EVENT Ereignis für welches die Planmenge berechnet werden muss 20100329
5 Importing I_TIME_TO Value transfer Type reference (TYPE) SYUZEIT '235959' Zeit bis dahin berechnet werden soll 20100329

Method CALC_PDRUGDQ_FOR_PRN_EVENT on class CL_ISHMED_UTL_ME_BASE has no exception.

Method CALC_TIME_DIFFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SECS Value transfer Type reference (TYPE) F Differenz in Sekunden 20100329
2 Importing I_DATE_FROM Value transfer Type reference (TYPE) SY-DATUM SY-DATUM Aktuelles Datum des Applikationsservers 20100329
3 Importing I_DATE_TO Value transfer Type reference (TYPE) SY-DATUM SY-DATUM Aktuelles Datum des Applikationsservers 20100329
4 Importing I_TIME_FROM Value transfer Type reference (TYPE) SY-UZEIT SY-UZEIT Zeit 20100329
5 Importing I_TIME_TO Value transfer Type reference (TYPE) SY-UZEIT SY-UZEIT Zeit 20100329

Method CALC_TIME_DIFFERENCE on class CL_ISHMED_UTL_ME_BASE has no exception.

Method GET_DURATION 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 20100329
2 Exporting E_DURATION Value transfer Type reference (TYPE) N1ME_ORDUR Medikation: Verordnung - Verordnungsdauer 20100329
3 Exporting E_RC Value transfer Type reference (TYPE) ISH_METHOD_RC IS-H: Returncode bei Methodenaufrufen 20100329
4 Importing I_DATE_FROM Value transfer Type reference (TYPE) SY-DATUM SY-DATUM Aktuelles Datum des Applikationsservers 20100329
5 Importing I_DATE_TO Value transfer Type reference (TYPE) SY-DATUM SY-DATUM Aktuelles Datum des Applikationsservers 20100329
6 Importing I_DUR_UNIT Value transfer Type reference (TYPE) MSEHI Maßeinheit 20100329
7 Importing I_TIME_FROM Value transfer Type reference (TYPE) SY-UZEIT SY-UZEIT Aktuelle Uhrzeit des Applikationsservers 20100329
8 Importing I_TIME_TO Value transfer Type reference (TYPE) SY-UZEIT SY-UZEIT Aktuelle Uhrzeit des Applikationsservers 20100329

Method GET_DURATION on class CL_ISHMED_UTL_ME_BASE has no exception.

Method SECS_TO_UNIT 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 20100329
2 Exporting E_RC Value transfer Type reference (TYPE) ISH_METHOD_RC IS-H: Returncode bei Methodenaufrufen 20100329
3 Exporting E_RESULT Value transfer Type reference (TYPE) N1ME_ORDUR Medikation: Verordnung - Verordnungsdauer 20100329
4 Importing I_SECS Value transfer Type reference (TYPE) F Sekunden 20100329
5 Importing I_UNIT Value transfer Type reference (TYPE) N1ME_UNIT Medikation: Arzneimittel - Basiseinheit 20100329

Method SECS_TO_UNIT on class CL_ISHMED_UTL_ME_BASE has no exception.
History
Last changed by/on SAP  20110810 
SAP Release Created in