fhir_to_pad_converter.py working
This commit is contained in:
BIN
samples/.DS_Store
vendored
Normal file
BIN
samples/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
samples/fhir/.DS_Store
vendored
Normal file
BIN
samples/fhir/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
samples/fhir/sample_1/.DS_Store
vendored
Normal file
BIN
samples/fhir/sample_1/.DS_Store
vendored
Normal file
Binary file not shown.
269263
samples/fhir/sample_1/226844_1240059013-KaBr.json
Normal file
269263
samples/fhir/sample_1/226844_1240059013-KaBr.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
samples/fhir/sample_1/helpers/226844_1240059013-KaBr.xlsx
Normal file
BIN
samples/fhir/sample_1/helpers/226844_1240059013-KaBr.xlsx
Normal file
Binary file not shown.
3289
samples/fhir/sample_1/helpers/226844_Brück__Karola_Jul24-1.pdf
Normal file
3289
samples/fhir/sample_1/helpers/226844_Brück__Karola_Jul24-1.pdf
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
204
samples/fhir/sample_2/claim-sample.json
Normal file
204
samples/fhir/sample_2/claim-sample.json
Normal file
@@ -0,0 +1,204 @@
|
||||
{
|
||||
"resourceType": "Bundle",
|
||||
"type": "collection",
|
||||
"entry": [
|
||||
{
|
||||
"fullUrl": "urn:uuid:45673360-9b71-1f40-0184-888d6ea4f9c4",
|
||||
"resource": {
|
||||
"resourceType": "Patient",
|
||||
"id": "patient-1",
|
||||
"name": [
|
||||
{
|
||||
"family": "Brück",
|
||||
"given": [
|
||||
"Karola"
|
||||
]
|
||||
}
|
||||
],
|
||||
"gender": "female",
|
||||
"birthDate": "1958-07-08"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fullUrl": "urn:uuid:26c65f6a-9e4b-5bc1-6f0b-aca5b2f71a7a",
|
||||
"resource": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "encounter-1",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "IMP",
|
||||
"display": "inpatient encounter"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "Patient/patient-1"
|
||||
},
|
||||
"period": {
|
||||
"start": "2024-07-08T10:00:00+02:00",
|
||||
"end": "2024-07-18T14:00:00+02:00"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"fullUrl": "urn:uuid:0003706f-ddaf-d3a7-b792-907d47519157",
|
||||
"resource": {
|
||||
"resourceType": "Observation",
|
||||
"id": "obs-1",
|
||||
"status": "final",
|
||||
"code": {
|
||||
"coding": [
|
||||
{
|
||||
"system": "http://loinc.org",
|
||||
"code": "26515-7",
|
||||
"display": "Thrombozyten"
|
||||
}
|
||||
],
|
||||
"text": "Thrombozyten"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "Patient/patient-1"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "Encounter/encounter-1"
|
||||
},
|
||||
"effectiveDateTime": "2024-07-18T11:49:00+02:00",
|
||||
"valueQuantity": {
|
||||
"value": 385,
|
||||
"unit": "10^3/uL",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "10*3/uL"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"fullUrl": "urn:uuid:claim-1",
|
||||
"resource": {
|
||||
"resourceType": "Claim",
|
||||
"id": "claim-1",
|
||||
"status": "active",
|
||||
"type": {
|
||||
"coding": [
|
||||
{
|
||||
"system": "http://terminology.hl7.org/CodeSystem/claim-type",
|
||||
"code": "institutional"
|
||||
}
|
||||
]
|
||||
},
|
||||
"use": "claim",
|
||||
"patient": {
|
||||
"reference": "Patient/patient-1"
|
||||
},
|
||||
"created": "2024-07-20T10:00:00+02:00",
|
||||
"provider": {
|
||||
"reference": "Organization/provider-org-1"
|
||||
},
|
||||
"insurer": {
|
||||
"reference": "Organization/insurer-org-1"
|
||||
},
|
||||
"priority": {
|
||||
"coding": [
|
||||
{
|
||||
"code": "normal"
|
||||
}
|
||||
]
|
||||
},
|
||||
"diagnosis": [
|
||||
{
|
||||
"sequence": 1,
|
||||
"diagnosisCodeableConcept": {
|
||||
"coding": [
|
||||
{
|
||||
"system": "http://hl7.org/fhir/sid/icd-10-gm",
|
||||
"code": "J44.0",
|
||||
"display": "Chronische obstruktive Lungenkrankheit mit akuter Infektion der unteren Atemwege"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"item": [
|
||||
{
|
||||
"sequence": 1,
|
||||
"servicedDate": "2024-07-18",
|
||||
"productOrService": {
|
||||
"coding": [
|
||||
{
|
||||
"system": "http://loinc.org",
|
||||
"code": "26515-7",
|
||||
"display": "Thrombozyten"
|
||||
}
|
||||
]
|
||||
},
|
||||
"encounter": [
|
||||
{
|
||||
"reference": "Encounter/encounter-1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"fullUrl": "urn:uuid:eob-1",
|
||||
"resource": {
|
||||
"resourceType": "ExplanationOfBenefit",
|
||||
"id": "eob-1",
|
||||
"status": "active",
|
||||
"type": {
|
||||
"coding": [
|
||||
{
|
||||
"system": "http://terminology.hl7.org/CodeSystem/claim-type",
|
||||
"code": "institutional"
|
||||
}
|
||||
]
|
||||
},
|
||||
"use": "claim",
|
||||
"patient": {
|
||||
"reference": "Patient/patient-1"
|
||||
},
|
||||
"created": "2024-07-25T10:00:00+02:00",
|
||||
"insurer": {
|
||||
"reference": "Organization/insurer-org-1"
|
||||
},
|
||||
"provider": {
|
||||
"reference": "Organization/provider-org-1"
|
||||
},
|
||||
"claim": {
|
||||
"reference": "Claim/claim-1"
|
||||
},
|
||||
"outcome": "complete",
|
||||
"total": [
|
||||
{
|
||||
"category": {
|
||||
"coding": [
|
||||
{
|
||||
"code": "submitted"
|
||||
}
|
||||
]
|
||||
},
|
||||
"amount": {
|
||||
"value": 100.0,
|
||||
"currency": "EUR"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"fullUrl": "urn:uuid:provider-org-1",
|
||||
"resource": {
|
||||
"resourceType": "Organization",
|
||||
"id": "provider-org-1",
|
||||
"name": "Dr. med. Max Mustermann"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fullUrl": "urn:uuid:insurer-org-1",
|
||||
"resource": {
|
||||
"resourceType": "Organization",
|
||||
"id": "insurer-org-1",
|
||||
"name": "PVS Rhein-Ruhr GmbH"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
samples/padnext/.DS_Store
vendored
Normal file
BIN
samples/padnext/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="iso-8859-15"?>
|
||||
<Auftrag xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" erstellungsdatum="2025-08-05T14:11:25.0752082Z" transfernr="87" echtdaten="true" dateianzahl="1" xmlns="http://padinfo.de/ns/pad">
|
||||
<empfaenger>
|
||||
<logisch pvsid="2100" iknr="999999999">PVS Rhein-Ruhr GmbH</logisch>
|
||||
<physikalisch pvsid="2100" iknr="999999999">PVS Rhein-Ruhr GmbH</physikalisch>
|
||||
</empfaenger>
|
||||
<absender>
|
||||
<logisch pvskundennr="209999">Dr. med. Max Mustermann</logisch>
|
||||
<physikalisch pvskundennr="209999">Dr. med. Max Mustermann</physikalisch>
|
||||
</absender>
|
||||
<nachrichtentyp version="01.10">ADL</nachrichtentyp>
|
||||
<system>
|
||||
<produkt>iSOFT Billing</produkt>
|
||||
<version>1.0</version>
|
||||
<hersteller>iSOFT Health GmbH</hersteller>
|
||||
</system>
|
||||
<verschluesselung verfahren="1" />
|
||||
<empfangsquittung>false</empfangsquittung>
|
||||
<datei id="f6bc38e5-0458-4857-a955-16c8aea89c1b" erstellungsdatum="2025-08-05T14:11:15.8876479Z">
|
||||
<dokumententyp>PADx</dokumententyp>
|
||||
<name>00209999_20250805_ADL_000087_padx.xml</name>
|
||||
<dateilaenge laenge="167131" pruefsumme="0d924f9f2bed8f69191640963601a988740d58ce" />
|
||||
</datei>
|
||||
</Auftrag>
|
||||
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="iso-8859-15"?>
|
||||
<Rechnungen xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" anzahl="50" xmlns="http://padinfo.de/ns/pad">
|
||||
<nachrichtentyp version="01.10">ADL</nachrichtentyp>
|
||||
<rechnungsersteller>
|
||||
<name>Dr. med. Max Mustermann</name>
|
||||
<pvskundennr>209999</pvskundennr>
|
||||
<anschrift>
|
||||
<strasse>Musterstrasse 1</strasse>
|
||||
<hausnr>2</hausnr>
|
||||
<plz>99999</plz>
|
||||
<ort>Musterhausen</ort>
|
||||
<land>D</land>
|
||||
</anschrift>
|
||||
<iknr>207450</iknr>
|
||||
</rechnungsersteller>
|
||||
<leistungserbringer id="00001">
|
||||
<titel>Dr. med.</titel>
|
||||
<vorname>Max</vorname>
|
||||
<name>Mustermann</name>
|
||||
</leistungserbringer>
|
||||
<Rechnung id="1cc6f678-5d27-4ef9-ba76-1c1d84aa9f80" eabgabe="false" aisaktenzeichen="SVA551681" aisendbetrag="30.83">
|
||||
<rechnungsempfaenger>
|
||||
<person>
|
||||
<anrede>Herr</anrede>
|
||||
<vorname>Max</vorname>
|
||||
<name>Muster</name>
|
||||
<anschrift>
|
||||
<strasse>Musterstrasse 2</strasse>
|
||||
<hausnr>2</hausnr>
|
||||
<plz>99999</plz>
|
||||
<ort>Musterhausen</ort>
|
||||
<land>D</land>
|
||||
</anschrift>
|
||||
</person>
|
||||
</rechnungsempfaenger>
|
||||
<abrechnungsfall>
|
||||
<behandelter aisid="5014547">
|
||||
<anrede>Herr</anrede>
|
||||
<vorname>Max</vorname>
|
||||
<name>Muster</name>
|
||||
<gebdatum>1953-05-12</gebdatum>
|
||||
<geschlecht>m</geschlecht>
|
||||
</behandelter>
|
||||
<versicherter>
|
||||
<anrede>Herr</anrede>
|
||||
<vorname>Max</vorname>
|
||||
<name>Muster</name>
|
||||
<gebdatum>1953-05-12</gebdatum>
|
||||
<geschlecht>m</geschlecht>
|
||||
<anschrift>
|
||||
<strasse>Musterstrasse</strasse>
|
||||
<hausnr>2</hausnr>
|
||||
<plz>99999</plz>
|
||||
<ort>Musterhausen</ort>
|
||||
<land>D</land>
|
||||
</anschrift>
|
||||
</versicherter>
|
||||
<zeitraum>
|
||||
<startdatum>2025-07-03</startdatum>
|
||||
<endedatum>2025-07-03</endedatum>
|
||||
</zeitraum>
|
||||
<behandlungsart>0</behandlungsart>
|
||||
<vertragsart>1</vertragsart>
|
||||
<aktenzeichen>227205</aktenzeichen>
|
||||
<diagnose>
|
||||
<text>springender Finger D3 links</text>
|
||||
<datum>2025-07-03</datum>
|
||||
</diagnose>
|
||||
<positionen posanzahl="2">
|
||||
<goziffer id="2759969" go="GOAE" ziffer="3">
|
||||
<datum>2025-07-03</datum>
|
||||
<anzahl>1</anzahl>
|
||||
<text>Eingehende Beratung mind. 10 min.</text>
|
||||
<faktor>2.3</faktor>
|
||||
<umsatzsteuer>0</umsatzsteuer>
|
||||
<minderungssatz>0</minderungssatz>
|
||||
<aisbewertung>
|
||||
<punktwert>0.0582873</punktwert>
|
||||
<punktzahl>150</punktzahl>
|
||||
<einzelbetrag>20.11</einzelbetrag>
|
||||
</aisbewertung>
|
||||
</goziffer>
|
||||
<goziffer id="2759970" go="GOAE" ziffer="5">
|
||||
<datum>2025-07-03</datum>
|
||||
<anzahl>1</anzahl>
|
||||
<text>Untersuchung, symptombezogen</text>
|
||||
<faktor>2.3</faktor>
|
||||
<umsatzsteuer>0</umsatzsteuer>
|
||||
<minderungssatz>0</minderungssatz>
|
||||
<aisbewertung>
|
||||
<punktwert>0.0582873</punktwert>
|
||||
<punktzahl>80</punktzahl>
|
||||
<einzelbetrag>10.72</einzelbetrag>
|
||||
</aisbewertung>
|
||||
</goziffer>
|
||||
</positionen>
|
||||
</abrechnungsfall>
|
||||
</Rechnung>
|
||||
</Rechnungen>
|
||||
Reference in New Issue
Block a user