Comments (1)
This requires explanation. Whenever a SubstanceReference is used, the intent is that it behaves something like a "stub" for a full record. That is, the JSON portion of a SubstanceReference
could theoretically be replaced with the JSON for a full substance, therefore embedding the definition of the linked record into one "portable" JSON. This has never been done in practice outside of scripts/forms that create the JSON, but it could be done in the future for exchange.
The field "substanceClass" ends up describing what kind of substance is being contained. Here are the common values:
Substance Class | Meaning |
---|---|
chemical | a chemical substance is described. Expect a "structure" JSON component |
protein | a protein substance is described. Expect a "protein" JSON component |
reference | a substance reference is described, expect a "refuuid" and optional "refPname" and "approvalID" which can be used to look up the full definition of the substance within the database |
mention | a substance mention is described. This is like a "reference", but may not have a valid "refuuid" to an existing substance in the database, but only a valid "refPname" or "approvalID" for abstract linking. That is, it may just be a reference to an abstract concept of a substance which is not currently housed in the same database. |
In practice, the only 2 values that the database will have for a substanceClass in the substance reference table would be reference
or mention
. However, if a JSON was received which instead had a substanceClass
of chemical
embedded where a substanceReference was common, this would signal that this "inner" record should be registered first and then the "outer" record should be registered pointing to the inner one as a "reference" substanceClass substanceReference.
from gsrs-play.
Related Issues (9)
- Hierarchy View Is Incomplete HOT 1
- Beta UI: Classifications will be displayed as Identifiers too. HOT 2
- Beta UI: Name Jurisdiction
- Beta UI: List View CodeSystem order
- Cassic UI: Impurities list is broken
- Certain structural modifications cause errors on protein registration HOT 1
- Error when processing some non-most abundant isotopes
- Fix code scanning alert - Code injection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsrs-play.