{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Callback Payloads — Pathology — JondaX API Docs","description":"Full reference for JondaX Pathology callback payload formats — JSON inline, JSON file, HL7, FHIR JSON, and FHIR XML with field descriptions and examples.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"callback-payloads","__idx":0},"children":["Callback Payloads"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This page is a technical reference for your development team. It shows exactly what data JondaX sends back after processing your file. If you just want to see your results, visit the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Transformed Files"]}," page in the portal."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["JondaX POSTs processed results to the endpoint URL you configure on the Integration page. The output format you choose on the Integration page determines which payload structure your server receives."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/output-settings-format.5ee7bc9b46d731e28a27d664a3b50f9635eef69ba7d27459c340a5942438d348.a1161040.png","alt":"Output format selector on Integration page"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the examples below, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[api-header]"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[api-key]"]}," are placeholders for the header name and value you configured — JondaX sends your chosen header on every callback."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All sample data is synthetic and does not represent real individuals."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"json--inline","__idx":1},"children":["JSON — Inline"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Content-Type:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["application/json"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /api/results HTTP/1.1\nHost: api.example.com\nContent-Type: application/json\n[api-header]: [api-key]\n\n{\n  \"customerId\": 11,\n  \"uploadId\": \"16227c8c-aa20-443d-ad50-528034f54d7a\",\n  \"fileName\": \"E20UNMDMCB_96dpi_1.png\",\n  \"transactionId\": 484,\n  \"outputFormat\": \"JSON\",\n  \"totalTests\": 3,\n  \"Results\": [\n    {\n      \"Date\": \"2024-03-14\",\n      \"Biomarker-Name\": \"Haemoglobin\",\n      \"Result\": \"17.00\",\n      \"Low-Ref-Range\": \"13.00\",\n      \"High-Ref-Range\": \"17.50\",\n      \"Unit-of-measurement\": \"g/dL\",\n      \"Comment\": \"\"\n    },\n    {\n      \"Date\": \"2024-03-14\",\n      \"Biomarker-Name\": \"Haematocrit\",\n      \"Result\": \"0.52 H\",\n      \"Low-Ref-Range\": \"0.38\",\n      \"High-Ref-Range\": \"0.50\",\n      \"Unit-of-measurement\": \"\",\n      \"Comment\": \"\"\n    },\n    {\n      \"Date\": \"2024-03-14\",\n      \"Biomarker-Name\": \"Basophils\",\n      \"Result\": \"<0.1\",\n      \"Low-Ref-Range\": \"\",\n      \"High-Ref-Range\": \"<0.3\",\n      \"Unit-of-measurement\": \"/nL\",\n      \"Comment\": \"\"\n    }\n  ]\n}\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"json-field-reference","__idx":2},"children":["JSON field reference"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["customerId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your account identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uploadId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UUID of the upload"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fileName"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Original uploaded filename"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Internal transaction identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["outputFormat"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"JSON\""]}," for this format"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["totalTests"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Total number of biomarkers in this result"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Results"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Array of extracted biomarker results. Empty (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[]"]},") only in error callbacks"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Results[].Date"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Test date (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YYYY-MM-DD"]},"). Can be empty string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Results[].Biomarker-Name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Standardized biomarker name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Results[].Result"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Test result value. May be numeric (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"17.00\""]},"), qualitative (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"NEGATIVE\""]},"), range (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"1-3\""]},"), or flagged (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"0.52 H\""]},"). Can be empty string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Results[].Low-Ref-Range"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Lower reference range. Can be empty string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Results[].High-Ref-Range"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Upper reference range. May include comparator prefix e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"<0.3\""]},". Can be empty string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Results[].Unit-of-measurement"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Measurement unit. Can be empty string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Results[].Comment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Additional notes. Can be empty string"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"with-original-results-in-output-enabled","__idx":3},"children":["With \"Original results in output\" enabled"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When this toggle is on, each item in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Results[]"]}," gains an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Original"]}," field with the unprocessed source data:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"customerId\": 11,\n  \"uploadId\": \"16227c8c-aa20-443d-ad50-528034f54d7a\",\n  \"fileName\": \"E20UNMDMCB_96dpi_1.png\",\n  \"transactionId\": 484,\n  \"outputFormat\": \"JSON\",\n  \"totalTests\": 1,\n  \"Results\": [\n    {\n      \"Date\": \"2024-03-14\",\n      \"Biomarker-Name\": \"Haemoglobin\",\n      \"Result\": \"17.00\",\n      \"Low-Ref-Range\": \"13.00\",\n      \"High-Ref-Range\": \"17.50\",\n      \"Unit-of-measurement\": \"g/dL\",\n      \"Comment\": \"\",\n      \"Original\": {\n        \"Biomarker-Name\": \"HGB\",\n        \"Result\": \"17.0\",\n        \"Unit-of-measurement\": \"g/dL\",\n        \"Low-Ref-Range\": \"13.0\",\n        \"High-Ref-Range\": \"17.5\"\n      }\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"json--file-upload","__idx":4},"children":["JSON — File Upload"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Content-Type:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["multipart/form-data"]},". Filename uses the pattern ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["report-{transactionId}-{timestamp}.json"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The request has two parts: the result file and a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["metadata"]}," JSON field."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /api/results HTTP/1.1\nHost: api.example.com\nContent-Type: multipart/form-data;\n[api-header]: [api-key]\n\n------------------------------\nContent-Disposition: form-data; name=\"metadata\"\nContent-Type: application/json\n\n{\n  \"customerId\": 11,\n  \"uploadId\": \"16227c8c-aa20-443d-ad50-528034f54d7a\",\n  \"fileName\": \"E20UNMDMCB_96dpi_1.png\",\n  \"transactionId\": 484,\n  \"outputFormat\": \"JSON\",\n  \"totalTests\": 10\n}\n------------------------------\nContent-Disposition: form-data; name=\"file\"; filename=\"report-491-1783326841635.json\"\nContent-Type: application/json\n\n(JSON results body — same structure as inline format)\n------------------------------\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"metadata-field-reference","__idx":5},"children":["Metadata field reference"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["customerId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your account identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uploadId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UUID of the upload"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fileName"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Result filename (pattern: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["report-{transactionId}-{timestamp}.{ext}"]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Internal transaction identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["outputFormat"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Format used — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["JSON"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["HL7"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FHIR_JSON"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FHIR_XML"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CSV"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PARQUET"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["totalTests"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Number of biomarkers in this result"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["metadata"]}," part is included on ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["all File-type"]}," callbacks (HL7, FHIR JSON, FHIR XML, CSV, Parquet)."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"hl7--file-upload","__idx":6},"children":["HL7 — File Upload"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Content-Type:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["multipart/form-data"]},". File part content-type: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["application/hl7-v2"]},". Filename uses the pattern ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["report-{transactionId}-{timestamp}.hl7"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["HL7 version:"]}," v2.3"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"hl7-segments","__idx":7},"children":["HL7 segments"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Segment"},"children":["Segment"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Presence"},"children":["Presence"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MSH"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Message Header"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Patient Identification"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PV1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Patient Visit"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ORC"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Common Order"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["OBR"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Observation Request"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["OBX"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Observation Result"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always (one per biomarker)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["NTE"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Notes and Comments"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"obx-value-types","__idx":8},"children":["OBX value types"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["OBX"]}," segment uses value type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NM"]}," (numeric) when the result is a pure number, and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ST"]}," (string) for qualitative results such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"Positive\""]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"Negative\""]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["OBX-3 (observation identifier) always uses the format ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{transformedTestName}^{transformedTestName}"]}," — the same name repeated on both sides of the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["^"]}," separator. LOINC codes are not included in the HL7 output."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Units containing ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["^"]}," are escaped as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\\S\\"]}," per HL7 encoding rules (e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["10^6/uL"]}," → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["10\\S\\6/uL"]},")."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example","__idx":9},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /api/hl7/results HTTP/1.1\nHost: api.example.com\nContent-Type: multipart/form-data;\n[api-header]: [api-key]\n\n------------------------------\nContent-Disposition: form-data; name=\"metadata\"\nContent-Type: application/json\n\n{\n  \"customerId\": 11,\n  \"uploadId\": \"16227c8c-aa20-443d-ad50-528034f54d7a\",\n  \"fileName\": \"E20UNMDMCB_96dpi_1.png\",\n  \"transactionId\": 484,\n  \"outputFormat\": \"HL7\",\n  \"totalTests\": 10\n}\n------------------------------\nContent-Disposition: form-data; name=\"file\"; filename=\"report-488-1783326903921.hl7\"\nContent-Type: application/hl7-v2\n\nMSH|^~\\&|JONDAHEALTH|||||||||ORU^R01|||2.3\nPID|||||\nPV1||||||||||||||||||||\nORC|1||||||||||||||||||||||||||||LAB\nOBR|||||||||||||||||20240129000000\nOBX|1|NM|HGB^HGB||14.5|g/dL|12.00-15.50||||F|||20240129000000\nOBX|2|NM|GLU^GLU||95|mg/dL|70.00-100.00||||F|||20240129000000\n------------------------------\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"fhir-json--file-upload","__idx":10},"children":["FHIR JSON — File Upload"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Content-Type:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["multipart/form-data"]},". File part content-type: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["application/json"]},". File part name: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]},". Filename uses the pattern ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["report-{transactionId}-{timestamp}.json"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["FHIR version:"]}," R4"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The bundle is a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction"]}," type. Resources in order: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Organization"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Patient"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Encounter"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ServiceRequest"]},", one ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Observation"]}," per biomarker, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DiagnosticReport"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Patient and encounter data are anonymized placeholders — no PII is included."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Numeric results use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["valueQuantity"]},". Qualitative results use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["valueString"]},". ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Observation.code.coding"]}," uses ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{ \"code\": \"TestName\", \"display\": \"TestName\" }"]},"."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /api/fhir/json/results HTTP/1.1\nHost: api.example.com\nContent-Type: multipart/form-data;\n[api-header]: [api-key]\n\n------------------------------\nContent-Disposition: form-data; name=\"metadata\"\nContent-Type: application/json\n\n{\n  \"customerId\": 11,\n  \"uploadId\": \"16227c8c-aa20-443d-ad50-528034f54d7a\",\n  \"fileName\": \"E20UNMDMCB_96dpi_1.png\",\n  \"transactionId\": 484,\n  \"outputFormat\": \"FHIR_JSON\",\n  \"totalTests\": 17\n}\n------------------------------\nContent-Disposition: form-data; name=\"file\"; filename=\"report-479-1783330402859.json\"\nContent-Type: application/json\n\n{\n  \"resourceType\": \"Bundle\",\n  \"type\": \"transaction\",\n  \"entry\": [\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"Organization\" },\n      \"fullUrl\": \"urn:uuid:b9c05243-38ad-48e8-b17e-f8004fe29b77\",\n      \"resource\": {\n        \"resourceType\": \"Organization\",\n        \"identifier\": [{ \"value\": \"JONDAHEALTH\" }]\n      }\n    },\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"Patient\" },\n      \"fullUrl\": \"urn:uuid:be9c10c7-8aa9-44c3-99bc-e4d0dd9221c5\",\n      \"resource\": {\n        \"resourceType\": \"Patient\",\n        \"managingOrganization\": { \"reference\": \"urn:uuid:b9c05243-38ad-48e8-b17e-f8004fe29b77\" }\n      }\n    },\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"Encounter\" },\n      \"fullUrl\": \"urn:uuid:8678f7f1-157f-43bf-82e9-d5cd3a3682f1\",\n      \"resource\": {\n        \"resourceType\": \"Encounter\",\n        \"status\": \"unknown\",\n        \"class\": { \"code\": \"AMB\" },\n        \"subject\": { \"reference\": \"urn:uuid:be9c10c7-8aa9-44c3-99bc-e4d0dd9221c5\" },\n        \"identifier\": [{ \"type\": { \"text\": \"EncounterNumber\" }, \"use\": \"official\", \"value\": \"ENC-479-1783330402859\" }]\n      }\n    },\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"ServiceRequest\" },\n      \"fullUrl\": \"urn:uuid:da4280de-9fcd-4916-9faa-69436250fb1a\",\n      \"resource\": {\n        \"resourceType\": \"ServiceRequest\",\n        \"status\": \"active\",\n        \"intent\": \"order\",\n        \"subject\": { \"reference\": \"urn:uuid:be9c10c7-8aa9-44c3-99bc-e4d0dd9221c5\" },\n        \"encounter\": { \"reference\": \"urn:uuid:8678f7f1-157f-43bf-82e9-d5cd3a3682f1\" },\n        \"category\": [{ \"coding\": [{ \"system\": \"http://snomed.info/sct\", \"code\": \"103693007\", \"display\": \"Diagnostic procedure\" }], \"text\": \"Diagnostic procedure\" }],\n        \"code\": { \"coding\": [{ \"code\": \"LAB-ORDER\" }] },\n        \"identifier\": [\n          { \"use\": \"official\", \"type\": { \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\", \"code\": \"FILL\", \"display\": \"Filler Identifier\" }], \"text\": \"FillerId\" } },\n          { \"use\": \"official\", \"type\": { \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\", \"code\": \"PLAC\", \"display\": \"Placer Identifier\" }], \"text\": \"PlacerId\" } }\n        ]\n      }\n    },\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"Observation\" },\n      \"fullUrl\": \"urn:uuid:65e3a996-e388-4e3f-9760-6edf28739fb4\",\n      \"resource\": {\n        \"resourceType\": \"Observation\",\n        \"status\": \"final\",\n        \"subject\": { \"reference\": \"urn:uuid:be9c10c7-8aa9-44c3-99bc-e4d0dd9221c5\" },\n        \"encounter\": { \"reference\": \"urn:uuid:8678f7f1-157f-43bf-82e9-d5cd3a3682f1\" },\n        \"effectiveDateTime\": \"2022-03-02T00:00:00.000Z\",\n        \"category\": [{ \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/observation-category\", \"code\": \"laboratory\" }] }],\n        \"code\": { \"coding\": [{ \"code\": \"Color\", \"display\": \"Color\" }] },\n        \"valueString\": \"YELLOW\"\n      }\n    },\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"Observation\" },\n      \"fullUrl\": \"urn:uuid:98deab5e-cedc-4c93-bbb9-98288dc374a1\",\n      \"resource\": {\n        \"resourceType\": \"Observation\",\n        \"status\": \"final\",\n        \"subject\": { \"reference\": \"urn:uuid:be9c10c7-8aa9-44c3-99bc-e4d0dd9221c5\" },\n        \"encounter\": { \"reference\": \"urn:uuid:8678f7f1-157f-43bf-82e9-d5cd3a3682f1\" },\n        \"effectiveDateTime\": \"2022-03-02T00:00:00.000Z\",\n        \"category\": [{ \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/observation-category\", \"code\": \"laboratory\" }] }],\n        \"code\": { \"coding\": [{ \"code\": \"pH\", \"display\": \"pH\" }] },\n        \"valueQuantity\": { \"value\": 5, \"unit\": \"\", \"system\": \"http://unitsofmeasure.org\", \"code\": \"\" },\n        \"referenceRange\": [{ \"low\": { \"value\": 5, \"system\": \"http://unitsofmeasure.org\" }, \"high\": { \"value\": 6, \"system\": \"http://unitsofmeasure.org\" }, \"text\": \"5.00-6.00\" }]\n      }\n    },\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"DiagnosticReport\" },\n      \"fullUrl\": \"urn:uuid:4506d4e6-9228-4a7e-9497-5f6fade90b8e\",\n      \"resource\": {\n        \"resourceType\": \"DiagnosticReport\",\n        \"status\": \"unknown\",\n        \"subject\": { \"reference\": \"urn:uuid:be9c10c7-8aa9-44c3-99bc-e4d0dd9221c5\" },\n        \"encounter\": { \"reference\": \"urn:uuid:8678f7f1-157f-43bf-82e9-d5cd3a3682f1\" },\n        \"basedOn\": [{ \"reference\": \"urn:uuid:da4280de-9fcd-4916-9faa-69436250fb1a\" }],\n        \"category\": [{ \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0074\", \"code\": \"LAB\", \"display\": \"Laboratory\" }], \"text\": \"Laboratory\" }],\n        \"code\": { \"coding\": [{ \"code\": \"LAB-REPORT\" }] },\n        \"result\": [\n          { \"reference\": \"urn:uuid:65e3a996-e388-4e3f-9760-6edf28739fb4\" },\n          { \"reference\": \"urn:uuid:98deab5e-cedc-4c93-bbb9-98288dc374a1\" }\n        ],\n        \"identifier\": [\n          { \"use\": \"official\", \"type\": { \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\", \"code\": \"FILL\", \"display\": \"Filler Identifier\" }], \"text\": \"FillerId\" } },\n          { \"use\": \"official\", \"type\": { \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\", \"code\": \"PLAC\", \"display\": \"Placer Identifier\" }], \"text\": \"PlacerId\" } }\n        ]\n      }\n    }\n  ]\n}\n------------------------------\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"fhir-json--inline","__idx":11},"children":["FHIR JSON — Inline"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Content-Type:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["application/fhir+json"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The raw FHIR R4 Bundle is POSTed directly as the request body — no multipart wrapper, no ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["metadata"]}," field. The bundle structure is identical to the File format."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Because the FHIR Bundle body must remain R4-compliant, envelope fields (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["customerId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uploadId"]},", etc.) cannot be added inside the body without breaking the standard. Instead, JondaX delivers this metadata as custom ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-JondaX-*"]}," HTTP request headers on every inline FHIR JSON callback."]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /api/results HTTP/1.1\nHost: api.example.com\nContent-Type: application/fhir+json\n[api-header]: [api-key]\nX-JondaX-Customer-Id: 11\nX-JondaX-Upload-Id: 16227c8c-aa20-443d-ad50-528034f54d7a\nX-JondaX-File-Name: E20UNMDMCB_96dpi_1.png\nX-JondaX-Transaction-Id: 484\nX-JondaX-Output-Format: FHIR_JSON\nX-JondaX-Total-Tests: 3\n\n{\n  \"resourceType\": \"Bundle\",\n  \"type\": \"transaction\",\n  \"entry\": [\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"Organization\" },\n      \"fullUrl\": \"urn:uuid:5ab2cbc4-08ea-43a8-8f3e-4a0a0c7cc77f\",\n      \"resource\": {\n        \"resourceType\": \"Organization\",\n        \"identifier\": [{ \"value\": \"JONDAHEALTH\" }]\n      }\n    },\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"Patient\" },\n      \"fullUrl\": \"urn:uuid:373bda8e-ab23-4ce6-9243-62290243d271\",\n      \"resource\": {\n        \"resourceType\": \"Patient\",\n        \"managingOrganization\": { \"reference\": \"urn:uuid:5ab2cbc4-08ea-43a8-8f3e-4a0a0c7cc77f\" }\n      }\n    },\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"Encounter\" },\n      \"fullUrl\": \"urn:uuid:941400a0-9573-4383-8fbf-8a3cb87051b4\",\n      \"resource\": {\n        \"resourceType\": \"Encounter\",\n        \"status\": \"unknown\",\n        \"class\": { \"code\": \"AMB\" },\n        \"subject\": { \"reference\": \"urn:uuid:373bda8e-ab23-4ce6-9243-62290243d271\" },\n        \"identifier\": [{ \"type\": { \"text\": \"EncounterNumber\" }, \"use\": \"official\", \"value\": \"ENC-475-1783389025762\" }]\n      }\n    },\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"ServiceRequest\" },\n      \"fullUrl\": \"urn:uuid:1e605c7d-a0db-4039-b692-49344d016156\",\n      \"resource\": {\n        \"resourceType\": \"ServiceRequest\",\n        \"status\": \"active\",\n        \"intent\": \"order\",\n        \"subject\": { \"reference\": \"urn:uuid:373bda8e-ab23-4ce6-9243-62290243d271\" },\n        \"encounter\": { \"reference\": \"urn:uuid:941400a0-9573-4383-8fbf-8a3cb87051b4\" },\n        \"category\": [{ \"coding\": [{ \"system\": \"http://snomed.info/sct\", \"code\": \"103693007\", \"display\": \"Diagnostic procedure\" }], \"text\": \"Diagnostic procedure\" }],\n        \"code\": { \"coding\": [{ \"code\": \"LAB-ORDER\" }] },\n        \"identifier\": [\n          { \"use\": \"official\", \"type\": { \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\", \"code\": \"FILL\", \"display\": \"Filler Identifier\" }], \"text\": \"FillerId\" } },\n          { \"use\": \"official\", \"type\": { \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\", \"code\": \"PLAC\", \"display\": \"Placer Identifier\" }], \"text\": \"PlacerId\" } }\n        ]\n      }\n    },\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"Observation\" },\n      \"fullUrl\": \"urn:uuid:f5864374-eeb9-4c01-935b-5028b7d7fdd7\",\n      \"resource\": {\n        \"resourceType\": \"Observation\",\n        \"status\": \"final\",\n        \"subject\": { \"reference\": \"urn:uuid:373bda8e-ab23-4ce6-9243-62290243d271\" },\n        \"encounter\": { \"reference\": \"urn:uuid:941400a0-9573-4383-8fbf-8a3cb87051b4\" },\n        \"effectiveDateTime\": \"2026-04-23T00:00:00.000Z\",\n        \"category\": [{ \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/observation-category\", \"code\": \"laboratory\" }] }],\n        \"code\": { \"coding\": [{ \"code\": \"Glucose Tolerance Test (OGTT)\", \"display\": \"Glucose Tolerance Test (OGTT)\" }] },\n        \"valueQuantity\": {\n          \"value\": 5,\n          \"unit\": \"mmol/l\",\n          \"system\": \"http://unitsofmeasure.org\",\n          \"code\": \"mmol/l\"\n        },\n        \"referenceRange\": [{ \"low\": { \"value\": 4.11, \"unit\": \"mmol/l\", \"system\": \"http://unitsofmeasure.org\", \"code\": \"mmol/l\" }, \"high\": { \"value\": 6.05, \"unit\": \"mmol/l\", \"system\": \"http://unitsofmeasure.org\", \"code\": \"mmol/l\" }, \"text\": \"4.11-6.05\" }]\n      }\n    },\n    {\n      \"request\": { \"method\": \"POST\", \"url\": \"DiagnosticReport\" },\n      \"fullUrl\": \"urn:uuid:135b802d-2562-48b2-b1e3-3affb9a34616\",\n      \"resource\": {\n        \"resourceType\": \"DiagnosticReport\",\n        \"status\": \"unknown\",\n        \"subject\": { \"reference\": \"urn:uuid:373bda8e-ab23-4ce6-9243-62290243d271\" },\n        \"encounter\": { \"reference\": \"urn:uuid:941400a0-9573-4383-8fbf-8a3cb87051b4\" },\n        \"basedOn\": [{ \"reference\": \"urn:uuid:1e605c7d-a0db-4039-b692-49344d016156\" }],\n        \"category\": [{ \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0074\", \"code\": \"LAB\", \"display\": \"Laboratory\" }], \"text\": \"Laboratory\" }],\n        \"code\": { \"coding\": [{ \"code\": \"LAB-REPORT\" }] },\n        \"result\": [{ \"reference\": \"urn:uuid:f5864374-eeb9-4c01-935b-5028b7d7fdd7\" }],\n        \"identifier\": [\n          { \"use\": \"official\", \"type\": { \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\", \"code\": \"FILL\", \"display\": \"Filler Identifier\" }], \"text\": \"FillerId\" } },\n          { \"use\": \"official\", \"type\": { \"coding\": [{ \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\", \"code\": \"PLAC\", \"display\": \"Placer Identifier\" }], \"text\": \"PlacerId\" } }\n        ]\n      }\n    }\n  ]\n}\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"metadata-headers-reference","__idx":12},"children":["Metadata headers reference"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Header"},"children":["Header"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-JondaX-Customer-Id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your account identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-JondaX-Upload-Id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UUID of the upload"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-JondaX-File-Name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Original uploaded filename"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-JondaX-Transaction-Id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Internal transaction identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-JondaX-Output-Format"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FHIR_JSON"]}," for this format"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-JondaX-Total-Tests"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Total number of biomarkers in this result"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"fhir-xml--file-upload","__idx":13},"children":["FHIR XML — File Upload"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Content-Type:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["multipart/form-data"]},". File part content-type: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["application/fhir+xml"]},". File part name: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]},". Filename uses the pattern ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["report-{transactionId}-{timestamp}.xml"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["FHIR version:"]}," R4"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Structure mirrors the FHIR JSON bundle exactly — same resources in the same order, serialized as XML. Each ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<entry>"]}," contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<fullUrl>"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<resource>"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<request>"]},"."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /api/fhir/xml/results HTTP/1.1\nHost: api.example.com\nContent-Type: multipart/form-data;\n[api-header]: [api-key]\n\n------------------------------\nContent-Disposition: form-data; name=\"metadata\"\nContent-Type: application/json\n\n{\n  \"customerId\": 11,\n  \"uploadId\": \"adbd198e-75c5-4a4b-9285-b3debb538091\",\n  \"fileName\": \"report-478-1783389535381.xml\",\n  \"transactionId\": 478,\n  \"outputFormat\": \"FHIR_XML\",\n  \"totalTests\": 26\n}\n------------------------------\nContent-Disposition: form-data; name=\"file\"; filename=\"report-478-1783389535381.xml\"\nContent-Type: application/fhir+xml\n\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bundle xmlns=\"http://hl7.org/fhir\">\n  <type value=\"transaction\"/>\n  <entry>\n    <fullUrl value=\"urn:uuid:6b5c1f31-2188-4d36-bece-fb46d31e94d7\"/>\n    <resource>\n      <Organization>\n        <identifier>\n          <value value=\"JONDAHEALTH\"/>\n        </identifier>\n      </Organization>\n    </resource>\n    <request>\n      <method value=\"POST\"/>\n      <url value=\"Organization\"/>\n    </request>\n  </entry>\n  <entry>\n    <fullUrl value=\"urn:uuid:75ec5b50-f3f9-42b7-8861-7709f02a969d\"/>\n    <resource>\n      <Patient>\n        <managingOrganization>\n          <reference value=\"urn:uuid:6b5c1f31-2188-4d36-bece-fb46d31e94d7\"/>\n        </managingOrganization>\n      </Patient>\n    </resource>\n    <request>\n      <method value=\"POST\"/>\n      <url value=\"Patient\"/>\n    </request>\n  </entry>\n  <entry>\n    <fullUrl value=\"urn:uuid:454e63bb-8164-4566-b916-fd01493cee24\"/>\n    <resource>\n      <Encounter>\n        <status value=\"unknown\"/>\n        <class>\n          <code value=\"AMB\"/>\n        </class>\n        <subject>\n          <reference value=\"urn:uuid:75ec5b50-f3f9-42b7-8861-7709f02a969d\"/>\n        </subject>\n        <identifier>\n          <use value=\"official\"/>\n          <type>\n            <text value=\"EncounterNumber\"/>\n          </type>\n          <value value=\"ENC-478-1783389535380\"/>\n        </identifier>\n      </Encounter>\n    </resource>\n    <request>\n      <method value=\"POST\"/>\n      <url value=\"Encounter\"/>\n    </request>\n  </entry>\n  <entry>\n    <fullUrl value=\"urn:uuid:a570c0ff-85fa-41b1-9e11-7ef346c9d04e\"/>\n    <resource>\n      <ServiceRequest>\n        <status value=\"active\"/>\n        <intent value=\"order\"/>\n        <subject>\n          <reference value=\"urn:uuid:75ec5b50-f3f9-42b7-8861-7709f02a969d\"/>\n        </subject>\n        <encounter>\n          <reference value=\"urn:uuid:454e63bb-8164-4566-b916-fd01493cee24\"/>\n        </encounter>\n        <category>\n          <coding>\n            <system value=\"http://snomed.info/sct\"/>\n            <code value=\"103693007\"/>\n            <display value=\"Diagnostic procedure\"/>\n          </coding>\n          <text value=\"Diagnostic procedure\"/>\n        </category>\n        <code>\n          <coding>\n            <code value=\"LAB-ORDER\"/>\n          </coding>\n        </code>\n        <identifier>\n          <use value=\"official\"/>\n          <type>\n            <coding>\n              <system value=\"http://terminology.hl7.org/CodeSystem/v2-0203\"/>\n              <code value=\"FILL\"/>\n              <display value=\"Filler Identifier\"/>\n            </coding>\n            <text value=\"FillerId\"/>\n          </type>\n        </identifier>\n        <identifier>\n          <use value=\"official\"/>\n          <type>\n            <coding>\n              <system value=\"http://terminology.hl7.org/CodeSystem/v2-0203\"/>\n              <code value=\"PLAC\"/>\n              <display value=\"Placer Identifier\"/>\n            </coding>\n            <text value=\"PlacerId\"/>\n          </type>\n        </identifier>\n      </ServiceRequest>\n    </resource>\n    <request>\n      <method value=\"POST\"/>\n      <url value=\"ServiceRequest\"/>\n    </request>\n  </entry>\n  <entry>\n    <fullUrl value=\"urn:uuid:0bc2f8c0-ae01-4a33-8bc7-c0fe6e3f7fa2\"/>\n    <resource>\n      <Observation>\n        <status value=\"final\"/>\n        <category>\n          <coding>\n            <system value=\"http://terminology.hl7.org/CodeSystem/observation-category\"/>\n            <code value=\"laboratory\"/>\n          </coding>\n        </category>\n        <code>\n          <coding>\n            <code value=\"L443 Color\"/>\n            <display value=\"L443 Color\"/>\n          </coding>\n        </code>\n        <subject>\n          <reference value=\"urn:uuid:75ec5b50-f3f9-42b7-8861-7709f02a969d\"/>\n        </subject>\n        <encounter>\n          <reference value=\"urn:uuid:454e63bb-8164-4566-b916-fd01493cee24\"/>\n        </encounter>\n        <effectiveDateTime value=\"2024-03-27T00:00:00.000Z\"/>\n        <valueString value=\"YELLOW\"/>\n      </Observation>\n    </resource>\n    <request>\n      <method value=\"POST\"/>\n      <url value=\"Observation\"/>\n    </request>\n  </entry>\n  <entry>\n    <fullUrl value=\"urn:uuid:e50cfe02-cec9-4017-bcab-56793b90845f\"/>\n    <resource>\n      <Observation>\n        <status value=\"final\"/>\n        <category>\n          <coding>\n            <system value=\"http://terminology.hl7.org/CodeSystem/observation-category\"/>\n            <code value=\"laboratory\"/>\n          </coding>\n        </category>\n        <code>\n          <coding>\n            <code value=\"L446 pH\"/>\n            <display value=\"L446 pH\"/>\n          </coding>\n        </code>\n        <subject>\n          <reference value=\"urn:uuid:75ec5b50-f3f9-42b7-8861-7709f02a969d\"/>\n        </subject>\n        <encounter>\n          <reference value=\"urn:uuid:454e63bb-8164-4566-b916-fd01493cee24\"/>\n        </encounter>\n        <effectiveDateTime value=\"2024-03-27T00:00:00.000Z\"/>\n        <valueQuantity>\n          <value value=\"6\"/>\n          <unit value=\"\"/>\n          <system value=\"http://unitsofmeasure.org\"/>\n          <code value=\"\"/>\n        </valueQuantity>\n      </Observation>\n    </resource>\n    <request>\n      <method value=\"POST\"/>\n      <url value=\"Observation\"/>\n    </request>\n  </entry>\n</Bundle>\n------------------------------\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"csv--file-upload","__idx":14},"children":["CSV — File Upload"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Content-Type:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["multipart/form-data"]},". File part content-type: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text/csv"]},". Filename uses the pattern ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["report-{transactionId}-{timestamp}.csv"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The file is UTF-8 encoded with a BOM (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\\uFEFF"]},") prepended so Excel renders special characters correctly. Line endings are CRLF (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\\r\\n"]},") per RFC 4180."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"column-order","__idx":15},"children":["Column order"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Date"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Biomarker-Name"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Result"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Low-Ref-Range"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["High-Ref-Range"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Unit-of-measurement"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Comment"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Columns are identical to the JSON format fields — one biomarker per row, with a header row as the first line."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"csv-field-reference","__idx":16},"children":["CSV field reference"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Column"},"children":["Column"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Date"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Test date (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YYYY-MM-DD"]},"). Can be empty"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Biomarker-Name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Standardized (transformed) biomarker name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Result"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Test result value — translated/converted value when available, otherwise original"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Low-Ref-Range"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Lower reference range — translated value when available, otherwise original. Can be empty"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["High-Ref-Range"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Upper reference range — translated value when available, otherwise original. Can be empty"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Unit-of-measurement"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Measurement unit — transformed unit when available, otherwise original. Can be empty"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Comment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Additional notes. Can be empty"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Values containing commas, quotes, or newlines are wrapped in double quotes per RFC 4180. Embedded double quotes are doubled (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"\""]},")."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-1","__idx":17},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /api/results HTTP/1.1\nHost: api.example.com\nContent-Type: multipart/form-data;\n[api-header]: [api-key]\n\n------------------------------\nContent-Disposition: form-data; name=\"metadata\"\nContent-Type: application/json\n\n{\n  \"customerId\": 11,\n  \"uploadId\": \"16227c8c-aa20-443d-ad50-528034f54d7a\",\n  \"fileName\": \"E20UNMDMCB_96dpi_1.png\",\n  \"transactionId\": 484,\n  \"outputFormat\": \"CSV\",\n  \"totalTests\": 10\n}\n------------------------------\nContent-Disposition: form-data; name=\"file\"; filename=\"report-487-1783327368748.csv\"\nContent-Type: text/csv\n\nDate,Biomarker-Name,Result,Low-Ref-Range,High-Ref-Range,Unit-of-measurement,Comment\n2022-03-16,WBC,6.30,4.00,10.00,10^3/uL,\n2022-03-16,HGB,14.5,12.00,15.50,g/dL,\n2022-03-16,PLT,250,150.00,400.00,10^3/uL,\n------------------------------\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The CSV file always includes the header row as the first line. Empty values appear as empty fields between delimiters (e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[",,"]},")."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"parquet--file-upload","__idx":18},"children":["Parquet — File Upload"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Content-Type:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["multipart/form-data"]},". File part content-type: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["application/octet-stream"]},". Filename uses the pattern ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["report-{transactionId}-{timestamp}.parquet"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Parquet file contains the same columns as the CSV format in the same order. All columns are typed as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UTF8"]}," (string) in the Parquet schema."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"schema","__idx":19},"children":["Schema"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Column"},"children":["Column"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parquet type"},"children":["Parquet type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Date"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UTF8"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Test date (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YYYY-MM-DD"]},"). Can be empty string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Biomarker-Name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UTF8"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Standardized (transformed) biomarker name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Result"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UTF8"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Test result value"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Low-Ref-Range"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UTF8"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Lower reference range. Can be empty string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["High-Ref-Range"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UTF8"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Upper reference range. Can be empty string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Unit-of-measurement"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UTF8"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Measurement unit. Can be empty string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Comment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UTF8"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Additional notes. Can be empty string"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-request","__idx":20},"children":["Example request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /api/results HTTP/1.1\nHost: api.example.com\nContent-Type: multipart/form-data;\n[api-header]: [api-key]\n\n------------------------------\nContent-Disposition: form-data; name=\"metadata\"\nContent-Type: application/json\n\n{\n  \"customerId\": 11,\n  \"uploadId\": \"16227c8c-aa20-443d-ad50-528034f54d7a\",\n  \"fileName\": \"E20UNMDMCB_96dpi_1.png\",\n  \"transactionId\": 484,\n  \"outputFormat\": \"PARQUET\",\n  \"totalTests\": 100\n}\n------------------------------\nContent-Disposition: form-data; name=\"file\"; filename=\"report-708-1783326991576.parquet\"\nContent-Type: application/octet-stream\n\n(binary Parquet data)\n------------------------------\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"reading-parquet-in-common-languages","__idx":21},"children":["Reading Parquet in common languages"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","header":{"controls":{"copy":{}}},"source":"# Python — pandas\nimport pandas as pd\ndf = pd.read_parquet(\"report-231-1777433560479.parquet\")\nprint(df)\n","lang":"python"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"js","header":{"controls":{"copy":{}}},"source":"// Node.js — @dsnp/parquetjs\nconst { ParquetReader } = require('@dsnp/parquetjs');\nconst reader = await ParquetReader.openBuffer(buffer);\nconst cursor = reader.getCursor();\nlet record;\nwhile ((record = await cursor.next()) !== null) {\n  console.log(record);\n}\nawait reader.close();\n","lang":"js"},"children":[]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Parquet is recommended for large result sets or data pipeline integrations. For simpler integrations, CSV carries the same data with no binary parsing required."]}]}]},"headings":[{"value":"Callback Payloads","id":"callback-payloads","depth":1},{"value":"JSON — Inline","id":"json--inline","depth":2},{"value":"JSON field reference","id":"json-field-reference","depth":3},{"value":"With \"Original results in output\" enabled","id":"with-original-results-in-output-enabled","depth":3},{"value":"JSON — File Upload","id":"json--file-upload","depth":2},{"value":"Metadata field reference","id":"metadata-field-reference","depth":3},{"value":"HL7 — File Upload","id":"hl7--file-upload","depth":2},{"value":"HL7 segments","id":"hl7-segments","depth":3},{"value":"OBX value types","id":"obx-value-types","depth":3},{"value":"Example","id":"example","depth":3},{"value":"FHIR JSON — File Upload","id":"fhir-json--file-upload","depth":2},{"value":"FHIR JSON — Inline","id":"fhir-json--inline","depth":2},{"value":"Metadata headers reference","id":"metadata-headers-reference","depth":3},{"value":"FHIR XML — File Upload","id":"fhir-xml--file-upload","depth":2},{"value":"CSV — File Upload","id":"csv--file-upload","depth":2},{"value":"Column order","id":"column-order","depth":3},{"value":"CSV field reference","id":"csv-field-reference","depth":3},{"value":"Example","id":"example-1","depth":3},{"value":"Parquet — File Upload","id":"parquet--file-upload","depth":2},{"value":"Schema","id":"schema","depth":3},{"value":"Example request","id":"example-request","depth":3},{"value":"Reading Parquet in common languages","id":"reading-parquet-in-common-languages","depth":3}],"frontmatter":{"seo":{"title":"Callback Payloads — Pathology — JondaX API Docs","description":"Full reference for JondaX Pathology callback payload formats — JSON inline, JSON file, HL7, FHIR JSON, and FHIR XML with field descriptions and examples."}},"lastModified":"2026-07-30T05:38:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/pathology/callback-payloads","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}