tracefirst / usaha_committee

XML schema for electronic CVIs
8 stars 2 forks source link

AnimalTag Question #52

Open DenLindy opened 6 years ago

DenLindy commented 6 years ago

Last summer we had this request to revise the AnimalTag.

if a group is sent with ids, parse the ids into individual animals. if the headcount and number of ids don't match, use "unknown" for the ids for the additional animals

Now people are complaining about the many duplicate entries, such as this certificate with a head count of 51 but only one set of ids:

idTypes: "Microchip ID, Weight" ids: "900111880710616, 2lb 7oz"

There is a total of 50 "unknown" entries. We also have a cert with 1260 head and only 1 set of ids which results in 1259 'unknown" entries. Is this the correct way to show unknown entries? Also, why is the headcount not included in the xml file?
mkm1879 commented 6 years ago

You are adding these comments to the version 1 site. Do you mean to be contributing to version 2? It is at https://github.com/AAVLD-USAHA-ITStandards/eCVI Confusing, but we wanted to take out any reference to one specific commercial entity and have it "owned" completely by AAVLD/USAHA.

The suggestion is very valid for an eCVI implementation. The way my software handles that is that it creates one Animal for each ID and a GroupLot containing the remaining animals. The GroupLot does contain the headcount (Quantity) in both version one and two.

               <xs:element name="GroupLot" minOccurs="1" maxOccurs="1">
                    <xs:complexType>
                        <xs:attribute name="Quantity" type="xs:float" use="required">
                            <xs:annotation>
                                <xs:documentation>This is the quantity of animals or other commodity included in this GroupLot element.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute default="Number" name="Unit" type="xs:string" use="optional">
                            <xs:annotation>
                                <xs:documentation>This is the type of Units that the Quantity refers to. For example, it could be pounds or gallons.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
DenLindy commented 6 years ago

Michael

Thanks for the quick replies. I probably should have been using my work email, dlindeman@globalvetlink.com, so that you would know that I work for GlobalVetLINK. We are still using version 1.

Thanks

On Fri, Apr 27, 2018 at 9:13 AM, Michael Martin notifications@github.com wrote:

You are adding these comments to the version 1 site. Do you mean to be contributing to version 2? It is at https://github.com/AAVLD- USAHA-ITStandards/eCVI Confusing, but we wanted to take out any reference to one specific commercial entity and have it "owned" completely by AAVLD/USAHA.

The suggestion is very valid for an eCVI implementation. The way my software handles that is that it creates one Animal for each ID and a GroupLot containing the remaining animals. The GroupLot does contain the headcount (Quantity) in both version one and two.

           <xs:element name="GroupLot" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:attribute name="Quantity" type="xs:float" use="required">
                        <xs:annotation>
                            <xs:documentation>This is the quantity of animals or other commodity included in this GroupLot element.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute default="Number" name="Unit" type="xs:string" use="optional">
                        <xs:annotation>
                            <xs:documentation>This is the type of Units that the Quantity refers to. For example, it could be pounds or gallons.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tracefirst/usaha_committee/issues/52#issuecomment-384982562, or mute the thread https://github.com/notifications/unsubscribe-auth/AAtaMvT2ROparv1CLjyh_0iNUmDXA2oVks5tsyeEgaJpZM4TqY69 .

-- Dennis Lindeman 4804 Dover Dr Ames IA 50014

515 231 0303 (c) 515 292 9394 (h)