Skip to main content

Crate nexcore_pharma

Crate nexcore_pharma 

Source
Expand description

§nexcore-pharma

Pharmaceutical company domain models — products, pipelines, safety profiles, and competitive analysis.

§T1 Primitive Grounding

ConceptPrimitiveSymbolRole
Company / Product structsStateςMutable domain aggregates
TherapeuticArea / Phase / SignalVerdict / CommTypeSumΣVariant classification
CompanyAnalysis trait methodsMappingμTransform aggregate → view
Option fields (ticker, rxcui, …)VoidStrategic absence
Result at API edgesBoundaryError propagation gates
Filter / match in trait methodsComparisonκPredicate selection
prr / ror / casesQuantityNDisproportionality magnitudes
Serialize / DeserializePersistenceπCross-boundary transport
::new() constructorsExistenceAggregate instantiation
Trait method chainsCausalityQuery → result pipelines

§Modules

  • id: CompanyId newtype (type-safe string identity)
  • therapeutic: TherapeuticArea enum (13 variants)
  • product: Product, SafetyProfile, SignalSummary, SignalVerdict
  • pipeline: PipelineCandidate, Phase
  • safety_comm: SafetyCommunication, CommType
  • company: Company aggregate
  • analysis: CompanyAnalysis trait + DefaultAnalysis implementation

Re-exports§

pub use analysis::CompanyAnalysis;
pub use company::Company;
pub use id::CompanyId;
pub use pipeline::Phase;
pub use pipeline::PipelineCandidate;
pub use product::Product;
pub use product::SafetyProfile;
pub use product::SignalSummary;
pub use product::SignalVerdict;
pub use safety_comm::CommType;
pub use safety_comm::SafetyCommunication;
pub use therapeutic::TherapeuticArea;

Modules§

analysis
Company analysis trait.
company
Core Company type.
id
Company identity newtype.
pipeline
Pipeline candidate types.
product
Product and safety profile types.
safety_comm
Safety communication types.
therapeutic
Therapeutic area classification.