This wiki has undergone a migration to Confluence found Here
Difference between revisions of "VocMnt-CodeSysRev/AddPrintName"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | ====Adding Print Names to a Concept Code [[#Nt3|''[Exposed under VS in application]'']] | + | ====Adding Print Names to a Concept Code==== |
+ | :''' [[#Nt3|''[Exposed under VS in application]'']]''' | ||
Both the '''registerCodeSystem''' and the '''selectCodeSystem''' branches allow additional print names to be added to existing concept codes. | Both the '''registerCodeSystem''' and the '''selectCodeSystem''' branches allow additional print names to be added to existing concept codes. | ||
Line 30: | Line 31: | ||
If the '''isPreferred flag''' is '''''true''''', the default value, all other print names for the same concept code and language will have their '''isPreferred flags''' set to '''''false'''''. | If the '''isPreferred flag''' is '''''true''''', the default value, all other print names for the same concept code and language will have their '''isPreferred flags''' set to '''''false'''''. | ||
− | + | {{{{{1|Show}}}Graphic|VocMnt181.gif|Example XML for '''addPrintNameToCode'''|The example above adds two new German print names to concept code 1004 – LIGHT ALE. The first name, Pils, is the preferred German name.}} | |
− | |||
− | |||
− | The example above adds two new German print names to concept code 1004 – LIGHT ALE. The first name, Pils, is the preferred German name. |
Latest revision as of 17:21, 30 September 2007
Adding Print Names to a Concept Code
Both the registerCodeSystem and the selectCodeSystem branches allow additional print names to be added to existing concept codes.
Each addPrintNameToCode entry can have its own ballot status (see above). If omitted, the ballotStatus of the containing element will be used.
conceptCode | The concept code to which the new print name is to be added. |
---|---|
conceptName | A valid previous designation for concept code. Optional, but will be validated if it is supplied. |
newPrintName | The print name to be added to the concept code |
languageCode | The language code for the print name. Default is “en” for English |
isPreferred | Flag indicating whether the print name is preferred for the language. Default is “true”. |
If the isPreferred flag is true, the default value, all other print names for the same concept code and language will have their isPreferred flags set to false.
The example above adds two new German print names to concept code 1004 – LIGHT ALE. The first name, Pils, is the preferred German name.