MHFL API Guide
Use the MHFL CSD API to search the Master Health Facility List and retrieve current facility directory information for your integration.
About MHFL
The Master Health Facility List (MHFL) is the authoritative national registry of health facilities. It provides:
- Unique facility IDs: persistent, standard identifiers
- Facility metadata: name, type, ownership, and status
- Addressing and geolocation coordinates
- Service directories: facility services and locations
- Interoperability: CSD and mCSD (FHIR) profiles
Value and benefits
- Single source of truth for facility identity
- Reduces duplication and ambiguity
- Improves planning, monitoring, and emergency response
- Enables transparency and accountability
- Supports service delivery and case management
Architecture
The MHFL Core provides user access management, facility management, user management, system management, request management, reporting, training content, document management, communication, and data sharing.
It interfaces with:
- MHFL users through the web front-end, back-end core and proxy databases, security and user authentication, API gateway, and audit logs
- Support tiers: first and second line (NDoH), third line (CSIR), and the MHFL back-office
- External systems: non-NDoH systems (SAPC, SVS, reimbursement, and others) and NDoH systems (EVDS, Data Lake, HPRS, Social Facilities Planning Toolkit)
User roles and responsibilities
| Role | Responsibility |
|---|---|
| Facility Representative | Add and edit facilities |
| Approver | Approve requests |
| External System Representative | Create external systems |
| Curator | Curate facility data |
| System Administrator | Create user accounts and review requests |
| Co-ordinator | Co-ordinate MHFL activities |
CSD API
This section documents the current CSD API implementation exposed by MHFL.
Endpoint
- Base URL:
https://test-hie.health.gov.za/csd - Method:
POST - Content-Type:
application/xml
Required Headers
apikey: fsjDWKIX3pvverEm2Un5bT3zBhGQxwcContent-Type: application/xml
API keys are supplied per client. Contact the platform admin for your assigned key.
Quick Start: Search Facilities By Name
- cURL
- Node.js
- Python
curl -X POST -k \
-H 'apikey: fsjDWKIX3pvverEm2Un5bT3zBhGQxwc' \
-H 'Content-Type: application/xml' \
-i https://test-hie.health.gov.za/csd \
--data '<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:primaryName>Mzansi Community Health Centre</csd:primaryName>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>'
import https from 'node:https';
const requestBody = `<?xml version="1.0" encoding="UTF-8"?>
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:primaryName>Mzansi Community Health Centre</csd:primaryName>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>`;
const request = https.request(
'https://test-hie.health.gov.za/csd',
{
method: 'POST',
rejectUnauthorized: false, // Equivalent to cURL's -k option.
headers: {
apikey: 'fsjDWKIX3pvverEm2Un5bT3zBhGQxwc',
'Content-Type': 'application/xml',
'Content-Length': Buffer.byteLength(requestBody),
},
},
(response) => {
console.log(`Status: ${response.statusCode}`);
response.pipe(process.stdout);
},
);
request.on('error', console.error);
request.end(requestBody);
import requests
request_body = """<?xml version="1.0" encoding="UTF-8"?>
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:primaryName>Mzansi Community Health Centre</csd:primaryName>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>"""
response = requests.post(
"https://test-hie.health.gov.za/csd",
data=request_body,
headers={
"apikey": "fsjDWKIX3pvverEm2Un5bT3zBhGQxwc",
"Content-Type": "application/xml",
},
verify=False, # Equivalent to cURL's -k option.
timeout=30,
)
response.raise_for_status()
print(response.status_code, response.text)
Response for Search Facilities By Name
<CSD xmlns="urn:ihe:iti:csd:2013">
<organizationDirectory/>
<serviceDirectory/>
<facilityDirectory>
<facility entityID="urn:uuid:37f8f648-d2d6-480d-b762-47d2dfb809d2">
<otherID code="P202611" assigningAuthorityName="MFL"/>
<codedType code="CHC" codingScheme="2.16.710.1.113883.18.900">Community Health Centre</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Mzansi Community Health Centre</primaryName>
<otherName>gp Mzansi Community Health Centre</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">1419 Makgato Road</addressLine>
<addressLine component="Suburb">Winterveld</addressLine>
<addressLine component="City">Pretoria</addressLine>
<addressLine component="PostalCode">198</addressLine>
<addressLine component="SubDistrict">Tshwane 1 SD</addressLine>
<addressLine component="District">Tshwane MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Zandile</commonName>
<honorific>Sr</honorific>
<forename>Zandile</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">Z.</otherName>
<surname>Khumalo</surname>
</name>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0120004567</codedType>
</contactPoint>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0920003345</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.khumalo@gauteng.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-25.471502</latitude>
<longitude>28.057521</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:814ce1a8-d39f-489a-aede-5097afb09049"/>
<organization entityID="urn:uuid:7773e0ac-9151-4be5-8bac-c9b775affd99">
<service entityID="urn:uuid:0593ef73-ff33-4999-b835-e6afee8a528e">
<name>
<commonName>In-patient Beds - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:7ce83468-4530-4860-a40e-53f4da8b9003">
<name>
<commonName>Isolation Unit - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:e7d79121-4b9a-4f40-acf0-b3621c5a4f05">
<name>
<commonName>Food Services - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="indicators" urn="urn:mhfl:extension:indicators:2020">
<indicators>
<indicator type="Average OPD/Month">1000</indicator>
<indicator type="Average New Admissions">200</indicator>
</indicators>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2021-02-12, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2021-02-12T09:33:22.015+02:00" updated="2021-02-12T09:33:22.015+02:00" status="Active"/>
</facility>
</facilityDirectory>
<providerDirectory/>
</CSD>
Facility Search Modes
You can search for facilities using the following query patterns:
- Search by facility ID (
uniqueID) - Search by other ID (
otherID, e.g. 7-digit NDOH or 6-digit MFL) - Search by primary name or portion of primary name (
primaryName) - Search by name or other name (
name) - Search by facility type (
codedType) - Search by address (
address+addressLine) - Search by record updated timestamp (
record updated="...") - Search all facilities (paging with
start/max, or no limit withmax=-1)
Search By Facility ID
- cURL
- Node.js
- Python
curl -X POST -k \
-H 'apikey: fsjDWKIX3pvverEm2Un5bT3zBhGQxwc' \
-H 'Content-Type: application/xml' \
-i https://test-hie.health.gov.za/csd \
--data '<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:uniqueID entityID="urn:uuid:37f8f648-d2d6-480d-b762-47d2dfb809d2"/>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>'
import https from 'node:https';
const requestBody = `<?xml version="1.0" encoding="UTF-8"?>
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:uniqueID entityID="urn:uuid:37f8f648-d2d6-480d-b762-47d2dfb809d2"/>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>`;
const request = https.request(
'https://test-hie.health.gov.za/csd',
{
method: 'POST',
rejectUnauthorized: false, // Equivalent to cURL's -k option.
headers: {
apikey: 'fsjDWKIX3pvverEm2Un5bT3zBhGQxwc',
'Content-Type': 'application/xml',
'Content-Length': Buffer.byteLength(requestBody),
},
},
(response) => {
console.log(`Status: ${response.statusCode}`);
response.pipe(process.stdout);
},
);
request.on('error', console.error);
request.end(requestBody);
import requests
request_body = """<?xml version="1.0" encoding="UTF-8"?>
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:uniqueID entityID="urn:uuid:37f8f648-d2d6-480d-b762-47d2dfb809d2"/>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>"""
response = requests.post(
"https://test-hie.health.gov.za/csd",
data=request_body,
headers={
"apikey": "fsjDWKIX3pvverEm2Un5bT3zBhGQxwc",
"Content-Type": "application/xml",
},
verify=False, # Equivalent to cURL's -k option.
timeout=30,
)
response.raise_for_status()
print(response.status_code, response.text)
Response Search By Facility ID
<CSD xmlns="urn:ihe:iti:csd:2013">
<organizationDirectory/>
<serviceDirectory/>
<facilityDirectory>
<facility entityID="urn:uuid:37f8f648-d2d6-480d-b762-47d2dfb809d2">
<otherID code="P202611" assigningAuthorityName="MFL"/>
<codedType code="CHC" codingScheme="2.16.710.1.113883.18.900">Community Health Centre</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Mzansi Community Health Centre</primaryName>
<otherName>gp Mzansi Community Health Centre</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">1419 Makgato Road</addressLine>
<addressLine component="Suburb">Winterveld</addressLine>
<addressLine component="City">Pretoria</addressLine>
<addressLine component="PostalCode">198</addressLine>
<addressLine component="SubDistrict">Tshwane 1 SD</addressLine>
<addressLine component="District">Tshwane MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Zandile</commonName>
<honorific>Sr</honorific>
<forename>Zandile</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">Z.</otherName>
<surname>Khumalo</surname>
</name>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0120004567</codedType>
</contactPoint>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0920003345</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.khumalo@gauteng.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-25.471502</latitude>
<longitude>28.057521</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:814ce1a8-d39f-489a-aede-5097afb09049"/>
<organization entityID="urn:uuid:7773e0ac-9151-4be5-8bac-c9b775affd99">
<service entityID="urn:uuid:0593ef73-ff33-4999-b835-e6afee8a528e">
<name>
<commonName>In-patient Beds - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:7ce83468-4530-4860-a40e-53f4da8b9003">
<name>
<commonName>Isolation Unit - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:e7d79121-4b9a-4f40-acf0-b3621c5a4f05">
<name>
<commonName>Food Services - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="indicators" urn="urn:mhfl:extension:indicators:2020">
<indicators>
<indicator type="Average OPD/Month">1000</indicator>
<indicator type="Average New Admissions">200</indicator>
</indicators>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2021-02-12, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2021-02-12T09:33:22.015+02:00" updated="2021-02-12T09:33:22.015+02:00" status="Active"/>
</facility>
</facilityDirectory>
<providerDirectory/>
</CSD>
Search By Facility Other ID
- cURL
- Node.js
- Python
curl -X POST -k \
-H 'apikey: fsjDWKIX3pvverEm2Un5bT3zBhGQxwc' \
-H 'Content-Type: application/xml' \
-i https://test-hie.health.gov.za/csd \
--data '<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:otherID code="P202611" assigningAuthorityName="MFL"/>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>'
import https from 'node:https';
const requestBody = `<?xml version="1.0" encoding="UTF-8"?>
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:otherID code="P202611" assigningAuthorityName="MFL"/>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>`;
const request = https.request(
'https://test-hie.health.gov.za/csd',
{
method: 'POST',
rejectUnauthorized: false, // Equivalent to cURL's -k option.
headers: {
apikey: 'fsjDWKIX3pvverEm2Un5bT3zBhGQxwc',
'Content-Type': 'application/xml',
'Content-Length': Buffer.byteLength(requestBody),
},
},
(response) => {
console.log(`Status: ${response.statusCode}`);
response.pipe(process.stdout);
},
);
request.on('error', console.error);
request.end(requestBody);
import requests
request_body = """<?xml version="1.0" encoding="UTF-8"?>
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:otherID code="P202611" assigningAuthorityName="MFL"/>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>"""
response = requests.post(
"https://test-hie.health.gov.za/csd",
data=request_body,
headers={
"apikey": "fsjDWKIX3pvverEm2Un5bT3zBhGQxwc",
"Content-Type": "application/xml",
},
verify=False, # Equivalent to cURL's -k option.
timeout=30,
)
response.raise_for_status()
print(response.status_code, response.text)
Response Search By Facility Other ID
<CSD xmlns="urn:ihe:iti:csd:2013">
<organizationDirectory/>
<serviceDirectory/>
<facilityDirectory>
<facility entityID="urn:uuid:37f8f648-d2d6-480d-b762-47d2dfb809d2">
<otherID code="P202611" assigningAuthorityName="MFL"/>
<codedType code="CHC" codingScheme="2.16.710.1.113883.18.900">Community Health Centre</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Mzansi Community Health Centre</primaryName>
<otherName>gp Mzansi Community Health Centre</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">1419 Makgato Road</addressLine>
<addressLine component="Suburb">Winterveld</addressLine>
<addressLine component="City">Pretoria</addressLine>
<addressLine component="PostalCode">198</addressLine>
<addressLine component="SubDistrict">Tshwane 1 SD</addressLine>
<addressLine component="District">Tshwane MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Zandile</commonName>
<honorific>Sr</honorific>
<forename>Zandile</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">Z.</otherName>
<surname>Khumalo</surname>
</name>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0120004567</codedType>
</contactPoint>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0920003345</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.khumalo@gauteng.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-25.471502</latitude>
<longitude>28.057521</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:814ce1a8-d39f-489a-aede-5097afb09049"/>
<organization entityID="urn:uuid:7773e0ac-9151-4be5-8bac-c9b775affd99">
<service entityID="urn:uuid:0593ef73-ff33-4999-b835-e6afee8a528e">
<name>
<commonName>In-patient Beds - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:7ce83468-4530-4860-a40e-53f4da8b9003">
<name>
<commonName>Isolation Unit - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:e7d79121-4b9a-4f40-acf0-b3621c5a4f05">
<name>
<commonName>Food Services - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="indicators" urn="urn:mhfl:extension:indicators:2020">
<indicators>
<indicator type="Average OPD/Month">1000</indicator>
<indicator type="Average New Admissions">200</indicator>
</indicators>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2021-02-12, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2021-02-12T09:33:22.015+02:00" updated="2021-02-12T09:33:22.015+02:00" status="Active"/>
</facility>
</facilityDirectory>
<providerDirectory/>
</CSD>
Search By Primary Name (With Result Limit)
- cURL
- Node.js
- Python
curl -X POST -k \
-H 'apikey: fsjDWKIX3pvverEm2Un5bT3zBhGQxwc' \
-H 'Content-Type: application/xml' \
-i https://test-hie.health.gov.za/csd \
--data '<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:primaryName>Mzansi Community Health Centre</csd:primaryName>
<csd:max>1</csd:max>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>'
import https from 'node:https';
const requestBody = `<?xml version="1.0" encoding="UTF-8"?>
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:primaryName>Mzansi Community Health Centre</csd:primaryName>
<csd:max>1</csd:max>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>`;
const request = https.request(
'https://test-hie.health.gov.za/csd',
{
method: 'POST',
rejectUnauthorized: false, // Equivalent to cURL's -k option.
headers: {
apikey: 'fsjDWKIX3pvverEm2Un5bT3zBhGQxwc',
'Content-Type': 'application/xml',
'Content-Length': Buffer.byteLength(requestBody),
},
},
(response) => {
console.log(`Status: ${response.statusCode}`);
response.pipe(process.stdout);
},
);
request.on('error', console.error);
request.end(requestBody);
import requests
request_body = """<?xml version="1.0" encoding="UTF-8"?>
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:primaryName>Mzansi Community Health Centre</csd:primaryName>
<csd:max>1</csd:max>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>"""
response = requests.post(
"https://test-hie.health.gov.za/csd",
data=request_body,
headers={
"apikey": "fsjDWKIX3pvverEm2Un5bT3zBhGQxwc",
"Content-Type": "application/xml",
},
verify=False, # Equivalent to cURL's -k option.
timeout=30,
)
response.raise_for_status()
print(response.status_code, response.text)
Response Search By Primary Name (With Result Limit)
<CSD xmlns="urn:ihe:iti:csd:2013">
<organizationDirectory/>
<serviceDirectory/>
<facilityDirectory>
<facility entityID="urn:uuid:37f8f648-d2d6-480d-b762-47d2dfb809d2">
<otherID code="P202611" assigningAuthorityName="MFL"/>
<codedType code="CHC" codingScheme="2.16.710.1.113883.18.900">Community Health Centre</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Mzansi Community Health Centre</primaryName>
<otherName>gp Mzansi Community Health Centre</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">1419 Makgato Road</addressLine>
<addressLine component="Suburb">Winterveld</addressLine>
<addressLine component="City">Pretoria</addressLine>
<addressLine component="PostalCode">198</addressLine>
<addressLine component="SubDistrict">Tshwane 1 SD</addressLine>
<addressLine component="District">Tshwane MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Zandile</commonName>
<honorific>Sr</honorific>
<forename>Zandile</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">Z.</otherName>
<surname>Khumalo</surname>
</name>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0120004567</codedType>
</contactPoint>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0920003345</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.khumalo@gauteng.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-25.471502</latitude>
<longitude>28.057521</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:814ce1a8-d39f-489a-aede-5097afb09049"/>
<organization entityID="urn:uuid:7773e0ac-9151-4be5-8bac-c9b775affd99">
<service entityID="urn:uuid:0593ef73-ff33-4999-b835-e6afee8a528e">
<name>
<commonName>In-patient Beds - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:7ce83468-4530-4860-a40e-53f4da8b9003">
<name>
<commonName>Isolation Unit - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:e7d79121-4b9a-4f40-acf0-b3621c5a4f05">
<name>
<commonName>Food Services - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="indicators" urn="urn:mhfl:extension:indicators:2020">
<indicators>
<indicator type="Average OPD/Month">1000</indicator>
<indicator type="Average New Admissions">200</indicator>
</indicators>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2021-02-12, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2021-02-12T09:33:22.015+02:00" updated="2021-02-12T09:33:22.015+02:00" status="Active"/>
</facility>
</facilityDirectory>
<providerDirectory/>
</CSD>
Error Search By Primary Name (With Result Limit)
Note Searching incorrect (Limited Results)
search with max
Stopped at /basex/repo/za/co/csir/ngei/nhi_is/result_limit.xqm, 174/10:
[FOER0000] The collection size is not greater or equal to the max value!
Stack Trace:
- /basex/repo/za/co/csir/ngei/nhi_is/facility_search.xqm, 183/22
- /basex/webapp/findMatchingServices.xqm, 58/10
Search By Address
- cURL
- Node.js
- Python
curl -X POST -k \
-H 'apikey: fsjDWKIX3pvverEm2Un5bT3zBhGQxwc' \
-H 'Content-Type: application/xml' \
-i https://test-hie.health.gov.za/csd \
--data '<careServicesRequest xmlns="urn:ihe:iti:csd:2013">
<function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<requestParams>
<address type="Office/Business">
<addressLine component="StreetAddress">1419 Makgato Road</addressLine>
<addressLine component="Suburb">Winterveld</addressLine>
<addressLine component="City">Pretoria</addressLine>
<addressLine component="PostalCode">198</addressLine>
<addressLine component="SubDistrict">Tshwane 1 SD</addressLine>
<addressLine component="District">Tshwane MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
</requestParams>
</function>
</careServicesRequest>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>'
import https from 'node:https';
const requestBody = `<?xml version="1.0" encoding="UTF-8"?>
<careServicesRequest xmlns="urn:ihe:iti:csd:2013">
<function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<requestParams>
<address type="Office/Business">
<addressLine component="StreetAddress">1419 Makgato Road</addressLine>
<addressLine component="Suburb">Winterveld</addressLine>
<addressLine component="City">Pretoria</addressLine>
<addressLine component="PostalCode">198</addressLine>
<addressLine component="SubDistrict">Tshwane 1 SD</addressLine>
<addressLine component="District">Tshwane MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
</requestParams>
</function>
</careServicesRequest>`;
const request = https.request(
'https://test-hie.health.gov.za/csd',
{
method: 'POST',
rejectUnauthorized: false, // Equivalent to cURL's -k option.
headers: {
apikey: 'fsjDWKIX3pvverEm2Un5bT3zBhGQxwc',
'Content-Type': 'application/xml',
'Content-Length': Buffer.byteLength(requestBody),
},
},
(response) => {
console.log(`Status: ${response.statusCode}`);
response.pipe(process.stdout);
},
);
request.on('error', console.error);
request.end(requestBody);
import requests
request_body = """<?xml version="1.0" encoding="UTF-8"?>
<careServicesRequest xmlns="urn:ihe:iti:csd:2013">
<function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<requestParams>
<address type="Office/Business">
<addressLine component="StreetAddress">1419 Makgato Road</addressLine>
<addressLine component="Suburb">Winterveld</addressLine>
<addressLine component="City">Pretoria</addressLine>
<addressLine component="PostalCode">198</addressLine>
<addressLine component="SubDistrict">Tshwane 1 SD</addressLine>
<addressLine component="District">Tshwane MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
</requestParams>
</function>
</careServicesRequest>"""
response = requests.post(
"https://test-hie.health.gov.za/csd",
data=request_body,
headers={
"apikey": "fsjDWKIX3pvverEm2Un5bT3zBhGQxwc",
"Content-Type": "application/xml",
},
verify=False, # Equivalent to cURL's -k option.
timeout=30,
)
response.raise_for_status()
print(response.status_code, response.text)
Response Search By Address
<CSD xmlns="urn:ihe:iti:csd:2013">
<organizationDirectory/>
<serviceDirectory/>
<facilityDirectory>
<facility entityID="urn:uuid:37f8f648-d2d6-480d-b762-47d2dfb809d2">
<otherID code="P202611" assigningAuthorityName="MFL"/>
<codedType code="CHC" codingScheme="2.16.710.1.113883.18.900">Community Health Centre</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Mzansi Community Health Centre</primaryName>
<otherName>gp Mzansi Community Health Centre</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">1419 Makgato Road</addressLine>
<addressLine component="Suburb">Winterveld</addressLine>
<addressLine component="City">Pretoria</addressLine>
<addressLine component="PostalCode">198</addressLine>
<addressLine component="SubDistrict">Tshwane 1 SD</addressLine>
<addressLine component="District">Tshwane MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Zandile</commonName>
<honorific>Sr</honorific>
<forename>Zandile</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">Z.</otherName>
<surname>Khumalo</surname>
</name>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0120004567</codedType>
</contactPoint>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0920003345</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.khumalo@gauteng.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-25.471502</latitude>
<longitude>28.057521</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:814ce1a8-d39f-489a-aede-5097afb09049"/>
<organization entityID="urn:uuid:7773e0ac-9151-4be5-8bac-c9b775affd99">
<service entityID="urn:uuid:0593ef73-ff33-4999-b835-e6afee8a528e">
<name>
<commonName>In-patient Beds - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:7ce83468-4530-4860-a40e-53f4da8b9003">
<name>
<commonName>Isolation Unit - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:e7d79121-4b9a-4f40-acf0-b3621c5a4f05">
<name>
<commonName>Food Services - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="indicators" urn="urn:mhfl:extension:indicators:2020">
<indicators>
<indicator type="Average OPD/Month">1000</indicator>
<indicator type="Average New Admissions">200</indicator>
</indicators>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2021-02-12, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2021-02-12T09:33:22.015+02:00" updated="2021-02-12T09:33:22.015+02:00" status="Active"/>
</facility>
</facilityDirectory>
<providerDirectory/>
</CSD>
Search All Facilities (Paged)
- cURL
- Node.js
- Python
curl -X POST -k \
-H 'apikey: fsjDWKIX3pvverEm2Un5bT3zBhGQxwc' \
-H 'Content-Type: application/xml' \
-i https://test-hie.health.gov.za/csd \
--data '<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:start>5</csd:start>
<csd:max>15</csd:max>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>'
import https from 'node:https';
const requestBody = `<?xml version="1.0" encoding="UTF-8"?>
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:start>5</csd:start>
<csd:max>15</csd:max>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>`;
const request = https.request(
'https://test-hie.health.gov.za/csd',
{
method: 'POST',
rejectUnauthorized: false, // Equivalent to cURL's -k option.
headers: {
apikey: 'fsjDWKIX3pvverEm2Un5bT3zBhGQxwc',
'Content-Type': 'application/xml',
'Content-Length': Buffer.byteLength(requestBody),
},
},
(response) => {
console.log(`Status: ${response.statusCode}`);
response.pipe(process.stdout);
},
);
request.on('error', console.error);
request.end(requestBody);
import requests
request_body = """<?xml version="1.0" encoding="UTF-8"?>
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:start>5</csd:start>
<csd:max>15</csd:max>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>"""
response = requests.post(
"https://test-hie.health.gov.za/csd",
data=request_body,
headers={
"apikey": "fsjDWKIX3pvverEm2Un5bT3zBhGQxwc",
"Content-Type": "application/xml",
},
verify=False, # Equivalent to cURL's -k option.
timeout=30,
)
response.raise_for_status()
print(response.status_code, response.text)
start is the zero-based offset of the first record to return and max is the page size. Increase start by max to fetch the next page.
Reponse Search All Facilities (Paged)
<CSD xmlns="urn:ihe:iti:csd:2013">
<organizationDirectory/>
<serviceDirectory/>
<facilityDirectory>
<facility entityID="urn:uuid:cbc54c41-9d63-429e-a8f3-7ac9e65ec2d6">
<otherID code="P202601" assigningAuthorityName="MFL"/>
<codedType code="DH" codingScheme="2.16.710.1.113883.18.900">District Hospital</codedType>
<codedType code="MS" codingScheme="2.16.710.1.113883.18.900">Mobile Service</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Ubuntu District Hospital</primaryName>
<otherName>nc Ubuntu District Hospital</otherName>
<address type="Office/Business">
<addressLine component="PostalAddress">P.O. Box154, Richmond, 7090</addressLine>
<addressLine component="StreetAddress">15 Louis Street</addressLine>
<addressLine component="Town">Richmond</addressLine>
<addressLine component="PostalCode">7090</addressLine>
<addressLine component="SubDistrict">Ubuntu LM</addressLine>
<addressLine component="District">Pixley ka Seme DM</addressLine>
<addressLine component="Province">Northern Cape</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Fiela</commonName>
<honorific>Mrs</honorific>
<forename>Fiela</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">F.</otherName>
<surname>du Plessis</surname>
</name>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0730005278</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">testduplessis@nchealth.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-31.417411</latitude>
<longitude>23.951501</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:bb5c1753-928a-4f5f-8ae5-757f533ad6c1"/>
<organization entityID="urn:uuid:fafb9618-5ef8-4dbb-8d90-026ec7e0a3af">
<service entityID="urn:uuid:eab39474-8492-4ae3-959d-e1fdb58eff04">
<name>
<commonName>In-patient Beds - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:6cc8d8f6-321f-4d6a-9aaf-d512748a0fea">
<name>
<commonName>Intensive Care Unit - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:8e5c776c-508a-4b54-a7a7-0dcd4b384c08">
<name>
<commonName>High Care Unit - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:ae9c83c8-2f46-474e-bc3c-d9914df91b98">
<name>
<commonName>Isolation Unit - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:783a5cd9-c2f7-4f8b-aef8-369d3b41f4f3">
<name>
<commonName>Mortuary - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:bb2410a7-f197-4a8d-a0be-ccdec4a06451">
<name>
<commonName>Food Services - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:340328b5-eb48-4167-a376-0939a83f8079">
<name>
<commonName>Laboratory Services - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:13abf09c-be6f-490b-a114-61f89563eeda">
<name>
<commonName>Patient Rooms - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:c1f833d3-6d01-4a7f-804f-f5acc9781d4b">
<name>
<commonName>Drug-Resistant TB - nc Ubuntu District Hospital</commonName>
</name>
<language code="ss" codingScheme="BCP 47">Swati</language>
<language code="xh" codingScheme="BCP 47">Xhosa</language>
<language code="zu" codingScheme="BCP 47">Zulu</language>
<language code="ts" codingScheme="BCP 47">Tsonga</language>
<language code="nr" codingScheme="BCP 47">South Ndebele</language>
<language code="af" codingScheme="BCP 47">Afrikaans</language>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="inpatientBeds" urn="urn:mhfl:extension:inpatientBeds:2020">
<inpatientBeds gynaecology="2" maternity="14" medicine="46" orthopaedic="1" paediatric="19" psychiatry="2" surgery="6" total="90"/>
</extension>
<extension type="inpatientBeds" urn="urn:mhfl:extension:inpatientBeds:2020">
<inpatientBeds maternity="17" paediatric="8" total="74"/>
</extension>
<extension type="indicators" urn="urn:mhfl:extension:indicators:2020">
<indicators>
<indicator type="household">15</indicator>
<indicator type="bedsPerThousand">11,54</indicator>
<indicator type="Average OPD/Month">1917</indicator>
<indicator type="Average New Admissions">317</indicator>
</indicators>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2021-04-29, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2021-04-29T11:00:19.504+02:00" updated="2021-10-28T07:26:30.915+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:f190f4ab-0567-4ba4-8ede-c033db786f4f">
<otherID code="P202602" assigningAuthorityName="MFL"/>
<codedType code="PTH" codingScheme="2.16.710.1.113883.18.900">Provincial Tertiary Hospital</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Nelson Mandela Memorial Hospital</primaryName>
<otherName>gp Nelson Mandela Memorial Hospital</otherName>
<address type="Office/Business">
<addressLine component="PostalAddress">P.O. Box319, Soweto, 1862</addressLine>
<addressLine component="StreetAddress">Cnr College & Hospital Rds</addressLine>
<addressLine component="Township">Diepkloof 319-Iq</addressLine>
<addressLine component="City">Johannesburg</addressLine>
<addressLine component="PostalCode">1864</addressLine>
<addressLine component="SubDistrict">Johannesburg D SD</addressLine>
<addressLine component="District">Johannesburg MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Johan</commonName>
<honorific>Dr</honorific>
<forename>Johan</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">J.</otherName>
<surname>Horniman</surname>
</name>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0110007478</codedType>
</contactPoint>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0850008333</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.horniman@gauteng.gov.za</codedType>
</contactPoint>
<gender>Male</gender>
</person>
</contact>
<geocode>
<latitude>-26.263851</latitude>
<longitude>27.944681</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:41a1ddb9-0e65-4676-98ab-d999e3dd0123"/>
<organization entityID="urn:uuid:7773e0ac-9151-4be5-8bac-c9b775affd99"/>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
</facilityDirectory>
<providerDirectory/>
</CSD>
Search All Facilities (No Limit)
- cURL
- Node.js
- Python
curl -X POST -k \
-H 'apikey: fsjDWKIX3pvverEm2Un5bT3zBhGQxwc' \
-H 'Content-Type: application/xml' \
-i https://test-hie.health.gov.za/csd \
--data '<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:max>-1</csd:max>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>'
import https from 'node:https';
const requestBody = `<?xml version="1.0" encoding="UTF-8"?>
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:max>-1</csd:max>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>`;
const request = https.request(
'https://test-hie.health.gov.za/csd',
{
method: 'POST',
rejectUnauthorized: false, // Equivalent to cURL's -k option.
headers: {
apikey: 'fsjDWKIX3pvverEm2Un5bT3zBhGQxwc',
'Content-Type': 'application/xml',
'Content-Length': Buffer.byteLength(requestBody),
},
},
(response) => {
console.log(`Status: ${response.statusCode}`);
response.pipe(process.stdout);
},
);
request.on('error', console.error);
request.end(requestBody);
import requests
request_body = """<?xml version="1.0" encoding="UTF-8"?>
<csd:careServicesRequest xmlns:csd="urn:ihe:iti:csd:2013">
<csd:function urn="urn:ihe:iti:csd:2014:stored-function:facility-search">
<csd:requestParams>
<csd:max>-1</csd:max>
</csd:requestParams>
</csd:function>
</csd:careServicesRequest>"""
response = requests.post(
"https://test-hie.health.gov.za/csd",
data=request_body,
headers={
"apikey": "fsjDWKIX3pvverEm2Un5bT3zBhGQxwc",
"Content-Type": "application/xml",
},
verify=False, # Equivalent to cURL's -k option.
timeout=120,
)
response.raise_for_status()
print(response.status_code, response.text)
max=-1returns the entire facility directory in one response, which can be large and slow. Prefer the paged search for routine synchronisation.
Response for Search All Facilities (No Limit)
<CSD xmlns="urn:ihe:iti:csd:2013">
<organizationDirectory/>
<serviceDirectory/>
<facilityDirectory>
<facility entityID="urn:uuid:cbc54c41-9d63-429e-a8f3-7ac9e65ec2d6">
<otherID code="P202601" assigningAuthorityName="MFL"/>
<codedType code="DH" codingScheme="2.16.710.1.113883.18.900">District Hospital</codedType>
<codedType code="MS" codingScheme="2.16.710.1.113883.18.900">Mobile Service</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Ubuntu District Hospital</primaryName>
<otherName>nc Ubuntu District Hospital</otherName>
<address type="Office/Business">
<addressLine component="PostalAddress">P.O. Box154, Richmond, 7090</addressLine>
<addressLine component="StreetAddress">15 Louis Street</addressLine>
<addressLine component="Town">Richmond</addressLine>
<addressLine component="PostalCode">7090</addressLine>
<addressLine component="SubDistrict">Ubuntu LM</addressLine>
<addressLine component="District">Pixley ka Seme DM</addressLine>
<addressLine component="Province">Northern Cape</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Fiela</commonName>
<honorific>Mrs</honorific>
<forename>Fiela</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">F.</otherName>
<surname>du Plessis</surname>
</name>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0730005278</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">testduplessis@nchealth.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-31.417411</latitude>
<longitude>23.951501</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:bb5c1753-928a-4f5f-8ae5-757f533ad6c1"/>
<organization entityID="urn:uuid:fafb9618-5ef8-4dbb-8d90-026ec7e0a3af">
<service entityID="urn:uuid:eab39474-8492-4ae3-959d-e1fdb58eff04">
<name>
<commonName>In-patient Beds - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:6cc8d8f6-321f-4d6a-9aaf-d512748a0fea">
<name>
<commonName>Intensive Care Unit - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:8e5c776c-508a-4b54-a7a7-0dcd4b384c08">
<name>
<commonName>High Care Unit - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:ae9c83c8-2f46-474e-bc3c-d9914df91b98">
<name>
<commonName>Isolation Unit - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:783a5cd9-c2f7-4f8b-aef8-369d3b41f4f3">
<name>
<commonName>Mortuary - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:bb2410a7-f197-4a8d-a0be-ccdec4a06451">
<name>
<commonName>Food Services - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:340328b5-eb48-4167-a376-0939a83f8079">
<name>
<commonName>Laboratory Services - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:13abf09c-be6f-490b-a114-61f89563eeda">
<name>
<commonName>Patient Rooms - nc Ubuntu District Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:c1f833d3-6d01-4a7f-804f-f5acc9781d4b">
<name>
<commonName>Drug-Resistant TB - nc Ubuntu District Hospital</commonName>
</name>
<language code="ss" codingScheme="BCP 47">Swati</language>
<language code="xh" codingScheme="BCP 47">Xhosa</language>
<language code="zu" codingScheme="BCP 47">Zulu</language>
<language code="ts" codingScheme="BCP 47">Tsonga</language>
<language code="nr" codingScheme="BCP 47">South Ndebele</language>
<language code="af" codingScheme="BCP 47">Afrikaans</language>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="inpatientBeds" urn="urn:mhfl:extension:inpatientBeds:2020">
<inpatientBeds gynaecology="2" maternity="14" medicine="46" orthopaedic="1" paediatric="19" psychiatry="2" surgery="6" total="90"/>
</extension>
<extension type="inpatientBeds" urn="urn:mhfl:extension:inpatientBeds:2020">
<inpatientBeds maternity="17" paediatric="8" total="74"/>
</extension>
<extension type="indicators" urn="urn:mhfl:extension:indicators:2020">
<indicators>
<indicator type="household">15</indicator>
<indicator type="bedsPerThousand">11,54</indicator>
<indicator type="Average OPD/Month">1917</indicator>
<indicator type="Average New Admissions">317</indicator>
</indicators>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2021-04-29, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2021-04-29T11:00:19.504+02:00" updated="2021-10-28T07:26:30.915+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:f190f4ab-0567-4ba4-8ede-c033db786f4f">
<otherID code="P202602" assigningAuthorityName="MFL"/>
<codedType code="PTH" codingScheme="2.16.710.1.113883.18.900">Provincial Tertiary Hospital</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Nelson Mandela Memorial Hospital</primaryName>
<otherName>gp Nelson Mandela Memorial Hospital</otherName>
<address type="Office/Business">
<addressLine component="PostalAddress">P.O. Box319, Soweto, 1862</addressLine>
<addressLine component="StreetAddress">Cnr College & Hospital Rds</addressLine>
<addressLine component="Township">Diepkloof 319-Iq</addressLine>
<addressLine component="City">Johannesburg</addressLine>
<addressLine component="PostalCode">1864</addressLine>
<addressLine component="SubDistrict">Johannesburg D SD</addressLine>
<addressLine component="District">Johannesburg MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Johan</commonName>
<honorific>Dr</honorific>
<forename>Johan</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">J.</otherName>
<surname>Horniman</surname>
</name>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0110007478</codedType>
</contactPoint>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0850008333</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.horniman@gauteng.gov.za</codedType>
</contactPoint>
<gender>Male</gender>
</person>
</contact>
<geocode>
<latitude>-26.263851</latitude>
<longitude>27.944681</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:41a1ddb9-0e65-4676-98ab-d999e3dd0123"/>
<organization entityID="urn:uuid:7773e0ac-9151-4be5-8bac-c9b775affd99"/>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:f7f40fe9-2616-4b27-a679-f3bbb39d44e0">
<otherID code="P202603" assigningAuthorityName="MFL"/>
<codedType code="PSH" codingScheme="2.16.710.1.113883.18.900">Psychiatric Hospital</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Karoo Valley Hospital</primaryName>
<otherName>wc Karoo Valley Hospital</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">Dominee Pienaar St</addressLine>
<addressLine component="Town">Merweville</addressLine>
<addressLine component="PostalCode">6940</addressLine>
<addressLine component="SubDistrict">Beaufort West LM</addressLine>
<addressLine component="District">Central Karoo DM</addressLine>
<addressLine component="Province">Western Cape</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Ella</commonName>
<honorific>Sr</honorific>
<forename>Naledi</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">N.</otherName>
<surname>Sithole</surname>
</name>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0920001112</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.sithole@westerncape.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<contact>
<person>
<name>
<commonName>Maria</commonName>
<honorific>Dr</honorific>
<forename>Maria</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">M.</otherName>
<surname>Botma</surname>
<suffix>CEO (Acting)</suffix>
</name>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0726252635</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.botma@westerncape.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-32.669554</latitude>
<longitude>21.512032</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:0b5612bd-3e13-46ab-8e49-0ae657a357eb"/>
<organization entityID="urn:uuid:3ff6f564-6acc-4236-9cec-0daf46c9ec79">
<service entityID="urn:uuid:409288b3-85f3-4bc7-8dcd-3e4cfacc0548">
<name>
<commonName>Drug-Resistant TB - wc Karoo Valley Hospital</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Semi-Urban"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2024-02-09, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2024-02-09T00:00:00.000+02:00" updated="2024-02-09T00:00:00.000+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:ded2df6e-1315-4ab2-adac-48cba4352368">
<otherID code="P202604" assigningAuthorityName="MFL"/>
<codedType code="RH" codingScheme="2.16.710.1.113883.18.900">Regional Hospital</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>eThekwini Regional Hospital</primaryName>
<otherName>kz eThekwini Regional Hospital</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">6 Zulu Reserve Rd</addressLine>
<addressLine component="Town">Qadi</addressLine>
<addressLine component="PostalCode">3624</addressLine>
<addressLine component="SubDistrict">eThekwini MM Sub</addressLine>
<addressLine component="District">eThekwini MM</addressLine>
<addressLine component="Province">KwaZulu-Natal</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Thabo</commonName>
<honorific>Dr</honorific>
<forename>Thabo</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">T.</otherName>
<surname>Mokoena</surname>
</name>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0820005641</codedType>
</contactPoint>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0720008887</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.mokoena@kznhealth.gov.za</codedType>
</contactPoint>
<gender>Male</gender>
</person>
</contact>
<geocode>
<latitude>-29.738041</latitude>
<longitude>30.739991</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:837c46f8-91bb-4a4e-9998-50232c3e237c"/>
<organization entityID="urn:uuid:5078877d-e6e5-4b40-b3bd-5b77c86d6ae4"/>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Rural"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:6e6a1337-603e-42df-96ca-643a1877820d">
<otherID code="P202605" assigningAuthorityName="MFL"/>
<codedType code="AH" codingScheme="2.16.710.1.113883.18.900">Acute Hospital</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Tableview Acute Care Hospital</primaryName>
<otherName>wc Tableview Acute Care Hospital</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">52 Nompemvana Cres</addressLine>
<addressLine component="Suburb">Village 1 South</addressLine>
<addressLine component="Township">Khayelithsa</addressLine>
<addressLine component="City">Cape Town</addressLine>
<addressLine component="PostalCode">7784</addressLine>
<addressLine component="SubDistrict">CT Khayelitsha SD</addressLine>
<addressLine component="District">Cape Town MM</addressLine>
<addressLine component="Province">Western Cape</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Johan</commonName>
<honorific>Mr</honorific>
<forename>Johan</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">J.</otherName>
<surname>van der Merwe</surname>
</name>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0210005673</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.vandermerwe@westerncape.gov.za</codedType>
</contactPoint>
<gender>Male</gender>
</person>
</contact>
<geocode>
<latitude>-34.050503</latitude>
<longitude>18.673373</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:3c6c293e-179b-4b23-859c-32b68734d62b"/>
<organization entityID="urn:uuid:3ff6f564-6acc-4236-9cec-0daf46c9ec79"/>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:00aeb87b-7853-4ce8-8d68-c65e47c125cd">
<otherID code="P202606" assigningAuthorityName="MFL"/>
<codedType code="C" codingScheme="2.16.710.1.113883.18.900">Clinic</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Imbokodo Family Clinic</primaryName>
<otherName>gp Imbokodo Family Clinic</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">28 Ngcobo St</addressLine>
<addressLine component="Township">Tsakani</addressLine>
<addressLine component="Town">Brakpan</addressLine>
<addressLine component="PostalCode">1548</addressLine>
<addressLine component="SubDistrict">Ekurhuleni E1 SD</addressLine>
<addressLine component="District">Ekurhuleni MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Palesa</commonName>
<honorific>Mrs</honorific>
<forename>Palesa</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">P.</otherName>
<surname>Mokoena</surname>
</name>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.mokoena@gauteng.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-26.353552</latitude>
<longitude>28.380401</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:58c61e85-7093-4101-ae1f-006091619bda"/>
<organization entityID="urn:uuid:7773e0ac-9151-4be5-8bac-c9b775affd99"/>
<organization entityID="urn:uuid:952b8d10-f27f-483b-a6a1-974575217448">
<service entityID="urn:uuid:57914726-ce39-4d13-ae10-0e63fb48bd60">
<name>
<commonName>HPRS Implemented - gp Imbokodo Family Clinic</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<operatingHours>
<openFlag>false</openFlag>
<dayOfTheWeek>0</dayOfTheWeek>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>1</dayOfTheWeek>
<beginningHour>08:00:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>2</dayOfTheWeek>
<beginningHour>08:00:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>3</dayOfTheWeek>
<beginningHour>08:00:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>4</dayOfTheWeek>
<beginningHour>08:00:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>5</dayOfTheWeek>
<beginningHour>08:00:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>false</openFlag>
<dayOfTheWeek>6</dayOfTheWeek>
</operatingHours>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="notes" urn="urn:mhfl:extension:notes:2020">
<notes>By appointment only on Saturdays. Closed on Sundays.</notes>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:25553556-ba54-4b5f-804b-bce47c5b05a1">
<otherID code="P202607" assigningAuthorityName="MFL"/>
<codedType code="GP" codingScheme="2.16.710.1.113883.18.900">General Practice</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Protea Medical Practice</primaryName>
<otherName>gp Protea Medical Practice</otherName>
<address type="Office/Business">
<addressLine component="Floor">2nd Floor</addressLine>
<addressLine component="Building">Laudium Plaza</addressLine>
<addressLine component="StreetAddress">152 Tangerine St</addressLine>
<addressLine component="Suburb">Laudium</addressLine>
<addressLine component="City">Pretoria</addressLine>
<addressLine component="PostalCode">37</addressLine>
<addressLine component="SubDistrict">Tshwane 4 SD</addressLine>
<addressLine component="District">Tshwane MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Phind</commonName>
<honorific>Dr</honorific>
<forename>Phind</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">P.</otherName>
<surname>Villiers</surname>
</name>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0120005446</codedType>
</contactPoint>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0830007654</codedType>
</contactPoint>
<gender>Unknown</gender>
</person>
</contact>
<geocode>
<latitude>-25.787402</latitude>
<longitude>28.107272</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test@villiers.com</codedType>
</contactPoint>
<organizations>
<organization entityID="urn:uuid:c9edd7e0-c3e8-4faa-8a87-e2b22a1ba0ab"/>
<organization entityID="urn:uuid:8dd3e0fe-f831-493d-907c-1ae193ef5fce"/>
</organizations>
<operatingHours>
<openFlag>false</openFlag>
<dayOfTheWeek>0</dayOfTheWeek>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>1</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>2</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>3</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>4</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>5</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>false</openFlag>
<dayOfTheWeek>6</dayOfTheWeek>
</operatingHours>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="notes" urn="urn:mhfl:extension:notes:2020">
<notes>Closed on Saturdays and Sundays.</notes>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:83e8320d-2e18-46ea-88fe-d08464cc14b1">
<otherID code="P202608" assigningAuthorityName="MFL"/>
<codedType code="C" codingScheme="2.16.710.1.113883.18.900">Clinic</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Baobab Health Clinic</primaryName>
<otherName>lp Baobab Health Clinic</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">55 Herman St</addressLine>
<addressLine component="Town">Lephalale</addressLine>
<addressLine component="PostalCode">555</addressLine>
<addressLine component="SubDistrict">Lephalale LM</addressLine>
<addressLine component="District">Waterberg DM</addressLine>
<addressLine component="Province">Limpopo</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Amahle</commonName>
<honorific>Mrs</honorific>
<forename>Amahle</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">A.</otherName>
<surname>Mbatha</surname>
</name>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.mbatha@lphealth.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-23.679851</latitude>
<longitude>27.725771</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:d0f83d20-1c11-4b57-8ec2-b9760cf9fd90"/>
<organization entityID="urn:uuid:d117fb6f-20d3-4c09-9ce9-6c553c94aded"/>
<organization entityID="urn:uuid:952b8d10-f27f-483b-a6a1-974575217448">
<service entityID="urn:uuid:b7133576-ddca-4dd1-b998-105c5f5e5398">
<name>
<commonName>HPRS Implemented - lp Baobab Health Clinic</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<operatingHours>
<openFlag>false</openFlag>
<dayOfTheWeek>0</dayOfTheWeek>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>1</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>2</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>3</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>4</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>5</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>false</openFlag>
<dayOfTheWeek>6</dayOfTheWeek>
</operatingHours>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="notes" urn="urn:mhfl:extension:notes:2020">
<notes>Closed on Saturdays and Sundays.</notes>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:da44abcd-8e67-47b7-82fb-f8dc8913ea7f">
<otherID code="P202609" assigningAuthorityName="MFL"/>
<codedType code="C" codingScheme="2.16.710.1.113883.18.900">Clinic</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Rainbow Primary Care Clinic</primaryName>
<otherName>fs Rainbow Primary Care Clinic</otherName>
<address type="Office/Business">
<addressLine component="Township">Zamdela</addressLine>
<addressLine component="City">Sasolburg</addressLine>
<addressLine component="PostalCode">1949</addressLine>
<addressLine component="SubDistrict">Metsimaholo LM</addressLine>
<addressLine component="District">Fezile Dabi DM</addressLine>
<addressLine component="Province">Free State</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Pieter</commonName>
<honorific>Mr</honorific>
<forename>Pieter</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">P.</otherName>
<surname>Botha</surname>
</name>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0824537776</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.botha@fshealth.gov.za</codedType>
</contactPoint>
<gender>Male</gender>
</person>
</contact>
<geocode>
<latitude>-26.870492</latitude>
<longitude>27.863982</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:e2daddf9-54e6-4700-8ccb-0750c5626f09"/>
<organization entityID="urn:uuid:5a3e1369-1a29-445e-a0a2-1a94c841007f">
<service entityID="urn:uuid:f5549f1e-46c8-4331-ab84-f16446ec3e2e">
<name>
<commonName>Drug-Resistant TB - fs Rainbow Primary Care Clinic</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
<organization entityID="urn:uuid:952b8d10-f27f-483b-a6a1-974575217448">
<service entityID="urn:uuid:674dffa5-296b-4c1c-825c-4095bb7d932d">
<name>
<commonName>HPRS Implemented - fs Rainbow Primary Care Clinic</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<operatingHours>
<openFlag>false</openFlag>
<dayOfTheWeek>0</dayOfTheWeek>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>1</dayOfTheWeek>
<beginningHour>09:00:00+02:00</beginningHour>
<endingHour>18:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>2</dayOfTheWeek>
<beginningHour>09:00:00+02:00</beginningHour>
<endingHour>18:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>3</dayOfTheWeek>
<beginningHour>09:00:00+02:00</beginningHour>
<endingHour>18:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>4</dayOfTheWeek>
<beginningHour>09:00:00+02:00</beginningHour>
<endingHour>18:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>5</dayOfTheWeek>
<beginningHour>09:00:00+02:00</beginningHour>
<endingHour>18:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>6</dayOfTheWeek>
<beginningHour>09:00:00+02:00</beginningHour>
<endingHour>18:00:00+02:00</endingHour>
</operatingHours>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="notes" urn="urn:mhfl:extension:notes:2020">
<notes>Closed on Sundays.</notes>
</extension>
<extension type="indicators" urn="urn:mhfl:extension:indicators:2020">
<indicators>
<indicator type="Average OPD/Month">3000</indicator>
</indicators>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2024-02-08, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2024-02-08T00:00:00.000+02:00" updated="2024-02-08T00:00:00.000+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:ffe7ee1a-765f-48e3-9f71-d73096093d5c">
<otherID code="P202610" assigningAuthorityName="MFL"/>
<codedType code="MEC" codingScheme="2.16.710.1.113883.18.900">Medical Centre</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Kopanang Medical Centre</primaryName>
<otherName>fs Kopanang Medical Centre</otherName>
<address type="Office/Business">
<addressLine component="Building">Boitumelo Regional Hospital</addressLine>
<addressLine component="Description">Across from the pink spaza shop</addressLine>
<addressLine component="PlusCode">9647+FFP Kroonstad</addressLine>
<addressLine component="Ward">VD 22720193, Ward 11</addressLine>
<addressLine component="StreetAddress">Smaldeel Road</addressLine>
<addressLine component="Suburb">Maokeng Rural</addressLine>
<addressLine component="Town">Kroonstad</addressLine>
<addressLine component="PostalCode">9500</addressLine>
<addressLine component="SubDistrict">Moqhaka LM</addressLine>
<addressLine component="District">Fezile Dabi DM</addressLine>
<addressLine component="Province">Free State</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Kgomotso</commonName>
<honorific>Sr</honorific>
<forename>Kgomotso</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">K.</otherName>
<surname>Mabuza</surname>
</name>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0920005623</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.mabuza@fshealth.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-27.643781</latitude>
<longitude>27.213703</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:ded27c40-c103-4626-90cd-8e4d8b462767"/>
<organization entityID="urn:uuid:5a3e1369-1a29-445e-a0a2-1a94c841007f"/>
</organizations>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>0</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>1</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>2</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>3</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>4</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>5</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>6</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:37f8f648-d2d6-480d-b762-47d2dfb809d2">
<otherID code="P202611" assigningAuthorityName="MFL"/>
<codedType code="CHC" codingScheme="2.16.710.1.113883.18.900">Community Health Centre</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Mzansi Community Health Centre</primaryName>
<otherName>gp Mzansi Community Health Centre</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">1419 Makgato Road</addressLine>
<addressLine component="Suburb">Winterveld</addressLine>
<addressLine component="City">Pretoria</addressLine>
<addressLine component="PostalCode">198</addressLine>
<addressLine component="SubDistrict">Tshwane 1 SD</addressLine>
<addressLine component="District">Tshwane MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Zandile</commonName>
<honorific>Sr</honorific>
<forename>Zandile</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">Z.</otherName>
<surname>Khumalo</surname>
</name>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0120004567</codedType>
</contactPoint>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0920003345</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.khumalo@gauteng.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-25.471502</latitude>
<longitude>28.057521</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:814ce1a8-d39f-489a-aede-5097afb09049"/>
<organization entityID="urn:uuid:7773e0ac-9151-4be5-8bac-c9b775affd99">
<service entityID="urn:uuid:0593ef73-ff33-4999-b835-e6afee8a528e">
<name>
<commonName>In-patient Beds - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:7ce83468-4530-4860-a40e-53f4da8b9003">
<name>
<commonName>Isolation Unit - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:e7d79121-4b9a-4f40-acf0-b3621c5a4f05">
<name>
<commonName>Food Services - gp Mzansi Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="indicators" urn="urn:mhfl:extension:indicators:2020">
<indicators>
<indicator type="Average OPD/Month">1000</indicator>
<indicator type="Average New Admissions">200</indicator>
</indicators>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2021-02-12, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2021-02-12T09:33:22.015+02:00" updated="2021-02-12T09:33:22.015+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:54084c02-3f39-4b2f-b682-4b440681c645">
<otherID code="P202612" assigningAuthorityName="MFL"/>
<codedType code="WC" codingScheme="2.16.710.1.113883.18.900">Wellness Centre</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Madiba Wellness Centre</primaryName>
<otherName>mp Madiba Wellness Centre</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">Makatane Ave</addressLine>
<addressLine component="Township">Mhluzi</addressLine>
<addressLine component="Town">Middelburg</addressLine>
<addressLine component="PostalCode">1055</addressLine>
<addressLine component="SubDistrict">Steve Tshwete LM</addressLine>
<addressLine component="District">Nkangala DM</addressLine>
<addressLine component="Province">Mpumalanga</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Sipho</commonName>
<honorific>Dr</honorific>
<forename>Sipho</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">S.</otherName>
<surname>Sithole</surname>
</name>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.sithole@mphealth.gov.za</codedType>
</contactPoint>
<gender>Male</gender>
</person>
</contact>
<geocode>
<latitude>-25.770141</latitude>
<longitude>29.407142</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:a910a2a2-954b-4d4e-a478-1f3876612faa"/>
<organization entityID="urn:uuid:6fadb1f3-5132-41ec-b22c-88a4736655b1"/>
</organizations>
<operatingHours>
<openFlag>false</openFlag>
<dayOfTheWeek>0</dayOfTheWeek>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>1</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>2</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>3</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>4</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>5</dayOfTheWeek>
<beginningHour>07:30:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>false</openFlag>
<dayOfTheWeek>6</dayOfTheWeek>
</operatingHours>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="notes" urn="urn:mhfl:extension:notes:2020">
<notes>Closed on Saturdays and Sundays.</notes>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:560b2f91-d50f-4fc5-ab3f-487e7738dbdf">
<otherID code="P202613" assigningAuthorityName="MFL"/>
<codedType code="CDC" codingScheme="2.16.710.1.113883.18.900">Community Day Centre</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Tsholofelo Community Care Centre</primaryName>
<otherName>kz Tsholofelo Community Care Centre</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">102 Osborne Rd</addressLine>
<addressLine component="Town">Eshowe</addressLine>
<addressLine component="PostalCode">3815</addressLine>
<addressLine component="SubDistrict">uMlalazi LM</addressLine>
<addressLine component="District">King Cetshwayo DM</addressLine>
<addressLine component="Province">KwaZulu-Natal</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Schalk</commonName>
<honorific>Mr</honorific>
<forename>Schalk</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">S.</otherName>
<surname>du Toit</surname>
</name>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0820002231</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.dutoit@kznhealth.gov.za</codedType>
</contactPoint>
<gender>Male</gender>
</person>
</contact>
<geocode>
<latitude>-28.890651</latitude>
<longitude>31.472291</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:a97be080-8cd3-4fe4-8fe6-d3a2e024a236"/>
<organization entityID="urn:uuid:5078877d-e6e5-4b40-b3bd-5b77c86d6ae4"/>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:18abae46-d3b9-4603-92a2-8d768faa9e3f">
<otherID code="P202614" assigningAuthorityName="MFL"/>
<codedType code="CHC" codingScheme="2.16.710.1.113883.18.900">Community Health Centre</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Inkululeko Community Health Centre</primaryName>
<otherName>gp Inkululeko Community Health Centre</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">Cnr Dr Savage & Soutpansberg Roads</addressLine>
<addressLine component="Suburb">Prinshof 349-Jr</addressLine>
<addressLine component="City">Pretoria</addressLine>
<addressLine component="PostalCode">2</addressLine>
<addressLine component="SubDistrict">Tshwane 3 SD</addressLine>
<addressLine component="District">Tshwane MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Refilwe</commonName>
<honorific>Sr</honorific>
<forename>Refilwe</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">R.</otherName>
<surname>Tshabalala</surname>
</name>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0120009983</codedType>
</contactPoint>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0730002345</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.tshabalala@gauteng.gov.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-25.736172</latitude>
<longitude>28.199001</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0120004223</codedType>
</contactPoint>
<organizations>
<organization entityID="urn:uuid:b53dfa67-94b6-4210-a581-cb0bb120f3e3"/>
<organization entityID="urn:uuid:7773e0ac-9151-4be5-8bac-c9b775affd99"/>
</organizations>
<operatingHours>
<openFlag>false</openFlag>
<dayOfTheWeek>0</dayOfTheWeek>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>1</dayOfTheWeek>
<beginningHour>08:00:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>2</dayOfTheWeek>
<beginningHour>08:00:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>3</dayOfTheWeek>
<beginningHour>08:00:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>4</dayOfTheWeek>
<beginningHour>08:00:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>5</dayOfTheWeek>
<beginningHour>08:00:00+02:00</beginningHour>
<endingHour>16:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>false</openFlag>
<dayOfTheWeek>6</dayOfTheWeek>
</operatingHours>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="notes" urn="urn:mhfl:extension:notes:2020">
<notes>By appointment only on Saturdays. Closed on Sundays.</notes>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:0903042f-dec6-4df8-8d98-2b92a2d6a4e5">
<otherID code="P202615" assigningAuthorityName="MFL"/>
<codedType code="CHC" codingScheme="2.16.710.1.113883.18.900">Community Health Centre</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Coastal View Community Health Centre</primaryName>
<otherName>ec Coastal View Community Health Centre</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">Moses Madiba</addressLine>
<addressLine component="Township">Bontrug</addressLine>
<addressLine component="Town">Nqweba</addressLine>
<addressLine component="SubDistrict">Sundays River Valley LM</addressLine>
<addressLine component="District">Sarah Baartman DM</addressLine>
<addressLine component="Province">Eastern Cape</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Hendrik</commonName>
<honorific>Dr</honorific>
<forename>Hendrik</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">H.</otherName>
<surname>Pretorius</surname>
</name>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.pretorius@echealth.gov.za</codedType>
</contactPoint>
<gender>Male</gender>
</person>
</contact>
<geocode>
<latitude>-33.398182</latitude>
<longitude>25.481101</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:845e8db0-26a2-4e59-b0bb-8f3827cbc2d6"/>
<organization entityID="urn:uuid:2443e294-7147-4487-a582-1c7c9bba91fd">
<service entityID="urn:uuid:be199704-f39e-4550-9fc7-da1c814c3a7f">
<name>
<commonName>In-patient Beds - ec Coastal View Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
<service entityID="urn:uuid:ac60525c-cab5-452a-b7bf-495845830013">
<name>
<commonName>Patient Rooms - ec Coastal View Community Health Centre</commonName>
</name>
<language code="en" codingScheme="BCP 47">English</language>
</service>
</organization>
</organizations>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>0</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>1</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>2</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>3</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>4</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>5</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<operatingHours>
<openFlag>true</openFlag>
<dayOfTheWeek>6</dayOfTheWeek>
<beginningHour>08:30:00+02:00</beginningHour>
<endingHour>17:00:00+02:00</endingHour>
</operatingHours>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="staff" urn="urn:mhfl:extension:staff:2020">
<staff availabilityHealthOrFirstAid="Yes" availabilityKitchen="Yes" availabilityLaundry="Yes" availabilitySecurity="Yes" doctors="2" hasStaffTrainedQuarantine="Yes" nurses="15"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2023-04-27, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at" changed="Date: 2024-08-21, updated from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Updated by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2023-04-27T22:48:11.938+02:00" updated="2024-08-21T12:37:16.017+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:1fde27d4-6f28-4fef-a7bb-3f7ebc907d4c">
<otherID code="P202616" assigningAuthorityName="MFL"/>
<otherID code="Y10025" assigningAuthorityName="SAPC-Y"/>
<otherID code="1003402" assigningAuthorityName="SAPC"/>
<codedType code="CMP" codingScheme="2.16.710.1.113883.18.900">Community Pharmacy</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Lifeline Pharmacy</primaryName>
<otherName>gp Lifeline Pharmacy</otherName>
<address type="Office/Business">
<addressLine component="Floor">Shop 3</addressLine>
<addressLine component="Building">Killarney Mall</addressLine>
<addressLine component="StreetAddress">60 Riviera Rd</addressLine>
<addressLine component="Suburb">Killarney</addressLine>
<addressLine component="City">Johannesburg</addressLine>
<addressLine component="PostalCode">2193</addressLine>
<addressLine component="SubDistrict">Johannesburg E SD</addressLine>
<addressLine component="District">Johannesburg MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Ayanda</commonName>
<honorific>Dr</honorific>
<forename>Ayanda</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">A.</otherName>
<surname>Buthelezi</surname>
</name>
<contactPoint>
<codedType code="PH" codingScheme="2.16.710.1.113883.18.202">0110008764</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.buthelezi@clicks.co.za</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-26.166472</latitude>
<longitude>28.053951</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:3f6c443f-7b52-4c2d-9628-6355fa709fd6"/>
<organization entityID="urn:uuid:c078a67b-7ba9-40f0-b1dd-b1d651354690"/>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:c620e124-180a-4bc0-8eab-dafbc7d53721">
<otherID code="P202617" assigningAuthorityName="MFL"/>
<otherID code="Y10014" assigningAuthorityName="SAPC-Y"/>
<otherID code="1002201" assigningAuthorityName="SAPC"/>
<codedType code="CMP" codingScheme="2.16.710.1.113883.18.900">Community Pharmacy</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Sunrise MedPharm</primaryName>
<otherName>ec Sunrise MedPharm</otherName>
<address type="Office/Business">
<addressLine component="Floor">Shop 44</addressLine>
<addressLine component="Building">Mthatha Plaza</addressLine>
<addressLine component="StreetAddress">35 Nelson Mandela Dr</addressLine>
<addressLine component="City">Mthatha</addressLine>
<addressLine component="PostalCode">5100</addressLine>
<addressLine component="SubDistrict">King Sabata Dalindyebo LM</addressLine>
<addressLine component="District">O Tambo DM</addressLine>
<addressLine component="Province">Eastern Cape</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Nomsa</commonName>
<honorific>Dr</honorific>
<forename>Nomsa</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">N.</otherName>
<surname>Dlamini</surname>
</name>
<contactPoint>
<codedType code="CP" codingScheme="2.16.710.1.113883.18.202">0930008749</codedType>
</contactPoint>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test@gmail.com</codedType>
</contactPoint>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-31.594651</latitude>
<longitude>28.787291</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:5628c6d7-295a-4843-8d95-39ca1d09072d"/>
<organization entityID="urn:uuid:9e93827f-463e-4118-86ee-c5875530a0dc"/>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:95b3dd80-224d-464b-978f-4f3d0804688a">
<otherID code="P202618" assigningAuthorityName="MFL"/>
<otherID code="Y10003" assigningAuthorityName="SAPC-Y"/>
<otherID code="1000301" assigningAuthorityName="SAPC"/>
<codedType code="IP" codingScheme="2.16.710.1.113883.18.900">Institutional Pharmacy</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>Siyaphila Pharmacy</primaryName>
<otherName>lp Siyaphila Pharmacy</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">67 Pietersburg St</addressLine>
<addressLine component="Suburb">Annadale</addressLine>
<addressLine component="City">Polokwane</addressLine>
<addressLine component="PostalCode">699</addressLine>
<addressLine component="SubDistrict">Makhuduthamaga LM</addressLine>
<addressLine component="District">Sekhukhune DM</addressLine>
<addressLine component="Province">Limpopo</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Lerato</commonName>
<honorific>Dr</honorific>
<forename>Lerato</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">L.</otherName>
<surname>Nkosi</surname>
</name>
<gender>Female</gender>
</person>
</contact>
<geocode>
<latitude>-23.879131</latitude>
<longitude>29.448082</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:5f1c37d0-c96d-4914-a75d-24724f657073"/>
<organization entityID="urn:uuid:275902a4-e337-43d8-ac8a-11e264d168e9"/>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:7915df50-bf56-4e9f-9e2c-1cbe49bb4781">
<otherID code="P202619" assigningAuthorityName="MFL"/>
<codedType code="L" codingScheme="2.16.710.1.113883.18.900">Laboratory</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>BioSure Diagnostic Laboratory</primaryName>
<otherName>gp BioSure Diagnostic Laboratory</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">222 Moderfontein Rd</addressLine>
<addressLine component="Suburb">Rietfontein 61-Ir</addressLine>
<addressLine component="City">Johannesburg</addressLine>
<addressLine component="PostalCode">1609</addressLine>
<addressLine component="SubDistrict">Johannesburg E SD</addressLine>
<addressLine component="District">Johannesburg MM</addressLine>
<addressLine component="Province">Gauteng</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<geocode>
<latitude>-26.131711</latitude>
<longitude>28.119284</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:3f6c443f-7b52-4c2d-9628-6355fa709fd6"/>
<organization entityID="urn:uuid:ddbc6cfd-c90b-4e60-a2e8-0f551bd1d031"/>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Closed"/>
</facility>
<facility entityID="urn:uuid:0e4e6638-747b-428e-8a1b-800491c440f6">
<otherID code="P202620" assigningAuthorityName="MFL"/>
<codedType code="L" codingScheme="2.16.710.1.113883.18.900">Laboratory</codedType>
<codedType code="HE" codingScheme="2.16.710.1.113883.18.900">Health</codedType>
<primaryName>UbuntuPath Labs</primaryName>
<otherName>ec UbuntuPath Labs</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">2 Milner St</addressLine>
<addressLine component="Suburb">Mount Pleasant</addressLine>
<addressLine component="City">Gqeberha</addressLine>
<addressLine component="PostalCode">6001</addressLine>
<addressLine component="SubDistrict">N Mandela C SD</addressLine>
<addressLine component="District">N Mandela Bay MM</addressLine>
<addressLine component="Province">Eastern Cape</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<contact>
<person>
<name>
<commonName>Kabelo</commonName>
<honorific>Dr</honorific>
<forename>Kabelo</forename>
<otherName code="U" codingScheme="2.16.710.1.113883.18.200">K.</otherName>
<surname>Molefe</surname>
</name>
<contactPoint>
<codedType code="X.400" codingScheme="2.16.710.1.113883.18.202">test.molefe@labcare.com</codedType>
</contactPoint>
<gender>Male</gender>
</person>
</contact>
<geocode>
<latitude>-33.994691</latitude>
<longitude>25.537243</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:f841e112-99a6-40e4-a6a7-988b54b6bf78"/>
<organization entityID="urn:uuid:b0f9b9c4-383c-44fc-b1ab-213ca4da1d60"/>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
<facility entityID="urn:uuid:d6d0f6f5-e7e1-4a5e-95bb-79a2037d671f">
<otherID code="P202621" assigningAuthorityName="MFL"/>
<otherID code="300500991" assigningAuthorityName="NATEMIS"/>
<codedType code="PS" codingScheme="2.16.710.1.113883.18.900">Primary School</codedType>
<codedType code="NH" codingScheme="2.16.710.1.113883.18.900">Non-Health</codedType>
<primaryName>Prieska Education Centre</primaryName>
<otherName>nc Prieska Education Centre</otherName>
<address type="Office/Business">
<addressLine component="StreetAddress">Andries Pretorius St</addressLine>
<addressLine component="Town">Prieska</addressLine>
<addressLine component="PostalCode">8940</addressLine>
<addressLine component="SubDistrict">Siyathemba LM</addressLine>
<addressLine component="District">Pixley ka Seme DM</addressLine>
<addressLine component="Province">Northern Cape</addressLine>
<addressLine component="Country">South Africa</addressLine>
</address>
<geocode>
<latitude>-29.664811</latitude>
<longitude>22.746923</longitude>
</geocode>
<language code="en" codingScheme="BCP 47">English</language>
<organizations>
<organization entityID="urn:uuid:a800aa8d-a974-4724-92a4-b7aef34c7b5c"/>
<organization entityID="urn:uuid:a0bcb474-4f9b-4680-bf5e-9b68f19ab1b8"/>
</organizations>
<extension type="area" urn="urn:mhfl:extension:area:2020">
<area type="Urban"/>
</extension>
<extension type="changeLog" urn="urn:mhfl:extension:changeLog:2020">
<changeLog added="Date: 2025-10-31, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"/>
</extension>
<record created="2025-10-31T00:00:00.000+02:00" updated="2025-10-31T12:40:02.734+02:00" status="Active"/>
</facility>
</facilityDirectory>
<providerDirectory/>
</CSD>
Error handling
If an invalid API key is supplied, the API returns:
HTTP/1.1 401 Unauthorized
Content-Type: application/json; charset=utf-8
{"message":"Invalid authentication credentials"}
mCSD API
Version: 1.0.0
The following should be known:
Getting Started
Open the IHE IT Infrastructure Mobile Care Services Discovery (mCSD) profile document and focus on the following sections:
- 2:3.90.4.1 Find Matching Care Services Request Message
- 2:3.90.4.1.2 Message Semantics
- 2:3.90.4.1.2.1 Common Parameters
- 2:3.90.4.1.2.2 Organization Resource Message Semantics
- 2:3.90.4.1.2.3 Location Resource Message Semantics
- 2:3.90.4.1.2.6 HealthcareService Resource Message Semantics
- 2:3.90.4.1.2.8 Endpoint Resource Message Semantics
- 2:3.90.4.2 Find Matching Care Services Response Message
Making a Request
In the simplest case, a search is executed by performing a GET operation in the RESTful framework:
GET [base]/[type]?name=value&...{&_format=[mime-type]}}
Read more: FHIR Search via HTTP
Error Response Codes
Common HTTP status codes returned on FHIR-related errors, in addition to normal HTTP errors related to security, header, and content type negotiation issues:
- 400 Bad Request: Search could not be processed or failed basic FHIR validation rules.
- 401 Not Authorized: Authorization is required for the interaction that was attempted.
- 404 Not Found: Resource type not supported, or not a FHIR endpoint.
Timeouts
read_timeout:60000milliseconds
Auth API Key
Please register as an External System on the MHFL website to obtain an API key:
Searching for a Location
Reference: FHIR Location
Location Search Parameters
Search parameters for this resource. The common parameters also apply.
| Name | Type | Description | Expression |
|---|---|---|---|
| address | string | A part of the address of the location | Location.address |
| address-city | string | A city specified in an address | Location.address.city |
| address-country | string | A country specified in an address | Location.address.country |
| address-postalcode | string | A postal code specified in an address | Location.address.postalCode |
| address-state | string | A state specified in an address | Location.address.state |
| address-use | token | A use code specified in an address | Location.address.use |
| endpoint | reference | Technical endpoints providing access to services operated for the location | Location.endpoint (Endpoint) |
| identifier | token | An identifier for the location | Location.identifier |
| name | string | A portion of the location's name or alias | Location.name | Location.alias |
| near | special | Search for locations where the position is near to, or within a specified distance of, the provided coordinates | Location.position |
| operational-status | token | Searches for locations that have an operational status | Location.operationalStatus |
| organization | reference | Searches for locations managed by the provided organization | Location.managingOrganization (Organization) |
| partof | reference | A location of which this location is a part | Location.partOf (Location) |
| status | token | Searches for locations with a specific kind of status | Location.status |
| type | token | A code for the type of location | Location.type |
Search by Location Name [GET]
A portion of the location's name or alias.
Client Request
- Request URL:
https://test-hie.health.gov.za/mcsd/Location/?name=Mzansi - Param:
name - Header:
apikey: 5xX2Ocy0MDnEcOgaPlqfOSVyuCxF8b4m
cURL Request
Headers:
apikey: fsjDWKIX3pvverEm2Un5bT3zBhGQxwc(supplied client key; contact admin for key)Content-Type: application/fhir+json
- cURL
- Node.js
- Python
curl -X GET -k \
-H 'apikey: 5658d0MDnEcOgaPlqfOSVyuCxF8b4m' \
-i 'https://test-hie.health.gov.za/mcsd/Location/?name=Mzansi'
import https from 'node:https';
const request = https.request(
'https://test-hie.health.gov.za/mcsd/Location/?name=Mzansi',
{
method: 'GET',
rejectUnauthorized: false, // Equivalent to cURL's -k option.
headers: {
apikey: '5658d0MDnEcOgaPlqfOSVyuCxF8b4m',
},
},
(response) => {
console.log(`Status: ${response.statusCode}`);
response.pipe(process.stdout);
},
);
request.on('error', console.error);
request.end();
import requests
response = requests.get(
"https://test-hie.health.gov.za/mcsd/Location",
params={"name": "Mzansi"},
headers={"apikey": "5658d0MDnEcOgaPlqfOSVyuCxF8b4m"},
verify=False, # Equivalent to cURL's -k option.
timeout=30,
)
response.raise_for_status()
print(response.status_code, response.text)
Search by Location Name Response
{
"resourceType": "Bundle",
"id": "c24b0709-3be1-4a52-8e84-e7d3f5787eee",
"meta": {
"lastUpdated": "2026-09-28T11:00:08.295+00:00"
},
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "http://192.168.10.49:8080/fhir/Location/?name=Mzansi"
}
],
"entry": [
{
"fullUrl": "http://192.168.10.49:8080/fhir/Location/332",
"resource": {
"resourceType": "Location",
"id": "332",
"meta": {
"versionId": "5",
"lastUpdated": "2026-01-22T12:40:55.964+00:00",
"profile": [
"https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.FacilityLocation"
]
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Location</b></p><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\">Resource Location "mCSD-Location"</p><p style=\"margin-bottom: 0px\"><b>Profile</b>: <a href=\"https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.FacilityLocation\"/></p></div><p><b>Status</b>: Active</p><p><b>Name</b>: Mzansi Community Health Centre</p><p><b>Type</b>: Community Health Centre<span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">(<a href=\"https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.FacilityType.CodeSystem\">Facility type</a>#CHC)</span>, Health<span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">(<a href=\"https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.FacilityType.CodeSystem\">Facility type</a>#HE)</span></p><p><b>PhysicalType</b>: Building<span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">(<a href=\"http://terminology.hl7.org/CodeSystem/location-physical-type\">Location type</a>#bu)</span></p><p><b>ManagingOrganization</b>: <a href=\"https://hie.health.gov.za/Organization/308\">Organization/308</a> "308"</p></div>"
},
"extension": [
{
"url": "https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.FacilityLocation.Area.Extension%22,
"extension": [
{
"url": "type",
"valueString": "Urban"
}
]
},
{
"url": "https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.FacilityLocation.Indicators.Extension%22,
"extension": [
{
"url": "indicator1",
"extension": [
{
"url": "https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.FacilityLocation.Indicator.Extension%22,
"extension": [
{
"url": "type",
"valueString": "Average OPD/Month"
},
{
"url": "value",
"valueString": "1000"
}
]
}
]
},
{
"url": "indicator2",
"extension": [
{
"url": "https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.FacilityLocation.Indicator.Extension%22,
"extension": [
{
"url": "type",
"valueString": "Average New Admissions"
},
{
"url": "value",
"valueString": "200"
}
]
}
]
}
]
},
{
"url": "https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.ChangeLog.Extension",
"extension": [
{
"url": "added",
"valueString": "Date: 2021-02-12, created from @'projectathon/mongodb/2026/csd-organization-1.csv' file. Created by: jtolmay@csir.co.za, Requested by: BMkhize1@csir.co.za, Notified by: J.Brandstaetter@codewerk.at"
}
]
}
],
"identifier": [
{
"use": "official",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "PRN",
"display": "Provider number"
}
]
},
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:37f8f648-d2d6-480d-b762-47d2dfb809d2"
},
{
"use": "usual",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "PRN",
"display": "Provider number"
}
]
},
"system": "https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.AssigningAuthority.CodeSystem#MFL",
"value": "P202611",
"assigner": {
"display": "MFL (REPUBLIC OF SOUTH AFRICA Master Facility List)"
}
}
],
"status": "active",
"name": "Mzansi Community Health Centre",
"alias": [
"gp Mzansi Community Health Centre"
],
"mode": "instance",
"type": [
{
"coding": [
{
"system": "https://profiles.ihe.net/ITI/mCSD/CodeSystem/IHE.mCSD.Organization.Location.Types",
"code": "facility"
}
]
},
{
"coding": [
{
"system": "https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.FacilityType.CodeSystem",
"code": "CHC",
"display": "Community Health Centre"
}
]
},
{
"coding": [
{
"system": "https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.FacilityType.CodeSystem",
"code": "HE",
"display": "Health"
}
]
}
],
"address": {
"extension": [
{
"url": "https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.FacilityLocation.Address.Extension%22,
"extension": [
{
"url": "subDistrict",
"valueReference": {
"reference": "Organization/136",
"type": "Organization",
"display": "Tshwane 1 SD"
}
},
{
"url": "district",
"valueReference": {
"reference": "Organization/27",
"type": "Organization",
"display": "Tshwane MM"
}
},
{
"url": "province",
"valueReference": {
"reference": "Organization/4",
"type": "Organization",
"display": "Gauteng"
}
},
{
"url": "country",
"valueReference": {
"reference": "Organization/1",
"type": "Organization",
"display": "South Africa"
}
}
]
}
],
"use": "work",
"type": "physical",
"text": "1419 Makgato Road;Winterveld;Pretoria;198;Tshwane 1 SD;Tshwane MM;Gauteng;South Africa",
"line": [
"1419 Makgato Road",
"Winterveld"
],
"city": "Pretoria",
"district": "Tshwane MM",
"state": "Gauteng",
"postalCode": "198",
"country": "ZAF",
"period": {
"start": "2026-01-22T14:46:31+02:00"
}
},
"physicalType": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"code": "bu",
"display": "Building"
}
],
"text": "Any Building or structure. This may contain rooms, corridors, wings, etc. It might not have walls, or a roof, but is considered a defined/allocated space."
},
"position": {
"longitude": 28.057521,
"latitude": -25.471502
},
"managingOrganization": {
"reference": "Organization/308",
"type": "Organization"
}
},
"search": {
"mode": "match"
}
}
]
}
Searching for an Organization
Reference: FHIR Organization
Search Parameters
Search parameters for this resource. The common parameters also apply.
| Name | Type | Description | Expression |
|---|---|---|---|
| active | token | Is the Organization record active | Organization.active |
| address | string | A server defined search that may match any string field in the address | Organization.address |
| address-city | string | A city specified in an address | Organization.address.city |
| address-country | string | A country specified in an address | Organization.address.country |
| address-postalcode | string | A postal code specified in an address | Organization.address.postalCode |
| address-state | string | A state specified in an address | Organization.address.state |
| address-use | token | A use code specified in an address | Organization.address.use |
| endpoint | reference | Technical endpoints providing access to services operated for the organization | Organization.endpoint (Endpoint) |
| identifier | token | Any identifier for the organization | Organization.identifier |
| name | string | A portion of the organization's name or alias | Organization.name | Organization.alias |
| partof | reference | An organization of which this organization forms a part | Organization.partOf (Organization) |
| phonetic | string | A portion of the organization's name using phonetic matching | Organization.name |
| type | token | A code for the type of organization | Organization.type |
Search by Organization Name [GET]
A portion of the organization's name or alias.
Client Request
- Request URL:
https://test-hie.health.gov.za/mcsd/Organization/?name=Limpopo - Param:
name - Header:
apikey: 5xX2Ocy0MDnEcOgaPlqfOSVyuCxF8b4m
cURL Request
Headers:
apikey: fsjDWKIX3pvverEm2Un5bT3zBhGQxwc(supplied client key; contact admin for key)Content-Type: application/fhir+json
- cURL
- Node.js
- Python
curl -X GET -k \
-H 'apikey: 5658d0MDnEcOgaPlqfOSVyuCxF8b4m' \
-i 'https://test-hie.health.gov.za/mcsd/Organization/?name=Limpopo'
import https from 'node:https';
const request = https.request(
'https://test-hie.health.gov.za/mcsd/Organization/?name=Limpopo',
{
method: 'GET',
rejectUnauthorized: false, // Equivalent to cURL's -k option.
headers: {
apikey: '5658d0MDnEcOgaPlqfOSVyuCxF8b4m',
},
},
(response) => {
console.log(`Status: ${response.statusCode}`);
response.pipe(process.stdout);
},
);
request.on('error', console.error);
request.end();
import requests
response = requests.get(
"https://test-hie.health.gov.za/fhir/Organization/",
params={"name": "na"},
headers={"apikey": "5658d0MDnEcOgaPlqfOSVyuCxF8b4m"},
verify=False, # Equivalent to cURL's -k option.
timeout=30,
)
response.raise_for_status()
print(response.status_code, response.text)
Search by Organization Name Response
{
"resourceType": "Bundle",
"id": "67977def-63ea-44f8-b413-f6d9d2833bc9",
"meta": {
"lastUpdated": "2026-09-28T11:03:54.281+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "http://192.168.10.49:8080/fhir/Organization/?name=Limpopo"
}
],
"entry": [
{
"fullUrl": "http://192.168.10.49:8080/fhir/Organization/6",
"resource": {
"resourceType": "Organization",
"id": "6",
"meta": {
"versionId": "5",
"lastUpdated": "2026-01-22T08:39:09.920+00:00",
"profile": [
"https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.FacilityOrganization"
]
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Organization</b></p><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\">Resource Organization "mCSD-Organization"</p><p style=\"margin-bottom: 0px\"><b>Profile</b>: <a href=\"https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.FacilityOrganization\"/></p></div><p><b>Active</b>: true</p><p><b>Type</b>: Province<span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">(<a href=\"https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.OrganizationType.CodeSystem\">Organization type</a>#P)</span></p><p><b>Name</b>: lp Limpopo Province</p><p><b>PartOf</b>: <a href=\"https://hie.health.gov.za/Organization/1\">Organization/1</a> "1"</p></div>"
},
"extension": [
{
"url": "https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.ChangeLog.Extension",
"extension": [
{
"url": "added",
"valueString": "Date: Thu Jan 22 10:44:44 SAST 2026, new Organization from @'csd-organization-directory.xml' file. Added by: jtolmay@csir.co.za, Requested by: jtolmay@csir.co.za, Notified by: jtolmay@csir.co.za"
}
]
},
{
"url": "https://profiles.ihe.net/ITI/mCSD/StructureDefinition/IHE.mCSD.PurposeOfUse",
"valueCodeableConcept": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"code": "GOV",
"display": "government"
}
],
"text": "To perform one or more operations on information used within government processes."
}
}
],
"identifier": [
{
"use": "official",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "PRN",
"display": "Provider number"
}
]
},
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:78534c5d-a06f-4ee1-b1b7-90a820bd625d"
},
{
"use": "old",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "PRN",
"display": "Provider number"
}
]
},
"system": "https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.AssigningAuthority.CodeSystem#NDOH",
"value": "325111",
"assigner": {
"display": "NDoH (REPUBLIC OF SOUTH AFRICA National Department of Health)"
}
}
],
"active": true,
"type": [
{
"coding": [
{
"system": "https://profiles.ihe.net/ITI/mCSD/CodeSystem/IHE.mCSD.Organization.Location.Types",
"code": "facility"
}
]
},
{
"coding": [
{
"system": "https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.OrganizationType.CodeSystem",
"code": "P",
"display": "Province"
}
]
}
],
"name": "lp Limpopo Province",
"alias": [
"Limpopo"
],
"partOf": {
"reference": "Organization/1",
"type": "Organization"
}
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "http://192.168.10.49:8080/fhir/Organization/310",
"resource": {
"resourceType": "Organization",
"id": "310",
"meta": {
"versionId": "4",
"lastUpdated": "2026-01-22T08:40:08.720+00:00",
"profile": [
"https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.FacilityOrganization"
]
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Organization</b></p><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\">Resource Organization "mCSD-Organization"</p><p style=\"margin-bottom: 0px\"><b>Profile</b>: <a href=\"https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.FacilityOrganization\"/></p></div><p><b>Active</b>: true</p><p><b>Type</b>: Provincial Department<span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">(<a href=\"https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.OrganizationType.CodeSystem\">Organization type</a>#PD)</span>, Pharmaceutical<span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">(<a href=\"https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.OrganizationType.CodeSystem\">Organization type</a>#PHA)</span>, Public<span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">(<a href=\"https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.OrganizationType.CodeSystem\">Organization type</a>#PUB)</span></p><p><b>Name</b>: Limpopo Department Of Health</p><p><b>PartOf</b>: <a href=\"https://hie.health.gov.za/Organization/305\">Organization/305</a> "305"</p></div>"
},
"extension": [
{
"url": "https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.ChangeLog.Extension",
"extension": [
{
"url": "added",
"valueString": "Date: 2021-04-15, new 'Pharmaceutical' coded type from @'MFL_SAPC lists combined.csv' file Added by: jtolmay@csir.co.za, Requested by: Petro.Rousseau@health.gov.za, Notified by: Mojo.Mokoena@sapc.za.org"
}
]
},
{
"url": "https://profiles.ihe.net/ITI/mCSD/StructureDefinition/IHE.mCSD.PurposeOfUse",
"valueCodeableConcept": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"code": "GOV",
"display": "government"
}
],
"text": "To perform one or more operations on information used within government processes."
}
}
],
"identifier": [
{
"use": "official",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "PRN",
"display": "Provider number"
}
]
},
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:d117fb6f-20d3-4c09-9ce9-6c553c94aded"
},
{
"use": "secondary",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "PRN",
"display": "Provider number"
}
]
},
"system": "https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.AssigningAuthority.CodeSystem#SAPC",
"value": "NP1017",
"assigner": {
"display": "SAPC (REPUBLIC OF SOUTH AFRICA Pharmacy Council)"
}
},
{
"use": "secondary",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "PRN",
"display": "Provider number"
}
]
},
"system": "https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.AssigningAuthority.CodeSystem#SAPC",
"value": "NP1025",
"assigner": {
"display": "SAPC (REPUBLIC OF SOUTH AFRICA Pharmacy Council)"
}
}
],
"active": true,
"type": [
{
"coding": [
{
"system": "https://profiles.ihe.net/ITI/mCSD/CodeSystem/IHE.mCSD.Organization.Location.Types",
"code": "facility"
}
]
},
{
"coding": [
{
"system": "https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.OrganizationType.CodeSystem",
"code": "PD",
"display": "Provincial Department"
}
]
},
{
"coding": [
{
"system": "https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.OrganizationType.CodeSystem",
"code": "PHA",
"display": "Pharmaceutical"
}
]
},
{
"coding": [
{
"system": "https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.OrganizationType.CodeSystem",
"code": "PUB",
"display": "Public"
}
]
}
],
"name": "Limpopo Department Of Health",
"alias": [
"Limpopo DoH"
],
"telecom": [
{
"system": "phone",
"value": "0152936000",
"use": "work"
}
],
"address": [
{
"use": "work",
"type": "physical",
"text": "18 College St;Polokwane;0700;South Africa",
"line": [
"18 College St"
],
"city": "Polokwane",
"postalCode": "0700",
"country": "ZAF",
"period": {
"start": "2026-01-22T10:45:42+02:00"
}
}
],
"partOf": {
"reference": "Organization/305",
"type": "Organization"
}
},
"search": {
"mode": "match"
}
}
]
}
Searching for a HealthcareService
Reference: FHIR HealthcareService
Search Parameters
Search parameters for this resource. The common parameters also apply.
| Name | Type | Description | Expression | Status |
|---|---|---|---|---|
| active | token | The Healthcare Service is currently marked as active | HealthcareService.active | |
| characteristic | token | One of the HealthcareService's characteristics | HealthcareService.characteristic | |
| coverage-area | reference | Location or locations the service is intended for | HealthcareService.coverageArea (Location) | |
| endpoint | reference | Technical endpoints providing access to services operated for the healthcare service | HealthcareService.endpoint (Endpoint) | |
| identifier | token | External identifiers for this item | HealthcareService.identifier | |
| location | reference | The location of the Healthcare Service | HealthcareService.location (Location) | |
| name | string | A portion of the Healthcare Service name | HealthcareService.name | |
| organization | reference | The organization that provides this Healthcare Service | HealthcareService.providedBy (Organization) | |
| program | token | One of the programs supported by this HealthcareService | HealthcareService.program | Not yet Implemented |
| service-category | token | Service category of the Healthcare Service | HealthcareService.category | |
| service-type | token | The type of service provided by this Healthcare Service | HealthcareService.type | |
| specialty | token | The specialty of the service provided by this Healthcare Service | HealthcareService.specialty |
Search by Service Identifier [GET]
This search finds the Service resource with the given identifier.
Client Request
- Request URL:
https://test-hie.health.gov.za/mcsd/HealthcareService?identifier=urn:uuid:0593ef73-ff33-4999-b835-e6afee8a528e - Param:
identifier - Header:
apikey: 5xX2Ocy0MDnEcOgaPlqfOSVyuCxF8b4m
cURL Request
Headers:
apikey: fsjDWKIX3pvverEm2Un5bT3zBhGQxwc(supplied client key; contact admin for key)Content-Type: application/fhir+json
- cURL
- Node.js
- Python
curl -X GET -k \
-H 'apikey: 5658d0MDnEcOgaPlqfOSVyuCxF8b4m' \
-i 'https://test-hie.health.gov.za/mcsd/HealthcareService?identifier=urn:uuid:0593ef73-ff33-4999-b835-e6afee8a528e'
import https from 'node:https';
const request = https.request(
'https://test-hie.health.gov.za/mcsd/HealthcareService?identifier=urn:uuid:0593ef73-ff33-4999-b835-e6afee8a528e',
{
method: 'GET',
rejectUnauthorized: false, // Equivalent to cURL's -k option.
headers: {
apikey: '5658d0MDnEcOgaPlqfOSVyuCxF8b4m',
},
},
(response) => {
console.log(`Status: ${response.statusCode}`);
response.pipe(process.stdout);
},
);
request.on('error', console.error);
request.end();
import requests
response = requests.get(
"https://test-hie.health.gov.za/fhir/HealthcareService",
params={"identifier": "urn:uuid:0593ef73-ff33-4999-b835-e6afee8a528e"},
headers={"apikey": "5658d0MDnEcOgaPlqfOSVyuCxF8b4m"},
verify=False, # Equivalent to cURL's -k option.
timeout=30,
)
response.raise_for_status()
print(response.status_code, response.text)
Search by Service Identifier Response
{
"resourceType": "Bundle",
"id": "864f7678-dab3-45b0-926f-d2c3d7ed98eb",
"meta": {
"lastUpdated": "2026-09-28T11:26:02.568+00:00"
},
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "http://192.168.10.49:8080/fhir/HealthcareService?identifier=urn%3Auuid%3A0593ef73-ff33-4999-b835-e6afee8a528e"
}
],
"entry": [
{
"fullUrl": "http://192.168.10.49:8080/fhir/HealthcareService/354",
"resource": {
"resourceType": "HealthcareService",
"id": "354",
"meta": {
"versionId": "11",
"lastUpdated": "2026-01-22T12:46:28.123+00:00",
"profile": [
"https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.HealthcareService"
]
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: HealthcareService</b></p><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\">Resource HealthcareService "mCSD-HealthcareService"</p><p style=\"margin-bottom: 0px\"><b>Profile</b>: <a href=\"https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.HealthcareService\"/></p></div><p><b>Type</b>: In-patient Beds<span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">(<a href=\"https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.ServiceType.CodeSystem\">Service type</a>#IPB)</p><p><b>Location</b>: <a href=</span>\"https://hie.health.gov.za/Location/332\">Location/332</a> "332"</p><p><b>Name</b>: In-patient Beds - gp Mzansi Community Health Centre</p></div>"
},
"extension": [
{
"url": "https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.HealthcareService.Measures.Extension",
"extension": [
{
"url": "name",
"valueString": "In-patient Beds"
},
{
"url": "measure1",
"extension": [
{
"url": "https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.HealthcareService.Measure.Extension",
"extension": [
{
"url": "type",
"valueString": "Total number of approved beds"
},
{
"url": "unit",
"valueString": "Integer"
},
{
"url": "value",
"valueString": "47"
}
]
}
]
},
{
"url": "measure2",
"extension": [
{
"url": "https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.HealthcareService.Measure.Extension",
"extension": [
{
"url": "type",
"valueString": "Total number of used beds"
},
{
"url": "unit",
"valueString": "Integer"
},
{
"url": "value",
"valueString": "46"
}
]
}
]
}
]
},
{
"url": "https://hie.health.gov.za/fhir/za/mCSD/StructureDefinition/ZA.IHE.mCSD.ChangeLog.Extension",
"extension": [
{
"url": "added",
"valueString": "Date: Thu Jan 22 14:52:03 SAST 2026, new Service from @'csd-service-directory.xml' file. Added by: jtolmay@csir.co.za, Requested by: jtolmay@csir.co.za, Notified by: jtolmay@csir.co.za"
}
]
}
],
"identifier": [
{
"use": "official",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "PRN",
"display": "Provider number"
}
]
},
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:0593ef73-ff33-4999-b835-e6afee8a528e"
}
],
"active": false,
"providedBy": {
"reference": "Organization/308",
"type": "Organization"
},
"type": [
{
"coding": [
{
"system": "https://hie.health.gov.za/fhir/za/mCSD/CodeSystem/ZA.ServiceType.CodeSystem",
"code": "IPB",
"display": "In-patient Beds"
}
]
}
],
"location": [
{
"reference": "Location/332",
"type": "Location"
}
],
"name": "In-patient Beds - gp Mzansi Community Health Centre",
"communication": [
{
"coding": [
{
"system": "urn:ietf:bcp:47",
"code": "en",
"display": "English"
}
]
}
]
},
"search": {
"mode": "match"
}
}
]
}

