PmBridge SDK  2.7.0
PMBRIDGE SDK Interface
 All Files Functions Macros Groups
Functions
PmBridge global routines

Start non-public section: More...

Functions

DWORD DxStart ()
 This routine initializes the PMBRIDGE interface. More...
 
short DxSelectPatient (const char *pszPatientID, short *pnImageCount)
 Selection of an existing patient. More...
 
short DxInsertPatientW (const char *pszPatientID, const WCHAR *pwszFamilyName, const WCHAR *pwszFirstName, const char *pszBirthDate, const WCHAR *pwszDoctor)
 This UNICODE routine adds a new patient into Romexis database. More...
 
short DxInsertPatientW_Ex (const char *pszPatientID, const WCHAR *pwszFamilyName, const WCHAR *pwszFirstName, const char *pszBirthDate, const WCHAR *pwszDoctor, const char *pszGender)
 This new extended UNICODE routine adds a new patient into Romexis database. More...
 
short DxInsertPatient (const char *pszPatientID, const char *pszFamilyName, const char *pszFirstName, const char *pszBirthDate, const char *pszDoctor)
 This ANSI routine adds a new patient into Romexis database. More...
 
short DxInsertPatient_Ex (const char *pszPatientID, const char *pszFamilyName, const char *pszFirstName, const char *pszBirthDate, const char *pszDoctor, const char *pszGender)
 This new extended ANSI routine adds a new patient into Romexis database. More...
 
short DxUpdatePatientW (const char *pszPatientID, const WCHAR *pwszFamilyName, const WCHAR *pwszFirstName, const char *pszBirthDate, const WCHAR *pwszDoctor)
 This UNICODE routine updates patient data in Romexis database. More...
 
short DxUpdatePatientW_Ex (const char *pszPatientID, const WCHAR *pwszFamilyName, const WCHAR *pwszFirstName, const char *pszBirthDate, const WCHAR *pwszDoctor, const char *pszGender)
 This new extended UNICODE routine updates patient data in Romexis database. More...
 
short DxUpdatePatient (const char *pszPatientID, const char *pszFamilyName, const char *pszFirstName, const char *pszBirthDate, const char *pszDoctor)
 This ANSI routine updates patient data in Romexis database. More...
 
short DxUpdatePatient_Ex (const char *pszPatientID, const char *pszFamilyName, const char *pszFirstName, const char *pszBirthDate, const char *pszDoctor, const char *pszGender)
 This new extended ANSI routine updates patient data in Romexis database. More...
 
short DxInquireImage (short nIndex, long arrImageParam[], short arrToothMask[])
 Get information about images of the currently selected patient. More...
 
short DxOpenImage (short nIndex, int nImageID)
 Open image in Romexis by giving it's ID or info index. More...
 
short DxGetImage (short nIndex, short nConvertTo8bit, short nEnhanceContrast, short nFileFormat, const char *pszFileName)
 Retrieve an image of given index in image info array. More...
 
short DxGetImageByID (int nImageID, short nConvertTo8bit, short nEnhanceContrast, short nFileFormat, const char *pszFileName)
 Retrieve an image of having given image ID in Romexis database. More...
 
short DxGetOverviewImage (short nIndex, short nFileFormat, const char *pszFileName)
 Retrieve an overviw (thumbnail) image of given index in image info array. More...
 
short DxGetOverviewImageByID (int nImageID, short nFileFormat, const char *pszFileName)
 Retrieve an overview (thumbnail) image of having given image ID in Romexis database. More...
 
short DxCaptureImage (short nImageType)
 This routine starts image acquisition of given image type in 2D imaging or 3D imaging module. More...
 
short DxCaptureImageIntra (short nUseStudy, short nAllowWithoutStudy)
 Starts image acquisition of IntraOral type with/without study in 2D imaging module. More...
 
short DxSelectImage ()
 This routine opens the Select Image UI dialog for selecting an existing image. More...
 
short DxDeselectPatient ()
 Unselect/deselect patient in Romexis patient module. More...
 
short DxSetWindowPlacement (UINT uShowCmd)
 Sets Romexis main window behaviour. More...
 
short DxExit ()
 Terminates ROMEXIS application. More...
 
