@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://gematik.de/fhir/isik/Account/SZ2DRGFall> a fhir:Account ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "SZ2DRGFall"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://gematik.de/fhir/isik/StructureDefinition/ISiKAbrechnungsfall" ;
       fhir:index 0 ;
       fhir:link <https://gematik.de/fhir/isik/StructureDefinition/ISiKAbrechnungsfall>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Account SZ2DRGFall</b></p><a name=\"SZ2DRGFall\"> </a><a name=\"hcSZ2DRGFall\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ISiKAbrechnungsfall.html\">ISiKAbrechnungsfall</a></p></div><blockquote><p><b>Fallbezogene Abrechnungsrelevanz von Diagnosen und Prozeduren</b></p><ul><li>Use: <a href=\"https://simplifier.net/resolve?scope=de.basisprofil.r4@1.6.0&amp;canonical=http://fhir.de/CodeSystem/KontaktDiagnoseProzedur#KontaktDiagnoseProzedur-hospital-main-diagnosis\">KontaktDiagnoseProzedur: hospital-main-diagnosis</a> (Krankenhaus Hauptdiagnose)</li><li>Referenz: <a href=\"Condition-SZ2Primaerdiagnose.html\">Condition Diabetes mellitus, Typ 1: Mit Augenkomplikationen: Nicht als entgleist bezeichnet</a></li></ul></blockquote><p><b>identifier</b>: Account number/22222222222</p><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}\">inpatient encounter</span></p><p><b>subject</b>: <a href=\"Patient-SZ2Patient.html\">Friedlinde Musterfrau (official) Female, DoB: 1924-01-01 ( Medical record number)</a></p><h3>Coverages</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Extension</b></td><td><b>Coverage</b></td></tr><tr><td style=\"display: none\">*</td><td/><td><a href=\"Coverage-SZ2VersicherungGesetzlich.html\">Coverage: status = active; type = gesetzliche Krankenversicherung</a></td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "Use" ] ;
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://fhir.de/CodeSystem/KontaktDiagnoseProzedur" ] ;
         fhir:Coding.code [ fhir:value "hospital-main-diagnosis" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:Extension.url [ fhir:value "Referenz" ] ;
       fhir:Extension.valueReference [
         fhir:link <https://gematik.de/fhir/isik/Condition/SZ2Primaerdiagnose> ;
         fhir:Reference.reference [ fhir:value "Condition/SZ2Primaerdiagnose" ]
       ]
     ] ;
     fhir:Extension.url [ fhir:value "http://fhir.de/StructureDefinition/ExtensionAbrechnungsDiagnoseProzedur" ]
  ] ;
  fhir:Account.identifier [
     fhir:index 0 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "AN" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://beispiel-krankenhaus.de/sid/fallnummern" ] ;
     fhir:Identifier.value [ fhir:value "22222222222" ]
  ] ;
  fhir:Account.status [ fhir:value "active"] ;
  fhir:Account.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
       fhir:Coding.code [ fhir:value "IMP" ]
     ]
  ] ;
  fhir:Account.subject [
     fhir:index 0 ;
     fhir:link <https://gematik.de/fhir/isik/Patient/SZ2Patient> ;
     fhir:Reference.reference [ fhir:value "Patient/SZ2Patient" ]
  ] ;
  fhir:Account.coverage [
     fhir:index 0 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "http://fhir.de/StructureDefinition/ExtensionAbrechnungsart" ] ;
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://fhir.de/CodeSystem/dkgev/Abrechnungsart" ] ;
         fhir:Coding.code [ fhir:value "DRG" ] ;
         fhir:Coding.display [ fhir:value "Diagnosebezogene Fallgruppen" ]
       ]
     ] ;
     fhir:Account.coverage.coverage [
       fhir:link <https://gematik.de/fhir/isik/Coverage/SZ2VersicherungGesetzlich> ;
       fhir:Reference.reference [ fhir:value "Coverage/SZ2VersicherungGesetzlich" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://gematik.de/fhir/isik/Account/SZ2DRGFall.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

