I’m exploring samples from the OpenEHR CKM app (http://openehr.org/ckm/) and see that XML schema namespace for the OET templates is “openEHR/v1/Template”. Where that XML Schema is hosted?
As far as I understood, the “openEHR/v1/Template” namespace references an XML template schema definition for version 1.0.1 which is not available for download (http://www.openehr.org/releases/1.0.1/its/XML-schema/)
Hi Ian,
I'm trying to implement a EHR module that uses Oracle XML DB as a storage for clinical records in form of clinical document. A template defines the structure of such document (consultation note, evaluation note, operation note and so on), and EHR module produces a document that match particular template. So I just need an XML-schema-based template definition format but can't decide which one is more suitable.
Got your links, thank you.
Hi Ian,
I’m not sure if you’re prescribing the right medicine here My understanding is Dmitry is looking for a schema to use as the basis of persistence. Opt(operational template)s define models, not actual data instances that conform to models.
Assuming that this is the case, the canonical schemas published along the specifications is more likely to be the answer. Dmitry, have you asked yourself the following question: what will happen when new templates are introduced? Will you create a set of tables for each new template? If you are to drive persistence implementation through a schema, you’d better invest into one that does not change as models change. The canonical schema satisfies this property.
Hi Seref, persistence is clear for me, and I was looking for an appropriate model XML-schema, of course.
Seref Arikan
Hi Ian, I'm not sure if you're prescribing the right medicine here My understanding is Dmitry is looking for a schema to use as the basis of persistence.
Ian, one more little question to you: can one consider .OPT templates from the OpenEHR CKM web application as thoroughly verified reference samples or rather not?
I still get a lot of validation errors trying to validate them with the latest version of Template.xsd from github (testing on eReferral template in opt format using Visual Studio 2013). It seems to me that XML formally is correct and almost conforms to the XML schema but there is something wrong with element ordering.