Document Version



Download 196.51 Kb.
Page3/4
Date02.05.2018
Size196.51 Kb.
#47298
1   2   3   4

The NZMT Data Model


The New Zealand Medicines Terminology (NZMT) database has been designed from the SNOMED design model, and is intended to provide a single, consistent database of names for medicines and trade products containing these medicines. The NZMT logical data model is very similar to that of the Australian Medicines Terminology (AMT) even though the physical data models are very different.
    1. Overview


The SNOMED design model means that almost all the tables have an id column (unique within the NZMT), a PreferredTerm column and a FullySpecifiedName column. Most reference tables have only these three columns, while the main concept tables (CTPP, TP, TPP, TPUU, MP, MPP, MPUU) have a number of other columns. Tables that are an addition to the original SNOMED model such as nzmt_atc_links do not necessarily conform to this design model.

Section 6 of this document contains examples of the PreferredTerms of the main concept tables, and full technical details of all tables can be found in the Data Overview document included in the NZULM download.


    1. SNOMED ID Codes (sctids)

      1. Overview


The SNOMED specification requires that all records are identified by a globally unique 18-digit number.

This means that you can create a single lookup table inside your database that contains all the id numbers of all the NZMT records in your database and you won’t get a single duplicate.

The primary purpose of this globally unique key is to allow records from any of the Medicines Terminologies operated by SNOMED member nations to co-exist in a single database if required.

      1. Data Format


Id numbers that are 18 digits wide are just slightly too large to fit within the largest integers supported by most databases, so all record IDs are stored as 18 character strings.

Important Note: When importing .csv files containing these fields into Excel you need to specify the fields as ‘text’. If you don’t Excel will recognise them as numeric but will not have a sufficiently large numeric field to enter them into and so truncate them. The truncation is somewhat insidious as all 18 digits will be displayed but the right-hand-most digit will be 0. As this is the checkdigit it is normally not 0.


      1. Key Structure


The 18-digit key contains (in order):

  • an 8-digit sequence number

  • a 7 digit national “namespace” number (1000117 or 1000116 for the NZMT)

  • a 2 digit SNOMED “type” code known as the ‘partition code’

  • a single checkdigit

E.g.: 50004811000117106 breaks down as: 5000481 – 1000117 – 10 – 6

Please note:



  • The Australian national namespace code is: 1000036. You can use this to identify data imported from the Australian Medicines Terminology (AMT).

  • We currently only use 7 of the available 8 digits in the initial sequence number, so as in our example above almost all of our sctids are actually 17-character strings.

  • The SNOMED ‘partition code’ has three values: 10 for Concept IDs, 11 for Description IDs and 12 for Relationship IDs. The example above is therefore a Concept ID and is actually the sctid for a CTPP record. All of the seven primary tables and of the lookup tables are considered to have Concept IDs. The descriptions table has Description IDs, while relationship tables such as MHM and THT have Relationship IDs.
    1. The “Seven Box” Model


The NZMT contains 7 primary concept tables designed to hold the seven distinct “product” concepts, each containing a set of logical data elements and each participating in a number of relationships with other concepts. Four of these (CTPP, TPP, TPUU and TP) are trade concepts and include brand name information, while the other three (MPP, MPUU and MP) are generic and do not contain brand name information.

Supporting these primary tables are tables that define relationships between the primary tables or between the primary tables and the reference tables. There are a number of reference tables to hold reference data required by the primary tables. Finally, there is the descriptions table which holds descriptions for each of the primary concept tables – including PreferredTerms and FullySpecifiedNames as well as all the alternate terms available.



Please note



  • In this diagram the arrows indicate the route your SQL query will have to take to find any specific set of records if you start from the CTPP end of the structure and want to find the associated TP and MP records.

  • The MHM and THT tables are shown here for completeness, but are relationship tables rather than concept tables.


  1. Where to begin?

    1. The prescribing_term_index and the charting_term_index


Our recommendation is that you use one of our two alternate term indexes, the prescribing_term_index or the charting_term_index as the starting point for exploring the NZULM.

Both of these indexes have the same structure. The differences between the two indexes are the alternate terms that they provide. Both prescribing terms and charting terms are alternate terms for a given concept.



Both of these indexes are intended to provide generic and trade terms for all the products listed in the NZULM.
      1. What is a Prescribing Term?


Prescribing Terms are alternatives to concept PreferredTerms for use where the PreferredTerm may be too involved or lengthy. They were developed initially for use in primary sector prescribing systems and have a maximum length of 200 characters.
      1. What is a Charting Term?


Charting Terms are also alternatives to concept PreferredTerms for use where the PreferredTerm may be too involved or lengthy. They were developed initially to meet the requirements of hospital charting systems and have a maximum length of 160 characters.
      1. What’s the difference?


