Skwerl / hs-util

0 stars 0 forks source link

Allergies need to be exported with RxNorm codes #4

Closed ejancic closed 11 years ago

ejancic commented 11 years ago

Similar to Issue 3

We need to map SNOMED codes to RxNorm codes and include the RxNorm codes in our export. We also need to show the tester the mapping between SNOMED and RxNorm.

ejancic commented 11 years ago

RxNorm codes will come from the database. WIll indicate which field in the JSON once it is implemented on the API side

Skwerl commented 11 years ago

OK, this is set up on master... for now export is looking for a field called rxNormId. If it turns out to be something else, just let me know, and it's a quick tweak.

ejancic commented 11 years ago

Allergy JSON that will come from our system

[ { "identity": "54a5352e-c625-4c15-9bd6-7a38ce9dd885", "name": "Drug Allergy", "ndcidCode": null, "allergyGroupId": null, "active": true, "allergicReaction": "Rash", "allergicReactionDate": "2001-01-01", "snomed": "4160980002", "substance": null, "reaction": null, "createdAt": "2013-04-01T22:12:11.153Z", "updatedAt": "2013-04-01T22:12:11.153Z", "rxnormId": null } ]

Skwerl commented 11 years ago

OK, tweaking rxNormId to rxnormId...