Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support validating against US Core #22

Open
awatson1978 opened this issue Dec 12, 2019 · 2 comments
Open

Support validating against US Core #22

awatson1978 opened this issue Dec 12, 2019 · 2 comments

Comments

@awatson1978
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Support validation against US Core profile.
https://www.hl7.org/fhir/us/core/

Describe the solution you'd like
Using 'son-schema-resource-validation to validate against the US Core profile

Describe alternatives you've considered
Using ajv to do the validation.

Additional context
http://www.hl7.org/fhiR/profiling.html

@awatson1978 awatson1978 changed the title Support US Core profile Support validating against US Core Dec 12, 2019
@ElYusubov
Copy link

ElYusubov commented Jan 5, 2020

Hi @awatson1978 - Thanks for the contribution!
are you the only one, who maintains this interesting project?

QQ: I was checking demo page: https://node-on-fhir.meteorapp.com/fhir-query
There is no response to queries:

ps: i did not dig into the code yet... probably, i might miss something trivial here...

@awatson1978
Copy link
Contributor Author

Good morning!
Yes, I'm the primary maintainer. This project is a recent refactor/rewrite of Meteor on FHIR, and was only published last month. So right now, it's mostly me.

We've had other contributors participate in the proceeding project Meteor on FHIR, and have taken the time to publish guidelines for Contributing and expected Code of Conduct to encourage participation and set appropriate expectations.

To your question about your demo page, if you inspect the browser console log you should find something like the following:

Screen Shot 2020-01-05 at 11 25 25 AM

The issue is related to Cross-Origin Resource Sharing (CORS) and the fact that the public HAPI server we're fetching data from is running in a non-secure mode via normal HTTP, while your request is originating via HTTPS. If you go to the non-secure version of the demo page using regular HTTP, the queries should work:

http://node-on-fhir.meteorapp.com/fhir-query

This is something that is worth adding some user interface for. As I recall, we had a message in the Welcome screen that indicated whether the application was running in HIPAA compliant mode or not. Probably worth adding a tracking item for, but I'm not 100% sure I want to put it into the accounts system or require account creation to access that data. Might be better to put it in the public About or Info page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants