Skip to content

Commit

Permalink
Set alias for kvid
Browse files Browse the repository at this point in the history
  • Loading branch information
florianschoffke committed Aug 20, 2024
1 parent 45a019f commit ee82ad4
Show file tree
Hide file tree
Showing 15 changed files with 41 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
]
},
"valueReference": {
"reference": "Binary/PrescriptionBinary"
"reference": "Binary/PrescriptionBinary"
}
}
],
Expand All @@ -94,7 +94,7 @@
],
"lastModified": "2022-03-18T15:28:00+00:00"
},
"fullUrl": "[base-url]/Task/d70932d1-9e1c-483c-b2d4-b7dced09b35e"
"fullUrl": "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/d70932d1-9e1c-483c-b2d4-b7dced09b35e"
},
{
"resource": {
Expand All @@ -108,7 +108,7 @@
"contentType": "application/pkcs7-mime",
"data": "dGhpcyBibG9iIGlzIHNuaXBwZWQ="
},
"fullUrl": "[base-url]/Binary/PrescriptionBinary"
"fullUrl": "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Binary/PrescriptionBinary"
}
]
}
2 changes: 1 addition & 1 deletion Resources/input/fsh/aliases.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Alias: $KBV_EX_Base_Medication_Type = https://fhir.kbv.de/StructureDefinition/KB
Alias: $KBV_EX_ERP_Medication_Normgroesse = http://fhir.de/StructureDefinition/normgroesse

// DE-Basisprofile
Alias: $identifier-kvid-10 = http://fhir.de/StructureDefinition/identifier-kvid-10
Alias: $identifier-kvid-10 = http://fhir.de/sid/gkv/kvid-10
Alias: $identifier-telematik-id = https://gematik.de/fhir/sid/telematik-id
Alias: $identifier-iknr = http://fhir.de/StructureDefinition/identifier-iknr

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Usage: #example
* status = #unknown
* recipient[+].identifier.system = $identifier-telematik-id
* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465"
* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* sender.identifier.system = $identifier-kvid-10
* sender.identifier.value = "X234567890"
* sent = "2020-04-29T13:44:30.128+02:00"
* payload.contentString = "{ \"version\": \"1\", \"supplyOptionsType\": \"delivery\", \"name\": \"Dr. Maximilian von Muster\", \"address\": [ \"wohnhaft bei Emilia Fischer\", \"Bundesallee 312\", \"123. OG\", \"12345 Berlin\" ], \"hint\": \"Bitte im Morsecode klingeln: -.-.\", \"phone\": \"004916094858168\" }"
Expand All @@ -30,7 +30,7 @@ Usage: #example
* status = #unknown
* recipient[+].identifier.system = $identifier-telematik-id
* recipient[=].identifier.value = "8-SMC-B-Testkarte-883110000123465"
* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* sender.identifier.system = $identifier-kvid-10
* sender.identifier.value = "X234567890"
* sent = "2020-04-29T13:44:30.128+02:00"

