Comments (7)
If you are ok with that, please upload them via (a new) JIRA issue or you can send it to me - I need to maintain the ITS-XSD files on github / Jira.
See https://openehr.atlassian.net/projects/SPECITS/issues/SPECITS-1?filter=allopenissues
from specifications-its-rest.
If nobody did this, I will add it to the XSD and share the update.
from specifications-its-rest.
Is this a duplicate of #4 ? I am reposting my reply from #4 here so that we can Close #4 if we want to.
In the directory https://github.com/LiU-IMT/EEE/tree/master/src/main/xsd you can find the (not so well tested) XML-schemas from LiU EEE. Feel free to reuse, modify and comoment. Highlights:
- EHR: https://github.com/LiU-IMT/EEE/blob/master/src/main/xsd/EEE-flat-storage-v1.xsd (other structures are possible, and for nested storage I think we used a slightly different approach, will try to find it)
- CONTRIBUTION, EHR_STATUS, EHR_ACCESS, VERSIONED_OBJECTs etc: https://github.com/LiU-IMT/EEE/blob/master/src/main/xsd/EEE-v1.xsd (note that the CotributionBuild class in that file will likely not be part of the current API we are specifying now, maybe rather in a later separate optional spec)
- XML-based query result: https://github.com/LiU-IMT/EEE/blob/master/src/main/xsd/xml-result-v1.xsd
One more thing that @ppazos discussed in issue #4 was:
We also need to define how to represent a collection or list of EHRs in XML. The same representation can be used for other collections, like endpoints that return collections of compositions or contributions
from specifications-its-rest.
@ErikSundvall @sebastian-iancu analyzing the XSD and the model I detected the XSD allowed empty values on some datatypes where the IM had invariants that said otherwise.
My XSD is a merge of all the different XSD files published by openEHR. Here are my commits with the changes. Please let me know what you think. Check Verssion.xsd
ppazos/cabolabs-ehrserver@3551203
ppazos/cabolabs-ehrserver@43a395a
I will check the XSDs shared by @ErikSundvall thanks!
from specifications-its-rest.
@ErikSundvall trying to load https://raw.githubusercontent.com/LiU-IMT/EEE/master/src/main/xsd/EEE-flat-storage-v1.xsd
On http://visualxsd.com/ and http://xsd2xml.com/
I get
There's some problem with schema, you're trying to view:
The complexType 'http://schemas.openehr.org/v1:DATA_VALUE' has already been declared.
I tried commenting the references but I couldn't find the issue.
from specifications-its-rest.
@ErikSundvall did you had the change to take a look at ^ ?
from specifications-its-rest.
XSD related work i snow done under specifications-ITS-XML repo
from specifications-its-rest.
Related Issues (20)
- Clarify if Basic Authentication should be implemented or not. HOT 2
- PUT composition - typo on no content request?
- Create EHR request defines invalid RM data for Ehr_Status HOT 5
- Clarify RM types for returned data when creating an EHR HOT 2
- Remove reference to deleted EHRs from description of Get EHR_STATUS version by time HOT 1
- Get Versioned_Ehr_Status description in REST api is inconsistent
- Clarify if ORIGINAL_VERSION can be returned where VERSION is expected HOT 1
- Incorrect contens for ORIGINAL_VERSION body contents
- Content-Type header in REST API calls should not be mandatory for empty content HOT 2
- Behaviour for use of composition uid's in POST requests needs clarification HOT 3
- REST: Behaviour of POST when COMPOSITION has a uid should be clarified HOT 2
- REST: Query specifications should reference Definitions HOT 1
- {preceding_version_uid} as path or header parameter? HOT 2
- Split template definition endpoints to adl1.4 one and adl2 one
- Add an undelete operation to the composition endpoint
- Example body for stored AQL query is incorrect.
- Remove version support for template endpoint for adl 1.4 HOT 12
- Documentation issue PUT Composition HOT 3
- Content-Type header in 204 Responses
- GET Template ADL 2 - small inconsistency
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from specifications-its-rest.