idemographic.cs
来自「ecg tool kit for medical image retrieval」· CS 代码 · 共 226 行
CS
226 行
/***************************************************************************
Copyright 2004, Thoraxcentrum, Erasmus MC, Rotterdam, The Netherlands
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Written by Maarten JB van Ettinger.
****************************************************************************/
using System;
namespace ECGConversion.ECGDemographics
{
/// <summary>
/// Interface for manupalation of demograpics information.
/// </summary>
public interface IDemographic
{
/// <summary>
/// Function to initialize demographics information.
/// </summary>
void Init();
/// <summary>
/// Function to get the last name of the patient.
/// </summary>
/// <param name="name">last name of patient</param>
/// <returns>0 on success</returns>
string LastName {get;set;}
/// <summary>
/// Function to get the first name of the patient.
/// </summary>
/// <param name="name">first name of patient</param>
/// <returns>0 on success</returns>
string FirstName {get;set;}
/// <summary>
/// Function to get the id of the patient.
/// </summary>
/// <param name="id">id of the patient</param>
/// <returns>0 on success</returns>
string PatientID {get;set;}
/// <summary>
/// Function to get the second last name of the patient.
/// </summary>
/// <param name="name">second last name of patient</param>
/// <returns>0 on success</returns>
string SecondLastName {get;set;}
/// <summary>
/// Function to get the prefix of the patient name.
/// </summary>
/// <param name="name">prefix of patient</param>
/// <returns>0 on success</returns>
string PrefixName {get;set;}
/// <summary>
/// Function to get the suffix of the patient name.
/// </summary>
/// <param name="name">suffix of patient</param>
/// <returns>0 on success</returns>
string SuffixName {get;set;}
/// <summary>
/// Function to get the age of the patient.
/// </summary>
/// <param name="val">age value as defined</param>
/// <param name="def">definition of the age value</param>
/// <returns>0 on success</returns>
int getPatientAge(out ushort val, out AgeDefinition def);
/// <summary>
/// Function to set the last name of the patient.
/// </summary>
/// <param name="name">last name of patient</param>
/// <returns>0 on success</returns>
int setPatientAge(ushort val, AgeDefinition def);
/// <summary>
/// Function to get the date of birth of patient.
/// </summary>
/// <param name="date">date of birth of patient</param>
/// <returns>0 on success</returns>
Date PatientBirthDate {get;set;}
/// <summary>
/// Function to get the height of the patient.
/// </summary>
/// <param name="val">height value as defined</param>
/// <param name="def">definition of the height value</param>
/// <returns>0 on success</returns>
int getPatientHeight(out ushort val, out HeightDefinition def);
/// <summary>
/// Function to set the height of the patient.
/// </summary>
/// <param name="val">height value as defined</param>
/// <param name="def">definition of the height value</param>
/// <returns>0 on success</returns>
int setPatientHeight(ushort val, HeightDefinition def);
/// <summary>
/// Function to get the weight of the patient.
/// </summary>
/// <param name="val">weight value as defined</param>
/// <param name="def">definition of the weight value</param>
/// <returns>0 on success</returns>
int getPatientWeight(out ushort val, out WeightDefinition def);
/// <summary>
/// Function to set the weight of the patient.
/// </summary>
/// <param name="val">weight value as defined</param>
/// <param name="def">definition of the weight value</param>
/// <returns>0 on success</returns>
int setPatientWeight(ushort val, WeightDefinition def);
/// <summary>
/// Function to get sex of patient
/// </summary>
/// <param name="sex">the sex of the patient</param>
/// <returns>0 on success</returns>
Sex Gender {get;set;}
/// <summary>
/// Function to get race of patient.
/// </summary>
/// <param name="race">the race of the patient</param>
/// <returns>0 on success</returns>
Race PatientRace {get;set;}
/// <summary>
/// Function to get the acquiring machine id.
/// </summary>
/// <param name="id">id of the acquiring machine.</param>
/// <returns>0 on success</returns>
AcquiringDeviceID AcqMachineID {get;set;}
/// <summary>
/// Function to get the analyzing machine id.
/// </summary>
/// <param name="id">id of acquiring machine</param>
/// <returns>0 on success</returns>
AcquiringDeviceID AnalyzingMachineID {get;set;}
/// <summary>
/// Function to get the time of acquisition.
/// </summary>
/// <param name="time">time of acquisition</param>
/// <returns>0 on success</returns>
DateTime TimeAcquisition {get;set;}
/// <summary>
/// Function to get the high pass baseline filter.
/// </summary>
/// <param name="val">cut off frequency in (1/100) Hertz</param>
/// <returns>0 on success</returns>
ushort BaselineFilter {get;set;}
/// <summary>
/// Function to get the low pass filter.
/// </summary>
/// <param name="val">cut off frequency in Hertz</param>
/// <returns>0 on success</returns>
ushort LowpassFilter {get;set;}
/// <summary>
/// Function to get the filter bitmap.
/// </summary>
byte FilterBitmap {get;set;}
/// <summary>
/// Function to get the free text fields.
/// </summary>
string[] FreeTextFields {get;set;}
/// <summary>
/// Function to get the sequence number.
/// </summary>
string SequenceNr {get;set;}
/// <summary>
/// Function to get the acquiring institution.
/// </summary>
string AcqInstitution {get;set;}
/// <summary>
/// Function to get the analyzing institution.
/// </summary>
string AnalyzingInstitution {get;set;}
/// <summary>
/// Function to get the acquiring departement.
/// </summary>
string AcqDepartment {get;set;}
/// <summary>
/// get and set the analyzing departement.
/// </summary>
string AnalyzingDepartment {get;set;}
/// <summary>
/// Function to get the referring physician.
/// </summary>
string ReferringPhysician {get;set;}
/// <summary>
/// Function to get the overreading physician.
/// </summary>
string OverreadingPhysician {get;set;}
/// <summary>
/// Function to get the technician desciption.
/// </summary>
string TechnicianDescription {get;set;}
/// <summary>
/// Function to get the systolic blood pressure of the patient.
/// </summary>
ushort SystolicBloodPressure {get;set;}
/// <summary>
/// Function to get the diastolic blood pressure of the patient.
/// </summary>
/// <param name="val">diastolic blood pressure</param>
/// <returns>0 on success</returns>
ushort DiastolicBloodPressure {get;set;}
/// <summary>
/// Function to get the drugs given to patient.
/// </summary>
/// <param name="drugs">array of drugs</param>
Drug[] Drugs {get;set;} // If used at all it probably needs to be implemented better
/// <summary>
/// Function to get referral indication.
/// </summary>
string[] ReferralIndication {get;set;}
/// <summary>
/// Function to get room description.
/// </summary>s>
string RoomDescription {get;set;}
/// <summary>
/// Function to get stat code.
/// </summary>
byte StatCode {get;set;}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?