Gravitate-Health / focusing-interfaces

1 stars 1 forks source link

Test case: Allergy #2

Open jkiddo opened 2 years ago

jkiddo commented 2 years ago

Given the drug of http://build.fhir.org/ig/HL7/vulcan-eproduct-info/Bundle-bundlepackageleaflet75.html and the IPS of https://build.fhir.org/ig/hl7-eu/gravitate-health-ips/Bundle-gravitate-helen.json.html - GLens focus should spot the lactose intollerance and highlight that in the returned ePI.

jkiddo commented 2 years ago

@cander2 I don't see that the ePI bundle contains any structured information about Karvea containing lactose. That is needed. Will you look at that?

cander2 commented 2 years ago

Yes. See Karvea example. ePI in one folder and SPOR aspects in separate folder.

Given EMA's approach, no direct connect from Composition to ingredient. Have to go ePI Bundle > Medicinal Product > Administrable Product/Manufactured Item > Ingredient

https://github.com/HL7/vulcan-eproduct-info/blob/master/input/fsh/examples/karvea-ema/spor/ingredient-lactosemonohydrate.fsh

Does this help?

jkiddo commented 2 years ago

@cander2 The Karvea contains a list with a reference to the MedicinalProductDefinition. MedicinalProductDefinition is referenced from the AdministrableProduct.fromOf and AdministrableProduct. producedFromreferences the ManufacturedItemDefinition. The ManufacturedItemDefinition is referenced from the Ingredient using Ingredient.for.

Correct? Which part of the linked graph does not exist in the EMA approach. The one between the list and MedicinalProductDefinition - or is it 'just' a symbolic link? Some link must exist.

cander2 commented 2 years ago

Correct.

A bit sketchy on how SPOR works in detail but I believe the graph you noted above is in scope of what EMA is doing.

There is a direct link between the ePI List (for products) and the MedicinalProductDefinition

jkiddo commented 2 years ago

So where is the missing link @cander2 ?

cander2 commented 2 years ago

Is there a missing link? I thought the graph described above is all we need. Or is that not the case?

jkiddo commented 2 years ago

@cander2 in the graph I mentioned, the entire graph is there, but that will not be the case for EMA, correct?

If I look at https://github.com/EuropeanMedicinesAgency/EU-ePI-common-standard/blob/c68a60a7fcfc4288d4d01ab3b51b437d4419dd73/XML%20templates/ePI_template_instance.xml#L297 - EMA have put a literal reference to the MedicinalProductDefinition but is that expected to resolve? or is it expected to only resolve for some special parties?

cander2 commented 2 years ago

I'm guessing no and we will have to do two separate searches to get there. But let me reach out to Rik to confirm.

jkiddo commented 2 years ago

I already did that