Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/fsh #12

Merged
merged 7 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,17 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:

- name: Checkout code
uses: actions/checkout@v2

# Install .NET runtime
- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
dotnet-version: 3.1.x

# Install Java runtime (only needed if you want to run the offical HL7 Java validator)
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 1.8
# Java and .NET are already installed on ubuntu-latest

- 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: extensions terminologie/ValueSet ressourcen-profile logical-models searchparameter
PATH_TO_EXAMPLES: beispiele
PATH_TO_CONFORMANCE_RESOURCES: fsh-generated/resources
PATH_TO_EXAMPLES: fsh-generated/resources
PATH_TO_QUALITY_CONTROL_RULES: qc/custom
DOTNET_VALIDATION_ENABLED: true
JAVA_VALIDATION_ENABLED: true
Expand All @@ -51,3 +42,4 @@ jobs:
JAVA_VALIDATION_OPTIONS: -allow-example-urls true
SIMPLIFIER_USERNAME: ${{ secrets.SIMPLIFIER_USERNAME }}
SIMPLIFIER_PASSWORD: ${{ secrets.SIMPLIFIER_PASSWORD }}
JAVA_VALIDATOR_VERSION: 6.0.23
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
/fhirpkg.lock.json
/ModulProzedur.xlsx
/.history/
fsh-generated/includes
.DS_Store
fsh-generated/resources/ImplementationGuide-mii-ig-prozedur*
47 changes: 0 additions & 47 deletions beispiele/Example-Procedure.json

This file was deleted.

57 changes: 0 additions & 57 deletions extensions/sd-mii-prozedur-durchfuehrungsabsicht.xml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
{
"resourceType": "CapabilityStatement",
"id": "cps-mii-prozedur-capabilitystatement",
"id": "mii-cps-prozedur-capabilitystatement",
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-prozedur/CapabilityStatement/metadata",
"version": "2.0.0-ballot",
"name": "CpS_MII_Prozedur_CapabilityStatement",
"title": "CpS MII Prozedur CapabilityStatement",
"status": "active",
"experimental": false,
"date": "2022-02-21",
"version": "2024.0.0",
"publisher": "Medizininformatik Initiative",
"contact": [
{
Expand All @@ -19,13 +14,18 @@
]
}
],
"name": "MII_CPS_Prozedur_CapabilityStatement",
"title": "MII CPS Prozedur CapabilityStatement",
"status": "active",
"experimental": false,
"date": "2022-02-21",
"description": "Das vorliegende CapabilityStatement beschreibt alle verpflichtenden Interaktionen die ein konformes System unterstützen muss um das Modul Prozedur der Medizininformatik Initiative zu implementieren.",
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "DE",
"system": "urn:iso:std:iso:3166",
"display": "Germany"
}
]
Expand Down
47 changes: 47 additions & 0 deletions fsh-generated/resources/Procedure-mii-exa-prozedur-procedure.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"resourceType": "Procedure",
"id": "mii-exa-prozedur-procedure",
"meta": {
"profile": [
"https://www.medizininformatik-initiative.de/fhir/core/modul-prozedur/StructureDefinition/Procedure"
]
},
"status": "completed",
"category": {
"coding": [
{
"code": "387713003",
"system": "http://snomed.info/sct",
"display": "Surgical procedure (procedure)"
}
]
},
"code": {
"coding": [
{
"code": "80146002",
"system": "http://snomed.info/sct",
"display": "Excision of appendix (procedure)"
},
{
"version": "2020",
"code": "5-470",
"system": "http://fhir.de/CodeSystem/bfarm/ops",
"display": "Appendektomie"
}
]
},
"performedDateTime": "2020-04-23",
"subject": {
"identifier": {
"system": "http://mii-standort.example.de/fhir/NamingSystem/pid",
"value": "1234567890",
"assigner": {
"identifier": {
"system": "https://www.medizininformatik-initiative.de/fhir/core/NamingSystem/DIZ",
"value": "UKK"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"resourceType": "SearchParameter",
"id": "mii-sp-prozedur-bodysite",
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-prozedur/SearchParameter/Procedure-BodySite",
"version": "2024.0.0",
"publisher": "Medizininformatik Initiative",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "https://www.medizininformatik-initiative.de"
}
]
}
],
"name": "MII_SP_Prozedur_BodySite",
"status": "active",
"experimental": false,
"date": "2022-02-21",
"description": "Suchparameter für Procedure.bodySite",
"code": "bodySite",
"base": [
"Procedure"
],
"type": "token",
"expression": "Procedure.bodySite"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"resourceType": "SearchParameter",
"id": "mii-sp-prozedur-dokumentationsdatum",
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-prozedur/SearchParameter/Procedure-Dokumentationsdatum",
"version": "2024.0.0",
"publisher": "Medizininformatik Initiative",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "https://www.medizininformatik-initiative.de"
}
]
}
],
"name": "MII_SP_Prozedur_Dokumentationsdatum",
"status": "active",
"experimental": false,
"date": "2022-02-21",
"description": "Suchparameter für Procedure.extension:Dokumentationsdatum",
"code": "dokumentationsdatum",
"base": [
"Procedure"
],
"type": "date",
"expression": "Procedure.extension('http://fhir.de/StructureDefinition/ProzedurDokumentationsdatum').value"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"resourceType": "SearchParameter",
"id": "mii-sp-prozedur-durchfuehrungsabsicht",
"url": "https://www.medizininformatik-initiative.de/fhir/core/modul-prozedur/SearchParameter/Procedure-Durchfuehrungsabsicht",
"version": "2024.0.0",
"publisher": "Medizininformatik Initiative",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "https://www.medizininformatik-initiative.de"
}
]
}
],
"name": "MII_SP_Prozedur_Durchfuehrungsabsicht",
"status": "active",
"experimental": false,
"date": "2022-02-21",
"description": "Suchparameter für Procedure.extension:Durchfuehrungsabsicht",
"code": "durchfuehrungsabsicht",
"base": [
"Procedure"
],
"type": "token",
"expression": "Procedure.extension('https://www.medizininformatik-initiative.de/fhir/core/modul-prozedur/StructureDefinition/Durchfuehrungsabsicht ').value"
}
Loading
Loading