Class PatientDiagnosis
Represents a diagnosis associated with a patient, encapsulating the relevant diagnostic information.
public class PatientDiagnosis
- Inheritance
-
PatientDiagnosis
- Inherited Members
- Extension Methods
Properties
Category
public string? Category { get; set; }
Property Value
Code
public string? Code { get; set; }
Property Value
CodingSystem
public string? CodingSystem { get; set; }
Property Value
Description
public string? Description { get; set; }
Property Value
DiagnosisCode
public string? DiagnosisCode { get; set; }
Property Value
DiagnosisSystem
public string? DiagnosisSystem { get; set; }
Property Value
EndTime
public DateTime? EndTime { get; set; }
Property Value
Id
public ObjectId Id { get; set; }
Property Value
- ObjectId
Label
public string? Label { get; set; }
Property Value
MessageTime
public DateTime MessageTime { get; set; }
Property Value
PatientId
public ObjectId PatientId { get; set; }
Property Value
- ObjectId
StartTime
public DateTime? StartTime { get; set; }
Property Value
State
public string? State { get; set; }
Property Value
Time
public DateTime Time { get; set; }
Property Value
UpdateDate
public DateTime? UpdateDate { get; set; }
Property Value
Methods
ToString()
Returns a string representation of the PatientDiagnosis instance, including its core fields (id, time, patientId, messageTime, startTime, endTime) and conditionally appending optional properties (codingSystem, label, code, state, category) only when they have non-empty values.
public override string ToString()
Returns
- string
A formatted string in the form
PatientDiagnosis[field1: value1, field2: value2, ...]containing the diagnosis data; optional fields are omitted when null or empty.