From 3c1f3b99b8579ea5a24bb86fc787d3e9f1a3d5c8 Mon Sep 17 00:00:00 2001 From: Stefan Otto Date: Sun, 9 Jul 2023 11:22:16 +0200 Subject: [PATCH] Fix invalid resource HapiFhirStorageResponseCode.json to remove unnecessary warnings The builtin resource `HapiFhirStorageResponseCode.json` causes unnecessary warnings because it is not valid. The JSON has an array property `author` which a [`CodeSystem`](http://hl7.org/fhir/R5/codesystem.html) resource does not have. This fix replaces the `author` property with `publisher` (scalar because `publisher` is {0,1} instead of {0,*}). --- .../fhir/context/support/HapiFhirStorageResponseCode.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/context/support/HapiFhirStorageResponseCode.json b/hapi-fhir-base/src/main/resources/ca/uhn/fhir/context/support/HapiFhirStorageResponseCode.json index b1ebcffce73..9c6c15804ac 100644 --- a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/context/support/HapiFhirStorageResponseCode.json +++ b/hapi-fhir-base/src/main/resources/ca/uhn/fhir/context/support/HapiFhirStorageResponseCode.json @@ -3,9 +3,7 @@ "url": "https://hapifhir.io/fhir/CodeSystem/hapi-fhir-storage-response-code", "status": "active", "copyright": "Licensed under the terms of the Apache Software License 2.0.", - "author": [ { - "name": "HAPI FHIR" - } ], + "publisher": "HAPI FHIR", "caseSensitive": true, "content": "complete", "concept": [ { @@ -57,4 +55,4 @@ "code": "SUCCESSFUL_CONDITIONAL_PATCH_NO_CHANGE", "display": "Conditional patch succeeded: No changes were detected so no action was taken." } ] -} \ No newline at end of file +}