Taxonomies

Taxonomy Reference

VetCarePress registers 11 custom taxonomies to categorize patients, medical records, vaccinations, and laboratory data. All taxonomies are fully manageable through the WordPress Admin taxonomy editors. From the Staff Dashboard, new terms can be created inline via Select2 "Add New" controls, but editing or deleting existing terms requires WP-Admin.

Taxonomy Overview

Taxonomy Slug Label Applied To Hierarchical Color Picker Default Terms
vcp_species Species vcp_patient, vcp_lab_panel, vcp_lab_marker Yes Yes Canine, Feline, Equine, Avian, Rabbit, Reptile, Rodent
vcp_clinical_note_type Clinical Note Types vcp_medical_record No Yes General Examination
vcp_diag_status Diagnosis Status vcp_medical_record Yes No Tentative, Final
vcp_diagnoses Diagnoses vcp_medical_record No Yes
vcp_treat_type Treatment Types vcp_medical_record No Yes
vcp_treatments Treatments vcp_medical_record No Yes
vcp_imaging_type Imaging Types vcp_medical_record No Yes
vcp_lab_type Lab Types vcp_medical_record No Yes
vcp_vaccination_type Vaccination Types vcp_vaccination No Yes See Vaccination Types
vcp_vaccine_product Vaccine Products vcp_vaccination No No
vcp_vaccine_manufacturer Vaccine Manufacturers vcp_vaccination No No

REST API Access

All taxonomies share a common REST API pattern:

  • Search terms: GET /wp-json/vcp/v1/taxonomies/{taxonomy}/search
  • Create terms: POST /wp-json/vcp/v1/taxonomies/{taxonomy}/terms

These endpoints power the inline Select2 term selectors on the Staff Dashboard, but can also be used by custom integrations.


vcp_species

Purpose: Categorizes patients by animal species and optionally by breed (child terms). This is the foundational taxonomy in VetCarePress — nearly every clinical workflow references the species of the patient being treated.

Applied to: vcp_patient, vcp_lab_panel, vcp_lab_marker

Hierarchical: Yes. Top-level terms represent species; child terms can represent breeds.

Default terms: Canine, Feline, Equine, Avian, Rabbit, Reptile, Rodent

Where it appears in the UI:

  • WP-Admin: VetCarePress > Species (/wp-admin/edit-tags.php?taxonomy=vcp_species)
  • Staff Dashboard: Species selector when creating or editing a patient, lab panel assignment

Color picker: Yes. Each species term stores a _vcp_term_color meta value. This color is displayed as a colored badge next to the species name throughout the frontend, making it easy to visually distinguish species at a glance.

Special term meta: Species colors are set via the color picker in WP-Admin and rendered as badge backgrounds on the Staff Dashboard and Customer Portal.


vcp_clinical_note_type

Purpose: Classifies clinical notes within medical records (e.g., General Examination, Follow-up, Surgery Notes).

Applied to: vcp_medical_record

Hierarchical: No

Default terms: General Examination

Where it appears in the UI:

  • WP-Admin: VetCarePress > Clinical Note Types (/wp-admin/edit-tags.php?taxonomy=vcp_clinical_note_type)
  • Staff Dashboard: Inline Select2 selector when adding a clinical note to a medical record

Color picker: Yes. Terms with a _vcp_term_color meta value display a colored badge in the frontend alongside the note type label.


vcp_diag_status

Purpose: Tracks the certainty level of a diagnosis attached to a medical record.

Applied to: vcp_medical_record

Hierarchical: Yes

Default terms: Tentative, Final

Where it appears in the UI:

  • WP-Admin: VetCarePress > Diagnosis Status (/wp-admin/edit-tags.php?taxonomy=vcp_diag_status)
  • Staff Dashboard: Selector when recording a diagnosis on a medical record

Color picker: No. Diagnosis statuses do not use the color picker.


vcp_diagnoses

Purpose: Stores the library of diagnoses that can be assigned to medical records. Clinics build their own diagnosis vocabulary over time.

Applied to: vcp_medical_record

Hierarchical: No

Default terms: None. Clinics create diagnoses as needed.

Where it appears in the UI:

  • WP-Admin: VetCarePress > Diagnoses (/wp-admin/edit-tags.php?taxonomy=vcp_diagnoses)
  • Staff Dashboard: Inline Select2 with "Add New" when recording a diagnosis

Color picker: Yes. Terms with a _vcp_term_color meta value display a colored badge next to the diagnosis name.


vcp_treat_type

Purpose: Categorizes treatment entries by type (e.g., Medication, Procedure, Therapy).

Applied to: vcp_medical_record

Hierarchical: No

Default terms: None. Clinics define their own treatment type categories.

Where it appears in the UI:

  • WP-Admin: VetCarePress > Treatment Types (/wp-admin/edit-tags.php?taxonomy=vcp_treat_type)
  • Staff Dashboard: Inline Select2 when adding a treatment to a medical record

