Skip to content

Apple logic models#23

Draft
Shaumik-Ashraf wants to merge 13 commits intodevelopfrom
apple-logic-models
Draft

Apple logic models#23
Shaumik-Ashraf wants to merge 13 commits intodevelopfrom
apple-logic-models

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