...
overall
Jira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-58 it supporting flat and json/xml, controlling with Accept header
/definition/adl1.4/{templateId}/example[?type={filterType}&detailLevel={detailLevel}]
filterType = input|output
it contains a larger set of data, but not necessary the largest, given values for some optional fields
detailLevel = min|medium|max
can be used for validation and developments
Jira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-35 serializing errors:
investigate if RFC is in use -https://datatracker.ietf.org/doc/html/rfc7807 (https://github.com/zalando/problem is also using it)
try to align if possible with FHIR
we should not use RM type
EHR
Add
/ehr/{ehr_id}/folder
and/ehr/{ehr_id}/versioned_folder
Jira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-63 Add missing EHR_ACCESS ?
similar to EHR_STATUS
we will mention in specs that this resource is created automatically by the system when the EHR is created, and is not possible to add it in the payload of EHR creation (like we do for EHR_STATUS)
fix EHR summary - not “very” restful => this is a breaking change
Definitions
=> admin?Jira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-43 should we support also archetypes? => no, or at least is low prio, perhaps next version
are we going to support (reading) terminology / value sets? => no, this is the job of terminology service
add alternative /definition/adl2/{archetype_id_matcher} and deprecate /definition/adl2/{template_id}/{version_pattern} - potentially breaking change
query type => add “formalism” in text
...
see also Pablo’s proposal
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
how should we deal with admin required functionality, e.g. destroy EHR, Compositions, Actors, etc ? Need a specific endpoint /admin or use DELETE action over resources, assuming ACL permits ?
DELETE /admin/ehr/{:ehr_id}
DELETE /admin/ehr/{:ehr_id}/composition/{:composition_id}
see https://ehrbase.readthedocs.io/en/latest/03_development/07_admin/index.html
later (less prio) also merge, unmerge, move content
delete template is problematic, if is “in use” - but on the other hand this is an admin endpoint, so it should be fine
export (and import), later also (partial) extract/ import
/admin/ehr/{ehr_id}/export - exports
/admin/ehr/import
configure the export/import task scope with a payload (e.g. all-ehrs, subset of ehrs based on their ehrIds, “some compositions”)
background tasks - consider polling
need to define what will be the format for this dump - zip? (Seref:) sqlite? (Severin:) csv or json?
we will need
merging EHRs
to define schema for this export format
Ian: see Josh Mandel on dumping ehr-data
do we need something like ehr_extract ?
self-contained package, including templates, archetypes; maintaining cross references, versioning, contribution
import should work on existing populated CDR
what if template or other data already exists?
Alex: consider keycloak import/export strategies
consider flag to anonymize data upon export
can be used for data migration from one CDR to another, or another version
merging EHRs
parameters: source ehr-id and target ehr-id
Sebastian: it will move data from old ehr to new ehr
Sebastian: might be possible to use ehr_status to indicate that source ehr was merged, perhaps use folders or tags to mark the merged content
Alex: use ehr_status other_details or feeder_audit to indicate merging information
see also https://discourse.openehr.org/t/linking-and-merging-ehr-ids/1192/14
Erik: I wonder if merge is a variant action of moving data
better has also
unmerge
andmove
operationshow to deal with merge-conflicts ? imagine merging persisting compositions, episodes, demographic data, duplicates tags, etc
archiving/shredding Person/EHR (partial, cohort)
system?
Bugs
Jira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-60
- might be a breaking changeJira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-46
but also to other placesJira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-44 Jira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-68
...
Audit headers with JSON Simplified Format
Jira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-64 converting location response header to content-location (see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Location ) => breaking change
Pablo: an idea to backport functionality from v2 to v1 but do it with right headers, we should actually deprecate the “wrong” headers and already add the new-future headers
Missing (specification) details
Jira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-62 Jira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-61
try with prefer=identifiersJira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-50
discussed on discourse, we should allow it (todo check), no need to do anything on REST levelJira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-48
...
Reformat Introduction
Conformance info
IANA
Jira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-39 Reformat and reorganize
Jira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-36 Overall Layout
sync with SM, add UV models (relaxed RM)
Jira Legacy server System JIRAJira serverId 7788407e-95fd-3d19-96c6-946a2bd486dc key SPECITS-34 authentication endpoint => (still) no needed
audit service endpoint => not prio, perhaps not part of rest api
(cds) hooks => if Cambio can help with a proposal then it can be included, but we should also look into generalized triggers
simplify, consolidate and reuse yaml-blocks while building up specs
...