tracefirst / usaha_committee

XML schema for electronic CVIs
8 stars 2 forks source link

Looking for guidance...premid for lab #34

Closed nephiharvey closed 7 years ago

nephiharvey commented 10 years ago

In the code segment below:

xs:sequence xs:complexType xs:sequence xs:annotation xs:documentationThis is the Premises ID for the Laboratory. If it is an in-field test, then the premises ID of the farm on which the tests were performed should be used./xs:documentation /xs:annotation /xs:element The implication that the PremID should be used for the lab id for in field tests. Many (I dare say most) locations don't have a PremID. If we box ourselves into this restriction, what about the exceptions. We don't need to actually enter any value as minOccurs="0", but comments would be welcome.
mmcgrath commented 10 years ago

Ultimately, a receiving party (like us) is going to have to resolve the transaction to a premises record and having a premises identifier (PIN, State LID or an historic ID used in-state) makes this easier. But I see your point - I propose updating the documentation to say that omission of the premises ID also implies that this was an in-field test at the origin location.....

aeischeid commented 9 years ago

Omission of the premises ID may just mean there was not a know premisesID for the lab. It would be wrong to infer that it is an infield test based on that.

mmcgrath commented 7 years ago

I think this was resolved - there is an InfieldTest boolean to explicitly indicate if the test was infield or not. And the PremID in the Laboratory is optional.