Closed gdbassett closed 11 years ago
List should include "Comments: List should not include "construct" and "classification" as both are attributes.
Recommend validation only allow a single additional property beyond the set list. Handler should split out into multiple nodes, replicating edges associated with the initial node.
For attributes, a label would count as it's metadata.
Confidence should be an edge property. (Alternately, it could be an attribute, CPT, or dictionary on the node.)
for matching, metadata should be a dipole ("type", "value). Graph should reject all else.
Probably don't need end date.
CPTs should be set to an "OR" CPT if none exist.
Fixed in https://github.com/gdbassett/moirai/blob/dev-ms1/server/moiraiGraphUpdate.py.
May want to validate the CPT string as well.
Closing. Will add CPT as it's own issue
Add a function that validates the metadata in a graph update including: start & end date CPT label class validate metadata properties (not multiple, etc) confidence construct classification (PII, proprietary, public, etc change all text to lower case to facilitate finding things etc