Skip to content

Commit

Permalink
Merge branch 'ihtsdo-browser'
Browse files Browse the repository at this point in the history
  • Loading branch information
rorydavidson committed Jul 15, 2016
2 parents b3e1ea5 + 35cbfcc commit 21408d9
Show file tree
Hide file tree
Showing 10 changed files with 1,493 additions and 49 deletions.
9 changes: 9 additions & 0 deletions REST/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
SNOMED CT Concept Representation
--------------------------------
The files in this directory are proposed representations of a SNOMED CT concept and search results in JSON.

[concept.json](concept.json) - an example of the full concept representation.

[constants.json](constants.json) - an example of the constants list. These are the constants used in the concept representation. The list of constants must be available from the server application providing the terminology.

[search-results.json](search-results.json) - an example of search results from a lexical search. Note the pagination information at the bottom.
79 changes: 79 additions & 0 deletions REST/concept.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"conceptId": "404684003",
"active": true,
"module": "900000000000207008",
"effectiveTime": "20040131",
"definitionStatus": "PRIMITIVE", (use of constant)
"fsn": "Clinical finding (finding)",
"preferredTerm": "Clinical finding", (changed)

"descriptions": [
{
"descriptionId": "2148514019",
"effectiveTime": "20040131",
"active": true,
"module": "900000000000207008",
"languageCode": "en",
"type": "FSN", (use of constant)
"term": "Clinical finding (finding)",
"caseSignificance": "INITIAL_CHARACTER_CASE_INSENSITIVE", (use of constant)
"acceptabilityMap": {
"900000000000508004": "ACCEPTABLE",
"900000000000509007": "ACCEPTABLE"
}
},
{
"descriptionId": "2148514019",
"effectiveTime": "20040131",
"active": true,
"module": "900000000000207008",
"languageCode": "en",
"type": "SYNONYM", (use of constant)
"term": "Clinical finding",
"caseSignificance": "INITIAL_CHARACTER_CASE_INSENSITIVE", (use of constant)
"acceptabilityMap": {
"900000000000508004": "PREFERRED",
"900000000000509007": "PREFERRED"
}
}
],

"relationships": [
{
"relationshipId": "2472459022",
"effectiveTime": "20040131",
"active": true,
"module": "900000000000207008",
"sourceId": "404684003",
"destination": {
"conceptId": "138875005",
"fsn": "SNOMED CT Concept (SNOMED RT+CTV3)", (changed)
},
"relationshipGroup": 0, (changed)
"type": {
"conceptId": "116680003",
"fsn": "Is a (attribute)", (changed)
},
"charecteristicType": "INFERRED", (use of constant)
"modifier": "EXISTENTIAL_RESTRICTION"
},
{
"relationshipId": "4257218027",
"effectiveTime": "20040131",
"active": true,
"module": "900000000000207008",
"sourceId": "404684003",
"destination": {
"conceptId": "138875005",
"fsn": "SNOMED CT Concept (SNOMED RT+CTV3)", (changed)
},
"relationshipGroup": 0, (changed)
"type": {
"conceptId": "116680003",
"fsn": "Is a (attribute)", (changed)
},
"charecteristicType": "STATED", (use of constant)
"modifier": "EXISTENTIAL_RESTRICTION"
}
]
}
62 changes: 62 additions & 0 deletions REST/constants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"PRIMITIVE": {
"conceptId": "900000000000074008",
"fsn": "Necessary but not sufficient concept definition status (core metadata concept)"
},
"FULLY_DEFINED": {
"conceptId": "900000000000073002",
"fsn": "Sufficiently defined concept definition status (core metadata concept)"
},
"DEFINING_RELATIONSHIP": {
"conceptId": "900000000000006009",
"fsn": "Defining relationship (core metadata concept)"
},
"STATED_RELATIONSHIP": {
"conceptId": "900000000000010007",
"fsn": "Stated relationship (core metadata concept)"
},
"INFERRED_RELATIONSHIP": {
"conceptId": "900000000000011006",
"fsn": "Inferred relationship (core metadata concept)"
},
"QUALIFYING_RELATIONSHIP": {
"conceptId": "900000000000225001",
"fsn": "Qualifying relationship (core metadata concept)"
},
"ADDITIONAL_RELATIONSHIP": {
"conceptId": "900000000000227009",
"fsn": "Additional relationship (core metadata concept)"
},
"ENTIRE_TERM_CASE_SENSITIVE": {
"conceptId": "900000000000017005",
"fsn": "Entire term case sensitive (core metadata concept)"
},
"CASE_INSENSITIVE": {
"conceptId": "900000000000448009",
"fsn": "Entire term case insensitive (core metadata concept)"
},
"INITIAL_CHARACTER_CASE_INSENSITIVE": {
"conceptId": "900000000000020002",
"fsn": "Only initial character case insensitive (core metadata concept)"
},
"FSN": {
"conceptId": "900000000000003001",
"fsn": "Fully specified name (core metadata concept)"
},
"SYNONYM": {
"conceptId": "900000000000013009",
"fsn": "Synonym (core metadata concept)"
},
"TEXT_DEFINITION": {
"conceptId": "900000000000550004",
"fsn": "Definition (core metadata concept)"
},
"EXISTENTIAL": {
"conceptId": "900000000000451002",
"fsn": "Existential restriction modifier (core metadata concept)"
},
"UNIVERSAL": {
"conceptId": "900000000000452009",
"fsn": "Universal restriction modifier (core metadata concept)"
}
}
44 changes: 44 additions & 0 deletions REST/search-results.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"items": [
{
"term": "Heart",
"conceptId": "302509004",
"active": true,
"conceptActive": true,
"fsn": "Entire heart (body structure)",
"module": "900000000000207008",
"definitionStatus": "Primitive"
},
{
"term": "Heart",
"conceptId": "80891009",
"active": true,
"conceptActive": true,
"fsn": "Heart structure (body structure)",
"module": "900000000000207008",
"definitionStatus": "Primitive"
},
{
"term": "Heartburn",
"conceptId": "16331000",
"active": true,
"conceptActive": true,
"fsn": "Heartburn (finding)",
"module": "900000000000207008",
"definitionStatus": "Primitive"
},
{
"term": "Heart rate",
"conceptId": "364075005",
"active": true,
"conceptActive": true,
"fsn": "Heart rate (observable entity)",
"module": "900000000000207008",
"definitionStatus": "Primitive"
}
],
"total": 2798,
"page": 1,
"pageSize": 4,
"totalPages": 700
}
4 changes: 2 additions & 2 deletions i18n/Languages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ i18n_go_browsing = Go browsing...
i18n_international_editions = International Editions
i18n_local_extensions = Local Extensions
i18n_home3 = Please provide any feedback on the browser by clicking on the feedback button at the top of the page. Your feedback is essential to the evolution and improvement of this service. Please visit <a href="https://sirs.nlm.nih.gov/">SIRS</a> to provide content feedback.
i18n_home4 = If you would like to get involved in the development, this code is available under an Apache v2 open source license. You can also find more information on the current backlog of feedback that is up for possible development here - <a href="https://confluence.ihtsdotools.org/display/TOOLS/IHTSDO+SNOMED+CT+Browser" target="_blank">IHTSDO Browser service page</a>
i18n_home4 = If you would like to get involved in the development, this code is available under an Apache v2 open source license. You can also find more information on the current backlog of feedback that is up for possible development here - <a href="https://confluence.ihtsdotools.org/display/TOOLS/SNOMED+CT+Browser" target="_blank">IHTSDO Browser service page</a>
i18n_home5 = The Browser is provided by the IHTSDO to anyone for reference purposes. The interface and REST APIs are <strong>not</strong> to be used as part of production systems in health care settings.
i18n_home6 = <span class="btn-success"><em>Releases</em></span> will allow the selection of SNOMED CT content from the International Edition or other extensions, with specific dates.
i18n_home7 = <span class="btn-primary"><em>Perspectives</em></span> are pre-defined browsing layouts for specific purposes. Use the <a href="javascript:void(0);" onclick="switchToResponsiveLayout(404684003,404684003);">responsive perspective</a> for best results in tablets and phones.
Expand Down Expand Up @@ -196,4 +196,4 @@ i18n_all_res = All
i18n_results_displayed = results are displayed
i18n_filters_refset = Filter results by Refset
i18n_no_children = No children
i18n_group_by_concept = Group by concept
i18n_group_by_concept = Group by concept
2 changes: 1 addition & 1 deletion i18n/Languages_se.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ i18n_go_browsing = Börja söka ...
i18n_international_editions = Internationella utgåvor
i18n_local_extensions = Lokala extensioner
i18n_home3 = Lämna eventuell feedback på sökverktyget genom att klicka på feedbackknappen överst på sidan. Din feedback är viktig för att tjänsten ska kunna utvecklas och förbättras. Gå till <a href="http://www.socialstyrelsen.se/nationellehalsa/snomed-ct/" target="_blank">Socialstyrelsen</a> för att lämna feedback på innehållet i Snomed CT.
i18n_home4 = Om du vill delta i utvecklingen är denna kod tillgänglig enligt en Apache v2-licens för öppen källkod. Mer information samt en backlog med möjlig utveckling finns på <a href="https://confluence.ihtsdotools.org/display/TOOLS/IHTSDO+SNOMED+CT+Browser" target="_blank">servicesidan för IHTSDO Browser </a>
i18n_home4 = Om du vill delta i utvecklingen är denna kod tillgänglig enligt en Apache v2-licens för öppen källkod. Mer information samt en backlog med möjlig utveckling finns på <a href="https://confluence.ihtsdotools.org/display/TOOLS/SNOMED+CT+Browser" target="_blank">servicesidan för IHTSDO Browser </a>
i18n_home5 = Sökverktyget tillhandahålls av IHTSDO för referensändamål. Gränsnittet och REST API:erna är <strong>inte</strong> avsedda för användning i hälso- och sjukvårdsmiljö.
i18n_home6 = <span class="btn-success"><em>Releaser</em></span> gör det möjligt att välja Snomed CT-innehåll från den internationella utgåvan eller andra extensioner, med specifika releasedatum.
i18n_home7 = <span class="btn-primary"><em>Visningslägen</em></span> är fördefinierade söklayouter för specifika syften. Använd det <a href="javascript:void(0);" onclick="switchToResponsiveLayout(404684003,404684003);">responsiva visningsläget</a> för bästa resultat på surfplattor och telefoner.
Expand Down
Loading

0 comments on commit 21408d9

Please sign in to comment.