Color picker: Yes. Terms with a _vcp_term_color meta value display a colored badge.


vcp_treatments

Purpose: Stores the library of specific treatments that can be assigned to medical records.

Applied to: vcp_medical_record

Hierarchical: No

Default terms: None. Clinics create treatments as needed.

Where it appears in the UI:

  • WP-Admin: VetCarePress > Treatments (/wp-admin/edit-tags.php?taxonomy=vcp_treatments)
  • Staff Dashboard: Inline Select2 with "Add New" when recording a treatment

Color picker: Yes. Terms with a _vcp_term_color meta value display a colored badge.


vcp_imaging_type

Purpose: Categorizes imaging records by modality (e.g., X-Ray, Ultrasound, CT, MRI).

Applied to: vcp_medical_record

Hierarchical: No

Default terms: None. Clinics define their own imaging type categories.

Where it appears in the UI:

  • WP-Admin: VetCarePress > Imaging Types (/wp-admin/edit-tags.php?taxonomy=vcp_imaging_type)
  • Staff Dashboard: Inline Select2 when adding an imaging record

Color picker: Yes. Terms with a _vcp_term_color meta value display a colored badge.


vcp_lab_type

Purpose: Categorizes laboratory test records by type (e.g., CBC, Chemistry Panel, Urinalysis).

Applied to: vcp_medical_record

Hierarchical: No

Default terms: None. Clinics define their own lab type categories.

Where it appears in the UI:

  • WP-Admin: VetCarePress > Lab Types (/wp-admin/edit-tags.php?taxonomy=vcp_lab_type)
  • Staff Dashboard: Inline Select2 when adding a lab record

Color picker: Yes. Terms with a _vcp_term_color meta value display a colored badge.

Special term meta: Each lab type term can store a _vcp_lab_cpt_pair meta value that links it to a specific lab configuration post type — either vcp_lab_panel (bloodwork), vcp_urine_panel (urinalysis), or vcp_stool_panel (stool analysis). This linkage determines which panel and marker configuration is loaded when a staff member selects this lab type during record creation. See Lab Configuration for details.


vcp_vaccination_type

Purpose: Defines the types of vaccinations available (e.g., DAP, Rabies, FVRCP). This taxonomy drives the vaccination scheduling and reminder system.

Applied to: vcp_vaccination

Hierarchical: No

Default terms: See Vaccination Types for the full list of seeded terms by species.

Where it appears in the UI:

  • WP-Admin: VetCarePress > Vaccination Types (/wp-admin/edit-tags.php?taxonomy=vcp_vaccination_type)
  • Staff Dashboard: Inline Select2 when recording a vaccination

Color picker: Yes. Terms with a _vcp_term_color meta value display a colored badge.

Special term meta:

  • _vcp_default_interval_weeks — The default number of weeks between doses. This value pre-fills the "Next Due" date when a vaccination of this type is recorded.
  • _vcp_vaccine_core — Boolean flag indicating whether this vaccination type is considered a core vaccine. Core vaccines may be highlighted differently in the UI and in reminder notifications.

vcp_vaccine_product

Purpose: Tracks specific vaccine product names (e.g., Nobivac Canine 1-DAPPv, Purevax Feline Rabies).

Applied to: vcp_vaccination

Hierarchical: No

Default terms: None. Clinics add products as they are used.

Where it appears in the UI:

  • WP-Admin: VetCarePress > Vaccine Products (/wp-admin/edit-tags.php?taxonomy=vcp_vaccine_product)
  • Staff Dashboard: Inline Select2 when recording a vaccination

Color picker: No. Vaccine products do not use the color picker.


vcp_vaccine_manufacturer

Purpose: Tracks vaccine manufacturers (e.g., Merck, Boehringer Ingelheim, Zoetis).

Applied to: vcp_vaccination

Hierarchical: No

Default terms: None. Clinics add manufacturers as needed.

Where it appears in the UI:

  • WP-Admin: VetCarePress > Vaccine Manufacturers (/wp-admin/edit-tags.php?taxonomy=vcp_vaccine_manufacturer)
  • Staff Dashboard: Inline Select2 when recording a vaccination

Color picker: No. Vaccine manufacturers do not use the color picker.


Term Management Workflow

WP-Admin provides full CRUD access to all taxonomy terms:

  • Create, edit, rename, and delete terms
  • Set term colors via the color picker (where supported)
  • Configure special term meta (vaccination intervals, core flags, lab CPT pairs)
  • Manage hierarchical relationships (species/breed, diagnosis status)

Staff Dashboard supports inline term creation:

  • Select2 dropdowns with search and "Add New" functionality
  • New terms are created on the fly without leaving the current form
  • Editing or deleting existing terms is not available from the Staff Dashboard — use WP-Admin for these operations