SAP ABAP Class CL_ISHMED_CONN_PATIENT (ISHMED: Connectivity - Utilities for Patients)
Hierarchy
IS-H (Software Component) SAP Healthcare
   IS-HMED (Application Component) Clinical System
     N1CONN_MED (Package) i.s.h.med: Connectivity
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 20070813
Properties
Class CL_ISHMED_CONN_PATIENT  
Short Description ISHMED: Connectivity - Utilities for Patients    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package N1CONN_MED   i.s.h.med: Connectivity 
Created 20070813   SAP 
Last change 20071120   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 NPAT Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_ISH_CONSTANT_DEFINITION IS-H: Definition of General Constants 20070813
Friends
Class CL_ISHMED_CONN_PATIENT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ACTIVE Instance attribute Private Attribute reference (LIKE) 20070813
2 CO_PTYPE_PROVISIONAL Constant Public Type reference (TYPE) N1CONN_PTYPE 'P' Connectivity: Patient Category 20070813
3 CO_PTYPE_REAL_PATIENT Constant Public Type reference (TYPE) N1CONN_PTYPE 'A' Connectivity: Patient Category 20070813
4 FALSE Instance attribute Private Attribute reference (LIKE) 20070813
5 GT_PATEX Instance attribute Protected Type reference (TYPE) ISHMED_T_CONN_PATEX Table of Patient Assignments to Business Partner 20070813
6 G_BPID Instance attribute Protected Type reference (TYPE) N1CONN_BPID Connectivity: Business Partner ID 20070813
7 G_INSTITUTION Instance attribute Protected Type reference (TYPE) EINRI IS-H: Institution 20070813
8 G_SRCHDATA Instance attribute Protected Type reference (TYPE) RN1CONN_PATSEARCH Search Criteria 20070813
9 NO Instance attribute Private Attribute reference (LIKE) 20070813
10 OFF Instance attribute Private Attribute reference (LIKE) 20070813
11 ON Instance attribute Private Attribute reference (LIKE) 20070813
12 TRUE Instance attribute Private Attribute reference (LIKE) 20070813
13 YES Instance attribute Private Attribute reference (LIKE) 20070813
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_PATIENT_ASS Instance method Public Method Checks Patient <> Business Partner Assignment 20070813
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20070813
3 CONVERT_NPAP_TO_SMALL Instance method Public Method Converts NPAP into N1CONN_PATIENT_DATA 20070813
4 CONVERT_NPAT_TO_SMALL Instance method Public Method Converts NPAT into N1CONN_PATIENT_DATA 20070813
5 CREATE Static method Public Method Creates a New Object 20070813
6 CREATE_PATIENT Instance method Public Method Creates New Patient 20070813
7 DESTROY Instance method Public Method Destroys the Object 20070813
8 GET_LPID_FOR_IPID Instance method Public Method Supplies Local ID for Internal ID of Patient 20070813
9 GET_PATIENT_BY_LPID Instance method Public Method Finds Patients Using Local Patient ID 20070813
10 GET_SRCH_DATA Instance method Public Method Returns the Data 20070813
11 SEARCH_PATIENT Instance method Public Method Execute External Patient Search 20070813
12 SEARCH_PATIENT_FOR_BPID Instance method Public Method Search in Assigned Patients 20070813
13 SET_SRCH_DATA Instance method Public Method Sets Data 20070813
14 _CONNECT_LPID_BPID Instance method Protected Method Make Connection Betweem Patient and Business Partner 20070813
15 _CONV_PATDATA_TO_INTERNAL Instance method Protected Method Converts Patient into Internal Format 20070813
16 _CONV_SRCHDATA_TO_INTERNAL Instance method Protected Method Converts Search Data into Internal Format 20070813
17 _CREATE_PATIENT Instance method Protected Method 20070813
18 _CREATE_PATIENT_PROVISIONAL Instance method Protected Method Creates Patient with Provisional Patient 20070813
19 _CREATE_PATIENT_REAL Instance method Protected Method Creates Patient with Provisional Patient 20070813
20 _GET_BPID Instance method Protected Method Returns Business Partner 20070813
21 _GET_INSTITUTION Instance method Protected Method Returns Institution 20070813
22 _READ_NPAP Instance method Private Method 20070813
23 _READ_NPAT Instance method Private Method 20070813
Events
Class CL_ISHMED_CONN_PATIENT has no event.
Types
Class CL_ISHMED_CONN_PATIENT has no local type.
Method Signatures

