pub struct Medication {Show 27 fields
pub nregistro: String,
pub name: String,
pub pactivos: String,
pub labtitular: String,
pub status: AuthorizationStatus,
pub cpresc: String,
pub commercialized: Option<bool>,
pub prescription_required: Option<bool>,
pub affects_driving: Option<bool>,
pub black_triangle: Option<bool>,
pub orphan: Option<bool>,
pub biosimilar: Option<bool>,
pub ema: Option<bool>,
pub psum: Option<bool>,
pub docs: Vec<Document>,
pub photos: Vec<Photo>,
pub has_notes: Option<bool>,
pub has_materials: Option<bool>,
pub atcs: Vec<AtcCode>,
pub active_ingredients: Vec<ActiveIngredient>,
pub excipients: Vec<Excipient>,
pub administration_routes: Vec<MasterItem>,
pub non_substitutable: Option<MasterItem>,
pub presentations: Vec<PresentationSummary>,
pub pharmaceutical_form: Option<MasterItem>,
pub simplified_pharmaceutical_form: Option<MasterItem>,
pub dosis: Option<String>,
}Expand description
Complete medication with all details
Fields§
§nregistro: StringRegistration number
name: StringMedication name
pactivos: StringComma-separated list of active ingredients
labtitular: StringHolder laboratory
status: AuthorizationStatusRegistration status
cpresc: StringPrescription conditions
commercialized: Option<bool>Indicates if has any commercialized presentation
prescription_required: Option<bool>Indicates if requires prescription
affects_driving: Option<bool>Indicates if affects driving
black_triangle: Option<bool>Indicates if has black triangle
orphan: Option<bool>Indicates if orphan drug
biosimilar: Option<bool>Indicates if biosimilar
ema: Option<bool>Indicates if registered by EMA
psum: Option<bool>Indicates if has supply problems
docs: Vec<Document>Associated documents
photos: Vec<Photo>Associated photos
has_notes: Option<bool>Indicates if has notes
has_materials: Option<bool>Indicates if has informative materials
atcs: Vec<AtcCode>ATC codes
active_ingredients: Vec<ActiveIngredient>Active ingredients
excipients: Vec<Excipient>Excipients
administration_routes: Vec<MasterItem>Administration routes
non_substitutable: Option<MasterItem>Non-substitutable type
presentations: Vec<PresentationSummary>Presentations
pharmaceutical_form: Option<MasterItem>Pharmaceutical form
simplified_pharmaceutical_form: Option<MasterItem>Simplified pharmaceutical form
dosis: Option<String>Active ingredient dose
Trait Implementations§
Source§impl Clone for Medication
impl Clone for Medication
Source§fn clone(&self) -> Medication
fn clone(&self) -> Medication
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Medication
impl Debug for Medication
Source§impl<'de> Deserialize<'de> for Medication
impl<'de> Deserialize<'de> for Medication
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Medication
impl RefUnwindSafe for Medication
impl Send for Medication
impl Sync for Medication
impl Unpin for Medication
impl UnsafeUnpin for Medication
impl UnwindSafe for Medication
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more