Class PrescriptionEntry
- 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
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
Dosage
Dosage amount and unit (e.g., "500mg")
public string? Dosage { get; set; }
Property Value
Duration
Duration of treatment
public string? Duration { get; set; }
Property Value
EntryType
Gets the type of this clinical entry
public override ClinicalEntryType EntryType { get; }
Property Value
ExpirationDate
Date prescription expires
public DateTime? ExpirationDate { get; set; }
Property Value
Frequency
Frequency of administration
public DosageFrequency? Frequency { get; set; }
Property Value
GenericAllowed
Whether generic substitution is allowed
public bool GenericAllowed { get; set; }
Property Value
Instructions
Special instructions or warnings
public string? Instructions { get; set; }
Property Value
MedicationName
Name of the medication
public string MedicationName { get; set; }
Property Value
NDCCode
NDC (National Drug Code) if available
public string? NDCCode { get; set; }
Property Value
Refills
Number of refills authorized
public int Refills { get; set; }
Property Value
Route
Route of administration
public MedicationRoute Route { get; set; }
Property Value
Methods
GenerateSig()
Generates standard prescription signature (Sig)
public string GenerateSig()
Returns
GetDisplayString()
Creates a formatted display string for this entry
public override string GetDisplayString()
Returns
GetValidationErrors()
Gets validation errors for this entry
public override List<string> GetValidationErrors()
Returns
IsValid()
Validates that this entry is complete and valid
public override bool IsValid()