question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OOM during FHIR XML schema inspection

See original GitHub issue

I fixed #573 and then hit OOM… It loaded 9,075,113 fields and died. A bit surprising that 9 millions of fields could be loaded as a AtlasMap Document model.

So definitely loading whole FHIR schema is unrealistic. Browser would crash even with thousands of fields. Nobody like to scroll hundreds of fields in AtlasMap UI and map one by one.

How can we slim it down to realistic number of fields? Is it even possible? We would need some “filtering” on inspection, as well as deeper understanding of FHIR object model and real usecases to figure out how to screw this gigantic object in to AtlasMap UI.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:21 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
zregvartcommented, Sep 21, 2018

We create DataShapes for custom API client connectors from JSON schema and generate XML schema if the format for the API call is XML. For example here is how we do it for HTTP request shape:

https://github.com/syndesisio/syndesis/blob/0fc334e6d29b5bae40856251728c4ab7c82d6943/app/server/api-generator/src/main/java/io/syndesis/server/api/generator/swagger/UnifiedXmlDataShapeGenerator.java#L82

0reactions
stale[bot]commented, Aug 4, 2019

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Encounter - FHIR v5.0.0-cibuild
An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient....
Read more >
Implementing FHIR | SpringerLink
Implementers must make many decisions – e.g. XML or JSON – when implementing FHIR. Security is an important aspect of implementation.
Read more >
Validating FHIR resources for fun and nonprofit - d4l.io
But it's time to address the Ilephant in the room: The resources must also ... definitions come with examples and a schema in...
Read more >
Location - FHIR v4.0.1
A Location is valid without an address in cases where it could be purely ... Coding, The operational status of the location (typically...
Read more >
XML - HL7 FHIR 中国
The XML representation for a resource is described using this format: ... In addition to the w3c schema files, this specification also provides...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found