Method CHECK_PATIENT_ASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BPID Value transfer Type reference (TYPE) N1CONN_BPID Connectivity: Business Partner ID 20070813
2 Importing I_PATIENTID Value transfer Type reference (TYPE) N1CONN_IPID Connectivity: Internal Patient ID 20070813
3 Returning R_ASS Value transfer Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20070813

Method CHECK_PATIENT_ASS on class CL_ISHMED_CONN_PATIENT has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BPID Value transfer Type reference (TYPE) N1CONN_BPID BusinesspartnerID 20070813
2 Importing I_INSTITUTION Value transfer Type reference (TYPE) EINRI Einrichtung 20070813
# Exception Resumable Description Created on
1 CX_ISH_STATIC_HANDLER IS-H: Oberklasse für statische Exceptions 20070813

Method CONVERT_NPAP_TO_SMALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ADR Value transfer Type reference (TYPE) NADR IS-H: Adressen (zentrale Adreßverwaltung) 20070813
2 Importing IS_NPAP Value transfer Type reference (TYPE) NPAP IS-H: Struktur Patientenliste 20070813
3 Returning RS_PATIENT Value transfer Type reference (TYPE) N1CONN_PATIENT_DATA Connectivity: Patientenliste (Suchergebnis) 20070813

Method CONVERT_NPAP_TO_SMALL on class CL_ISHMED_CONN_PATIENT has no exception.

Method CONVERT_NPAT_TO_SMALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NADR Value transfer Type reference (TYPE) NADR IS-H: Adressen (zentrale Adreßverwaltung) 20070813
2 Importing IS_NADR2 Value transfer Type reference (TYPE) NADR IS-H: Adressen (zentrale Adreßverwaltung) 20070813
3 Importing IS_NPAT Value transfer Type reference (TYPE) NPAT IS-H: Stammdaten Patient (allgemein) 20070813
4 Returning RS_PATIENT Value transfer Type reference (TYPE) N1CONN_PATIENT_DATA Connectivity: Patientenstammdaten 20070813

Method CONVERT_NPAT_TO_SMALL on class CL_ISHMED_CONN_PATIENT has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BPID Value transfer Type reference (TYPE) N1CONN_BPID Connectivity: Business Partner ID 20070813
2 Importing I_INSTITUTION Value transfer Type reference (TYPE) EINRI IS-H: Einrichtung 20070813
3 Returning RR_INSTANCE Value transfer Object reference (TYPE REF TO) CL_ISHMED_CONN_PATIENT ISHMED: Connectivity - Utilities für Patienten 20070813
# Exception Resumable Description Created on
1 CX_ISH_STATIC_HANDLER IS-H: Oberklasse für statische Exceptions 20070813

Method CREATE_PATIENT 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 20070813
2 Exporting E_RC Value transfer Type reference (TYPE) ISH_METHOD_RC IS-H: Returncode bei Methodenaufrufen 20070813
3 Importing I_COMMIT Value transfer Type reference (TYPE) ISH_ON_OFF ' ' IS-H: Boolscher Datentyp für ON (= 'X') und OFF (=' ') 20070813
4 Importing I_PATIENTDATA Value transfer Type reference (TYPE) N1CONN_PATIENT_DATA Connectivity: Patientenstammdaten 20070813

Method CREATE_PATIENT on class CL_ISHMED_CONN_PATIENT has no exception.

Method DESTROY Signature

Method DESTROY on class CL_ISHMED_CONN_PATIENT has no parameter.
Method DESTROY on class CL_ISHMED_CONN_PATIENT has no exception.

Method GET_LPID_FOR_IPID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IPID Value transfer Type reference (TYPE) N1CONN_IPID Connectivity: Internal Patient ID 20070813
2 Returning R_LPID Value transfer Type reference (TYPE) N1CONN_LPID Connectivity: Partner Patient ID 20070813

Method GET_LPID_FOR_IPID on class CL_ISHMED_CONN_PATIENT has no exception.

