Skip to content

Commit

Permalink
Merge branch 'feature/dependency-update-kbvitaerp' into feature/devco…
Browse files Browse the repository at this point in the history
…ntainer
  • Loading branch information
florianschoffke committed Dec 15, 2023
2 parents 6727ad5 + df6d508 commit 5b68f8f
Show file tree
Hide file tree
Showing 31 changed files with 70 additions and 200 deletions.
35 changes: 26 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,45 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20'

# Java and .NET are already installed on ubuntu-latest
# Install .NET runtime
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x

# Install Java runtime (only needed if you want to run the offical HL7 Java validator)
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '17'

- name: Firely.Terminal (GitHub Actions)
uses: FirelyTeam/firely-terminal-pipeline@v0.3.2
uses: FirelyTeam/firely-terminal-pipeline@v0.4.0
with:
PATH_TO_CONFORMANCE_RESOURCES: Resources/fsh-generated/resources/
FIRELY_TERMINAL_VERSION: 3.1.0
#PATH_TO_EXAMPLES: Examples
PATH_TO_QUALITY_CONTROL_RULES: qc/custom
#PATH_TO_QUALITY_CONTROL_RULES: qc/custom
DOTNET_VALIDATION_ENABLED: true
JAVA_VALIDATION_ENABLED: true
OUTPUT_FORMAT: RAW
JAVA_VALIDATION_OPTIONS: -allow-example-urls true
JAVA_VALIDATOR_VERSION: 6.0.11
SIMPLIFIER_USERNAME: ${{ secrets.SIMPLIFIER_USERNAME }}
SIMPLIFIER_PASSWORD: ${{ secrets.SIMPLIFIER_PASSWORD }}
SUSHI_ENABLED: true
SUSHI_VERSION: 3.5.0
SUSHI_OPTIONS: Resources/
EXPECTED_FAILS: VALIDATION_CONFORMANCE_DOTNET VALIDATION_CONFORMANCE_JAVA VALIDATION_EXAMPLES_JAVA

