openEHR / specifications-ITS-REST

openEHR REST API Specifications
https://specifications.openehr.org/releases/ITS-REST/latest
Apache License 2.0
18 stars 15 forks source link

GET Template ADL 2 - small inconsistency #85

Closed jakesmolka closed 5 years ago

jakesmolka commented 5 years ago

https://specifications.openehr.org/releases/ITS-REST/latest/definitions.html#definitions-adl-2-template-get

has the following inconsistent description

/definition/template/adl2/{template_id} List all available ADL2 operational templates on the system

There are some possibilities to interpret / solve this but I'd guess it should be like above at ADL 1.4. One endpoint to list all templates and one endpoint to list a specific one (here with additional version_pattern). Hence it might should be:

/definition/template/adl2 List all available ADL2 operational templates on the system

Or is this definition like intended?


And on a side note: https://specifications.openehr.org/releases/ITS-REST/latest/definitions.html#definitions-adl-2-template-get-1 Should have a small description. Again, maybe the same that ADL1.4 has above.