Method GET_PATIENT_BY_LPID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_ERRORHANDLER Value transfer Object reference (TYPE REF TO) CL_ISHMED_ERRORHANDLING IS-H*MED: Klasse zur Fehlerabarbeitung 20070813
2 Exporting E_PAPID Value transfer Type reference (TYPE) NPAP-PAPID IS-H: Vorläufige Patientenstammdaten 20070813
3 Exporting E_PATNR Value transfer Type reference (TYPE) NPAT-PATNR IS-H: Patientennummer 20070813
4 Exporting E_RC Value transfer Type reference (TYPE) ISH_METHOD_RC IS-H: Returncode bei Methodenaufrufen 20070813
5 Importing I_LOCAL_PATIENT_ID Value transfer Type reference (TYPE) N1CONN_LPID Connectivity: Partner Patient ID 20070813

Method GET_PATIENT_BY_LPID on class CL_ISHMED_CONN_PATIENT has no exception.

Method GET_SRCH_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_SRCHDATA Value transfer Type reference (TYPE) RN1CONN_PATSEARCH Connectivity: Struktur externe Patsuche (Import) 20070818

Method GET_SRCH_DATA on class CL_ISHMED_CONN_PATIENT has no exception.

Method SEARCH_PATIENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_ERRORHANDLER Value transfer Object reference (TYPE REF TO) CL_ISHMED_ERRORHANDLING IS-H*MED: Klasse zur Fehlerabarbeitung 20070813
2 Exporting ET_PATIENTS Value transfer Type reference (TYPE) ISHMED_T_PATIENT_DATA Connectivity: Patientenliste (Suchergebnis) 20070813
3 Exporting E_RC Value transfer Type reference (TYPE) ISH_METHOD_RC IS-H: Returncode bei Methodenaufrufen 20070813
4 Importing I_MAXCNT Value transfer Type reference (TYPE) SY-DBCNT -1 Bearbeitete Datenbanktabellenzeilen 20070813

Method SEARCH_PATIENT on class CL_ISHMED_CONN_PATIENT has no exception.

Method SEARCH_PATIENT_FOR_BPID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_ERRORHANDLER Value transfer Object reference (TYPE REF TO) CL_ISHMED_ERRORHANDLING IS-H*MED: Klasse zur Fehlerabarbeitung 20070813
2 Exporting ET_PATIENTS Value transfer Type reference (TYPE) ISHMED_T_PATIENT_DATA Connectivity: Patientenliste (Suchergebnis) 20070813
3 Exporting E_RC Value transfer Type reference (TYPE) ISH_METHOD_RC IS-H: Returncode bei Methodenaufrufen 20070813
4 Importing I_BPID Value transfer Type reference (TYPE) N1CONN_BPID Connectivity: Business Partner ID 20070813
5 Importing I_INSTITUTION Value transfer Type reference (TYPE) EINRI IS-H: Einrichtung 20070813
6 Importing I_MAXCNT Value transfer Type reference (TYPE) SY-DBCNT -1 Bearbeitete Datenbanktabellenzeilen 20070813
7 Importing I_SRCHDATA Value transfer Type reference (TYPE) RN1CONN_PATSEARCH Connectivity: Struktur externe Patsuche (Import) 20070813

Method SEARCH_PATIENT_FOR_BPID on class CL_ISHMED_CONN_PATIENT has no exception.

Method SET_SRCH_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SRCHDATA Value transfer Type reference (TYPE) RN1CONN_PATSEARCH Connectivity: Struktur externe Patsuche (Import) 20070818

Method SET_SRCH_DATA on class CL_ISHMED_CONN_PATIENT has no exception.

Method _CONNECT_LPID_BPID 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 20070813
2 Exporting E_RC Call by reference Type reference (TYPE) ISH_METHOD_RC IS-H: Returncode bei Methodenaufrufen 20070813
3 Importing I_INTERNAL_PAT_ID Call by reference Type reference (TYPE) N1CONN_IPID Connectivity: Internal Patient ID 20070813
4 Importing I_LOCAL_PAT_ID Call by reference Type reference (TYPE) N1CONN_LPID Connectivity: Partner Patient ID 20070813
5 Importing I_PTYPE Call by reference Type reference (TYPE) N1CONN_PTYPE Connectivity: Patienten Typ 20070813