short DxMoveWindow (long x0, long y0, long nWidth, long nHeight)
 Explicitly specify the location of the main window of Romexis. More...
 
short DxAlwaysOnTop (short nOnTop)
 Sets Romexis main window always on top, or unsets the behaviour. More...
 
short DxDeletePatient (const char *pszPatientID)
 Inactivate a patient in Romexis. More...
 
short DxGetDBStatus ()
 This routine sends a TCPIP 'ping' command to PmBridge port. More...
 
short DxSetUser (char *pszUserName, unsigned short nAccessLevel)
 Sets the user of ROMEXIS client. More...
 
short DxSetImageRetrievalWindowSize (short nWindowSize)
 Sets Image Navigator (Image Retrieval) Windows Size in Romexis. More...
 
short DxGetImageRetrievalWindowSize (short *pnWindowSize, long *pnLeft, long *pnRight, long *pnTop, long *pnBottom)
 Gets Image Navigator (Image Retrieval) Windows size and location in Romexis. More...
 
short DxSetWorklistEntry (const char *pszPatientID, const char *pszStartDate, const char *pszStartTime, const char *pszModality, const char *pszStepID, const char *pszStepDesc, const char *pszProcedureID, const char *pszProcedureDesc, const char *pszStudyInstanceUID, const char *pszAccessionNumber, short arrToothMask[])
 This routine is NOT (yet) implemented in Romexis. More...
 
short DxOpenWorklistDlg (short nTodaysWorklist)
 
short DxShowToolbar (short nShow)
 This command is sent to Romexis but it is NOT (yet) handled by Romexis. More...
 
short DxShowStatusbar (short nShow)
 This command is sent to Romexis but command is NOT (yet) handled by Romexis. More...
 
short DxSetMaxLimits (long nMinTop, long nMaxBottom, long nMinLeft, long nMaxRight)
 Define limits for the Romexis window when the window is maximized. More...
 

Detailed Description

Start non-public section:

Function Documentation

short DxAlwaysOnTop ( short  nOnTop)

Sets Romexis main window always on top, or unsets the behaviour.

Parameters
[in]nOnTopSets (=1) or Reset(=0)
Return values
PMB_OKOperation successful
...
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxCaptureImage ( short  nImageType)

This routine starts image acquisition of given image type in 2D imaging or 3D imaging module.

Parameters
[in]nImageTypeModality type of following defined types: DX_IT_PAN, DX_IT_CEPH, DX_IT_INTRA, DX_IT_INTRACAM, DX_IT_TWAIN,DX_IT_CBCT
Return values
PMB_OKOperation successful
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxCaptureImageIntra ( short  nUseStudy,
short  nAllowWithoutStudy 
)

Starts image acquisition of IntraOral type with/without study in 2D imaging module.

Parameters
[in]nUseStudy1=open Study Selection window, 0=don't use Study Selection
[in]nAllowWithoutStudy1=allow capture without Study
Return values
PMB_OKOperation successful
-1
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxDeletePatient ( const char *  pszPatientID)

Inactivate a patient in Romexis.

Parameters
[in]pszPatientIDPointer to a ANSI character array of the patient ID
Return values
PMB_OKOperation successful
PMB_PATIENT_NOT_FOUND,...
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxDeselectPatient ( )

Unselect/deselect patient in Romexis patient module.

Return values
PMB_OKOperation successful
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxExit ( )

Terminates ROMEXIS application.

Note! If Romexis has a modal dialog open, it can't be terminated.

Return values
PMB_OKOperation successful
PMD_DX_BUSYPossible cause: a modal (auxiliary) dialog is still open.
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxGetDBStatus ( )

This routine sends a TCPIP 'ping' command to PmBridge port.

Checks if connection to Romexis is OK.

Return values
PMB_OKOperation successful
-1
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxGetImage ( short  nIndex,
short  nConvertTo8bit,
short  nEnhanceContrast,
short  nFileFormat,
const char *  pszFileName 
)

Retrieve an image of given index in image info array.

