-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#380 - Change structure of dse profile_tree and profile details for t…
…ranslations (#381) * #380 - Change structure of dse profile_tree and profile details for translations - update ontology to v3.0.0-test.11 - modify DseProfile and Field according to changes in dse profile database entry - modify DseProfileTreeNode according to changes in profile_tree.json
- Loading branch information
1 parent
bbc408f
commit e915994
Showing
10 changed files
with
282 additions
and
78 deletions.
There are no files selected for viewing
190 changes: 131 additions & 59 deletions
190
.github/integration-test/ontology/dse/profile_tree.json
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 |
---|---|---|
@@ -1,63 +1,135 @@ | ||
{ | ||
"name": "Root", | ||
"module": "no-module", | ||
"url": "no-url", | ||
"children": [ | ||
"name": "Root", | ||
"module": "no-module", | ||
"url": "no-url", | ||
"children": [ | ||
{ | ||
"id": "e5dbef02-a690-4f5a-b1b9-081302aff04d", | ||
"name": "modul-medikation", | ||
"display": { | ||
"original": "Medikation", | ||
"translations": [ | ||
{ | ||
"language": "de-DE", | ||
"value": "Medikation" | ||
}, | ||
{ | ||
"language": "en-US", | ||
"value": "Medication" | ||
} | ||
] | ||
}, | ||
"url": "modul-medikation", | ||
"module": "modul-medikation", | ||
"selectable": false, | ||
"leaf": false, | ||
"children": [ | ||
{ | ||
"id": "de5c2903-00aa-4d64-92e5-2161d56e3daf", | ||
"children": [ | ||
{ | ||
"id": "69f4718f-1767-4517-90f8-6c079f627eed", | ||
"name": "MII_PR_Medikation_MedicationStatement", | ||
"display": "MII PR Medikation MedicationStatement", | ||
"module": "modul-medikation", | ||
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationStatement", | ||
"leaf": true, | ||
"selectable": true | ||
}, | ||
{ | ||
"id": "83b4d6be-b3e1-451a-adf2-c307477e7b97", | ||
"name": "MII_PR_Medikation_Medikationsliste", | ||
"display": "MII PR Medikation Medikationsliste", | ||
"module": "modul-medikation", | ||
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/medikationsliste", | ||
"leaf": true, | ||
"selectable": true | ||
}, | ||
{ | ||
"id": "fd375ed9-b3cd-414f-8a56-c70e10bb9609", | ||
"name": "MII_PR_Medikation_MedicationRequest", | ||
"display": "MII PR Medikation MedicationRequest", | ||
"module": "modul-medikation", | ||
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationRequest", | ||
"leaf": true, | ||
"selectable": true | ||
}, | ||
{ | ||
"id": "323a3ad1-1c10-45f5-848a-2dc5fb100c47", | ||
"name": "MII_PR_Medikation_Medication", | ||
"display": "MII PR Medikation Medication", | ||
"module": "modul-medikation", | ||
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/Medication", | ||
"leaf": true, | ||
"selectable": true | ||
}, | ||
{ | ||
"id": "81ed0f03-1d77-49c9-8391-d4c25702652c", | ||
"name": "MII_PR_Medikation_MedicationAdministration", | ||
"display": "MII PR Medikation MedicationAdministration", | ||
"module": "modul-medikation", | ||
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationAdministration", | ||
"leaf": true, | ||
"selectable": true | ||
} | ||
], | ||
"name": "modul-medikation", | ||
"display": "Medikation", | ||
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationStatement", | ||
"module": "modul-medikation", | ||
"selectable": true, | ||
"leaf": false | ||
"id": "5486577b-430b-4a42-a3c8-28c6d6eaf4e8", | ||
"name": "MII_PR_Medikation_MedicationStatement", | ||
"display": { | ||
"original": "MII PR Medikation MedicationStatement", | ||
"translations": [ | ||
{ | ||
"language": "de-DE", | ||
"value": "" | ||
}, | ||
{ | ||
"language": "en-US", | ||
"value": "MII PR Medikation MedicationStatement" | ||
} | ||
] | ||
}, | ||
"module": "modul-medikation", | ||
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationStatement", | ||
"leaf": true, | ||
"selectable": true | ||
}, | ||
{ | ||
"id": "491759f1-8afc-4a35-9a35-34642211f02a", | ||
"name": "MII_PR_Medikation_Medikationsliste", | ||
"display": { | ||
"original": "MII PR Medikation Medikationsliste", | ||
"translations": [ | ||
{ | ||
"language": "de-DE", | ||
"value": "" | ||
}, | ||
{ | ||
"language": "en-US", | ||
"value": "MII PR Medikation Medicationlist" | ||
} | ||
] | ||
}, | ||
"module": "modul-medikation", | ||
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/medikationsliste", | ||
"leaf": true, | ||
"selectable": true | ||
}, | ||
{ | ||
"id": "9d1fe081-3964-4951-b743-716d1b60d779", | ||
"name": "MII_PR_Medikation_MedicationRequest", | ||
"display": { | ||
"original": "MII PR Medikation MedicationRequest", | ||
"translations": [ | ||
{ | ||
"language": "de-DE", | ||
"value": "" | ||
}, | ||
{ | ||
"language": "en-US", | ||
"value": "MII PR Medikation MedicationRequest" | ||
} | ||
] | ||
}, | ||
"module": "modul-medikation", | ||
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationRequest", | ||
"leaf": true, | ||
"selectable": true | ||
}, | ||
{ | ||
"id": "1026f31f-78ec-4e20-9b40-c5b02b857bc3", | ||
"name": "MII_PR_Medikation_Medication", | ||
"display": { | ||
"original": "MII PR Medikation Medication", | ||
"translations": [ | ||
{ | ||
"language": "de-DE", | ||
"value": "" | ||
}, | ||
{ | ||
"language": "en-US", | ||
"value": "MII PR Medikation Medication" | ||
} | ||
] | ||
}, | ||
"module": "modul-medikation", | ||
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/Medication", | ||
"leaf": true, | ||
"selectable": true | ||
}, | ||
{ | ||
"id": "d8affe77-892f-45b5-8747-b5ca5400d1be", | ||
"name": "MII_PR_Medikation_MedicationAdministration", | ||
"display": { | ||
"original": "MII PR Medikation MedicationAdministration", | ||
"translations": [ | ||
{ | ||
"language": "de-DE", | ||
"value": "" | ||
}, | ||
{ | ||
"language": "en-US", | ||
"value": "MII PR Medikation MedicationAdministration" | ||
} | ||
] | ||
}, | ||
"module": "modul-medikation", | ||
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationAdministration", | ||
"leaf": true, | ||
"selectable": true | ||
} | ||
] | ||
] | ||
} | ||
] | ||
} |
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
15 changes: 15 additions & 0 deletions
15
src/main/java/de/numcodex/feasibility_gui_backend/dse/api/DisplayEntry.java
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,15 @@ | ||
package de.numcodex.feasibility_gui_backend.dse.api; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Builder; | ||
|
||
import java.util.List; | ||
|
||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@Builder | ||
public record DisplayEntry( | ||
@JsonProperty String original, | ||
@JsonProperty List<LocalizedValue> translations | ||
) { | ||
} |
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
13 changes: 13 additions & 0 deletions
13
src/main/java/de/numcodex/feasibility_gui_backend/dse/api/LocalizedValue.java
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,13 @@ | ||
package de.numcodex.feasibility_gui_backend.dse.api; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Builder; | ||
|
||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@Builder | ||
public record LocalizedValue( | ||
@JsonProperty String language, | ||
@JsonProperty String value | ||
) { | ||
} |
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
Oops, something went wrong.