Method _CONNECT_LPID_BPID on class CL_ISHMED_CONN_PATIENT has no exception.

Method _CONV_PATDATA_TO_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PATIENTDATA Value transfer Type reference (TYPE) N1CONN_PATIENT_DATA Connectivity: Patientenstammdaten 20070813
2 Returning R_PATIENTDATA Value transfer Type reference (TYPE) N1CONN_PATIENT_DATA Connectivity: Patientenstammdaten 20070813

Method _CONV_PATDATA_TO_INTERNAL on class CL_ISHMED_CONN_PATIENT has no exception.

Method _CONV_SRCHDATA_TO_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PATSRCH Value transfer Type reference (TYPE) RN1CONN_PATSEARCH Connectivity: Struktur externe Patsuche (Import) 20070813
2 Returning R_PATSRCH Value transfer Type reference (TYPE) RN1CONN_PATSEARCH Connectivity: Struktur externe Patsuche (Import) 20070813

Method _CONV_SRCHDATA_TO_INTERNAL on class CL_ISHMED_CONN_PATIENT has no exception.

Method _CREATE_PATIENT 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 20070813
2 Exporting E_RC Value transfer Type reference (TYPE) ISH_METHOD_RC IS-H: Returncode bei Methodenaufrufen 20070813
3 Importing I_PATDATA Value transfer Type reference (TYPE) N1CONN_PATIENT_DATA Connectivity: Patientenstammdaten 20070813

Method _CREATE_PATIENT on class CL_ISHMED_CONN_PATIENT has no exception.

Method _CREATE_PATIENT_PROVISIONAL 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 20070813
2 Exporting E_RC Value transfer Type reference (TYPE) ISH_METHOD_RC IS-H: Returncode bei Methodenaufrufen 20070813
3 Importing I_PATDATA Value transfer Type reference (TYPE) N1CONN_PATIENT_DATA Connectivity: Patientenstammdaten 20070813

Method _CREATE_PATIENT_PROVISIONAL on class CL_ISHMED_CONN_PATIENT has no exception.

Method _CREATE_PATIENT_REAL 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 20070813
2 Exporting E_RC Value transfer Type reference (TYPE) ISH_METHOD_RC IS-H: Returncode bei Methodenaufrufen 20070813
3 Importing I_PATDATA Value transfer Type reference (TYPE) N1CONN_PATIENT_DATA Connectivity: Patientenstammdaten 20070813

Method _CREATE_PATIENT_REAL on class CL_ISHMED_CONN_PATIENT has no exception.

Method _GET_BPID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_BPID Value transfer Type reference (TYPE) N1CONN_BPID Connectivity: Business Partner ID 20070813

Method _GET_BPID on class CL_ISHMED_CONN_PATIENT has no exception.

Method _GET_INSTITUTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_INSTITUTION Value transfer Type reference (TYPE) EINRI IS-H: Einrichtung 20070813

Method _GET_INSTITUTION on class CL_ISHMED_CONN_PATIENT has no exception.

Method _READ_NPAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INSTITUTION Value transfer Type reference (TYPE) EINRI IS-H: Einrichtung 20070813
2 Importing I_PAPID Value transfer Type reference (TYPE) NPAP-PAPID IS-H: Vorläufige Patientennummer 20070813
3 Returning R_PATIENT Value transfer Type reference (TYPE) N1CONN_PATIENT_DATA Connectivity: Patientenstammdaten 20070813

Method _READ_NPAP on class CL_ISHMED_CONN_PATIENT has no exception.

Method _READ_NPAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INSTITUTION Value transfer Type reference (TYPE) EINRI IS-H: Einrichtung 20070813
2 Importing I_PATNR Value transfer Type reference (TYPE) PATNR IS-H: Patientennummer 20070813
3 Returning R_PATIENT Value transfer Type reference (TYPE) N1CONN_PATIENT_DATA Connectivity: Patientenstammdaten 20070813

Method _READ_NPAT on class CL_ISHMED_CONN_PATIENT has no exception.
History
Last changed by/on SAP  20071120 
SAP Release Created in