Receiving Patient Events
The patient events signal patient lifecycle events for your subscriber.
POST /luscii/patients HTTP/1.1
Host: www.yourserver.com
Connection: close
Content-Type: application/fhir+xml
Content-Length: 123
Authorization: your-api-token
User-Agent: GuzzleHttp/6.3.3 curl/7.52.1 PHP/7.3.6
X-Webhook-Signature: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
<?xml version="1.0" encoding="UTF-8"?>
<Patient xmlns="http://hl7.org/fhir">
<meta>
<lastUpdated value="2019-06-28T10:29:14+02:00"/>
<tag>
<system value="urn:oid:2.16.840.1.113883.2.4.3.135"/>
<code value="PatientActivated"/>
</tag>
</meta>
<identifier>
<system value="urn:oid:2.16.840.1.113883.2.4.3.135"/>
<value value="0a0e9381-1bc2-4965-90b2-4dad0a26f3a9"/>
</identifier>
<identifier>
<system value="http://fhir.nl/fhir/NamingSystem/bsn"/>
<value value="999999137"/>
</identifier>
<active value="true"/>
<name>
<text value="Albert Noniem"/>
</name>
<telecom>
<system value="email"/>
<value value="[email protected]"/>
</telecom>
<birthDate value="1820-05-12"/>
</Patient>
POST /luscii/patients HTTP/1.1
Host: www.yourserver.com
Connection: close
Content-Type: application/fhir+xml
Content-Length: 123
Authorization: your-api-token
User-Agent: GuzzleHttp/6.3.3 curl/7.52.1 PHP/7.3.6
X-Webhook-Signature: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
<?xml version="1.0" encoding="UTF-8"?>
<Patient xmlns="http://hl7.org/fhir">
<meta>
<lastUpdated value="2019-06-28T10:29:14+02:00"/>
<tag>
<system value="urn:oid:2.16.840.1.113883.2.4.3.135"/>
<code value="PatientUpdated"/>
</tag>
</meta>
<identifier>
<system value="urn:oid:2.16.840.1.113883.2.4.3.135"/>
<value value="0a0e9381-1bc2-4965-90b2-4dad0a26f3a9"/>
</identifier>
<identifier>
<system value="urn:luscii:umo-id"/>
<value value="something-custom"/>
</identifier>
<identifier>
<system value="http://fhir.nl/fhir/NamingSystem/bsn"/>
<value value="999999137"/>
</identifier>
<active value="true"/>
<name>
<text value="Albert Noniem"/>
</name>
<telecom>
<system value="email"/>
<value value="[email protected]"/>
</telecom>
<birthDate value="1820-05-12"/>
</Patient>
POST /luscii/patients HTTP/1.1
Host: www.yourserver.com
Connection: close
Content-Type: application/fhir+xml
Content-Length: 123
Authorization: your-api-token
User-Agent: GuzzleHttp/6.3.3 curl/7.52.1 PHP/7.3.6
X-Webhook-Signature: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
<?xml version="1.0" encoding="UTF-8"?>
<Patient xmlns="http://hl7.org/fhir">
<meta>
<lastUpdated value="2019-06-28T10:29:14+02:00"/>
<tag>
<system value="urn:oid:2.16.840.1.113883.2.4.3.135"/>
<code value="PatientDeactivated"/>
</tag>
</meta>
<identifier>
<system value="urn:oid:2.16.840.1.113883.2.4.3.135"/>
<value value="0a0e9381-1bc2-4965-90b2-4dad0a26f3a9"/>
</identifier>
<identifier>
<system value="http://fhir.nl/fhir/NamingSystem/bsn"/>
<value value="999999137"/>
</identifier>
<active value="true"/>
<name>
<text value="Albert Noniem"/>
</name>
<telecom>
<system value="email"/>
<value value="[email protected]"/>
</telecom>
<birthDate value="1820-05-12"/>
</Patient>
Please note:
- Actual message may or may not contain newlines and indentation.
- The resource may be expanded with additional attributes in the future.
- The meta tag indicates what event happened precisely for this resource. See the main Webhooks documentation for possible values per resource.
- The
active
attribute indicates whether the event represents a patient onboarding (true
) or offboarding (false
). - The email address field, specified in the
telecom
attribute and may be used for initial matching of identifiers. Please note that the email address is an optional attribute, and Email addresses are subject to change.
Patient identifiers
System | Description |
---|---|
urn:oid:2.16.840.1.113883.2.4.3.135 | Luscii patient id (always available) |
http://fhir.nl/fhir/NamingSystem/bsn | Dutch BSN (social security number) |
https://fhir.nhs.uk/Id/nhs-number | UK NHS Numnber |
Updated about 1 month ago