-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add the DiGA and eML examples for the API-Docs
- Loading branch information
Showing
10 changed files
with
948 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<Task xmlns="http://hl7.org/fhir"> | ||
<id value="162.123.456.789.123.58"/> | ||
<meta> | ||
<versionId value="1"/> | ||
<lastUpdated value="2025-03-02T08:26:21.594+00:00"/> | ||
<profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task|1.4"/> | ||
</meta> | ||
<extension url="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType"> | ||
<valueCodeableConcept> | ||
<coding> | ||
<system value="https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" /> | ||
<code value="162" /> | ||
<display value="Muster 16 (Digitale Gesundheitsanwendungen)" /> | ||
</coding> | ||
</valueCodeableConcept> | ||
</extension> | ||
<extension url="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate"> | ||
<valueDateTime value="2025-06-02" /> | ||
</extension> | ||
<extension url="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate"> | ||
<valueDateTime value="2025-06-02" /> | ||
</extension> | ||
<identifier> | ||
<use value="official"/> | ||
<system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> | ||
<value value="162.123.456.789.123.58"/> | ||
</identifier> | ||
<identifier> | ||
<use value="official"/> | ||
<system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode"/> | ||
<value value="777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea"/> | ||
</identifier> | ||
<status value="draft"/> | ||
<intent value="order"/> | ||
<authoredOn value="2025-03-02T08:25:05+00:00"/> | ||
<lastModified value="2025-03-02T08:25:05+00:00"/> | ||
<performerType> | ||
<coding> | ||
<system value="urn:ietf:rfc:3986"/> | ||
<code value="urn:oid:1.2.276.0.76.4.59"/> | ||
<display value="Kostenträger"/> | ||
</coding> | ||
<text value="Kostenträger"/> | ||
</performerType> | ||
</Task> |
114 changes: 114 additions & 0 deletions
114
API-Examples/2024-11-01/erp_diga/02_response_fhir_vzd.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
{ | ||
"resourceType": "Bundle", | ||
"id": "1503938d-6761-4cdd-b0a9-3723d5b5a5e4", | ||
"meta": { | ||
"lastUpdated": "2024-07-02T12:57:06.425+02:00" | ||
}, | ||
"type": "searchset", | ||
"total": 2, | ||
"entry": [ | ||
{ | ||
"fullUrl": "https://fhir-directory-ref.vzd.ti-dienste.de/search/HealthcareService/f86e1f95-08f1-4651-aed5-dfd82ce2b05e", | ||
"resource": { | ||
"resourceType": "HealthcareService", | ||
"id": "f86e1f95-08f1-4651-aed5-dfd82ce2b05e", | ||
"meta": { | ||
"versionId": "4", | ||
"lastUpdated": "2024-03-27T17:55:10.913+01:00", | ||
"profile": [ | ||
"https://gematik.de/fhir/directory/StructureDefinition/HealthcareServiceDirectory" | ||
], | ||
"tag": [ | ||
{ | ||
"system": "https://gematik.de/fhir/directory/CodeSystem/Origin", | ||
"code": "ldap", | ||
"display": "Synchronized from LDAP VZD", | ||
"userSelected": false | ||
} | ||
] | ||
}, | ||
"identifier": [ | ||
{ | ||
"system": "https://gematik.de/fhir/directory/CodeSystem/ldapUID", | ||
"value": "6f01ba0b-5d78-4bb1-a789-9a8be7f30ca3" | ||
} | ||
], | ||
"providedBy": { | ||
"reference": "Organization/235f4997-acea-41b3-85db-c54c4ffd2fc2" | ||
}, | ||
"location": [ | ||
{ | ||
"reference": "Location/6ac29f34-f531-4fc2-b530-c1a9f143b1d1" | ||
} | ||
] | ||
}, | ||
"search": { | ||
"mode": "match" | ||
} | ||
}, | ||
{ | ||
"fullUrl": "https://fhir-directory-ref.vzd.ti-dienste.de/search/Organization/235f4997-acea-41b3-85db-c54c4ffd2fc2", | ||
"resource": { | ||
"resourceType": "Organization", | ||
"id": "235f4997-acea-41b3-85db-c54c4ffd2fc2", | ||
"meta": { | ||
"versionId": "2", | ||
"lastUpdated": "2024-02-26T12:38:14.001+01:00", | ||
"source": "#2WkZQ3ZhfsTF9vgi", | ||
"profile": [ | ||
"https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" | ||
], | ||
"tag": [ | ||
{ | ||
"system": "https://gematik.de/fhir/directory/CodeSystem/Origin", | ||
"code": "ldap", | ||
"display": "Synchronized from LDAP VZD", | ||
"userSelected": false | ||
} | ||
] | ||
}, | ||
"identifier": [ | ||
{ | ||
"type": { | ||
"coding": [ | ||
{ | ||
"system": "http://terminology.hl7.org/CodeSystem/v2-0203", | ||
"code": "PRN" | ||
} | ||
] | ||
}, | ||
"system": "https://gematik.de/fhir/sid/telematik-id", | ||
"value": "8-01-0000000232" | ||
}, | ||
{ | ||
"system": "http://fhir.de/StructureDefinition/identifier-iknr", | ||
"value": "107815761" | ||
}, | ||
{ | ||
"system": "https://gematik.de/fhir/directory/CodeSystem/ldapUID", | ||
"value": "6f01ba0b-5d78-4bb1-a789-9a8be7f30ca3" | ||
} | ||
], | ||
"active": true, | ||
"type": [ | ||
{ | ||
"coding": [ | ||
{ | ||
"system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID", | ||
"code": "1.2.276.0.76.4.59", | ||
"display": "Betriebsstätte Kostenträger" | ||
} | ||
] | ||
} | ||
], | ||
"name": "AOK Baden-Württemberg", | ||
"alias": [ | ||
"AOK Baden-Württemberg NOT-VALID" | ||
] | ||
}, | ||
"search": { | ||
"mode": "include" | ||
} | ||
} | ||
] | ||
} |
45 changes: 45 additions & 0 deletions
45
API-Examples/2024-11-01/erp_diga/03_communication_zuweisung_diga.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"resourceType": "Communication", | ||
"id": "2be1c6ac-5d10-47f6-84ee-8318b2c22c76", | ||
"meta": { | ||
"profile": [ | ||
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|1.4" | ||
], | ||
"tag": [ | ||
{ | ||
"display": "Communication message sent by patient to pharmacy to request the dispensation of medicine by providing the AccessCode" | ||
} | ||
] | ||
}, | ||
"status": "unknown", | ||
"extension": [ | ||
{ | ||
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType", | ||
"valueCoding": { | ||
"code": "162", | ||
"system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType", | ||
"display": "Muster 16 (Digitale Gesundheitsanwendungen)" | ||
} | ||
} | ||
], | ||
"recipient": [ | ||
{ | ||
"identifier": { | ||
"system": "https://gematik.de/fhir/sid/telematik-id", | ||
"value": "8-01-0000000232" | ||
} | ||
} | ||
], | ||
"basedOn": [ | ||
{ | ||
"reference": "Task/162.000.033.491.280.78/$accept?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" | ||
} | ||
], | ||
"sender": { | ||
"identifier": { | ||
"system": "http://fhir.de/sid/gkv/kvid-10", | ||
"value": "X234567890" | ||
} | ||
}, | ||
"sent": "2025-03-02T13:44:30.128+02:00" | ||
} |
46 changes: 46 additions & 0 deletions
46
API-Examples/2024-11-01/erp_diga/04_medication_dispense_diga.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"resourceType": "MedicationDispense", | ||
"id": "23dddf62-881c-4db9-8a96-22be7d58f7bd", | ||
"meta": { | ||
"profile": [ | ||
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4" | ||
] | ||
}, | ||
"extension": [ | ||
{ | ||
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode", | ||
"valueString": "DE12345678901234" | ||
} | ||
], | ||
"identifier": [ | ||
{ | ||
"system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", | ||
"value": "162.123.456.789.123.58" | ||
} | ||
], | ||
"status": "completed", | ||
"medicationReference": { | ||
"identifier": { | ||
"system": "https://fhir.bfarm.de/Identifier/DigaVeId", | ||
"value": "12345678" | ||
}, | ||
"display": "Gematico Diabetestherapie" | ||
}, | ||
"subject": { | ||
"identifier": { | ||
"system": "http://fhir.de/sid/gkv/kvid-10", | ||
"value": "X123456789" | ||
} | ||
}, | ||
"performer": [ | ||
{ | ||
"actor": { | ||
"identifier": { | ||
"system": "https://gematik.de/fhir/sid/telematik-id", | ||
"value": "8-SMC-B-Testkarte-883110000095957" | ||
} | ||
} | ||
} | ||
], | ||
"whenHandedOver": "2024-04-03" | ||
} |
101 changes: 101 additions & 0 deletions
101
API-Examples/2024-11-01/erp_diga/05_response_accept.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<Bundle xmlns="http://hl7.org/fhir"> | ||
<id value="d5e04846-e753-4a91-ab60-9e4c6fb4b533" /> | ||
<type value="collection" /> | ||
<timestamp value="2025-03-03T08:26:21.594+00:00" /> | ||
<link> | ||
<relation value="self" /> | ||
<url | ||
value="https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/162.123.456.789.123.58/$accept/" /> | ||
</link> | ||
<entry> | ||
<fullUrl value="https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/162.123.456.789.123.58" /> | ||
<resource> | ||
<Task xmlns="http://hl7.org/fhir"> | ||
<id value="162.123.456.789.123.58" /> | ||
<meta> | ||
<versionId value="1" /> | ||
<lastUpdated value="2025-03-03T08:26:21.594+00:00" /> | ||
<profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task|1.4" /> | ||
</meta> | ||
<extension url="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType"> | ||
<valueCodeableConcept> | ||
<coding> | ||
<system value="https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" /> | ||
<code value="162" /> | ||
<display value="Muster 16 (Digitale Gesundheitsanwendungen)" /> | ||
</coding> | ||
</valueCodeableConcept> | ||
</extension> | ||
<extension url="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate"> | ||
<valueDateTime value="2025-06-02" /> | ||
</extension> | ||
<extension url="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate"> | ||
<valueDateTime value="2025-06-02" /> | ||
</extension> | ||
<identifier> | ||
<use value="official" /> | ||
<system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" /> | ||
<value value="162.123.456.789.123.58" /> | ||
</identifier> | ||
<identifier> | ||
<use value="official" /> | ||
<system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" /> | ||
<value value="777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" /> | ||
</identifier> | ||
<identifier> | ||
<use value="official"/> | ||
<system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_Secret"/> | ||
<value value="90bcf075768d582571ede9f241a8365bf8d12a19c6e353940ae070cb34f5fb7c"/> | ||
</identifier> | ||
<status value="draft" /> | ||
<intent value="order" /> | ||
<authoredOn value="2025-03-02T08:25:05+00:00" /> | ||
<lastModified value="2025-03-02T08:25:05+00:00" /> | ||
<performerType> | ||
<coding> | ||
<system value="urn:ietf:rfc:3986" /> | ||
<code value="urn:oid:1.2.276.0.76.4.59" /> | ||
<display value="Kostenträger" /> | ||
</coding> | ||
<text value="Kostenträger" /> | ||
</performerType> | ||
<for> | ||
<identifier> | ||
<system value="http://fhir.de/sid/gkv/kvid-10"/> | ||
<value value="X123456789"/> | ||
</identifier> | ||
</for> | ||
<owner> | ||
<identifier> | ||
<system value="https://gematik.de/fhir/sid/telematik-id" /> | ||
<value value="8-SMC-B-Testkarte-883110000116873" /> | ||
</identifier> | ||
</owner> | ||
<input> | ||
<type> | ||
<coding> | ||
<system value="https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType" /> | ||
<code value="1" /> | ||
</coding> | ||
</type> | ||
<valueReference> | ||
<reference value="a061507a-0d00-0000-0001-000000000000" /> | ||
</valueReference> | ||
</input> | ||
</Task> | ||
</resource> | ||
</entry> | ||
<entry> | ||
<fullUrl value="urn:uuid:a061507a-0d00-0000-0001-000000000000" /> | ||
<resource> | ||
<Binary xmlns="http://hl7.org/fhir"> | ||
<meta> | ||
<versionId value="1" /> | ||
<profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Binary|1.2" /> | ||
</meta> | ||
<contentType value="application/pkcs7-mime" /> | ||
<data value="MII1GwYJKoZIhvcNAQ..." /> | ||
</Binary> | ||
</resource> | ||
</entry> | ||
</Bundle> |
37 changes: 37 additions & 0 deletions
37
API-Examples/2024-11-01/erp_diga/06_medication_dispense_diga.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<MedicationDispense xmlns="http://hl7.org/fhir"> | ||
<id value="23dddf62-881c-4db9-8a96-22be7d58f7bd"/> | ||
<meta> | ||
<profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4"/> | ||
</meta> | ||
<extension url="https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode"> | ||
<valueString value="DE12345678901234"/> | ||
</extension> | ||
<identifier> | ||
<system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> | ||
<value value="162.123.456.789.123.58"/> | ||
</identifier> | ||
<status value="completed"/> | ||
<medicationReference> | ||
<identifier> | ||
<system value="https://fhir.bfarm.de/Identifier/DigaVeId"/> | ||
<value value="12345678"/> | ||
</identifier> | ||
<display value="Gematico Diabetestherapie"/> | ||
</medicationReference> | ||
<subject> | ||
<identifier> | ||
<system value="http://fhir.de/sid/gkv/kvid-10"/> | ||
<value value="X123456789"/> | ||
</identifier> | ||
</subject> | ||
<performer> | ||
<actor> | ||
<identifier> | ||
<system value="https://gematik.de/fhir/sid/telematik-id"/> | ||
<value value="8-SMC-B-Testkarte-883110000095957"/> | ||
</identifier> | ||
</actor> | ||
</performer> | ||
<whenHandedOver value="2024-04-03"/> | ||
</MedicationDispense> |
Oops, something went wrong.