firely-net-sdk
firely-net-sdk copied to clipboard
Inconsistence between specification and SDK for binding name of MedicationRequest.priority
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.
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.
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....
The 5.3 release of the SDK will have this.