createdAt and updatedAt, which are generated automatically by Clinia’s infrastructure.
To allow for more flexibility and support a system migration, Clinia’s Resource API, Relationship API, Bulk API and Bundle API allow specifying metadata information in a create or upsert operation (but not update).
System modifiable metadata properties are:
Metadata Rules
Some validation rules are imposed on those metadata to ensure consistency with system-generated values. Those are:- If a value is specified for
updatedAt, one must also be provided forcreatedAt - The datetime value of the
updatedAtmust be greater or equal to thecreatedAt - The
createdAtandupdatedAtdatetime values cannot be in the future. - The
identifierfield must contain Identifier Type with distinct combined values ofsystem,useandvaluefields.- Field
usecan’t take the reserved value"source" - Field
systemcan’t take the reserved value"mdm"
- Field
Examples
Set up
Set up
This setup creates a demo registry source with minimal profiles and a relationship so the examples can run consistently.
1
Create a source
2
Create minimal profiles
3
Create a relationship definition