Skip to content

Conversation

@ewoutkramer
Copy link
Member

@ewoutkramer ewoutkramer commented Nov 26, 2024

To review the generated code: there are no relevant code changes in the satellites, only in Base and Conformance, so you would only have to look through the generated files in those projects.

Otherwise, I only had to fix some unit tests lightly, esp. for Attachment.size, since this is no longer always a long.

Fixes #2967.

⚠️ Make sure to also review FirelyTeam/fhir-codegen#47, as this generated the code for this PR.

Breaking changes

  • The type of ElementDefinition.constraint.requirements, ElementDefinition.binding.description, ElementDefinition.mapping.comment and CapabilityStatement.implementation.description have changed from Markdown to PrimitiveType. Set this property to Markdown to get the original behaviour, but you can now use the correct type depending on the version of FHIR you are writing against.
  • The type of Attachment.size has changed from Integer64 to PrimitiveType. Set this property to Integer64 to get the original behaviour, but you should now assign the correct type (i.e. UnsignedInteger before R5) depending on the version of FHIR you are writing against.
  • The type of Bundle.Link.relation has changed from FhirString to PrimitiveType. Set this property to Integer64 to get the original behaviour, but you can now use the correct type depending on the version of FHIR you are writing against.
  • The type of Meta.profile has changed from Canonical to Code. Set this property to Integer64 to get the original behaviour, but you can now use the correct type depending on the version of FHIR you are writing against.

@ewoutkramer ewoutkramer marked this pull request as ready for review November 27, 2024 17:50
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.

4 participants