Stream: shorthand
Topic: profile on profile
Catherine Hosage Norman (Mar 24 2022 at 19:14):
I was under the impression that a profile of a profile inherited the values of the parent profile. I created this profile, below and got this output, in the image. The parent profile has profile for substanceDefintion that is just dropped. I have rewritten this without the parent profile, but want to know if this is the expected result.
Profile: DrugProductwithImpurites
Parent: DrugProduct
Id: pqcmc-drug-product-with-impurities
Title: "Drug Product Impurities"
Description: "List of drug product impurities."
- identifier 1..1
- impurity 1..1
- name 1..1
- name.productName 1..1
- name.type 1..1 MS
Julia Afeltra (Mar 24 2022 at 19:47):
Hi @Catherine Hosage Norman ! You're current that a profile of a profile should inherit the values of the parent profile. I believe that in your example, DrugProductwithImpurites
should have a baseDefinition
that points to DrugProduct
. The additional profile won't show up in the diff view, but any examples of DrugProductwithImpurites
should conform any rules in the parent profile and the snapshot should include rules from the parent profile.
Catherine Hosage Norman (Mar 24 2022 at 20:51):
I have a base definition of Parent: DrugProduct DrugProduct is a profile with a base definition of MedicinalProduct.
Jean Duteau (Mar 24 2022 at 21:21):
you are looking at the differential view of the profile and that just shows the differences from the thing it is inheriting from. Look at the snapshot view (or snapshot view with must support) and you'll see all of the constraints listed there.
Julia Afeltra (Mar 24 2022 at 21:21):
I'm not sure if I'm completely following, my apologies. I believe the changes that you make on the DrugProduct
profile should still be applied to the DrugProductwithImpurites
profile. However, they will not show up in the Differential table on DrugProductwithImpurites
because they are not differences on that particular profile - they were differences on DrugProduct
instead, but not on DrugProductwithImpurites
. If you look at the full Snapshot table, are the changes you made in DrugProduct
applied to the appropriate elements?
Catherine Hosage Norman (Mar 25 2022 at 01:20):
Jean, I never noticed that page until today when Bill Friggle pointed it out. I am missing the concept behind the differential view. Thanks.
Jean Duteau (Mar 25 2022 at 04:42):
the differential is exactly what it says it is - the differential between your profile and its source. You have five things in your profile that are different so that's what your profile's differential page shows.
Lloyd McKenzie (Mar 25 2022 at 05:12):
The differential essentially is what you've expressed in FSH - the parts that are changed/tightened. When reviewing a profile, that's what most people care to see.
Last updated: Apr 12 2022 at 19:14 UTC