I’ve been playing with EHRbase and the REST AP{I and got an error because I had omitted the archetype_node_id and name. This was a new error - it had not occurred with previous versions but according to the example in RST this is correct - EHR_STATUS is a LOCATABLE but there are no EHR_STATUS archetypes that I know of.
What are others doing here? just putting in a dummy archetype node id??
{
"_type": "EHR_STATUS",
"archetype_node_id": "openEHR-EHR-EHR_STATUS.generic.v1",
"name": {
"value": "EHR Status"
},
"subject": {
"external_ref": {
"id": {
"_type": "GENERIC_ID",
"value": "ins01",
"scheme": "id_scheme"
},
"namespace": "examples",
"type": "PERSON"
}
},
"is_modifiable": true,
"is_queryable": true