Restrictions XML Schema
ws_master_restriction_e Complex Type
Description
This is the schema used to display all data elements for one Master Restriction.
Namespace urn:CoreOne.Restrictions
Diagram
date_left Element date_joined Element holding_id Element active Element master_restriction_id Element id Element Sequence holding_restrictions Element date_left Element date_joined Element herd_id Element active Element master_restriction_id Element id Element Sequence herd_restrictions Element date_left Element date_joined Element animal_id Element active Element master_restriction_id Element id Element Sequence animal_restrictions Element active Element comments Element restriction_reason_id Element restriction_type_id Element end_date Element start_date Element vet_responsible Element name Element id Element Sequence ws_master_restriction_e Complex Type
Overview
ws_master_restriction_e
This is the schema used to display all data elements for one Master Restriction.
Sequence
id :int
This is an internal CoreOne id used to uniquely identify the specified Master Restriction.
name :string
This is the name given to the specified Restriction.
vet_responsible :int
This is an internal CoreOne Person id. This is the veterinarian responsible for placing the restriction.
start_date :date
This is the date in which the Restriction was commenced.
end_date :date
This is the date in which the Restriction was lifted.
restriction_type_id :int
This is an internal CoreOne Restriction Type id. This is the type of Restriction that is placed.
restriction_reason_id :int
This is an internal CoreOne Restriction Reason id. This is the reason why the Restriction was placed.
comments :string
These are any comments or remarks that have been made about the specified Restriction.
active :boolean
This is a boolean value which flags whether the specified Restriction is currently active or inactive.
animal_restrictions 0..∞ ws_animal_restriction Complex Type
These are the details for any associated Animal Restrictions.
Sequence
id :int
This is an internal CoreOne id used to uniquely identify the specified Animal Restriction.
master_restriction_id :int
This is an internal CoreOne Master Restriction id used as a foreign key to link the Animal Restriction to a Master Restriction.
active :boolean
This is a boolean value which flags whether the specified Animal Restriction is currently active or inactive.
animal_id :int
This is an internal CoreOne Animal id used as a foreign key to link the an animal to the specified Animal Restriction.
date_joined :date
This is the date in which the animal was added to the Restriction.
date_left :date
This is the date in which the animal was removed from the Restriction.
herd_restrictions 0..∞ ws_herd_restriction Complex Type
These are the details for any associated Herd Restrictions.
Sequence
id :int
This is an internal CoreOne id used to uniquely identify the specified Herd Restriction.
master_restriction_id :int
This is an internal CoreOne Master Restriction id used as a foreign key to link the Herd Restriction to a Master Restriction.
active :boolean
This is a boolean value which flags whether the specified Herd Restriction is currently active or inactive.
herd_id :int
This is an internal CoreOne Herd id used as a foreign key to link the an herd to the specified Herd Restriction.
date_joined :date
This is the date in which the herd was added to the Restriction.
date_left :date
This is the date in which the herd was removed from the Restriction.
holding_restrictions 0..∞ ws_holding_restriction Complex Type
These are the details for any associated Premises Restrictions.
Sequence
id :int
his is an internal CoreOne id
master_restriction_id :int
This is an internal CoreOne Master Restriction id used as a foreign key to link the Premises Restriction to a Master Restriction.
active :boolean
This is a boolean value which flags whether the specified Premises Restriction is currently active or inactive.
holding_id :int
This is an internal CoreOne Holding id used as a foreign key to link the an premises to the specified Premises Restriction.
date_joined :date
This is the date in which the premises was added to the Restriction.
date_left :date
This is the date in which the premises was removed from the Restriction.
Remarks

Source
See Also
Restrictions XML Schema

 

 


© 2014-2018 All Rights Reserved.

Send comments on this topic.