예제 #1
0
 public static PharmaceuticalPrescription Create(PrescriptionIdentifier identifier,
                                                 HealthcarePractitioner prescriber,
                                                 Patient patient,
                                                 IEnumerable <PrescribedMedication> prescribedMedications,
                                                 Alpha2LanguageCode languageCode,
                                                 EncounterIdentifier encounterIdentifier = null,
                                                 DateTime?delivrableAt = null)
 {
     return(Create(identifier, prescriber, patient, prescribedMedications, SystemTime.Local(), languageCode, encounterIdentifier, delivrableAt));
 }
예제 #2
0
 protected override void AddPrescriptionRevokedEvent(string reason)
 {
     this.AddEvent(new PharmaceuticalPrescriptionRevoked(this.Identifier.Value, SystemTime.Local(), reason));
 }