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

Apple logic models #23

Draft
wants to merge 13 commits into
base: develop
Choose a base branch
from
Draft

Apple logic models #23

wants to merge 13 commits into from

Conversation

Shaumik-Ashraf
Copy link

No description provided.

@Shaumik-Ashraf
Copy link
Author

This branch is trying to define the Apple Health Kit Logical Models from the IG that can serialize JSON so a FHIR Structure Map to convert it into FHIR. Currently there is only code and test code for a CategorySample implementation, but there is a bug: the Codable protocol decoding initializer cannot be inherited by subclasses. Possible solutions are:

  • Convert everything into structs
  • Override the decoder initializer for all subclasses
  • Drop json -> model conversion and only use Encodable protocol

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

Successfully merging this pull request may close these issues.

2 participants