From e5a710a8a034c383d012f1af7e6742b1c7baeb8a Mon Sep 17 00:00:00 2001 From: Jens Kristian Villadsen Date: Sat, 14 Oct 2023 10:34:32 +0200 Subject: [PATCH 1/2] Added language --- Gravitate.postman_collection.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gravitate.postman_collection.json b/Gravitate.postman_collection.json index 5eddfb007..ea7826d3f 100644 --- a/Gravitate.postman_collection.json +++ b/Gravitate.postman_collection.json @@ -49,7 +49,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"resourceType\": \"Parameters\",\n \"parameter\": [\n {\n \"name\": \"includeEpiExtracts\",\n \"valueBoolean\": \"false\"\n },\n {\n \"name\": \"epi-identifier\",\n \"valueIdentifier\": {\n \"system\": \"https://www.medicinpriser.dk/packageNumber\",\n \"value\": \"423096\"\n }\n },\n {\n \"name\": \"ips-identifier\",\n \"valueIdentifier\": {\n \"system\": \"urn:oid:1.2.208.176.1.2\",\n \"value\": \"2502889861\"\n }\n }\n ]\n}", + "raw": "{\n \"resourceType\": \"Parameters\",\n \"parameter\": [\n {\n \"name\": \"includeEpiExtracts\",\n \"valueBoolean\": \"false\"\n },\n {\n \"name\": \"epi-identifier\",\n \"valueIdentifier\": {\n \"system\": \"https://www.medicinpriser.dk/packageNumber\",\n \"value\": \"423096\"\n }\n },\n {\n \"name\": \"language\",\n \"valueCoding\": {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"esfew\"\n }\n },\n {\n \"name\": \"ips-identifier\",\n \"valueIdentifier\": {\n \"system\": \"urn:oid:1.2.208.176.1.2\",\n \"value\": \"2502889861\"\n }\n }\n ]\n}", "options": { "raw": { "language": "json" @@ -82,7 +82,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"resourceType\": \"Parameters\",\n \"parameter\": [\n {\n \"name\": \"includeEpiExtracts\",\n \"valueBoolean\": \"false\"\n },\n {\n \"name\": \"epi-identifier\",\n \"valueIdentifier\": {\n \"system\": \"https://www.medicinpriser.dk/packageNumber\",\n \"value\": \"423096\"\n }\n },\n {\n \"name\": \"ips-identifier\",\n \"valueIdentifier\": {\n \"system\": \"urn:oid:1.2.208.176.1.2\",\n \"value\": \"1509018436\"\n }\n }\n ]\n}", + "raw": "{\n \"resourceType\": \"Parameters\",\n \"parameter\": [\n {\n \"name\": \"includeEpiExtracts\",\n \"valueBoolean\": \"false\"\n },\n {\n \"name\": \"epi-identifier\",\n \"valueIdentifier\": {\n \"system\": \"https://www.medicinpriser.dk/packageNumber\",\n \"value\": \"423096\"\n }\n },\n {\n \"name\": \"language\",\n \"valueCoding\": {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"en\"\n }\n },\n {\n \"name\": \"ips-identifier\",\n \"valueIdentifier\": {\n \"system\": \"urn:oid:1.2.208.176.1.2\",\n \"value\": \"1509018436\"\n }\n }\n ]\n}", "options": { "raw": { "language": "json" From 22eb4b488243b00b34bd0bc55e4b08fb64984710 Mon Sep 17 00:00:00 2001 From: Jens Kristian Villadsen Date: Sat, 14 Oct 2023 10:54:16 +0200 Subject: [PATCH 2/2] Added optional language. --- input/fsh/operations.fsh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/input/fsh/operations.fsh b/input/fsh/operations.fsh index 2a83424c4..be36ea4e1 100644 --- a/input/fsh/operations.fsh +++ b/input/fsh/operations.fsh @@ -65,6 +65,13 @@ The persona dimension can be delivered either as a `Bundle` or by using an `Iden * parameter[=].documentation = "Persona Vector Identifier" * parameter[=].type = #Identifier +* parameter[+].name = #language +* parameter[=].use = #in +* parameter[=].min = 0 +* parameter[=].max = "1" +* parameter[=].documentation = "Language of the ePI. The code must be picked from https://hl7.org/fhir/valueset-languages.html. Defaults to english if none is provided." +* parameter[=].type = #Coding + * parameter[+].name = #returnEpi * parameter[=].use = #out * parameter[=].min = 1 @@ -81,7 +88,6 @@ The persona dimension can be delivered either as a `Bundle` or by using an `Iden - Instance: annotate InstanceOf: OperationDefinition Usage: #definition