BD2KOnFHIR / fhirtordf

Python based FHIR to RDF conversion utility
Creative Commons Zero v1.0 Universal
15 stars 8 forks source link

newer fhir.ttl doesn't get quantity types correct #10

Closed hsolbrig closed 6 years ago

hsolbrig commented 6 years ago

Types that end in extensions (specifically SimpleQuantity) need to be mapped back to their root to be compatible with the current FHIR spec. Thus, the labels for the Dosage dose[x] (http://build.fhir.org/dosage.html#Dosage) should be doseRange and doseQuantity (not doseSimpleQuantity).

This needs to be fixed in the fhir.ttl build but we are recording it here because it results in errors in our test suite

hsolbrig commented 6 years ago

Temporary fix added to FHIR build server -- it still needs generalizaing, as, at the moment it does a string replace of SimpleQuantity --> Quantity