From 7a80b5fadf728549592131fd12a51e2f22f5ebdc Mon Sep 17 00:00:00 2001 From: Alexander Zautke Date: Tue, 28 May 2024 13:05:50 +0200 Subject: [PATCH] Fix canonical and add custom SP --- .../resources/SearchParameter-ergpkv-makierung.json | 2 +- ...tureDefinition-ergpkv-documentreference-markierung.json} | 6 +++--- .../StructureDefinition-ergpkv-dokumentenmetadaten.json | 2 +- .../fsh/Extensions/ergpkv-documentreference-markierung.fsh | 2 +- .../SearchParameter/ergpkv-searchParam-ergpkvmakierung.fsh | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) rename Resources/fsh-generated/resources/{StructureDefinition-ergpkv-invoice-markierung.json => StructureDefinition-ergpkv-documentreference-markierung.json} (90%) diff --git a/Resources/fsh-generated/resources/SearchParameter-ergpkv-makierung.json b/Resources/fsh-generated/resources/SearchParameter-ergpkv-makierung.json index d18270f..26b9cf0 100644 --- a/Resources/fsh-generated/resources/SearchParameter-ergpkv-makierung.json +++ b/Resources/fsh-generated/resources/SearchParameter-ergpkv-makierung.json @@ -11,5 +11,5 @@ "DocumentReference" ], "type": "token", - "expression": "DocumentReference.extension('TODO').value" + "expression": "DocumentReference.extension('https://gematik.de/fhir/ergpkv/StructureDefinition/ergpkv-rechnungsstatus').value" } diff --git a/Resources/fsh-generated/resources/StructureDefinition-ergpkv-invoice-markierung.json b/Resources/fsh-generated/resources/StructureDefinition-ergpkv-documentreference-markierung.json similarity index 90% rename from Resources/fsh-generated/resources/StructureDefinition-ergpkv-invoice-markierung.json rename to Resources/fsh-generated/resources/StructureDefinition-ergpkv-documentreference-markierung.json index b755310..9e96d0e 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ergpkv-invoice-markierung.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ergpkv-documentreference-markierung.json @@ -1,7 +1,7 @@ { "resourceType": "StructureDefinition", - "id": "ergpkv-invoice-markierung", - "url": "https://gematik.de/fhir/ergpkv/StructureDefinition/ergpkv-invoice-markierung", + "id": "ergpkv-documentreference-markierung", + "url": "https://gematik.de/fhir/ergpkv/StructureDefinition/ergpkv-documentreference-markierung", "name": "ERGPKVDocumentReferenceMarkierung", "title": "ERGPKV DocumentReference Markierung", "status": "draft", @@ -27,7 +27,7 @@ { "id": "Extension.url", "path": "Extension.url", - "fixedUri": "https://gematik.de/fhir/ergpkv/StructureDefinition/ergpkv-invoice-markierung" + "fixedUri": "https://gematik.de/fhir/ergpkv/StructureDefinition/ergpkv-documentreference-markierung" }, { "id": "Extension.value[x]", diff --git a/Resources/fsh-generated/resources/StructureDefinition-ergpkv-dokumentenmetadaten.json b/Resources/fsh-generated/resources/StructureDefinition-ergpkv-dokumentenmetadaten.json index 0ac8237..0482b20 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ergpkv-dokumentenmetadaten.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ergpkv-dokumentenmetadaten.json @@ -103,7 +103,7 @@ { "code": "Extension", "profile": [ - "https://gematik.de/fhir/ergpkv/StructureDefinition/ergpkv-invoice-markierung" + "https://gematik.de/fhir/ergpkv/StructureDefinition/ergpkv-documentreference-markierung" ] } ], diff --git a/Resources/input/fsh/Extensions/ergpkv-documentreference-markierung.fsh b/Resources/input/fsh/Extensions/ergpkv-documentreference-markierung.fsh index da02a1d..1540946 100644 --- a/Resources/input/fsh/Extensions/ergpkv-documentreference-markierung.fsh +++ b/Resources/input/fsh/Extensions/ergpkv-documentreference-markierung.fsh @@ -1,5 +1,5 @@ Extension: ERGPKVDocumentReferenceMarkierung -Id: ergpkv-invoice-markierung +Id: ergpkv-documentreference-markierung Title: "ERGPKV DocumentReference Markierung" * value[x] only Coding * value[x] 1..1 MS diff --git a/Resources/input/fsh/SearchParameter/ergpkv-searchParam-ergpkvmakierung.fsh b/Resources/input/fsh/SearchParameter/ergpkv-searchParam-ergpkvmakierung.fsh index ceeac52..c96ee81 100644 --- a/Resources/input/fsh/SearchParameter/ergpkv-searchParam-ergpkvmakierung.fsh +++ b/Resources/input/fsh/SearchParameter/ergpkv-searchParam-ergpkvmakierung.fsh @@ -12,4 +12,4 @@ Description: "Ein SearchParameter auf der Ressource DocumentReference, der die S * code = #ergpkv-makierung * base = #DocumentReference * type = #token -* expression = "DocumentReference.extension('TODO').value" //TODO Was stellt die Markierung dar? \ No newline at end of file +* expression = "DocumentReference.extension('https://gematik.de/fhir/ergpkv/StructureDefinition/ergpkv-rechnungsstatus').value" //TODO Was stellt die Markierung dar? \ No newline at end of file