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

Generate Element.Id/Extension.Url as normal FHIR primitive properties, not primitives. #46

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

ewoutkramer
Copy link
Member

@ewoutkramer ewoutkramer commented Nov 26, 2024

Tuned the code generator so it no longer generates Element.id and Extension.url as special primitive .NET properties, they are now normal FHIR primitives instead.

It also contains an (unrelated) hack to make sure the ObjectValue of the FHIR Integer64 type is a bit more flexible. This is temporary and will be removed when we are done with FirelyTeam/firely-net-sdk#2967. It is necessary to add this hack for now, since I had inadvertedly made a manual change of the same intent in generated code, which of course otherwise would be lost after running codegen with this PR again.

# Conflicts:
#	src/Microsoft.Health.Fhir.CodeGen/Language/Firely/CSharpFirely2.cs
@Kasdejong Kasdejong merged commit 7e87931 into dev Dec 3, 2024
@Kasdejong Kasdejong deleted the spike/primitiveprops-as-element branch December 3, 2024 08:48
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