It's a good start:-) As usual, devil is in the details. For example in US Core FHIR, the drug code might be provided inline (as this python example assumes), or might be available through a link to a Medication resource. ChatGPT can also