These two terms are often very similar. The significant difference, other than length, is found in the trade terms. The trade charting term does not include details of the generic medicines in the product, whereas the trade prescribing term does.
        1. Prescribing and Charting Terms – a comparison example


Field

Prescribing_term_index

Charting_term_index

ctpp_id

50004651000117106

50004651000117106

ctpp_pt

Accuretic 10/12.5 tablet: film-coated, 30 tablets, blister pack

Accuretic 10/12.5 tablet: film-coated, 30 tablets, blister pack

ctpp_pharmacode

2022923

2022923

ctpp_atc_code

C09BA06

C09BA06

generic_prescribing/charting_term

quinapril 10 mg + hydrochlorothiazide 12.5 mg tablet

quinapril 10 mg + hydrochlorothiazide 12.5 mg tablet

generic_concept_id

10008831000116106

10008831000116106

generic_concept_table

MPUU

MPUU

generic_description_id

23915751000116111

23915751000116111

trade_prescribing/charting_term

Accuretic – quinapril 10 mg + hydrochlorothiazide 12.5 mg tablet

Accuretic 10/12.5 tablet

trade_concept_id

10008891000116107

10008891000116107

trade_concept_table

TPUU

TPUU

trade_description_id

27929431000116110

45125541000116115

prescribe_by_brand

0

0

is_subsidised

1

1

In this example showing the prescribing_term_index and charting_term_index for the same product, you can see that the generic terms are identical. The two trade terms are different, however, and so the trade_description_ids are different.

This particular product has its active ingredients listed in the sequence that the manufacturer uses on the product’s packaging. This is a variation to the standard SNOMED-CT of alphabetic listing of ingredients permitted to recognise local clinical practice.


      1. Variations in the Indexes

        1. prescribe_by_brand


Where the prescribe_by_brand is set to 1, we do not supply a generic_prescribing_term or a generic_charting_term in the respective indexes. It is still possible to navigate from the data in the indexes to the generic records in the NZMT – see below.
          1. Records without terms

There are two records in the indexes that have no prescribing or charting terms. They are CTPPs 50168741000117100 (Metolazone (PHARMAC) 5 mg tablet: uncoated, 1 tablet) and 50168761000117101 (Hydralazine (PHARMAC) 25 mg, 1 tablet: uncoated). These entries were created to support the pharmacode, in its role as PHARMAC’s subsidy code at a time when PHARMAC and the NZULM did not know of the specific brands available. They are effectively dummy records which are retained in the NZULM to support clinical records that may contain these sctids.
        1. Pack level entries


The example above is at Unit of Use level (MPUU & TPUU) but there are some products where the prescribing_term and charting_term is specified at pack level (MPP & TPP). This is because such products cannot be prescribed in terms of individual units of use.
        1. Prescribing and Charting Terms – a pack level example


This is a complex product with a very lengthy description. Even the prescribing and charting terms have required some abbreviation. The MPP records links to four MPUU records (three different strengths of levonorgestrel + ethinylestradiol and the inert tablet) and the TPP links to four TPUU records. Hence the prescribing and charting terms are not at Unit of Use level but at pack level.

Field

Prescribing_term_index

Charting_term_index

ctpp_id

50053031000117101

50053031000117101

ctpp_pt

Triphasil, 84 tablets [3 x 28 tablets], blister pack

Triphasil, 84 tablets [3 x 28 tablets], blister pack

ctpp_pharmacode

251917

251917

ctpp_atc_code

G03AA07

G03AA07

generic_prescribing/charting_term

levonorgestrel 50mcg + ethinylestradiol 30mcg [18] & levonorgestrel 75mcg + ethinylestradiol 40mcg [15] & levonorgestrel 125mcg + ethinylestradiol 30mcg [30] & inert substance [21] tablets

levonorgestrel+ethinylestradiol 50|30microgram & levonorgestrel+ethinylestradiol 75|40microgram & levonorgestrel+ethinylestradiol 125|30microgram tablets

generic_concept_id

20014211000116109

20014211000116109

generic_concept_table

MPP

MPP

generic_description_id

29587531000116111

46107081000116125

trade_prescribing/charting_term

Triphasil – levonorgestrel 50mcg+ethinylestradiol 30mcg [30] & levonorgestrel 75mcg+ethinylestradiol 40mcg[15] & levonorgestrel 125mcg+ethinylestradiol 30mcg [30] & inert tab [21], [3x28] tablets

Triphasil 28 tablets

trade_concept_id

10688991000116114

10688991000116109

trade_concept_table

TPP

TPP

trade_description_id

29587521000116114

45154131000116116

prescribe_by_brand

0

0

is_subsidised

0

0




  1. Download 196.51 Kb.

    Share with your friends:
1   2   3   4




The database is protected by copyright ©ininet.org 2024
send message

    Main page