Table of Contents

Class AbstractClinicalEntry

Namespace
Core.CliniCore.Domain.ClinicalDocumentation.ClinicalEntries
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

authorId Guid
content string

Properties

AuthorId

The physician who authored this entry

public Guid AuthorId { get; protected set; }

Property Value

Guid

Code

Optional ICD-10 or other coding

public string? Code { get; set; }

Property Value

string

Content

The actual content/text of the entry

public string Content { get; set; }

Property Value

string

CreatedAt

When this entry was created

public DateTime CreatedAt { get; protected set; }

Property Value

DateTime

EntryType

Gets the type of this clinical entry

public abstract ClinicalEntryType EntryType { get; }

Property Value

ClinicalEntryType

Id

Unique identifier for this entry

public Guid Id { get; protected set; }

Property Value

Guid

IsActive

Whether this entry is active (not deleted/superseded)

public bool IsActive { get; set; }

Property Value

bool

ModifiedAt

When this entry was last modified

public DateTime? ModifiedAt { get; set; }

Property Value

DateTime?

Severity

Severity or priority level

public EntrySeverity Severity { get; set; }

Property Value

EntrySeverity

Methods

GetDisplayString()

Creates a formatted display string for this entry

public virtual string GetDisplayString()

Returns

string

GetValidationErrors()

Gets validation errors for this entry

public virtual List<string> GetValidationErrors()

Returns

List<string>

IsValid()

Validates that this entry is complete and valid

public virtual bool IsValid()

Returns

bool

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

newContent string