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

Custom profiles #65

Open
dennisverspuij opened this issue May 1, 2020 · 3 comments
Open

Custom profiles #65

dennisverspuij opened this issue May 1, 2020 · 3 comments

Comments

@dennisverspuij
Copy link

Hi, I am looking for a PHP FHIR client model code generation library that supports profiles other than core STU3/R4. This library looks great - and about the only one for PHP - but unfortunately generates code based on the xsd's instead of xml/json structure definitions, like the libraries for other languages do.
I was wondering why it was chosen to do so, and whether or not is is possible or planned to support structure definitions instead? Or do you know of other ways to e.g. generate xsd's based on custom profiles? In particular I'd like to implement model classes supporting the dutch HL7/MedMij standards.
Thanks!

@dennisverspuij dennisverspuij changed the title Support parsing Custom profiles May 1, 2020
@dcarbone
Copy link
Owner

dcarbone commented May 1, 2020

The xsd's were chosen as they define the spec. You need to have prior knowledge of the spec in order to parse profiles.

Enabling parsing from an arbitrary profile is definitely possible, but not trivial. It is something I can look at, but I am not planning on dedicating significant time to this project in the near term.

If you wish to work on a PR or provide sponsorship, either would provide additional motivation for this to take priority over other projects.

@phpmike
Copy link

phpmike commented May 2, 2020

Hi, I'm also interested in for French implementation.
https://simplifier.net/frenchprofiledfhirar

@Bobach22
Copy link

Bobach22 commented Nov 5, 2024

Hi everyone. Can I use this library as a fhir server implementation after generating the classes based on the artifacts generated via SUSHI? Is there anyone with similar experience implementing this? What are the differences between using this library and HAPI FHIR? What are the differences between validations of value-set codes and other constraints of this library and full fledged fhir server?
Thanks

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

4 participants