See Also
DxImageInfo() function for explantion of info array
Parameters
[in]nIndexThe index number in array table. See DxImageInfo().
[in]nConvertTo8bit1=The image will be mapped to 8 bit level.
[in]nEnhanceContrastFor cephalometric images the soft tissue filter will be applied. Image processing functions (filtering etc) will be applied to the image.
[in]nFileFormatThe image outout file format. Following types can be used DX_IF_TIFF,DX_IF_JPEG
[in]pszFileNameThe output file name. It should include the extension (.TIF, .JPG or .BMP) depending on nFileFormat

Checking of return value is highly important.

Return values
PMB_OKOperation successful
PMB_GET_IMAGE_FAILEDor
PMB_WRITE_IMAGE_FAILED
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxGetImageByID ( int  nImageID,
short  nConvertTo8bit,
short  nEnhanceContrast,
short  nFileFormat,
const char *  pszFileName 
)

Retrieve an image of having given image ID in Romexis database.

See Also
DxImageInfo() function for explantion of info array vs. image ID
Parameters
[in]nImageIDID in Romexis database
[in]nConvertTo8bit1=The image will be mapped to 8 bit level.
[in]nEnhanceContrastFor cephalometric images the soft tissue filter will be applied. Image processing functions (filtering etc) will be applied to the image.
[in]nFileFormatThe image outout file format. Following types can be used DX_IF_TIFF,DX_IF_JPEG
[in]pszFileNameThe output file name. It should include the extension (.TIF, .JPG or .BMP) depending on nFileFormat

Checking of return value is highly important.

Return values
PMB_OKOperation successful
PMB_GET_IMAGE_FAILEDor
PMB_WRITE_IMAGE_FAILED
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxGetImageRetrievalWindowSize ( short *  pnWindowSize,
long *  pnLeft,
long *  pnRight,
long *  pnTop,
long *  pnBottom 
)

Gets Image Navigator (Image Retrieval) Windows size and location in Romexis.

Parameters
[out]pnWindowSizePointer of short: DX_RWND_SIZE_SMALL or DX_RWND_SIZE_FULL
[out]pnLeftPointer of long: Left corner position of window
[out]pnRightPointer of long: Right corner position of window
[out]pnTopPointer of long: Top corner position of window
[out]pnBottomPointer of long: Bottom corner position of window
Return values
PMB_OKOperation successful
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxGetOverviewImage ( short  nIndex,
short  nFileFormat,
const char *  pszFileName 
)

Retrieve an overviw (thumbnail) image of given index in image info array.

See Also
DxImageInfo() function for explantion of info array
Parameters
[in]nIndexThe index number in array table. See DxImageInfo().
[in]nFileFormatThe image outout file format. Following types can be used DX_IF_TIFF,DX_IF_JPEG
[in]pszFileNameThe output file name. It should include the extension (.TIF, .JPG or .BMP) depending on nFileFormat

Checking of return value is highly important.

Return values
PMB_OKOperation successful
PMB_GET_IMAGE_FAILEDor
PMB_WRITE_IMAGE_FAILED
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxGetOverviewImageByID ( int  nImageID,
short  nFileFormat,
const char *  pszFileName 
)

Retrieve an overview (thumbnail) image of having given image ID in Romexis database.

See Also
DxImageInfo() function for explantion of info array vs. image ID
Parameters
[in]nImageIDID in Romexis database
[in]nFileFormatThe image outout file format. Following types can be used DX_IF_TIFF,DX_IF_JPEG
[in]pszFileNameThe output file name. It should include the extension (.TIF, .JPG or .BMP) depending on nFileFormat

Checking of return value is highly important.

Return values
PMB_OKOperation successful
PMB_GET_IMAGE_FAILEDor
PMB_WRITE_IMAGE_FAILED
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxInquireImage ( short  nIndex,
long  arrImageParam[],
short  arrToothMask[] 
)

Get information about images of the currently selected patient.

Parameters
[in]nIndex0 –based index of the images of the patient. The number of the images the patient has can be received when calling DxSelectPatient()
[in]arrImageParam[] A 1-based array of the image parameters. The size of the array must be at least DX_MAX_INDEX. The indices of the table have been defined in “PmBridge.h”.
[in]arrToothMask[] A 1-based table for dentity (Numbering standard defined in Romexis)

Checking of return value is highly important.

