Closed mkm1879 closed 7 years ago
OK -- let me go with a "soft" suggestion to gauge reaction -- we could add a set of name/value pairs to capture data such as this that eCVI generators may have and want to include in the doc. For example, we could add an element called metadata with a name and value (chosen from int, string, float). I fear an unending list of things for discussion if we want to "elevate" every possible piece of data to an attribute/element in the schema......
I was going to make an argument for this based on the need for these a part of import regulations, etc., rather than traceability. But in discussion with Dr. Parr, our state vet, the places where we rely upon the issuing vet to know an area or herd "status" is really changing from formal "status" to more the kind of thing that goes in the general statements section. "This horse is not from an area currently affected by VS" and that sort of thing. So, I concur with the attribute/value solution.
Is this a suggestion to use a standard list for the diseases and standard values, such as (I'm making up the attribute names here for simplicity):
object= state (from list of state or herd) name= Brucellosis (from disease list) value=free (from status list)
If so, I like this approach better than enumerating all the possibilities in one list (state is Brucellosis free, herd is Brucellosis free, etc.)
That is the way I read Michael's suggestion. I'm not sure he was thinking to enumerate the choices. If so, they would have to be the "coded with exceptions allowed" type of enumeration in case a state needs to assert that it is free of nose and tail disease once rules are in place for that.
Value: Free MA - Modified Accredited MAA - Modified Advanced Accredited
name: Brucellosis (state) Brucellosis (herd) Tuberculosis
Will implement this following discussion on 10/7 -- I will make it a "values+other" implementation
I will close this at the end of October unless there are objections before then
See that ProgramStatusType was added to the schema, but it was added as a sibling element to eCVI element as:
Sorry previous comment dropped my xml. Second line should read:
I also see it referenced by: the complexType PremType
This is technically correct either way, but I agree with John that the pattern we follow through most of the schema is to define a complex type and then define the element with type="" Here we define the element and then define is use with ref=" It would seem to be better to stay with one or the other unless there is a good reason to do the other.
I agree that consistency is a good idea in this regard -- @jconlon can you make your suggested change and push the revision referencing this issue in the comment please.
Done. Note: The element name changes from ProgramStatusType to ProgramStatus consistent with the other fields.
I also fiddled with a couple of meaningless order of the maxOccurs= etc to be name, type, limits. I'll check that kind of thing throughout when I do the consistency check end-to-end.
OK thanks for the speedy response @mkm1879 -- I'll leave this issue open for further comment and will close it on 13 December unless anyone objects beforehand.
How do we plan to map State and Herd disease statuses? Same question for general statements required.