22 lines
431 B
Swift
22 lines
431 B
Swift
//
|
|
// CreatePrescriptionRequest.swift
|
|
// medmap
|
|
//
|
|
// Created by Ricardo Araujo on 27/08/2026.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
|
|
struct CreatePrescriptionRequest: Encodable {
|
|
let patientId: String
|
|
let medicationId: String
|
|
let prescriberId: String
|
|
let startDate: String // "yyyy-MM-dd"
|
|
let endDate: String?
|
|
let prn: Bool
|
|
let instructions: String?
|
|
let timezone: String?
|
|
let schedule: ScheduleRequest
|
|
}
|