Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDMP-592 - Complete the preliminary modeling work required for Nucleic Acid, covering all detail provided in ISO 11238 #488

Merged
merged 17 commits into from
Sep 29, 2023

Conversation

ElisaKendall
Copy link
Contributor

@ElisaKendall ElisaKendall commented Sep 25, 2023

Description:

  1. Added metadata to nucleic acid substance, added nucleic acid sequence type per the ISO specification
  2. Added nucleic acid subunit and related properties and restrictions on both nucleic acid and subunit
  3. Added sugar and linkage, and built up the relevant attributes to complete the representation

…id sequence type per the ISO specification

Signed-off-by: Elisa Kendall <[email protected]>
@ElisaKendall ElisaKendall added the enhancement New feature or request label Sep 25, 2023
@ElisaKendall ElisaKendall self-assigned this Sep 25, 2023
…cid classifier, completing the attributes of the nucleic acid class

Signed-off-by: Elisa Kendall <[email protected]>
…ment and revised restriction on nucleic acid

Signed-off-by: Elisa Kendall <[email protected]>
…leic acid subunit, completing the properties needed to represent the subunit

Signed-off-by: Elisa Kendall <[email protected]>
Signed-off-by: Elisa Kendall <[email protected]>
…substance' and 'is related substance to' to allow for molecular entities in addition to physical substances; added supports and is supported by, linked nucleic acid subunits to sugars via is supported by per email interchange with SMEs

Signed-off-by: Elisa Kendall <[email protected]>
…s (its inverse) to relate a linkage to a nucleic acid subunit

Signed-off-by: Elisa Kendall <[email protected]>
@ElisaKendall ElisaKendall changed the title IDMP-592 - Complete the modeling work required for Nucleic Acids (WIP) IDMP-592 - Complete the preliminary modeling work required for Nucleic Acid, covering all detail provided in ISO 11238 Sep 27, 2023
Comment on lines 6747 to 6757
<owl:DatatypeProperty rdf:about="&idmp-sub;hasSequenceAttachment">
<rdfs:subPropertyOf rdf:resource="&cmns-dsg;isDescribedBy"/>
<rdfs:label>has sequence attachment</rdfs:label>
<rdfs:range rdf:resource="&cmns-doc;Reference"/>
<skos:definition>provides an &apos;enriched&apos; string, a document or image representing the sequence</skos:definition>
<idmp-sub:hasBusinessRules>The element Sequence is always mandatory; the element Sequence Attachment may be provided based on jurisdictional guidance. Either the sequence is provided as ST or/and as an attachment as ED.</idmp-sub:hasBusinessRules>
<idmp-sub:hasConformanceLevel rdf:resource="&idmp-sub;ConformanceLevel-Conditional"/>
<idmp-dtp:isEncodedAs rdf:resource="&idmp-dtp;DatatypeCode-ED"/>
<cmns-av:adaptedFrom>ISO/TS 19844:2018(E) Health informatics - Identification of medicinal products (IDMP) - Implementation guidelines for ISO 11238 for data elements and structures for the unique identification and exchange of regulated information on substances, clause 7.3 and Figure 27</cmns-av:adaptedFrom>
<cmns-av:directSource>ISO 11238:2018 Health informatics - Identification of medicinal products (IDMP) - Data elements and structures for the unique identification and exchange of regulated information on substances, clause 7.5</cmns-av:directSource>
</owl:DatatypeProperty>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hasSequenceAttachment is declared as a datatype property, but its range is an OWL class, which "makes" it an object property. Since the latter is an instance of illegal punning, we need to do something about it.
image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@merelog Done

<cmns-av:directSource>ISO 11238:2018 Health informatics - Identification of medicinal products (IDMP) - Data elements and structures for the unique identification and exchange of regulated information on substances, clause 7.5</cmns-av:directSource>
</owl:ObjectProperty>

<owl:ObjectProperty rdf:about="&idmp-sub;hasFivePrimeSubstanceName">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need "has related substance name"/"has reltated substance identifier" and their subproperties, when it is enough to have "has related substance/has substance name". If we want to refer from the nucleic acid to the sugar, a property "has sugar" as subclass of has related substance or has moiety make more sense to me.
Referencing to related entities via ids or names is relational modeling, not graph based modeling.
The 3/5 prime and sugar are moieties or constituents of the nucleic acid.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tw-osthus I thought about that, but there are specific queries that may be easier with explicit properties, and the standard requires it. Thus, we've used property chains, to connect through the substance to its name or identifier here.

ISO/ISO11238-Substances.rdf Show resolved Hide resolved
ISO/ISO11238-Substances.rdf Show resolved Hide resolved
@mereolog mereolog dismissed tw-osthus’s stale review September 29, 2023 15:10

We should prepare for the incoming release next week, so the issues raised in the review may be discussed afterwards.

@mereolog mereolog merged commit f4e3b47 into master Sep 29, 2023
6 checks passed
@ElisaKendall ElisaKendall deleted the IDMP-592 branch October 2, 2023 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants