Page History
...
Property text with embedded XML fragments are identified by by the following identifiers:
...
- Value
- term-name
- def-definition
- go-term
The ---the text of the property is set to the tag value.
If the extracted tag is one of XML Source Name identifiers:
- term-source
- def-source
A ...a property source is created and the tag value identifies the source.
If the property is a presentation and the extracted tag is XML Representational Form:
- term-group
The ...the representational form of the presentation property is set to the tag value.
If the extracted tag is one of DB XRef Prefix:
dbxref.*
A ...a property qualifier is created. The property qualifier id is set to the tag, the value is set to the tag value.
...
The text files that can be imported must use the following formats.
- Items surrounded by <> are required.
- Items further surrounded by [] are optional.
\t
represents a tab - the default delimiter - however other delimiters may be used.- Lines beginning with # are comments.
Format A
Code Block |
---|
<codingSchemeName>\t<codingSchemeId>\t<defaultLanguage>\t<formalName>[\t<version>][\t<source>][\t<description>][\t<copyright>] <name1>[\t <description>] \t <name2>[\t <description>] \t\t <name3>[\t <description>] \t\t <name4>[\t <description>] |
The leading tabs represent hierarchical "hasSubtype" relationship nesting:
(name1 hasSubtype name2 and name2 hasSubtype name3)
- Concept Codes will be automatically generated.
- If a name is used more than once - it will be assigned the same code.
- If a description is used more than once (for a given name) only the first description will be stored.
...
If the same code occurs twice, the names must match. Description rules are the same as "Format A."
Example of Format A
Code Block |
---|
<nowiki>#</nowiki>lines starting with "#" are comments <nowiki>#</nowiki>blank lines are ok <nowiki>#</nowiki>the first "real" line of the file must be of the following format: <nowiki>#</nowiki><codingSchemeName>\t<codingSchemeId>\t<defaultLanguage>\t<formalName>[\t<version>][\t<source>][\t<description>][\t<copyright>] colors 1.2.3 en colors coding scheme 1.0 Someone's Head a simple example coding scheme using colors This isn't worth copyrighting <nowiki>#</nowiki>The rest of the file (for format A) should look like this: Color Holder of colors Red Green The color Green Light Green foobar Dark Green The color dark green Blue Red Green The color Green |
Example of Format B
...
Code Block |
---|
<nowiki>#</nowiki>lines starting with "#" are comments <nowiki>#</nowiki>blank lines are ok <nowiki>#</nowiki>the first "real" line of the file must be of the following format: <nowiki>#</nowiki><codingSchemeName>\t<codingSchemeId>\t<defaultLanguage>\t<formalName>[\t<version>][\t<source>][\t<description>][\t<copyright>] colors2 1.2.4 en colors coding scheme 1.1 Someone's Head a simple example coding scheme using colors This isn't worth copyrighting <nowiki>#</nowiki>The rest of the file (for format B) should look like this: 1 Color Holder of colors 4 Red 6 Green The color Green 7 Light Green 8 Dark Green 5 Blue 8 Dark Green The color dark green 6 Green A different color of green |
...