Return values
PMB_OKOperation successful
PMB_NO_IMAGES_FOUND
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxInsertPatient ( const char *  pszPatientID,
const char *  pszFamilyName,
const char *  pszFirstName,
const char *  pszBirthDate,
const char *  pszDoctor 
)

This ANSI routine adds a new patient into Romexis database.

Checking of return value is highly important.

Parameters
[in]pszPatientIDA pointer to ANSI character array of the patient ID
[in]pszFamilyNameA pointer to ANSI character array of the patient's familyname
[in]pszFirstNameA pointer to ANSI character array of the patient's first name
[in]pszBirthDateA pointer to ANSI character array of the patient's birthdate
[in]pszDoctorA pointer to ANSI character array of the doctor name
Return values
PMB_OKOperation successful
PMB_INSERT_FAILED
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxInsertPatient_Ex ( const char *  pszPatientID,
const char *  pszFamilyName,
const char *  pszFirstName,
const char *  pszBirthDate,
const char *  pszDoctor,
const char *  pszGender 
)

This new extended ANSI routine adds a new patient into Romexis database.

Checking of return value is highly important.

Parameters
[in]pszPatientIDA pointer to ANSI character array of the patient ID
[in]pszFamilyNameA pointer to ANSI character array of the patient's familyname
[in]pszFirstNameA pointer to ANSI character array of the patient's first name
[in]pszBirthDateA pointer to ANSI character array of the patient's birthdate
[in]pszDoctorA pointer to ANSI character array of the doctor name
[in]pszGenderA pointer to ANSI character array of the patient's gender/sex Predefined strings GENDER_MALE_STRING, GENDER_FEMALE_STRING,GENDER_UNKNOWN_STRING

Checking of return value is highly important.

Return values
PMB_OKOperation successful
PMB_INSERT_FAILED
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxInsertPatientW ( const char *  pszPatientID,
const WCHAR *  pwszFamilyName,
const WCHAR *  pwszFirstName,
const char *  pszBirthDate,
const WCHAR *  pwszDoctor 
)

This UNICODE routine adds a new patient into Romexis database.

Checking of return value is highly important.

Parameters
[in]pszPatientIDA pointer to ANSI character array of the patient ID
[in]pwszFamilyNameA pointer to UNICODE character array of the patient's familyname
[in]pwszFirstNameA pointer to UNICODE character array of the patient's first name
[in]pszBirthDateA pointer to ANSI character array of the patient's birthdate
[in]pwszDoctorA pointer to UNICODE character array of the doctor name

Checking of return value is highly important.

Return values
PMB_OKOperation successful
PMB_INSERT_FAILED
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxInsertPatientW_Ex ( const char *  pszPatientID,
const WCHAR *  pwszFamilyName,
const WCHAR *  pwszFirstName,
const char *  pszBirthDate,
const WCHAR *  pwszDoctor,
const char *  pszGender 
)

This new extended UNICODE routine adds a new patient into Romexis database.

Checking of return value is highly important.

Parameters
[in]pszPatientIDA pointer to ANSI character array of the patient ID
[in]pwszFamilyNameA pointer to UNICODE character array of the patient's familyname
[in]pwszFirstNameA pointer to UNICODE character array of the patient's first name
[in]pszBirthDateA pointer to ANSI character array of the patient's birthdate
[in]pwszDoctorA pointer to UNICODE character array of the doctor name
[in]pszGenderA pointer to ANSI character array of the patient's gender

Checking of return value is highly important.

Return values
PMB_OKOperation successful
PMB_INSERT_FAILED
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxMoveWindow ( long  x0,
long  y0,
long  nWidth,
long  nHeight 
)

Explicitly specify the location of the main window of Romexis.

Parameters
[in]x0X -coordinate of upper left corner of Romexis window
[in]y0Y -coordinate of upper left corner of Romexis window
[in]nWidthWidth of Romexis main window
[in]nHeightHeight of Romexis main window
Return values
PMB_OKOperation successful
...
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxOpenImage ( short  nIndex,
int  nImageID 
)

Open image in Romexis by giving it's ID or info index.

