Class AbstractClinicalEntry
- Assembly
- Core.CliniCore.dll
Base class for all clinical documentation entries
public abstract class AbstractClinicalEntry
- Inheritance
-
AbstractClinicalEntry
- Derived
- Inherited Members
- Extension Methods
Constructors
AbstractClinicalEntry(Guid, string)
Base class for all clinical documentation entries
protected AbstractClinicalEntry(Guid authorId, string content)
Parameters
Properties
AuthorId
The physician who authored this entry
public Guid AuthorId { get; protected set; }
Property Value
Code
Optional ICD-10 or other coding
public string? Code { get; set; }
Property Value
Content
The actual content/text of the entry
public string Content { get; set; }
Property Value
CreatedAt
When this entry was created
public DateTime CreatedAt { get; protected set; }
Property Value
EntryType
Gets the type of this clinical entry
public abstract ClinicalEntryType EntryType { get; }
Property Value
Id
Unique identifier for this entry
public Guid Id { get; protected set; }
Property Value
IsActive
Whether this entry is active (not deleted/superseded)
public bool IsActive { get; set; }
Property Value
ModifiedAt
When this entry was last modified
public DateTime? ModifiedAt { get; set; }
Property Value
Severity
Severity or priority level
public EntrySeverity Severity { get; set; }
Property Value
Methods
GetDisplayString()
Creates a formatted display string for this entry
public virtual string GetDisplayString()
Returns
GetValidationErrors()
Gets validation errors for this entry
public virtual List<string> GetValidationErrors()
Returns
IsValid()
Validates that this entry is complete and valid
public virtual bool IsValid()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Update(string)
Updates the entry and marks it as modified
public virtual void Update(string newContent)
Parameters
newContentstring