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

MedicationStatement.status is referencing the wrong value set. #11

Closed
p2-apple opened this issue Dec 7, 2021 · 1 comment
Closed

MedicationStatement.status is referencing the wrong value set. #11

p2-apple opened this issue Dec 7, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@p2-apple
Copy link
Collaborator

p2-apple commented Dec 7, 2021

It looks like the MedicationStatement.status is bound to the wrong status field - being https://github.com/apple/FHIRModels/blob/c91e5bb74397136f79656bebdfda76a523d3e88c/Sources/ModelsR4/CodeSystemMedicationStatusCodes.swift instead of https://github.com/apple/FHIRModels/blob/c91e5bb74397136f79656bebdfda76a523d3e88c/Sources/ModelsR4/CodeSystemMedicationStatementStatusCodes.swift from what I can see on

public var status: FHIRPrimitive<MedicationStatusCodes>

Originally posted by @jkiddo in #10 (comment)

@p2-apple
Copy link
Collaborator Author

p2-apple commented Dec 7, 2021

Oooh indeed, that's the bug! Thanks for flagging, checking why it's generating the property with the wrong enum.

@p2-apple p2-apple added the bug Something isn't working label Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant