Botswana AMR Implementation Guide
0.1.0 - 0.1.0
Botswana AMR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://bw.health.gov/fhir/amr/OperationDefinition/ExportWHONET | Version: 0.1.0 | |||
| Draft as of 2026-03-13 | Computable Name: ExportWHONET | |||
Exports AMR DiagnosticReport data as a WHONET-compatible flat file or GLASS submission file. The operation flattens the FHIR resource graph (DiagnosticReport -> OrganismObservation -> SusceptibilityObservation) into isolate-centric rows suitable for WHONET import or WHO GLASS batch upload.
URL: [base]/DiagnosticReport/$export-whonet
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | start | 0..1 | date | Start of date range filter for specimen collection date (inclusive). Only DiagnosticReports whose specimen was collected on or after this date are included. | ||
| IN | end | 0..1 | date | End of date range filter for specimen collection date (inclusive). Only DiagnosticReports whose specimen was collected on or before this date are included. | ||
| IN | facility | 0..1 | string | Filter results by facility name. Matches against the Encounter.serviceProvider organization name or DiagnosticReport.performer organization name. | ||
| IN | format | 0..1 | code | Output format: 'whonet' for WHONET pipe-delimited format, 'glass' for WHO GLASS batch submission format. Defaults to 'whonet'. | ||
| OUT | return | 1..1 | Binary | The generated flat file returned as a Binary resource with contentType text/csv. |