NOTE! Following input cases can exists

  1. nIndex > -1 and nImageID < 1 => Image opened by image array information
  2. nIndex < 0 and nImageID > 0 => Image opened using given ID
  3. nIndex > -1 and nImageID > 0 => Image opened using given ID
  4. nIndex < 0 and nImageID < 1 => No image can be opened because of wrong input

NOTE2! To be sure that a correct image is opened one should always call first DxInquireImage and then DxOpenImage, especially in case 1.

Parameters
[in]nIndexIndex number of image in image info array
[in]nImageIDImageID of image in Romexis database

Checking of return value is highly important.

Return values
PMB_OKOperation successful
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxOpenWorklistDlg ( short  nTodaysWorklist)
short DxSelectImage ( )

This routine opens the Select Image UI dialog for selecting an existing image.

Checking of return value is highly important.

Return values
PMB_OKOperation successful
PMB_GET_IMAGE_FAILEDor -1
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxSelectPatient ( const char *  pszPatientID,
short *  pnImageCount 
)

Selection of an existing patient.

Note! It is highly recommeded that selection of the patient should be called before trying to INSERT a new patient. Otherwise there might be possible appear the same patient twice in database.

Parameters
[in]pszPatientIDPointer to ANSI char array of patient ID.
[out]pnImageCountPointer to short variable. Contains the number of images currently saved for the patient
Return values
PMB_OKOperation was successful
PMB_PATIENT_NOT_FOUNDPatient is not found in database.
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxSetImageRetrievalWindowSize ( short  nWindowSize)

Sets Image Navigator (Image Retrieval) Windows Size in Romexis.

Parameters
[in]nWindowSizeDX_RWND_SIZE_SMALL or DX_RWND_SIZE_FULL
Return values
PMB_OKOperation successful
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxSetMaxLimits ( long  nMinTop,
long  nMaxBottom,
long  nMinLeft,
long  nMaxRight 
)

Define limits for the Romexis window when the window is maximized.

Using this function it is possible to make sure that the calling application's menu is visible when the window is resized. A value will not be used if it <= 0. The values are relative to the actual screen size. (This has been tested only in single monitor systems). Romexis also does a 'sanity' check for the values and uses value only if it does not limit screen usage more than 10%.

Parameters
[in]nMinTop-
[in]nMaxBottom-
[in]nMinLeft-
[in]nMaxRight-
Return values
PMB_OKOperation successful
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxSetUser ( char *  pszUserName,
unsigned short  nAccessLevel 
)

Sets the user of ROMEXIS client.

Parameters
[in]pszUserName- pointer to ANSI character array of the user name
[in]nAccessLevel- (not handled by Romexis client)
Return values
PMB_OKOperation successful
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxSetWindowPlacement ( UINT  uShowCmd)

Sets Romexis main window behaviour.

The practice management software may want to minimize the ROMEXIS application when the practice management software is switched to the foreground using SW_SHOWMINIMIZED parameter.

Only following parameters are currently sent and handled by Romexis: SW_SHOWNORMAL, SW_SHOWMAXIMIZED, SW_SHOWMINIMIZED

Parameters
[in]uShowCmdPredefined unsigned integer command
Return values
PMB_OKOperation successful
Failure-1
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxSetWorklistEntry ( const char *  pszPatientID,
const char *  pszStartDate,
const char *  pszStartTime,
const char *  pszModality,
const char *  pszStepID,
const char *  pszStepDesc,
const char *  pszProcedureID,
const char *  pszProcedureDesc,
const char *  pszStudyInstanceUID,
const char *  pszAccessionNumber,
short  arrToothMask[] 
)

This routine is NOT (yet) implemented in Romexis.

Return values
PMB_OKOperation successful
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxShowStatusbar ( short  nShow)

This command is sent to Romexis but command is NOT (yet) handled by Romexis.

Note! Returns always PMB_OK, but nothing is executed in Romexis. Please do not call this function.

Return values
PMB_OKOperation successful (Always)
short DxShowToolbar ( short  nShow)

This command is sent to Romexis but it is NOT (yet) handled by Romexis.

Note! Returns always PMB_OK, but nothing is executed in Romexis. Please do not call this function.

Return values
PMB_OKOperation successful (Always)
DWORD DxStart ( )