- name: Add & Commit
uses: EndBug/add-and-commit@v7
with:
add: 'Resources/fsh-generated/resources/'
- name: Check for Uncommitted Changes
run: |
git diff --exit-code 'Resources/fsh-generated/resources'|| (echo "Es gibt Änderungen durch die Pipeline. Lokale Sushi Konfiguration prüfen!" && exit 1)
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"id": "GEM-ERP-CS-AvailabilityStatus",
"title": "CodeSystem of AvailabilityStatus",
"description": "Type of the availability status for medication availability request.",
"version": "1.2",
"url": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_AvailabilityStatus",
"concept": [
{
Expand Down Expand Up @@ -34,6 +33,7 @@
"display": "unbekannt"
}
],
"version": "1.2",
"publisher": "gematik GmbH",
"contact": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"id": "GEM-ERP-CS-DocumentType",
"title": "CodeSystem of Documenttypes",
"description": "Type of document depending on the recipient of the Bundle.",
"version": "1.2",
"url": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType",
"concept": [
{
Expand All @@ -22,6 +21,7 @@
"display": "Receipt"
}
],
"version": "1.2",
"publisher": "gematik GmbH",
"contact": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"id": "GEM-ERP-CS-FlowType",
"title": "CodeSystem of Flowtypes",
"description": "Shows the different types of the ePrescription according to the prescription forms.",
"version": "1.2",
"url": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType",
"concept": [
{
Expand Down Expand Up @@ -46,6 +45,7 @@
"display": "reserviert für Pharmazeutische Dienstleistungen bzw. Impfungen durch Apotheker"
}
],
"version": "1.2",
"publisher": "gematik GmbH",
"contact": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"id": "GEM-ERP-CS-OrganizationType",
"title": "CodeSystem of Organizationtype Codes",
"description": "Type of Organiziation where to get e-prescriptions dispensed",
"version": "1.2",
"url": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType",
"concept": [
{
"code": "urn:oid:1.2.276.0.76.4.54",
"display": "Öffentliche Apotheke"
}
],
"version": "1.2",
"publisher": "gematik GmbH",
"contact": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_BfArMApproval|1.2"
]
},
"entity": [
{
"role": "source",
"what": {
"identifier": {
"system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
"value": "165.100.000.000.024.67"
}
}
}
],
"agent": [
{
"type": {
Expand All @@ -27,17 +38,6 @@
}
}
],
"entity": [
{
"role": "source",
"what": {
"identifier": {
"system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
"value": "165.100.000.000.024.67"
}
}
}
],
"signature": [
{
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,57 +48,57 @@
"min": 3
},
{
"id": "Extension.extension:onPremise",
"id": "Extension.extension:delivery",
"path": "Extension.extension",
"sliceName": "onPremise",
"short": "dispensation is offered/preferred on premise",
"definition": "Patient or pharmacy may state their preferred or offered supply option to pick up medications on Premise",
"sliceName": "delivery",
"short": "dispensation is offered/preferred by messenger",
"definition": "Patient or pharmacy may state their preferred or offered supply option to deliver medication by messenger",
"min": 1,
"max": "1"
},
{
"id": "Extension.extension:onPremise.extension",
"id": "Extension.extension:delivery.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:onPremise.url",
"id": "Extension.extension:delivery.url",
"path": "Extension.extension.url",
"fixedUri": "onPremise"
"fixedUri": "delivery"
},
{
"id": "Extension.extension:onPremise.value[x]",
"id": "Extension.extension:delivery.value[x]",
"path": "Extension.extension.value[x]",
"short": "true = pick up on premise accepted/offered",
"short": "true = delivery by messenger accepted/offered",
"type": [
{
"code": "boolean"
}
]
},
{
"id": "Extension.extension:delivery",
"id": "Extension.extension:onPremise",
"path": "Extension.extension",
"sliceName": "delivery",
"short": "dispensation is offered/preferred by messenger",
"definition": "Patient or pharmacy may state their preferred or offered supply option to deliver medication by messenger",
"sliceName": "onPremise",
"short": "dispensation is offered/preferred on premise",
"definition": "Patient or pharmacy may state their preferred or offered supply option to pick up medications on Premise",
"min": 1,
"max": "1"
},
{
"id": "Extension.extension:delivery.extension",
"id": "Extension.extension:onPremise.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:delivery.url",
"id": "Extension.extension:onPremise.url",
"path": "Extension.extension.url",
"fixedUri": "delivery"
"fixedUri": "onPremise"
},
{
"id": "Extension.extension:delivery.value[x]",
"id": "Extension.extension:onPremise.value[x]",
"path": "Extension.extension.value[x]",
"short": "true = delivery by messenger accepted/offered",
"short": "true = pick up on premise accepted/offered",
"type": [
{
"code": "boolean"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"resourceType": "StructureDefinition",
"id": "GEM-ERP-PAR-OUT-OP-Accept",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Foundation.Other"
}
],
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PAR_OUT_OP_Accept",
"version": "1.2",
"name": "GEM_ERP_PAR_OUT_OP_Accept",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@
"meta": {
"lastUpdated": "2020-04-16T13:41:55.87+00:00"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Foundation.Security"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "not-classified"
}
],
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_AuditEvent",
"version": "1.2",
"name": "GEM_ERP_PR_AuditEvent",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
{
"resourceType": "StructureDefinition",
"id": "GEM-ERP-PR-BfArMApproval",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Foundation.Security"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "not-classified"
}
],
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_BfArMApproval",
"version": "1.2",
"name": "GEM_ERP_PR_BfArMApproval",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
{
"resourceType": "StructureDefinition",
"id": "GEM-ERP-PR-Binary",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Foundation.Other"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "not-classified"
}
],
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Binary",
"version": "1.2",
"name": "GEM_ERP_PR_Binary",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
{
"resourceType": "StructureDefinition",
"id": "GEM-ERP-PR-Bundle",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Foundation.Other"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "not-classified"
}
],
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle",
"version": "1.2",
"name": "GEM_ERP_PR_Bundle",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
{
"resourceType": "StructureDefinition",
"id": "GEM-ERP-PR-CloseOperationInputBundle",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Foundation.Other"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "not-classified"
}
],
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle",
"version": "1.2",
"name": "GEM_ERP_PR_CloseOperationInputBundle",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@
"meta": {
"lastUpdated": "2020-04-16T13:43:30.128+00:00"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Clinical.Request & Response"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "patient"
}
],
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq",
"version": "1.2",
"name": "GEM_ERP_PR_Communication_DispReq",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@
"meta": {
"lastUpdated": "2020-04-16T13:43:30.128+00:00"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Clinical.Request & Response"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "patient"
}
],
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_InfoReq",
"version": "1.2",
"name": "GEM_ERP_PR_Communication_InfoReq",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@
"meta": {
"lastUpdated": "2020-04-16T13:43:30.128+00:00"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Clinical.Request & Response"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "patient"
}
],
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_Reply",
"version": "1.2",
"name": "GEM_ERP_PR_Communication_Reply",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@
"meta": {
"lastUpdated": "2020-04-16T13:43:30.128+00:00"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Clinical.Request & Response"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "patient"
}
],
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_Representative",
"version": "1.2",
"name": "GEM_ERP_PR_Communication_Representative",
Expand Down
Loading

0 comments on commit 5b68f8f

Please sign in to comment.