Android Open Source - Visu Patient Data






From Project

Back to project page Visu.

License

The source code is released under:

Apache License

If you think the Android project Visu listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.ufavaloro.android.visu.storage.datatypes;
//  www .j  a v  a  2 s  .com
public class PatientData {
  
  // Nombre del paciente
  private char[] mPatientName;
  private int mPatientNameSize = 50;
  private int mPatientNameBytes = mPatientNameSize*((Character.SIZE)/8);
  
  // Apellido del paciente
  private char[] mPatientSurname;
  private int mPatientSurnameSize = 50;
  private int mPatientSurnameBytes = mPatientSurnameSize*((Character.SIZE)/8);
  
  // Nombre del estudio
  private char[] mStudyName;
  private int mStudyNameSize = 100;
  private int mStudyNameBytes = mStudyNameSize*((Character.SIZE)/8);
  
  private int mPatientDataBytes;
  
  public PatientData() {
    mPatientName = null;    
    mPatientSurname = null;
    mStudyName = null;
    mPatientDataBytes = mPatientNameBytes + mPatientSurnameBytes + mStudyNameBytes;
  }

  public PatientData(char[] patientName, char[] patientSurname, char[] studyName) {
    mPatientName = patientName;
    mPatientSurname = patientSurname;
    mStudyName = studyName;
    
    mPatientDataBytes = mPatientNameBytes + mPatientSurnameBytes + mStudyNameBytes;
  }

  public PatientData(String patientName, String patientSurname, String studyName) {
    mPatientName = patientName.toCharArray();
    mPatientSurname = patientSurname.toCharArray();
    mStudyName = studyName.toCharArray();
    
    mPatientDataBytes = mPatientNameBytes + mPatientSurnameBytes + mStudyNameBytes;
  }
  
  public void setPatientName(String patientName) {
    mPatientName = patientName.toCharArray();
  }
  
  public void setPatientSurname(String patientSurname) {
    mPatientSurname = patientSurname.toCharArray();
  }

  public char[] getPatientName() {
    return mPatientName;
  }
  
  public char[] getPatientSurname() {
    return mPatientSurname;
  }

  public void setStudyName(String studyName) {
    mStudyName = studyName.toCharArray();
  }

  public char[] getStudyName() {
    return mStudyName;
  }

  public int getPatientDataBytes() {
    return mPatientDataBytes;
  }

  public int getPatientNameSize() {
    return mPatientNameSize;
  }
  
  public int getPatientSurnameSize() {
    return mPatientSurnameSize;
  }
  
  public int getStudyNameSize() {
    return mStudyNameSize;
  }
  
    
}




Java Source Code List

com.samsung.sprc.fileselector.FileData.java
com.samsung.sprc.fileselector.FileListAdapter.java
com.samsung.sprc.fileselector.FileOperation.java
com.samsung.sprc.fileselector.FileSelector.java
com.samsung.sprc.fileselector.FileUtils.java
com.samsung.sprc.fileselector.OnHandleFileListener.java
com.samsung.sprc.fileselector.SaveLoadClickListener.java
com.samsung.sprc.fileselector.TextViewWithImage.java
com.ufavaloro.android.visu.UI.ChannelOptionsDialog.java
com.ufavaloro.android.visu.UI.LoadFileFromGoogleDriveDialog.java
com.ufavaloro.android.visu.UI.LoadFileFromLocalStorageDialog.java
com.ufavaloro.android.visu.UI.MainActivity.java
com.ufavaloro.android.visu.UI.MainMenuDialog.java
com.ufavaloro.android.visu.UI.NewStudyDialog.java
com.ufavaloro.android.visu.UI.OfflineChannelPropertiesDialog.java
com.ufavaloro.android.visu.UI.OnlineChannelPropertiesDialog.java
com.ufavaloro.android.visu.UI.StopStudyDialog.java
com.ufavaloro.android.visu.bluetooth.BluetoothProtocolMessage.java
com.ufavaloro.android.visu.bluetooth.BluetoothProtocol.java
com.ufavaloro.android.visu.bluetooth.BluetoothServiceMessage.java
com.ufavaloro.android.visu.bluetooth.BluetoothService.java
com.ufavaloro.android.visu.draw.BitmapManager.java
com.ufavaloro.android.visu.draw.DrawHelper.java
com.ufavaloro.android.visu.draw.RGB.java
com.ufavaloro.android.visu.draw.ReferenceMatrix.java
com.ufavaloro.android.visu.draw.TouchPointer.java
com.ufavaloro.android.visu.draw.channel.ChannelList.java
com.ufavaloro.android.visu.draw.channel.Channel.java
com.ufavaloro.android.visu.draw.channel.DrawBuffer.java
com.ufavaloro.android.visu.draw.channel.InfoBox.java
com.ufavaloro.android.visu.draw.channel.Label.java
com.ufavaloro.android.visu.draw.channel.ScreenElement.java
com.ufavaloro.android.visu.draw.channel.SignalBox.java
com.ufavaloro.android.visu.storage.DataConversion.java
com.ufavaloro.android.visu.storage.SamplesBuffer.java
com.ufavaloro.android.visu.storage.StorageHelperMessage.java
com.ufavaloro.android.visu.storage.StorageHelper.java
com.ufavaloro.android.visu.storage.StudyDataParser.java
com.ufavaloro.android.visu.storage.datatypes.AcquisitionData.java
com.ufavaloro.android.visu.storage.datatypes.AdcData.java
com.ufavaloro.android.visu.storage.datatypes.PatientData.java
com.ufavaloro.android.visu.storage.datatypes.StorageData.java
com.ufavaloro.android.visu.storage.datatypes.StudyData.java
com.ufavaloro.android.visu.storage.googledrive.GoogleDriveClientMessage.java
com.ufavaloro.android.visu.storage.googledrive.GoogleDriveClient.java
com.ufavaloro.android.visu.storage.googledrive.GoogleDriveManagerMessage.java
com.ufavaloro.android.visu.storage.googledrive.GoogleDriveManager.java
com.ufavaloro.android.visu.storage.local.LocalStorageManager.java
com.ufavaloro.android.visu.study.StudyMessage.java
com.ufavaloro.android.visu.study.StudyType.java
com.ufavaloro.android.visu.study.Study.java