use utf8;

package SemanticWeb::Schema::DrugCost;

# ABSTRACT: The cost per unit of a medical drug

use Moo;

extends qw/ SemanticWeb::Schema::MedicalEntity /;

use MooX::JSON_LD 'DrugCost';
use Ref::Util qw/ is_plain_hashref /;

use namespace::autoclean;

our $VERSION = 'v11.01.0';

has applicable_location => (
    is        => 'rw',
    predicate => '_has_applicable_location',
    json_ld   => 'applicableLocation',

has cost_category => (
    is        => 'rw',
    predicate => '_has_cost_category',
    json_ld   => 'costCategory',

has cost_currency => (
    is        => 'rw',
    predicate => '_has_cost_currency',
    json_ld   => 'costCurrency',

has cost_origin => (
    is        => 'rw',
    predicate => '_has_cost_origin',
    json_ld   => 'costOrigin',

has cost_per_unit => (
    is        => 'rw',
    predicate => '_has_cost_per_unit',
    json_ld   => 'costPerUnit',

has drug_unit => (
    is        => 'rw',
    predicate => '_has_drug_unit',
    json_ld   => 'drugUnit',




=encoding UTF-8

=head1 NAME

SemanticWeb::Schema::DrugCost - The cost per unit of a medical drug

=head1 VERSION

version v11.01.0


The cost per unit of a medical drug. Note that this type is not meant to
represent the price in an offer of a drug for sale; see the Offer type for
that. This type will typically be used to tag wholesale or average retail
cost of a drug, or maximum reimbursable cost. Costs of medical drugs vary
widely depending on how and where they are paid for, so while this type
captures some of the variables, costs should be used with caution by
consumers of this schema's markup.


=head2 C<applicable_location>


The location in which the status applies.

A applicable_location should be one of the following types:


=item C<InstanceOf['SemanticWeb::Schema::AdministrativeArea']>


=head2 C<_has_applicable_location>

A predicate for the L</applicable_location> attribute.

=head2 C<cost_category>


The category of cost, such as wholesale, retail, reimbursement cap, etc.

A cost_category should be one of the following types:


=item C<InstanceOf['SemanticWeb::Schema::DrugCostCategory']>


=head2 C<_has_cost_category>

A predicate for the L</cost_category> attribute.

=head2 C<cost_currency>


The currency (in 3-letter of the drug cost. See: 

A cost_currency should be one of the following types:


=item C<Str>


=head2 C<_has_cost_currency>

A predicate for the L</cost_currency> attribute.

=head2 C<cost_origin>


Additional details to capture the origin of the cost data. For example,
'Medicare Part B'.

A cost_origin should be one of the following types:


=item C<Str>


=head2 C<_has_cost_origin>

A predicate for the L</cost_origin> attribute.

=head2 C<cost_per_unit>


The cost per unit of the drug.

A cost_per_unit should be one of the following types:


=item C<InstanceOf['SemanticWeb::Schema::QualitativeValue']>

=item C<Num>

=item C<Str>


=head2 C<_has_cost_per_unit>

A predicate for the L</cost_per_unit> attribute.

=head2 C<drug_unit>


The unit in which the drug is measured, e.g. '5 mg tablet'.

A drug_unit should be one of the following types:


=item C<Str>


=head2 C<_has_drug_unit>

A predicate for the L</drug_unit> attribute.

=head1 SEE ALSO


=head1 SOURCE

The development version is on github at L<>
and may be cloned from L<git://>

=head1 BUGS

Please report any bugs or feature requests on the bugtracker website

When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired

=head1 AUTHOR

Robert Rothenberg <>


This software is Copyright (c) 2018-2020 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)