fhir_to_pad_converter.py working

This commit is contained in:
Alexander Domene
2025-10-26 13:51:38 +01:00
parent f9d4bc6f11
commit a71284ee64
34 changed files with 279941 additions and 0 deletions

BIN
samples/fhir/.DS_Store vendored Normal file

Binary file not shown.

BIN
samples/fhir/sample_1/.DS_Store vendored Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View 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"
}
}
]
}