Expand All @@ -47,7 +47,7 @@ Usage: #example
* status = #unknown
* recipient[+].identifier.system = $identifier-telematik-id
* recipient[=].identifier.value = "8-SMC-B-Testkarte-883110000123465"
* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* sender.identifier.system = $identifier-kvid-10
* sender.identifier.value = "X234567890"
* sent = "2020-04-29T13:44:30.128+02:00"
* payload.contentString = "U.N.V.E.U"
Expand All @@ -64,7 +64,7 @@ Usage: #example
* status = #unknown
* recipient[+].identifier.system = $identifier-telematik-id
* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465"
* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* sender.identifier.system = $identifier-kvid-10
* sender.identifier.value = "X234567890"
* sent = "2020-04-29T13:44:30.128+02:00"
*/
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Usage: #example
* about = Reference(SumatripanMedication)
* recipient[+].identifier.system = $identifier-telematik-id
* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465"
* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* sender.identifier.system = $identifier-kvid-10
* sender.identifier.value = "X234567890"
* sent = "2020-04-29T13:43:30.128+02:00"
* payload.extension[InsuranceProvider].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_InsuranceProvider"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Usage: #example
* status = #unknown
* sender.identifier.system = $identifier-telematik-id
* sender.identifier.value = "3-SMC-B-Testkarte-883110000123465"
* recipient[+].identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* recipient[+].identifier.system = $identifier-kvid-10
* recipient[=].identifier.value = "X234567890"
* sent = "2020-04-29T13:46:30.128+02:00"
* payload.extension[AvailabilityStatus].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AvailabilityState"
Expand Down
16 changes: 8 additions & 8 deletions Resources/input/fsh/examples/Example_MedicationDispense.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Title: "Example Medication Dispense"
Description: "Example of a Medication Dispense."
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "160.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957"
Expand All @@ -21,7 +21,7 @@ Title: "Example another Medication Dispense"
Description: "Example of another Medication Dispense."
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "160.153.303.257.459"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957"
Expand All @@ -36,7 +36,7 @@ Title: "Example Kombipackung Medication Dispense"
Description: "Example of a Kombipackung Medication Dispense."
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "160.153.303.257.459"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957"
Expand All @@ -51,7 +51,7 @@ Title: "Example Rezeptur Medication Dispense"
Description: "Example of a Rezeptur Medication Dispense."
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "160.153.303.257.459"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957"
Expand All @@ -68,7 +68,7 @@ Title: "Example-Medication Dispense"
Description: "Example of a Medication Dispense."
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "160.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957"
Expand All @@ -84,7 +84,7 @@ Title: "Example-Medication Dispense"
Description: "Example of a Medication Dispense."
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "160.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957"
Expand All @@ -100,7 +100,7 @@ Title: "Example-Medication Dispense"
Description: "Example of a Medication Dispense."
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "160.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "1-SMC-B-Testkarte-883110000095957"
Expand All @@ -116,7 +116,7 @@ Title: "Example-Medication Dispense"
Description: "Example of a Medication Dispense."
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "160.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957"
Expand Down
18 changes: 9 additions & 9 deletions Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Description: "Example of a Medication Dispense for DiGAs only stating the name o
* extension[redeemCode].valueString = "DE12345678901234"
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "162.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957"
Expand All @@ -24,7 +24,7 @@ Description: "Example of a Medication Dispense for DiGAs which states a deep lin
* extension[deepLink].valueUrl = "https://gematico.de?redeemCode=DE12345678901234"
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "162.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957"
Expand All @@ -40,7 +40,7 @@ Title: "Medication Dispense DiGA without a redeem code"
Description: "Example of a Medication Dispense for DiGAs which has no redeem code."
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "162.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957"
Expand All @@ -57,7 +57,7 @@ Description: "Example of a Medication Dispense for DiGAs only stating the name o
* extension[redeemCode].valueString = "DE12345678901234"
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "162.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957"
Expand All @@ -71,7 +71,7 @@ Title: "Invalid MedicationDispense for missing Note"
Description: "A Note needs to be provided if no redeem code is provided."
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "162.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957"
Expand All @@ -85,7 +85,7 @@ Title: "Invalid MedicationDispense for missing DataAbsentReason"
Description: "A DataAbsentReason needs to be provided if no redeem code is provided."
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "162.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957"
Expand All @@ -101,7 +101,7 @@ Description: "When a redeem code is provided, the name of the DiGA is mandatory.
* extension[redeemCode].valueString = "DE12345678901234"
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "162.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957"
Expand All @@ -117,7 +117,7 @@ Description: "When a redeem code is provided, the DiGA-PZN is mandatory."
* extension[redeemCode].valueString = "DE12345678901234"
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "162.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957"
Expand All @@ -132,7 +132,7 @@ Description: "When a redeem code is provided, the Name and DiGA-PZN are mandator
* extension[redeemCode].valueString = "DE12345678901234"
* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
* identifier[prescriptionID].value = "162.000.033.491.280.78"
* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* subject.identifier.system = $identifier-kvid-10
* subject.identifier.value = "X123456789"
* performer.actor.identifier.system = $identifier-telematik-id
* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957"
Expand Down
10 changes: 5 additions & 5 deletions Resources/input/fsh/examples/Example_Task.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Usage: #example
* intent = #order
* authoredOn = "2022-03-18T15:26:00+00:00"
* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke"
* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* for.identifier.system = $identifier-kvid-10
* for.identifier.value = "X123456789"
* lastModified = "2022-03-18T15:27:00+00:00"
* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription"
Expand Down Expand Up @@ -73,7 +73,7 @@ Usage: #example
* intent = #order
* authoredOn = "2022-03-18T15:26:00+00:00"
* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke"
* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* for.identifier.system = $identifier-kvid-10
* for.identifier.value = "X123456789"
* lastModified = "2022-03-18T15:28:00+00:00"
* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription"
Expand Down Expand Up @@ -102,7 +102,7 @@ Usage: #example
* intent = #order
* authoredOn = "2022-03-18T15:26:00+00:00"
* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke"
* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* for.identifier.system = $identifier-kvid-10
* for.identifier.value = "X123456789"
* lastModified = "2022-03-18T15:28:00+00:00"
* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription"
Expand Down Expand Up @@ -133,7 +133,7 @@ Usage: #example
* intent = #order
* authoredOn = "2022-03-18T15:26:00+00:00"
* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke"
* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* for.identifier.system = $identifier-kvid-10
* for.identifier.value = "X123456789"
* lastModified = "2022-03-18T15:28:00+00:00"
* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription"
Expand Down Expand Up @@ -162,7 +162,7 @@ Usage: #example
* intent = #order
* authoredOn = "2022-03-18T15:26:00+00:00"
* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke"
* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10"
* for.identifier.system = $identifier-kvid-10
* for.identifier.value = "X123456789"
* lastModified = "2022-03-18T15:29:00+00:00"
* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription"
Expand Down
2 changes: 1 addition & 1 deletion Resources/input/fsh/profiles/GEM_ERP_PR_AuditEvent.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Title: "AuditEvent for Logging of ePrescription Access"
* outcome 1..
* agent.type 1..
* agent.who.identifier 1..
* agent.who.identifier only IdentifierTelematikId or $identifier-kvid-10
* agent.who.identifier only IdentifierTelematikId or IdentifierKvid10
* agent.name 1..
* source.site 1..
* source.site = "E-Rezept Fachdienst" (exactly)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Description: "Ressource used for the communication of dispense request between p
* ^short = "The entity (e.g. person, organization) which was the source of the communication."
* ^comment = "Set by ePrescription server using client AuthN-Credential"
* sender.identifier 1.. MS
* sender.identifier only $identifier-kvid-10
* sender.identifier only IdentifierKvid10
* payload 0..1 MS
//* payload.extension ^slicing.discriminator.type = #value
//* payload.extension ^slicing.discriminator.path = "url"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Description: "Ressource used for the communication of informative requests betwe
* ^comment = "Set by ePrescription server using client AuthN-Credential"
* sender ^definition = "Message sender - set by ePrescription server using client AuthN-Credential\r\nThe entity (e.g. person, organization) which was the source of the communication."
* sender.identifier 1..1
* sender.identifier only $identifier-kvid-10
* sender.identifier only IdentifierKvid10
* payload 1..1
* payload.extension ^slicing.discriminator.type = #value
* payload.extension ^slicing.discriminator.path = "url"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ Description: "Ressource used for the communication of the reply to dispense/info
* ^short = "The entity (e.g. person, organization) which was the target of the communication."
* ^comment = "This needs to be set by the sender of the communication to define the target."
* recipient.identifier 1..1
* recipient.identifier only $identifier-kvid-10
* recipient.identifier only IdentifierKvid10
//* sender only Reference(Organization or Practitioner or PractitionerRole or HealthcareService)
* sender MS
* ^short = "The entity (e.g. person, organization) which was the source of the communication."
* ^comment = "Set by ePrescription server using client AuthN-Credential"
* sender ^definition = "Message sender - set by ePrescription server using client AuthN-Credential\r\nThe entity (e.g. person, organization) which was the source of the communication."
* sender.identifier 1..1
* sender.identifier only $identifier-kvid-10 or IdentifierTelematikId
* sender.identifier only IdentifierKvid10 or IdentifierTelematikId
* payload 1..1
* payload.extension ^slicing.discriminator.type = #value
* payload.extension ^slicing.discriminator.path = "url"
Expand Down
Loading

0 comments on commit ee82ad4

Please sign in to comment.