Shouldn't INSTRUCTION_DETAILS.wf_details be archetypable?

Looking at the model, INSTRUCTION_DETAILS.wf_details is an ITEM_STRUCTURE, and that lead me to think that should be archetypable.

Playing around with the archetype editor, it doesn’t allow to archetype anything inside INSTRUCTION.instruction_details.

Is this a problem of the AE or that structure is not meant to be archetyped?

If it is not meant to be archetyped, wouldn’t that be an issue for querying?

Thanks!

I made a mistake, when I said “INSTRUCTION.instruction_details” was really “ACTION.instruction_details”. Sorry! :slight_smile:

Hi Pablo,

Since wf_details is ITEM_STRUCTURE, then yes it can be archetyped. Just because the AE doesn’t support it does not change this fact. As is this case in many software projects, functionality in the AE was built on as needed basis so I would suggest that no one has needed it to date. Since the AE was almost 100% contributed by Ocean Informatics, the priorities around “as needed” was evaluated by Ocean. However, the AE is open source so others can add their own capabilities if they desire.

Heath

Hello Pablo,

For these kinds of use cases I'd really recommend you to try LinkEHR.
You should be able to define anything valid in the openEHR schema.
We went to the extent to add an 'export' option to ensure that the
output ADL could be read by Archetype Editor and Template Designer, so
you don't need to change your workflow.

Regards

Thanks Heath, I was under the impression that this was an AE constraint.

I know the tool has it’s restrictions and I would love to contribute, but I’m not very good with the technology stack on which the AE was created. I hope others can jump in and fill the blanks :slight_smile:

Thanks!