Schema/MedicalOrganization.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 29 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Schema/MedicalBusiness.pm ↑ Summary Schema/Organization.pm »
1 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package SemanticWeb::Schema::MedicalOrganization;
4  
5 # ABSTRACT: A medical organization (physical or not)
6  
7 1 ▶use v5.14;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 extends qw/ SemanticWeb::Schema::Organization /;
11  
12  
13 1 ▶use MooX::JSON_LD 'MedicalOrganization';
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use Ref::Util qw/ is_plain_hashref /;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 # RECOMMEND PREREQ: Ref::Util::XS
16  
17 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 1 our $VERSION = 'v23.0.0';
20  
21  
22 1 has health_plan_network_id => (
23 is => 'rw',
24 predicate => '_has_health_plan_network_id',
25 json_ld => 'healthPlanNetworkId',
26 );
27  
28  
29  
30 1 has is_accepting_new_patients => (
31 is => 'rw',
32 predicate => '_has_is_accepting_new_patients',
33 json_ld => 'isAcceptingNewPatients',
34 );
35  
36  
37  
38 1 has medical_specialty => (
39 is => 'rw',
40 predicate => '_has_medical_specialty',
41 json_ld => 'medicalSpecialty',
42 );
43  
44  
45  
46  
47  
48 1 1;
49  
50 __END__
« Schema/MedicalBusiness.pm ↑ Summary Schema/Organization.pm »