Table of Contents

Class PrescriptionEntry

Namespace
Core.CliniCore.Domain.ClinicalDocumentation.ClinicalEntries
Assembly
Core.CliniCore.dll

Represents a medication prescription Must be linked to a supporting diagnosis

public class PrescriptionEntry : AbstractClinicalEntry
Inheritance
PrescriptionEntry
Inherited Members
Extension Methods

Constructors

PrescriptionEntry(Guid, Guid, string)

public PrescriptionEntry(Guid authorId, Guid diagnosisId, string medicationName)

Parameters

authorId Guid
diagnosisId Guid
medicationName string

Properties

DEASchedule

DEA schedule if controlled substance

public int? DEASchedule { get; set; }

Property Value

int?

DiagnosisId

REQUIRED: The diagnosis this prescription treats

public Guid DiagnosisId { get; }

Property Value

Guid

Dosage

Dosage amount and unit (e.g., "500mg")

public string? Dosage { get; set; }

Property Value

string

Duration

Duration of treatment

public string? Duration { get; set; }

Property Value

string

EntryType

Gets the type of this clinical entry

public override ClinicalEntryType EntryType { get; }

Property Value

ClinicalEntryType

ExpirationDate

Date prescription expires

public DateTime? ExpirationDate { get; set; }

Property Value

DateTime?

Frequency

Frequency of administration

public DosageFrequency? Frequency { get; set; }

Property Value

DosageFrequency?

GenericAllowed

Whether generic substitution is allowed

public bool GenericAllowed { get; set; }

Property Value

bool

Instructions

Special instructions or warnings

public string? Instructions { get; set; }

Property Value

string

MedicationName

Name of the medication

public string MedicationName { get; set; }

Property Value

string

NDCCode

NDC (National Drug Code) if available

public string? NDCCode { get; set; }

Property Value

string

Refills

Number of refills authorized

public int Refills { get; set; }

Property Value

int

Route

Route of administration

public MedicationRoute Route { get; set; }

Property Value

MedicationRoute

Methods

GenerateSig()

Generates standard prescription signature (Sig)

public string GenerateSig()

Returns

string

GetDisplayString()

Creates a formatted display string for this entry

public override string GetDisplayString()

Returns

string

GetValidationErrors()

Gets validation errors for this entry

public override List<string> GetValidationErrors()

Returns

List<string>

IsValid()

Validates that this entry is complete and valid

public override bool IsValid()

Returns

bool