CTPP/TPP to TP

In AMT, a Containerised Trade Product Pack (CTPP) is a concept inherits a has TP relationship to a Trade Product concept from its parent Trade Product Pack (TPP) concept.

Example - pack’s Trade Product

In this example, we want to find the TP for Panadeine Forte uncoated tablet, 20, blister pack, which is Panadeine Forte. For any given pack (TPP or CTPP) there is exactly one TP identified by a has TP relationship.

The ECL for that query would be:

836001000168100|Panadeine Forte uncoated tablet, 20, blister pack| . 700000101000036108 |has TP|

This ECL query finds all concepts that matches the attribute 700000101000036108|has TP| for each concept matching 836001000168100|Panadeine Forte uncoated tablet, 20, blister pack|.

A TPP can be substituted for the CTPP and this query will work as a CTPP is a TPP.

Example - pack components’ Trade Product(s)

The Trade Product concept(s) referenced by the Trade Product Unit of Use (TPUU) concept(s) contained in a TPP or CTPP may differ from the Trade Product referenced by its has TP relationship. That is, a component in a pack (e.g. a tablet) may have a different Trade Product to a pack it is contained in.

A good example of this is Nexium Hp7 (14 x Nexium tablets, 28 x Amoxil capsules, 14 x Klacid tablets), 1 pack, where the pack’s Trade Product is Nexium Hp7. However the CTPP subpacks it contains, and then the TPUUs contained within them have three different Trade Product parents, Nexium, Amoxil, and Klacid.

>> (21062011000036103 | Nexium Hp7 (14 x Nexium tablets, 28 x Amoxil capsules, 14 x Klacid tablets), 1 pack | . 30409011000036107 | has TPUU |) AND ^ 929360021000036102 | Trade product reference set |

This ECL query finds all ancestor concepts of the TPUUs referenced by Nexium Hp7 (14 x Nexium tablets, 28 x Amoxil capsules, 14 x Klacid tablets), 1 pack, and filters that set to only those concepts that are Trade Products using the Trade product reference set

Similarly a TPP can be substituted for the CTPP in this query and it will function as expected.