Skip to content

Instantly share code, notes, and snippets.

Pointer Resolution Notes

A set of examples of retrieving the contents of a fully contained NEMS message from a pointer passed in a lightweight NEMS message. These examples all use search functionality as described in the base HL7 FHIR spec:

https://www.hl7.org/fhir/STU3/search.html

Examples Setup

To setup these examples, the transactional bundle found here:

@elementechemlyn
elementechemlyn / PDS FHIR Sandbox pip
Created June 11, 2021 10:45
Python requirements to run the NHS PDS FHIR API Sandbox locally
appdirs==1.4.4
CacheControl==0.12.6
cachy==0.3.0
certifi==2021.5.30
cffi==1.14.5
chardet==4.0.0
cleo==0.8.1
clikit==0.6.2
crashtest==0.3.1
cryptography==3.4.7
{
"resourceType": "Bundle",
"id": "3",
"meta": {
"versionId": "1",
"lastUpdated": "2021-07-08T15:45:11.974+00:00",
"source": "#BVurnbOFH97DS1W0",
"profile": [ "http://hl7.org/fhir/STU3/StructureDefinition/Bundle" ]
},
"type": "message",

Fake PDS

Fake PDS is a copy of the NHS DIgitial PDS sandpit with data adjusted to suit the Maternity Hack. It contains two records:

Name Actor NHS Number Date of Birth
Alice Smith Mother 5400506275 2000-10-22
Emma Smith Baby 5815309540 2021-07-12

To Retrieve Alice's (the Mother) Fake PDS record:

@elementechemlyn
elementechemlyn / species_list.txt
Created August 30, 2023 16:14
Custom BirdNet-Analyzer species list for birds of Wales
Acanthis cabaret_Lesser Redpoll
Accipiter gentilis_Northern Goshawk
Accipiter nisus_Eurasian Sparrowhawk
Acrocephalus schoenobaenus_Sedge Warbler
Acrocephalus scirpaceus_Eurasian Reed Warbler
Actitis hypoleucos_Common Sandpiper
Aegithalos caudatus_Long-tailed Tit
Aix galericulata_Mandarin Duck
Alauda arvensis_Eurasian Skylark
Alca torda_Razorbill