Skip to content

Commit

Permalink
Feature/ptdata 821 account abrechnungsart (#386)
Browse files Browse the repository at this point in the history
* Beispiel Account: Ambulant -> stationär

* auto-generated FHIR files by GitHub Actions (CI FSH to FHIR Validation)

* Fix reference

* auto-generated FHIR files by GitHub Actions (CI FSH to FHIR Validation)

---------

Co-authored-by: alexzautke <alexzautke@users.noreply.github.com>
  • Loading branch information
alexzautke and alexzautke committed Mar 18, 2024
1 parent 9844e6d commit 9fa4fb4
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "Account",
"id": "AbrechnungsfallAmbulant",
"id": "AbrechnungsfallDRG",
"meta": {
"profile": [
"https://gematik.de/fhir/isik/StructureDefinition/ISiKAbrechnungsfall"
Expand All @@ -20,11 +20,32 @@
"value": "0123456789"
}
],
"extension": [
{
"url": "http://fhir.de/StructureDefinition/ExtensionAbrechnungsDiagnoseProzedur",
"extension": [
{
"url": "Use",
"valueCoding": {
"code": "hospital-main-diagnosis",
"system": "http://fhir.de/CodeSystem/KontaktDiagnoseProzedur",
"display": "Krankenhaus Hauptdiagnose"
}
},
{
"url": "Referenz",
"valueReference": {
"reference": "Condition/DiagnoseSelteneErkrankung"
}
}
]
}
],
"status": "active",
"type": {
"coding": [
{
"code": "AMB",
"code": "IMP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
],
"account": [
{
"reference": "Account/AbrechnungsfallAmbulant",
"reference": "Account/AbrechnungsfallDRG",
"identifier": {
"value": "XZY"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"path": "Observation.hasMember",
"short": "Erwartetes Geburtsdatum",
"definition": "Eine Referenz auf die ErwartetesGeburtsdatum Observation",
"max": "1",
"type": [
{
"code": "Reference",
Expand Down
10 changes: 8 additions & 2 deletions Resources/input/fsh/ISiKAbrechnungsfall.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,20 @@ Description: "Dieses Profil beschreibt die Gruppierung von medizinischen Leistun
* extension contains http://fhir.de/StructureDefinition/ExtensionAbrechnungsart named Abrechnungsart 1..1 MS
* coverage MS

Instance: AbrechnungsfallAmbulant
Instance: AbrechnungsfallDRG
InstanceOf: ISiKAbrechnungsfall
Usage: #example
* extension[+]
* url = "http://fhir.de/StructureDefinition/ExtensionAbrechnungsDiagnoseProzedur"
* extension[+].url = "Use"
* extension[=].valueCoding = http://fhir.de/CodeSystem/KontaktDiagnoseProzedur#hospital-main-diagnosis "Krankenhaus Hauptdiagnose"
* extension[+].url = "Referenz"
* extension[=].valueReference = Reference(Condition/DiagnoseSelteneErkrankung)
* identifier[Abrechnungsnummer]
* system = "https://test.krankenhaus.de/fhir/sid/abrechnungsnummer"
* value = "0123456789"
* status = #active
* type = $v3-ActCode#AMB
* type = $v3-ActCode#IMP
* subject = Reference(PatientinMusterfrau)
* coverage
* extension.url = "http://fhir.de/StructureDefinition/ExtensionAbrechnungsart"
Expand Down
2 changes: 1 addition & 1 deletion Resources/input/fsh/ISiKKontaktGesundheitseinrichtung.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Usage: #example
* period.end = "2021-02-13"
* diagnosis.condition = Reference(BehandlungsDiagnoseFreitext)
* diagnosis.use = http://fhir.de/CodeSystem/KontaktDiagnoseProzedur#treatment-diagnosis
* account = Reference(AbrechnungsfallAmbulant)
* account = Reference(AbrechnungsfallDRG)
* account.identifier.value = "XZY"
* hospitalization.admitSource = $Aufnahmeanlass#E
* hospitalization.dischargeDisposition.extension.url = "http://fhir.de/StructureDefinition/Entlassungsgrund"
Expand Down

0 comments on commit 9fa4fb4

Please sign in to comment.