This routine initializes the PMBRIDGE interface.

Call this once, and only once, before any other PMBRIDGE routine.

Checking of return value is highly important. PmBridge can cannot operate properly unless essential files are in order. These are:

  • PmBridge.ini can be read (optional).
  • PmBridgeR.log can be written to.
  • user temp-dir can be written to.
Return values
PMB_OKOperation successful, or if called while already initialized nothing is done.
PMB_DX_NOT_RUNNINGapplication has not yet started; start call is performed 5 times before returning failed response.
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxUpdatePatient ( const char *  pszPatientID,
const char *  pszFamilyName,
const char *  pszFirstName,
const char *  pszBirthDate,
const char *  pszDoctor 
)

This ANSI routine updates patient data in Romexis database.

Checking of return value is highly important.

Parameters
[in]pszPatientIDA pointer to ANSI character array of the patient ID
[in]pszFamilyNameA pointer to ANSI character array of the patient's familyname
[in]pszFirstNameA pointer to ANSI character array of the patient's first name
[in]pszBirthDateA pointer to ANSI character array of the patient's birthdate
[in]pszDoctorA pointer to ANSI character array of the doctor name
Return values
PMB_OKOperation successful
PMB_UPDATE_FAILED
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxUpdatePatient_Ex ( const char *  pszPatientID,
const char *  pszFamilyName,
const char *  pszFirstName,
const char *  pszBirthDate,
const char *  pszDoctor,
const char *  pszGender 
)

This new extended ANSI routine updates patient data in Romexis database.

Checking of return value is highly important.

Parameters
[in]pszPatientIDA pointer to ANSI character array of the patient ID
[in]pszFamilyNameA pointer to ANSI character array of the patient's familyname
[in]pszFirstNameA pointer to ANSI character array of the patient's first name
[in]pszBirthDateA pointer to ANSI character array of the patient's birthdate
[in]pszDoctorA pointer to ANSI character array of the doctor name
[in]pszGenderA pointer to ANSI character array of the patient's gender/sex Predefined strings GENDER_MALE_STRING, GENDER_FEMALE_STRING,GENDER_UNKNOWN_STRING
Return values
PMB_OKOperation successful
PMB_UPDATE_FAILED
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxUpdatePatientW ( const char *  pszPatientID,
const WCHAR *  pwszFamilyName,
const WCHAR *  pwszFirstName,
const char *  pszBirthDate,
const WCHAR *  pwszDoctor 
)

This UNICODE routine updates patient data in Romexis database.

Checking of return value is highly important.

Parameters
[in]pszPatientIDA pointer to ANSI character array of the patient ID
[in]pwszFamilyNameA pointer to UNICODE character array of the patient's familyname
[in]pwszFirstNameA pointer to UNICODE character array of the patient's first name
[in]pszBirthDateA pointer to ANSI character array of the patient's birthdate
[in]pwszDoctorA pointer to UNICODE character array of the doctor name
Return values
PMB_OKOperation successful
PMB_UPDATE_FAILED
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.
short DxUpdatePatientW_Ex ( const char *  pszPatientID,
const WCHAR *  pwszFamilyName,
const WCHAR *  pwszFirstName,
const char *  pszBirthDate,
const WCHAR *  pwszDoctor,
const char *  pszGender 
)

This new extended UNICODE routine updates patient data in Romexis database.

Checking of return value is highly important.

Parameters
[in]pszPatientIDA pointer to ANSI character array of the patient ID
[in]pwszFamilyNameA pointer to UNICODE character array of the patient's familyname
[in]pwszFirstNameA pointer to UNICODE character array of the patient's first name
[in]pszBirthDateA pointer to ANSI character array of the patient's birthdate
[in]pwszDoctorA pointer to UNICODE character array of the doctor name
[in]pszGenderA pointer to ANSI character array of the patient's gender/sex Predefined strings GENDER_MALE_STRING, GENDER_FEMALE_STRING,GENDER_UNKNOWN_STRING
Return values
PMB_OKOperation successful
PMB_UPDATE_FAILED
See Also
PmBridge SDK documentation (or PmBridge.h) for possible PMBRIDGE status return values.