firely-net-sdk icon indicating copy to clipboard operation
firely-net-sdk copied to clipboard

Inconsistence between specification and SDK for binding name of MedicationRequest.priority

Open matrixlane opened this issue 3 years ago • 2 comments

The binding name of MedicationRequest.priority is "RequestPriority" both in SDK for FhirEnumeration and in specification. But it is "MedicationRequestPriority" in the StructureDefinition of MedicationRequest. So when I used the StructureDefinition to reflect corresponding enum type, this inconsistence prevented me from doing it. BTW, I have to do it that way because we have ClassMapping and PropertyMapping there but no EnumMapping public for use.

matrixlane avatar Nov 19 '21 19:11 matrixlane

Can you add a short snippot of how you're doing this, I use the class/promapping stuff extensively and haven't had issues here.

brianpos avatar Nov 19 '21 23:11 brianpos

HI @matrixlane - I have received your mail via the support team about making EnumMapping public - seems like a good idea to have PropertyMapping point to an EnumMapping when we're reflecting the type. It's not a hard change to make....

ewoutkramer avatar Nov 21 '21 20:11 ewoutkramer

The 5.3 release of the SDK will have this.

ewoutkramer avatar Jul 19 '23 14:07 ewoutkramer