Also included in this update:
MHDS Specification 10.1 adds attribute “IMPORTED” with datatype “String” or “Int” and default value “0” to the objects below:
- S2: Client;
- S3: Booking;
- S4: Cancellation;
- S5: Invoice;
- S6: Receipt;
- S7: Item;
- any subsequent object with an “IMPORTED” attribute.
MHDS Specification 10.2 requires objects’ “IMPORTED” attributes be set to “1” when processing an import file.
MHDS Specification 10.3 adds attribute “ONLINE” with datatype “String” or “Int” and default value “0” to the objects below:
- S3: Booking;
- S4: Cancellation.
MHDS Specification 10.4 amends the Item object in S7:
- 10.4.1. adds attribute “TAX” with datatype “Float” and requires the tax percentage;
- 10.4.2 adds attribute “THERAPISTS” with datatype “String” and requires CSV format;
- 10.4.3 prohibits the creation of a Booking for therapists whose IDs are not found in attribute “THERAPISTS”;
- 10.4.4 adds attribute “DELETED” with datatype “String” or “Int” and default value “0”;
- 10.4.5 prohibits the deletion of an Item from a database;
- 10.4.6 requires that when a user attempts to delete an Item, its “DELETED” value is set to “1”;
- 10.4.7 requires that Items with a “DELETED” value of “1” be hidden from default search results or navigation;
MHDS Specification 10.5 adds attribute “NOTES” with datatype “String” to the Office object.
MHDS Specification 10.6 amends all “NOTES” attributes.
- 10.6.1 requires the following JSON format representing an array of note versions: [ {“user”: YOUR_USER, “stamp”: TIMESTAMP, “content”: YOUR CONTENT}, … ].
- 10.6.2 requires the implementation of a version control mechanism on any “NOTES” attribute.