-
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.
#318 - Add endpoints for profile data
- in dse profile filter, change single referencedCriteriaSet to list of value set urls - change v9_1 script to v9 since there is no 2nd part any more (is a repeatable now)
- Loading branch information
1 parent
f7b0b7e
commit 46595a0
Showing
3 changed files
with
4 additions
and
2 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
2 changes: 1 addition & 1 deletion
2
src/main/resources/db/migration/R__Load_latest_dse_profiles.sql
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,4 +1,4 @@ | ||
DELETE FROM dse_profile; | ||
ALTER SEQUENCE public.dse_profile_id_seq RESTART WITH 1; | ||
|
||
INSERT INTO dse_profile(id, url, entry) VALUES (1, 'https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/ObservationLab', '{ "url": "https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/ObservationLab", "display": "Profile - Observation - Laboruntersuchung", "fields":[ { "id": "Observation.value[x]", "display": "Actual result", "name": "value[x]", "children": [ { "id": "Observation.value[x]:valueQuantity", "display": "Actual result", "name": "valueQuantity", "children": [ { "id": "Observation.value[x]:valueQuantity.id", "display": "Unique id for inter-element referencing", "name": "id" }, { "id": "Observation.value[x]:valueQuantity.extension", "display": "Additional content defined by implementations", "name": "extension" }, { "id": "Observation.value[x]:valueQuantity.value", "display": "Numerical value (with implicit precision)", "name": "value" }, { "id": "Observation.value[x]:valueQuantity.comparator", "display": "< | <= | >= | > - how to understand the value", "name": "comparator" }, { "id": "Observation.value[x]:valueQuantity.unit", "display": "Unit representation", "name": "unit" }, { "id": "Observation.value[x]:valueQuantity.system", "display": "System that defines coded unit form", "name": "system" }, { "id": "Observation.value[x]:valueQuantity.code", "display": "Coded form of the unit", "name": "code" } ] }, { "id": "Observation.value[x]:valueCodeableConcept", "display": "Actual result", "name": "valueCodeableConcept", "children": [ { "id": "Observation.value[x]:valueCodeableConcept.id", "display": "Unique id for inter-element referencing", "name": "id" }, { "id": "Observation.value[x]:valueCodeableConcept.extension", "display": "Additional content defined by implementations", "name": "extension" }, { "id": "Observation.value[x]:valueCodeableConcept.coding", "display": "Code defined by a terminology system", "name": "coding", "children": [ { "id": "Observation.value[x]:valueCodeableConcept.coding.id", "display": "Unique id for inter-element referencing", "name": "id" }, { "id": "Observation.value[x]:valueCodeableConcept.coding.extension", "display": "Additional content defined by implementations", "name": "extension" }, { "id": "Observation.value[x]:valueCodeableConcept.coding.system", "display": "Identity of the terminology system", "name": "system" }, { "id": "Observation.value[x]:valueCodeableConcept.coding.version", "display": "Version of the system - if relevant", "name": "version" }, { "id": "Observation.value[x]:valueCodeableConcept.coding.code", "display": "Symbol in syntax defined by the system", "name": "code" }, { "id": "Observation.value[x]:valueCodeableConcept.coding.display", "display": "Representation defined by the system", "name": "display" }, { "id": "Observation.value[x]:valueCodeableConcept.coding.userSelected", "display": "If this coding was chosen directly by the user", "name": "userSelected" } ] }, { "id": "Observation.value[x]:valueCodeableConcept.text", "display": "Plain text representation of the concept", "name": "text" } ] } ] } ], "filters":[ { "type": "token", "name": "code", "ui_type": "code", "referencedCriteriaSet": "http://fdpg.mii.cds/CriteriaSet/Diagnose/icd-10-gm" }, { "type": "date", "name": "date", "ui_type": "timeRestriction" } ]}'); | ||
INSERT INTO dse_profile(id, url, entry) VALUES (1, 'https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/ObservationLab', '{ "url": "https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/ObservationLab", "display": "Profile - Observation - Laboruntersuchung", "fields":[ { "id": "Observation.value[x]", "display": "Actual result", "name": "value[x]", "children": [ { "id": "Observation.value[x]:valueQuantity", "display": "Actual result", "name": "valueQuantity", "children": [ { "id": "Observation.value[x]:valueQuantity.id", "display": "Unique id for inter-element referencing", "name": "id" }, { "id": "Observation.value[x]:valueQuantity.extension", "display": "Additional content defined by implementations", "name": "extension" }, { "id": "Observation.value[x]:valueQuantity.value", "display": "Numerical value (with implicit precision)", "name": "value" }, { "id": "Observation.value[x]:valueQuantity.comparator", "display": "< | <= | >= | > - how to understand the value", "name": "comparator" }, { "id": "Observation.value[x]:valueQuantity.unit", "display": "Unit representation", "name": "unit" }, { "id": "Observation.value[x]:valueQuantity.system", "display": "System that defines coded unit form", "name": "system" }, { "id": "Observation.value[x]:valueQuantity.code", "display": "Coded form of the unit", "name": "code" } ] }, { "id": "Observation.value[x]:valueCodeableConcept", "display": "Actual result", "name": "valueCodeableConcept", "children": [ { "id": "Observation.value[x]:valueCodeableConcept.id", "display": "Unique id for inter-element referencing", "name": "id" }, { "id": "Observation.value[x]:valueCodeableConcept.extension", "display": "Additional content defined by implementations", "name": "extension" }, { "id": "Observation.value[x]:valueCodeableConcept.coding", "display": "Code defined by a terminology system", "name": "coding", "children": [ { "id": "Observation.value[x]:valueCodeableConcept.coding.id", "display": "Unique id for inter-element referencing", "name": "id" }, { "id": "Observation.value[x]:valueCodeableConcept.coding.extension", "display": "Additional content defined by implementations", "name": "extension" }, { "id": "Observation.value[x]:valueCodeableConcept.coding.system", "display": "Identity of the terminology system", "name": "system" }, { "id": "Observation.value[x]:valueCodeableConcept.coding.version", "display": "Version of the system - if relevant", "name": "version" }, { "id": "Observation.value[x]:valueCodeableConcept.coding.code", "display": "Symbol in syntax defined by the system", "name": "code" }, { "id": "Observation.value[x]:valueCodeableConcept.coding.display", "display": "Representation defined by the system", "name": "display" }, { "id": "Observation.value[x]:valueCodeableConcept.coding.userSelected", "display": "If this coding was chosen directly by the user", "name": "userSelected" } ] }, { "id": "Observation.value[x]:valueCodeableConcept.text", "display": "Plain text representation of the concept", "name": "text" } ] } ] } ], "filters":[ { "type": "token", "name": "code", "ui_type": "code", "valueSetUrls": ["http://fdpg.mii.cds/CriteriaSet/Diagnose/icd-10-gm"] }, { "type": "date", "name": "date", "ui_type": "timeRestriction" } ]}'); |
File renamed without changes.