diff --git a/Resources/fsh-generated/fsh-index.json b/Resources/fsh-generated/fsh-index.json index d5b8a5d..b290872 100644 --- a/Resources/fsh-generated/fsh-index.json +++ b/Resources/fsh-generated/fsh-index.json @@ -27,41 +27,41 @@ "outputFile": "Communication-3bbc2209-9c23-4553-986e-a5c9f69a39fb.json", "fshName": "Communication_ChargChangeReply_Gkv", "fshType": "Instance", - "fshFile": "profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh", - "startLine": 26, - "endLine": 40 + "fshFile": "examples/Example_Communication_ChargChangeReply.fsh", + "startLine": 1, + "endLine": 15 }, { "outputFile": "Communication-7bbc2209-9c23-4553-986e-a5c9f69a39fp.json", "fshName": "Communication_ChargChangeReply_Pkv", "fshType": "Instance", - "fshFile": "profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh", - "startLine": 42, - "endLine": 56 + "fshFile": "examples/Example_Communication_ChargChangeReply.fsh", + "startLine": 17, + "endLine": 31 }, { "outputFile": "Communication-b4cf7f71-3ade-40ab-97a9-929f95af29f2.json", "fshName": "Communication_ChargChangeRequest_Gkv", "fshType": "Instance", - "fshFile": "profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh", - "startLine": 28, - "endLine": 42 + "fshFile": "examples/Example_Communication_ChargChangeRequest.fsh", + "startLine": 1, + "endLine": 15 }, { "outputFile": "Communication-b4cf7f71-3ade-40ab-97a9-929f95af29fp.json", "fshName": "Communication_ChargChangeRequest_Pkv", "fshType": "Instance", - "fshFile": "profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh", - "startLine": 45, - "endLine": 59 + "fshFile": "examples/Example_Communication_ChargChangeRequest.fsh", + "startLine": 18, + "endLine": 32 }, { "outputFile": "Consent-0dcc5d4c-bf24-4c06-b02e-be5bc24587e2.json", "fshName": "ChargeItemConsent", "fshType": "Instance", - "fshFile": "profiles/GEM_ERPCHRG_PR_Consent.fsh", - "startLine": 22, - "endLine": 38 + "fshFile": "examples/Example_Consent.fsh", + "startLine": 1, + "endLine": 17 }, { "outputFile": "StructureDefinition-GEM-ERPCHRG-EX-MarkingFlag.json", diff --git a/Resources/fsh-generated/fsh-index.txt b/Resources/fsh-generated/fsh-index.txt index c5ab3c2..76be168 100644 --- a/Resources/fsh-generated/fsh-index.txt +++ b/Resources/fsh-generated/fsh-index.txt @@ -2,11 +2,11 @@ Output File Name ChargeItem-ChargeItem-GET-Completed.json ChargeItem-GET-Completed Instance examples/Example_ChargeItem.fsh 1 - 29 ChargeItem-ChargeItem-POST-Binary.json ChargeItem-POST-Binary Instance examples/Example_ChargeItem.fsh 31 - 49 CodeSystem-GEM-ERPCHRG-CS-ConsentType.json GEM_ERPCHRG_CS_ConsentType CodeSystem codesystems/GEM_ERPCHRG_CS_ConsentType.fsh 1 - 7 -Communication-3bbc2209-9c23-4553-986e-a5c9f69a39fb.json Communication_ChargChangeReply_Gkv Instance profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh 26 - 40 -Communication-7bbc2209-9c23-4553-986e-a5c9f69a39fp.json Communication_ChargChangeReply_Pkv Instance profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh 42 - 56 -Communication-b4cf7f71-3ade-40ab-97a9-929f95af29f2.json Communication_ChargChangeRequest_Gkv Instance profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh 28 - 42 -Communication-b4cf7f71-3ade-40ab-97a9-929f95af29fp.json Communication_ChargChangeRequest_Pkv Instance profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh 45 - 59 -Consent-0dcc5d4c-bf24-4c06-b02e-be5bc24587e2.json ChargeItemConsent Instance profiles/GEM_ERPCHRG_PR_Consent.fsh 22 - 38 +Communication-3bbc2209-9c23-4553-986e-a5c9f69a39fb.json Communication_ChargChangeReply_Gkv Instance examples/Example_Communication_ChargChangeReply.fsh 1 - 15 +Communication-7bbc2209-9c23-4553-986e-a5c9f69a39fp.json Communication_ChargChangeReply_Pkv Instance examples/Example_Communication_ChargChangeReply.fsh 17 - 31 +Communication-b4cf7f71-3ade-40ab-97a9-929f95af29f2.json Communication_ChargChangeRequest_Gkv Instance examples/Example_Communication_ChargChangeRequest.fsh 1 - 15 +Communication-b4cf7f71-3ade-40ab-97a9-929f95af29fp.json Communication_ChargChangeRequest_Pkv Instance examples/Example_Communication_ChargChangeRequest.fsh 18 - 32 +Consent-0dcc5d4c-bf24-4c06-b02e-be5bc24587e2.json ChargeItemConsent Instance examples/Example_Consent.fsh 1 - 17 StructureDefinition-GEM-ERPCHRG-EX-MarkingFlag.json GEM_ERPCHRG_EX_MarkingFlag Extension extensions/GEM_ERPCHRG_EX_MarkingFlag.fsh 1 - 37 StructureDefinition-GEM-ERPCHRG-PR-ChargeItem.json GEM_ERPCHRG_PR_ChargeItem Profile profiles/GEM_ERPCHRG_PR_ChargeItem.fsh 1 - 68 StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReply.json GEM_ERPCHRG_PR_Communication_ChargChangeReply Profile profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh 1 - 24 diff --git a/Resources/input/fsh/examples/Example_Communication_ChargChangeReply.fsh b/Resources/input/fsh/examples/Example_Communication_ChargChangeReply.fsh new file mode 100644 index 0000000..9512894 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Communication_ChargChangeReply.fsh @@ -0,0 +1,31 @@ +Instance: Communication_ChargChangeReply_Gkv +InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReply +Title: "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" +Usage: #example +* id = "3bbc2209-9c23-4553-986e-a5c9f69a39fb" +* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReply|1.0" +* meta.tag.display = "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" +* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90a8" +* status = #unknown +* sender.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* sender.identifier.value = "3-SMC-B-Testkarte-883110000123465" +* recipient[+].identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* recipient[=].identifier.value = "X234567890" +* sent = "2022-04-29T13:46:30.128+02:00" +* payload.contentString = "Erledigt." + +Instance: Communication_ChargChangeReply_Pkv +InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReply +Title: "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" +Usage: #example +* id = "7bbc2209-9c23-4553-986e-a5c9f69a39fp" +* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReply|1.0" +* meta.tag.display = "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" +* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90ap" +* status = #unknown +* sender.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* sender.identifier.value = "3-SMC-B-Testkarte-883110000123465" +* recipient[+].identifier.system = $identifier-kvid-10 +* recipient[=].identifier.value = "X234567890" +* sent = "2022-07-04T13:46:30.128+02:00" +* payload.contentString = "Erledigt." \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Communication_ChargChangeRequest.fsh b/Resources/input/fsh/examples/Example_Communication_ChargChangeRequest.fsh new file mode 100644 index 0000000..f9c6c53 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Communication_ChargChangeRequest.fsh @@ -0,0 +1,32 @@ +Instance: Communication_ChargChangeRequest_Gkv +InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReq +Title: "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" +Usage: #example +* id = "b4cf7f71-3ade-40ab-97a9-929f95af29f2" +* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReq|1.0" +* meta.tag.display = "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" +* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90a8?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #unknown +* recipient[+].identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" +* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* sender.identifier.value = "X234567890" +* sent = "2020-04-29T13:43:30.128+02:00" +* payload.contentString = "Bitte meinen Namen in Günther ändern, Waltraud ist falsch." + + +Instance: Communication_ChargChangeRequest_Pkv +InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReq +Title: "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" +Usage: #example +* id = "b4cf7f71-3ade-40ab-97a9-929f95af29fp" +* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReq|1.0" +* meta.tag.display = "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" +* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90a8?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #unknown +* recipient[+].identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" +* sender.identifier.system = $identifier-kvid-10 +* sender.identifier.value = "X234567890" +* sent = "2020-07-04T13:43:30.128+02:00" +* payload.contentString = "Bitte meinen Namen in Günther ändern, Waltraud ist falsch." \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Consent.fsh b/Resources/input/fsh/examples/Example_Consent.fsh new file mode 100644 index 0000000..a52933c --- /dev/null +++ b/Resources/input/fsh/examples/Example_Consent.fsh @@ -0,0 +1,17 @@ +Instance: ChargeItemConsent +InstanceOf: GEM_ERPCHRG_PR_Consent +Title: "Consent to store digital ChargeItem" +Usage: #example +* id = "0dcc5d4c-bf24-4c06-b02e-be5bc24587e2" +* meta.profile = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Consent|1.0" +* status = #active +* scope = http://terminology.hl7.org/CodeSystem/consentscope#patient-privacy "Privacy Consent" +* category = https://gematik.de/fhir/erpchrg/CodeSystem/GEM_ERPCHRG_CS_ConsentType#CHARGCONS "Consent for saving electronic charge item" +* patient[+].identifier.type.coding[+].system = "http://fhir.de/CodeSystem/identifier-type-de-basis" +* patient[=].identifier.type.coding[=].code = #KVZ10 +* patient[=].identifier.system = $identifier-kvid-10 +* patient[=].identifier.value = "X234567890" +* patient[=].identifier.assigner.identifier.system = "http://fhir.de/sid/arge-ik/iknr" +* patient[=].identifier.assigner.identifier.value = "168140950" +* dateTime = "2022-06-01T07:13:00+05:00" +* policyRule = http://terminology.hl7.org/CodeSystem/v3-ActCode#OPTIN \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh index aa2d343..c37a3a2 100644 --- a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh +++ b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh @@ -21,36 +21,4 @@ Description: "Ressource used for the communication to reply to a change request * sender.identifier 1..1 * sender.identifier only IdentifierTelematikId * payload 0..1 -* payload.content[x] only string - -Instance: Communication_ChargChangeReply_Gkv -InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReply -Title: "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" -Usage: #example -* id = "3bbc2209-9c23-4553-986e-a5c9f69a39fb" -* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReply|1.0" -* meta.tag.display = "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" -* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90a8" -* status = #unknown -* sender.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* sender.identifier.value = "3-SMC-B-Testkarte-883110000123465" -* recipient[+].identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* recipient[=].identifier.value = "X234567890" -* sent = "2022-04-29T13:46:30.128+02:00" -* payload.contentString = "Erledigt." - -Instance: Communication_ChargChangeReply_Pkv -InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReply -Title: "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" -Usage: #example -* id = "7bbc2209-9c23-4553-986e-a5c9f69a39fp" -* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReply|1.0" -* meta.tag.display = "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" -* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90ap" -* status = #unknown -* sender.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* sender.identifier.value = "3-SMC-B-Testkarte-883110000123465" -* recipient[+].identifier.system = $identifier-kvid-10 -* recipient[=].identifier.value = "X234567890" -* sent = "2022-07-04T13:46:30.128+02:00" -* payload.contentString = "Erledigt." \ No newline at end of file +* payload.content[x] only string \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh index 403ef9f..459c10c 100644 --- a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh +++ b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh @@ -25,35 +25,3 @@ Description: "Ressource used for the communication of Change Request on an exist * payload 0..1 * payload.content[x] only string -Instance: Communication_ChargChangeRequest_Gkv -InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReq -Title: "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" -Usage: #example -* id = "b4cf7f71-3ade-40ab-97a9-929f95af29f2" -* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReq|1.0" -* meta.tag.display = "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" -* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90a8?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #unknown -* recipient[+].identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" -* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* sender.identifier.value = "X234567890" -* sent = "2020-04-29T13:43:30.128+02:00" -* payload.contentString = "Bitte meinen Namen in Günther ändern, Waltraud ist falsch." - - -Instance: Communication_ChargChangeRequest_Pkv -InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReq -Title: "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" -Usage: #example -* id = "b4cf7f71-3ade-40ab-97a9-929f95af29fp" -* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReq|1.0" -* meta.tag.display = "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" -* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90a8?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #unknown -* recipient[+].identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" -* sender.identifier.system = $identifier-kvid-10 -* sender.identifier.value = "X234567890" -* sent = "2020-07-04T13:43:30.128+02:00" -* payload.contentString = "Bitte meinen Namen in Günther ändern, Waltraud ist falsch." \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh index d965d9e..21151bd 100644 --- a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh +++ b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh @@ -15,24 +15,4 @@ Id: GEM-ERPCHRG-PR-Consent * patient.identifier.assigner.display 0..1 * dateTime 1.. * policyRule MS -* policyRule from http://terminology.hl7.org/ValueSet/v3-ActCode - - - -Instance: ChargeItemConsent -InstanceOf: GEM_ERPCHRG_PR_Consent -Title: "Consent to store digital ChargeItem" -Usage: #example -* id = "0dcc5d4c-bf24-4c06-b02e-be5bc24587e2" -* meta.profile = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Consent|1.0" -* status = #active -* scope = http://terminology.hl7.org/CodeSystem/consentscope#patient-privacy "Privacy Consent" -* category = https://gematik.de/fhir/erpchrg/CodeSystem/GEM_ERPCHRG_CS_ConsentType#CHARGCONS "Consent for saving electronic charge item" -* patient[+].identifier.type.coding[+].system = "http://fhir.de/CodeSystem/identifier-type-de-basis" -* patient[=].identifier.type.coding[=].code = #KVZ10 -* patient[=].identifier.system = $identifier-kvid-10 -* patient[=].identifier.value = "X234567890" -* patient[=].identifier.assigner.identifier.system = "http://fhir.de/sid/arge-ik/iknr" -* patient[=].identifier.assigner.identifier.value = "168140950" -* dateTime = "2022-06-01T07:13:00+05:00" -* policyRule = http://terminology.hl7.org/CodeSystem/v3-ActCode#OPTIN \ No newline at end of file +* policyRule from http://terminology.hl7.org/ValueSet/v3-ActCode \ No newline at end of file