Functionality INCLUDE NBAPI_ISH It is used to create a patient master record. The patient master datapassed to it is stored under the patient number PATIENTID> (forexternal number assignment), or an internally assigned patient number inthe institution INSTITUTION>. If you only want to create the patient master data that is valid for allinstitutions, you need not specify an institution in the parameterINSTITUTION > if you either leave the parameter in the interface blank or enter awildcard ('*'). In this case, note that no institution-specific data isstored, even if it is specified. The public list block PUBLISTBLOCK > and the parish PARISH> fall into this category.Notes INCLUDE NBAPI_PRECOND_AUTHORITY N_PATI_AKT. INCLUDE NBAPI_TESTMODE INCLUDE BAPI_RET Description The patient data as it would be saved (if TESTRUN> = 'X') or wassaved is returned in this parameter. In particular, if using internal number assignment, you can take thenew PATIENTID> from the field with the same name. The associatedcheck digit is contained in the field CHKDIGITPAT>. In test mode,(TESTRUN> = 'X') internal number assignment does not take place.This means that no patient number or check digit is specified here intest mode with internal number assignment. Addresses are passed to a separate table E_ADDRESSES>. Onlyreferences to the corresponding address records in the tableE_ADDRESSES> are specified here. INCLUDE NBAPI_WORST_RETURNED_MSGTY INCLUDE NBAPI_CLIENT INCLUDE NBAPI_INSTITUTIONDescription Explicit specification of the patient number within the relatedinstitution. If you wish to create the patient with a PATIENTID> specifiedexternally, you must specify this number here. Note that the numbermust occur within the permitted external number range. Check beforehandthat this number has not already been specified (e.g. usingBAPI_PATIENT_SEARCH). If you do not specify a number, the system assigns a new numberinternally.Value range This field is alpha converted. This means that if you enter a number,you do not have to enter leading blanks or zeros. Default This default value is SPACE. If the parameter is not passed when themethod is called, a new patient number is determined internally. Description You specify the data for the patient to be created in this structure. You pass addresses in a separate table I_ADDRESSES>. You must onlyspecify references to the corresponding address data records in thetable I_ADDRESSES> in this structure. Note: You can also specify an unknown birthdate. The system supports thefollowing date formats for this purpose: 00.12.1911 => internal date 01.12.1911 day unknown 00.00.1911 => internal date 01.01.1911 month unknown 05.12.0000 => internal date 01.01.1880 year unknown *) If you specify the date 00.00.0000, this date is not converted, since itis an invalid value (birthdate initial). *) The year is preset with the system parameter MIN_DATE. INCLUDE NBAPI_TESTRUN INCLUDE NBAPI_TRANSACT_MODE INCLUDE NBAPI_ADDRESSES INCLUDE NBAPI_ADD_PHONES INCLUDE NBAPI_ADDRESSES INCLUDE NBAPI_ADD_PHONESDescription Errors that occur are returned in this table. Value range INCLUDE NBAPI_RETS_PATIENT_CREATE OBJECT DOKU ID TX |