Skip to content

Commit

Permalink
add the scripts to generate and convert the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrejvr committed Aug 7, 2024
1 parent 1ba5d9f commit 559acff
Show file tree
Hide file tree
Showing 225 changed files with 9,819 additions and 106 deletions.
16 changes: 8 additions & 8 deletions API-Examples/FSH-Files/fsh-generated/fsh-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,18 +232,18 @@
"endLine": 18
},
{
"outputFile": "MedicationDispense-dffbfd6a-5712-4798-bdc8-07201eb77ab8.json",
"fshName": "erp-abrufen-08-response-taskDispense",
"outputFile": "MedicationDispense-erp-abrufen-06-request-taskClose.json",
"fshName": "erp-abrufen-06-request-taskClose",
"fshType": "Instance",
"fshFile": "examples\\erp_abrufen\\08_response_taskDispense.fsh",
"fshFile": "examples\\erp_abrufen\\06_request_taskClose.fsh",
"startLine": 1,
"endLine": 17
"endLine": 16
},
{
"outputFile": "MedicationDispense-erp-abrufen-06-request-taskClose.json",
"fshName": "erp-abrufen-06-request-taskClose",
"outputFile": "MedicationDispense-erp-abrufen-08-response-taskDispense.json",
"fshName": "erp-abrufen-08-response-taskDispense",
"fshType": "Instance",
"fshFile": "examples\\erp_abrufen\\06_request_taskClose.fsh",
"fshFile": "examples\\erp_abrufen\\08_response_taskDispense.fsh",
"startLine": 1,
"endLine": 16
},
Expand Down Expand Up @@ -333,6 +333,6 @@
"fshType": "Instance",
"fshFile": "examples\\erp_steuerung_durch_le\\02_response_taskCreate169.fsh",
"startLine": 1,
"endLine": 18
"endLine": 23
}
]
4 changes: 2 additions & 2 deletions API-Examples/FSH-Files/fsh-generated/fsh-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Consent-erp-consent-01-request-PostConsent.json e
Consent-erp-consent-02-response-PostConsent.json erp-consent-02-response-PostConsent Instance examples\erp_consent\02_response_PostConsent.fsh 1 - 12
Medication-erp-eml-epa-notes-03-Medication-Medication-Rezeptur.json erp-eml-epa-notes-03-Medication-Medication-Rezeptur Instance examples\erp_eml_epa_notes\03_Medication-Medication-Rezeptur.fsh 1 - 28
Medication-erp-eml-epa-notes-04-Medication-Medication-Kombipackung.json erp-eml-epa-notes-04-Medication-Medication-Kombipackung Instance examples\erp_eml_epa_notes\04_Medication-Medication-Kombipackung.fsh 1 - 18
MedicationDispense-dffbfd6a-5712-4798-bdc8-07201eb77ab8.json erp-abrufen-08-response-taskDispense Instance examples\erp_abrufen\08_response_taskDispense.fsh 1 - 17
MedicationDispense-erp-abrufen-06-request-taskClose.json erp-abrufen-06-request-taskClose Instance examples\erp_abrufen\06_request_taskClose.fsh 1 - 16
MedicationDispense-erp-abrufen-08-response-taskDispense.json erp-abrufen-08-response-taskDispense Instance examples\erp_abrufen\08_response_taskDispense.fsh 1 - 16
MedicationDispense-erp-diga-06-medication-dispense-diga.json erp-diga-06-medication-dispense-diga Instance examples\erp_diga\06_medication_dispense_diga.fsh 1 - 17
OperationOutcome-erp-statuscodes-01-example-operationOutcome-validation.json erp-statuscodes-01-example-operationOutcome-validation Instance examples\erp_statuscodes\01_example_operationOutcome_validation.fsh 1 - 7
OperationOutcome-erp-statuscodes-02-example-operationOutcome-status.json erp-statuscodes-02-example-operationOutcome-status Instance examples\erp_statuscodes\02_example_operationOutcome_status.fsh 1 - 6
Expand All @@ -40,4 +40,4 @@ Parameters-erp-steuerung-durch-le-01-request-taskCreate169.json e
Parameters-erp-steuerung-durch-le-03-request-taskActivate169.json erp-steuerung-durch-le-03-request-taskActivate169 Instance examples\erp_steuerung_durch_le\03_request_taskActivate169.fsh 1 - 7
Task-erp-bereitstellen-01-response-taskCreate.json erp-bereitstellen-01-response-taskCreate Instance examples\erp_bereitstellen\01_response_taskCreate.fsh 1 - 21
Task-erp-diga-01-task-162-create.json erp-diga-01-task-162-create Instance examples\erp_diga\01_task_162_create.fsh 1 - 20
Task-erp-steuerung-durch-le-02-response-taskCreate169.json erp-steuerung-durch-le-02-response-taskCreate169 Instance examples\erp_steuerung_durch_le\02_response_taskCreate169.fsh 1 - 18
Task-erp-steuerung-durch-le-02-response-taskCreate169.json erp-steuerung-durch-le-02-response-taskCreate169 Instance examples\erp_steuerung_durch_le\02_response_taskCreate169.fsh 1 - 23
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[erp-abrufen-03-request-recovery-secret]: Bundle-erp-abrufen-03-request-recovery-secret.html
[erp-abrufen-06-request-taskClose]: MedicationDispense-erp-abrufen-06-request-taskClose.html
[erp-abrufen-07-request-taskCloseMultiple]: Bundle-erp-abrufen-07-request-taskCloseMultiple.html
[dffbfd6a-5712-4798-bdc8-07201eb77ab8]: MedicationDispense-dffbfd6a-5712-4798-bdc8-07201eb77ab8.html
[erp-abrufen-08-response-taskDispense]: MedicationDispense-erp-abrufen-08-response-taskDispense.html
[erp-abrufen-egk-05-Response-Task]: Bundle-erp-abrufen-egk-05-Response-Task.html
[erp-alternative-zuweisung-03-certificate-in-apovzd]: Binary-erp-alternative-zuweisung-03-certificate-in-apovzd.html
[erp-bereitstellen-01-response-taskCreate]: Task-erp-bereitstellen-01-response-taskCreate.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
},
"extension": [
{
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType",
"valueCoding": {
"code": "160",
"system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType",
"code": "160",
"display": "Muster 16 (Apothekenpflichtige Arzneimittel)"
}
},
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType"
},
{
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate",
Expand Down Expand Up @@ -61,8 +61,8 @@
{
"coding": [
{
"code": "urn:oid:1.2.276.0.76.4.54",
"system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType",
"code": "urn:oid:1.2.276.0.76.4.54",
"display": "Öffentliche Apotheke"
}
]
Expand All @@ -79,8 +79,8 @@
"type": {
"coding": [
{
"code": "1",
"system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType",
"code": "1",
"display": "Health Care Provider Prescription"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
},
"extension": [
{
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType",
"valueCoding": {
"code": "200",
"system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType",
"code": "200",
"display": "PKV (Apothekenpflichtige Arzneimittel)"
}
},
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType"
},
{
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate",
Expand Down Expand Up @@ -63,8 +63,8 @@
{
"coding": [
{
"code": "urn:oid:1.2.276.0.76.4.54",
"system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType",
"code": "urn:oid:1.2.276.0.76.4.54",
"display": "Öffentliche Apotheke"
}
],
Expand All @@ -76,8 +76,8 @@
"type": {
"coding": [
{
"code": "1",
"system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType"
"system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType",
"code": "1"
}
]
},
Expand Down Expand Up @@ -117,12 +117,21 @@
"https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Consent|1.0"
]
},
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "patient-privacy",
"display": "Privacy Consent"
}
]
},
"category": [
{
"coding": [
{
"code": "CHARGCONS",
"system": "https://gematik.de/fhir/erpchrg/CodeSystem/GEM_ERPCHRG_CS_ConsentType",
"code": "CHARGCONS",
"display": "Consent for saving electronic charge item"
}
]
Expand All @@ -134,25 +143,16 @@
"value": "X110465770"
}
},
"status": "active",
"scope": {
"coding": [
{
"code": "patient-privacy",
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"display": "Privacy Consent"
}
]
},
"dateTime": "2023-03-10T07:46:39.000+00:00",
"policyRule": {
"coding": [
{
"code": "OPTIN",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "OPTIN"
}
]
}
},
"status": "active",
"dateTime": "2023-03-10T07:46:39.000+00:00"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
},
"extension": [
{
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType",
"valueCoding": {
"code": "160",
"system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType",
"code": "160",
"display": "Muster 16 (Apothekenpflichtige Arzneimittel)"
}
},
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType"
},
{
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate",
Expand Down Expand Up @@ -58,8 +58,8 @@
{
"coding": [
{
"code": "urn:oid:1.2.276.0.76.4.54",
"system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType",
"code": "urn:oid:1.2.276.0.76.4.54",
"display": "Öffentliche Apotheke"
}
],
Expand All @@ -77,8 +77,8 @@
"type": {
"coding": [
{
"code": "1",
"system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType"
"system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType",
"code": "1"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
},
"extension": [
{
"url": "https://gematik.de/fhir/StructureDefinition/PrescriptionType",
"valueCoding": {
"code": "160",
"system": "https://gematik.de/fhir/CodeSystem/Flowtype",
"code": "160",
"display": "Muster 16 (Apothekenpflichtige Arzneimittel)"
}
},
"url": "https://gematik.de/fhir/StructureDefinition/PrescriptionType"
},
{
"url": "https://gematik.de/fhir/StructureDefinition/ExpiryDate",
Expand Down Expand Up @@ -55,8 +55,8 @@
{
"coding": [
{
"code": "urn:oid:1.2.276.0.76.4.54",
"system": "urn:ietf:rfc:3986",
"code": "urn:oid:1.2.276.0.76.4.54",
"display": "Öffentliche Apotheke"
}
],
Expand Down Expand Up @@ -84,12 +84,12 @@
},
"extension": [
{
"url": "https://gematik.de/fhir/StructureDefinition/PrescriptionType",
"valueCoding": {
"code": "160",
"system": "https://gematik.de/fhir/CodeSystem/Flowtype",
"code": "160",
"display": "Muster 16 (Apothekenpflichtige Arzneimittel)"
}
},
"url": "https://gematik.de/fhir/StructureDefinition/PrescriptionType"
},
{
"url": "https://gematik.de/fhir/StructureDefinition/ExpiryDate",
Expand Down Expand Up @@ -122,8 +122,8 @@
{
"coding": [
{
"code": "urn:oid:1.2.276.0.76.4.54",
"system": "urn:ietf:rfc:3986",
"code": "urn:oid:1.2.276.0.76.4.54",
"display": "Öffentliche Apotheke"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"id": "162.123.456.789.123.58",
"meta": {
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task|1.4"
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task|1.3"
],
"versionId": "1",
"lastUpdated": "2025-03-03T08:26:21.594+00:00"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "erp-diga-03-communication-zuweisung-diga",
"meta": {
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|1.4"
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|1.3"
],
"tag": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
},
{
"reference": {
"reference": "MedicationDispense/dffbfd6a-5712-4798-bdc8-07201eb77ab8"
"reference": "MedicationDispense/erp-abrufen-08-response-taskDispense"
},
"name": "erp-abrufen-08-response-taskDispense",
"exampleBoolean": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "erp-eml-epa-notes-03-Medication-Medication-Rezeptur",
"meta": {
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4"
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.3"
]
},
"contained": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "erp-eml-epa-notes-04-Medication-Medication-Kombipackung",
"meta": {
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4"
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.3"
]
},
"contained": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "MedicationDispense",
"id": "dffbfd6a-5712-4798-bdc8-07201eb77ab8",
"id": "erp-abrufen-08-response-taskDispense",
"meta": {
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "erp-diga-06-medication-dispense-diga",
"meta": {
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4"
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.3"
]
},
"extension": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "erp-eml-epa-notes-01-Parameters-ExampleCloseInputParameters",
"meta": {
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4"
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.3"
]
},
"parameter": [
Expand All @@ -13,7 +13,7 @@
"resource": {
"meta": {
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4"
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"
]
},
"resourceType": "MedicationDispense",
Expand Down Expand Up @@ -53,7 +53,7 @@
"resource": {
"meta": {
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4"
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.3"
]
},
"resourceType": "Medication",
Expand Down
Loading

0 comments on commit 559acff

Please sign in to comment.