I’ve posted COMPOSITION for the Vital signs in another thread. It looks like this:
I’ve also posted an example code for instantiating BP:
I have all the terminologies generated as models too:
In the above example CODE_PHRASE is used since that is what is expected by the RM. To help programmers understand the codes I added the terminology text in comments:
..property = CodePhrase(TerminologyId('openehr'), '125') /* Pressure */
I’ll see if the generated terminology classes can be used. They will probably be used in validation.
I’ll answer this in another post since parts of the validation rules are not in computable form yet: