# EHR_STATUS a locatable? **Category:** [RM](https://discourse.openehr.org/c/rm/42) **Created:** 2020-10-25 20:53 UTC **Views:** 851 **Replies:** 3 **URL:** https://discourse.openehr.org/t/ehr-status-a-locatable/1055 --- ## Post #1 by @ian.mcnicoll 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 ``` --- ## Post #2 by @sebastian.iancu Yes, we use a generic archetype that provides us the "openEHR-EHR-EHR_STATUS.generic.v1", and we have constraints on 'other_details' so that we store some extra info need by our app. --- ## Post #3 by @ian.mcnicoll Could you share that? By all means hide/remove the app-specific details. Also has that part of the REST Spec or example been changed recently? I don't recall archetype_id being in the example before? --- ## Post #4 by @sebastian.iancu EHR_STATUS inherits from LOCATABLE therefore needs that archetype_node_id to be filled in (as well as few other attributes). About sharing, here are some files that perhaps help - adl1.4: [EhrStatus.v1.opt|attachment](upload://ujljNo7QcPkoaPjTPB065OxBhOr.opt) (12.3 KB) [EhrStatus.v1.object.xml|attachment](upload://yttp0SQAoMhOHsNkOXSOf6Ai2UO.xml) (1.6 KB) [EhrStatus.v1.oet|attachment](upload://AqOQJDdtb7J8uUpyqcryIIqW0Oj.oet) (1.7 KB) [openEHR-EHR-EHR_STATUS.generic.v1.adl|attachment](upload://vN6AFojULp4XbVQOZQGh2SncdKt.adl) (1.3 KB) [openEHR-EHR-ITEM_TREE.ehr_details.v1.adl|attachment](upload://7U6W0aKIimILbc4kkw4XU5nNYxY.adl) (2.0 KB) --- **Canonical:** https://discourse.openehr.org/t/ehr-status-a-locatable/1055 **Original content:** https://discourse.openehr.org/t/ehr-status-a-locatable/1055