To create an EDT you will need to have the Context Editor Role
- Find the draft Context in which you want to create an EDT. The Context page is displayed.
- Select the Data Types tab.
- Click on Add a new EDT to this Context (only shown if you have the right role). You will see the new EDT page:
- Complete the fields as follows:
- - Name - The name you wish to give the EDT that makes sense or conforms to naming standards within its owning Context.
- - Length (optional)- The maximum length of value that can be handled by this Context. This should be the physical maximum length your Context is designed to handle rather than the maximum length typically received. This is useful information when Code List editors are assessing whether an increase in code length will adversely impact any consuming applications.
- - Level - The Code List Version and Level that the EDT references. This is selected from three drop down lists:
- the first list presents all the Code List Lineages accessible to you
- the second shows all the versions in that Lineage
- the third presents all the Levels in the selected Code List
- - Element Value Policy - Whether Codes or Meanings are required as the Code List Elements
- - Effective Date Policy- How to treat obsolete codes etc
- - Parent Code Filter (optional)- A filter that can be set where the EDT references a hierarchical Code List, to return just part of the indicated CV Set/Level. In the example shown in the screen shot we only want the Class A drugs from the list so a Parent Code Filter is set up to return only the Level 2 codes that have a Parent Code of 'A'
- - Parent DataType Name (optional) - The name of a data type in this Context that exposes the full set of possible Parent Codes for this EDT. This helps an application identify, for instance, the right group of EDTs needed to populate a cascaded set of drop down boxes (such as Lineage, Code List and Level on this page)
- - Usage Guidelines (optional) - Hints from the context steward to consumers on when to use this EDT etc
- - Null Code (optional) - The code value that should be used to signify that no code is applicable e.g. 9999 or 0 or NONE
- - Null Meaning (optional) - How the Null Code is presented in a user interface e.g. "Not applicable", "Not specified", "N/A" etc
- To save the EDT click on Insert.