-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1590 from HumanCellAtlas/ac-medication-ontology-I…
…ssue1589 Update medication field in medical_history module
- Loading branch information
Showing
6 changed files
with
92 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"description": "A term that may be associated with a medication-related ontology term.", | ||
"additionalProperties": false, | ||
"required": [ | ||
"text" | ||
], | ||
"title": "Medication ontology", | ||
"name": "medication_ontology", | ||
"type": "object", | ||
"properties": { | ||
"describedBy" : { | ||
"description": "The URL reference to the schema.", | ||
"pattern" : "^(http|https)://schema.(.*?)humancellatlas.org/module/ontology/(([0-9]{1,}.[0-9]{1,}.[0-9]{1,})|([a-zA-Z]*?))/medication_ontology", | ||
"type": "string" | ||
}, | ||
"schema_version": { | ||
"description": "Version number in major.minor.patch format.", | ||
"type": "string", | ||
"pattern": "^[0-9]{1,}.[0-9]{1,}.[0-9]{1,}$", | ||
"example": "4.6.1" | ||
}, | ||
"text": { | ||
"description": "Medication(s) the individual was taking at time of biomaterial collection.", | ||
"type": "string", | ||
"user_friendly": "Medication", | ||
"example": "bisoprolol; paracetamol; loratadine" | ||
}, | ||
"ontology": { | ||
"description": "An ontology term identifier in the form prefix:accession.", | ||
"type": "string", | ||
"graph_restriction": { | ||
"ontologies" : ["obo:dron"], | ||
"classes": ["BFO:0000040"], | ||
"relations": ["rdfs:subClassOf"], | ||
"direct": false, | ||
"include_self": false | ||
}, | ||
"user_friendly": "Medication ontology ID", | ||
"example": "CHEBI:3127; CHEBI:46195; CHEBI:6538" | ||
}, | ||
"ontology_label": { | ||
"description": "The preferred label for the ontology term referred to in the ontology field. This may differ from the user-supplied value in the text field.", | ||
"type": "string", | ||
"user_friendly": "Medication ontology label", | ||
"example": "bisoprolol; paracetamol; loratadine" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters