Skip to content

Commit

Permalink
Add Leistungsart extension
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzautke committed Jun 11, 2024
1 parent 97e47f2 commit f9aea5e
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"resourceType": "StructureDefinition",
"id": "erg-docref-leistungsart",
"url": "https://gematik.de/fhir/erg/StructureDefinition/erg-docref-leistungsart",
"name": "ERGDocRefLeistungsart",
"title": "ERG DocRef Leistungsart",
"status": "draft",
"description": "Extension zur Angabe einer Leistungsart",
"fhirVersion": "4.0.1",
"kind": "complex-type",
"abstract": false,
"context": [
{
"type": "element",
"expression": "Element"
}
],
"type": "Extension",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Extension.extension",
"path": "Extension.extension",
"max": "0"
},
{
"id": "Extension.url",
"path": "Extension.url",
"fixedUri": "https://gematik.de/fhir/erg/StructureDefinition/erg-docref-leistungsart"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"min": 1,
"type": [
{
"code": "Coding"
}
],
"mustSupport": true
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,22 @@
],
"mustSupport": true
},
{
"id": "DocumentReference.extension:leistungsart",
"path": "DocumentReference.extension",
"sliceName": "leistungsart",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/erg/StructureDefinition/erg-docref-leistungsart"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.identifier",
"path": "DocumentReference.identifier",
Expand Down
11 changes: 10 additions & 1 deletion Resources/input/fsh/Profiles/erg-dokumentenmetadaten.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Id: erg-dokumentenmetadaten
ERGDocumentReferenceRechnungsdatum named rechnungsdatum 0..1 MS and
ERGDocumentReferenceZahlungszieldatum named zahlungszieldatum 0..1 MS and
ERGDocumentReferenceGesamtbetrag named gesamtbetrag 0..1 MS and
ERGDocRefFachrichtung named fachrichtung 0..1 MS
ERGDocRefFachrichtung named fachrichtung 0..1 MS and
ERGDocRefLeistungsart named leistungsart 0..1 MS
* meta.extension MS
* meta.extension contains ERGDocumentReferenceMarkierung named markierung 0..* MS
* meta.tag MS
Expand Down Expand Up @@ -169,6 +170,14 @@ Description: "Extension zur Angabe der Fachrichtung zur Steuerung des Abrechungs
* value[x] only Coding
* value[x] from http://ihe-d.de/ValueSets/IHEXDSpracticeSettingCode (required)

Extension: ERGDocRefLeistungsart
Id: erg-docref-leistungsart
Title: "ERG DocRef Leistungsart"
Description: "Extension zur Angabe einer Leistungsart"

* value[x] 1.. MS
* value[x] only Coding

// ------------- Constraints -------------

Invariant: SignaturVerpflichtendRechnung
Expand Down

0 comments on commit f9aea5e

Please sign in to comment.