Stream: implementers
Topic: ECoreDefinitions.xml
Rik Smithies (May 08 2016 at 13:26):
Some chat on this back on skype - did it go away? My build doesn't seem to have it any more. Is there a one stop place to see the cardinality of a given resource element?
Ewout Kramer (May 08 2016 at 13:28):
It's all structuredefinition in validation.zip now......Though if you are using the .NET API, the information is present on the POCO's as an Attribute....
Rik Smithies (May 08 2016 at 13:35):
thanks. assuming not using the library code, is the idea to parse the XSD per resource to get the resource structure?
Grahame Grieve (May 08 2016 at 13:35):
you should parse the structure definitions, not the xsd
Grahame Grieve (May 08 2016 at 13:35):
xsd misses many interetsing things
Rik Smithies (May 08 2016 at 13:49):
do you mean the excel files? or something in validation.zip?
Grahame Grieve (May 08 2016 at 13:50):
the structure definition resources in validation.xml.zip or validation.json.zip
Ewout Kramer (May 08 2016 at 13:55):
There's a dotnet library to help you getting to the structuredefinitions too....
Rik Smithies (May 08 2016 at 13:57):
I see only XSD and schematron in those zips e.g. structuredefinition.xsd, patient.sch. What is the structure definition apart from schema?
Grahame Grieve (May 08 2016 at 13:58):
they should have .xml or .json files in them - e.g. profiles-types.xml
Ewout Kramer (May 08 2016 at 13:59):
No, validation.zip really has much more. Where did you download them from?
Richard Kavanagh (May 08 2016 at 14:01):
I use profiles-resources.xml from the validation.xml.zip file
Rik Smithies (May 08 2016 at 14:01):
from my build. But now I see that there are a handful of XML files amongst the 270 schemas ;-)
Last updated: Apr 12 2022 at 19:14 UTC