Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uitwerken van FHIR queries #3

Open
stevenvegt opened this issue Jan 17, 2025 · 3 comments
Open

Uitwerken van FHIR queries #3

stevenvegt opened this issue Jan 17, 2025 · 3 comments
Assignees
Labels
datastandaard container voor de informatie, bijv FHIR

Comments

@stevenvegt
Copy link
Member

Query mogelijkheden staan al in het projectplan, die overnemen in dit issue en hier verder uitwerken.

Daar nog aan toe tevoegen dat je de patient ophaalt adv een POST Search en vanaf daar verder werkt met patientID. Zo lek je het BSN niet in een access log

@SimonVeldhuijzen
Copy link

Patient
POST {baseUrl}/fhir/Patient/_search

  • Header: Content-Type = x-www-form-urlencoded (zie https://www.hl7.org/fhir/http.html#search-post)
  • Body: identifier=http://fhir.nl/fhir/NamingSystem/bsn|{bsn}
    • url encoded, dus: identifier=http%3A%2F%2Ffhir.nl%2Ffhir%2FNamingSystem%2Fbsn%7C{bsn}

@stevenvegt
Copy link
Member Author

Gebaseerd op de voorbeeld resources uit #17

ZIB Query
AllergyIntolerance localhost:8090/fhir/AllergyIntolerance?patient.identifier=http%3A%2F%2Ffhir.nl%2Ffhir%2FNamingSystem%2Fbsn%7C077461848
BloodPressure localhost:8090/fhir/Observation?_profile=http%3A%2F%2Fnictiz.nl%2Ffhir%2FStructureDefinition%2Fzib-BloodPressure&subject.identifier=http%3A%2F%2Ffhir.nl%2Ffhir%2FNamingSystem%2Fbsn%7C077461848
BodyHeight localhost:8090/fhir/Observation?_profile=http%3A%2F%2Fnictiz.nl%2Ffhir%2FStructureDefinition%2Fzib-BodyHeight&subject.identifier=http%3A%2F%2Ffhir.nl%2Ffhir%2FNamingSystem%2Fbsn%7C077461848
BodyWeight localhost:8090/fhir/Observation?_profile=http%3A%2F%2Fnictiz.nl%2Ffhir%2FStructureDefinition%2Fzib-BodyWeight&subject.identifier=http%3A%2F%2Ffhir.nl%2Ffhir%2FNamingSystem%2Fbsn%7C077461848
Consent localhost:8090/fhir/Consent?category=http%3A%2F%2Fsnomed.info%2Fsct%7C11291000146105&patient.identifier=http%3A%2F%2Ffhir.nl%2Ffhir%2FNamingSystem%2Fbsn%7C077461848
nursingreport localhost:8090/fhir/Observation?_profile=https%3A%2F%2Fnuts.nl%2Ffhir%2FStructureDefinition%2Fnl-core-nursingreport&patient.identifier=http%3A%2F%2Ffhir.nl%2Ffhir%2FNamingSystem%2Fbsn%7C077461848
OxygenSaturation localhost:8090/fhir/Observation?_profile=http%3A%2F%2Fnictiz.nl%2Ffhir%2FStructureDefinition%2Fzib-OxygenSaturation&subject.identifier=http%3A%2F%2Ffhir.nl%2Ffhir%2FNamingSystem%2Fbsn%7C999911478
RelatedPerson localhost:8090/fhir/RelatedPerson?patient.identifier=http%3A%2F%2Ffhir.nl%2Ffhir%2FNamingSystem%2Fbsn%7C077461848
Flag localhost:8090/fhir/Flag?_profile=http%3A%2F%2Fnictiz.nl%2Ffhir%2FStructureDefinition%2Fzib-Flag&patient.identifier=http%3A%2F%2Ffhir.nl%2Ffhir%2FNamingSystem%2Fbsn%7C077461848

@stevenvegt stevenvegt moved this from Todo to In Progress in Toepassing Zorginzage HA-VVT: Fase 1 Jan 27, 2025
@SimonVeldhuijzen
Copy link

We hebben eerder afgesproken zo weinig mogelijk gebruik te maken van bsn, en daarom alleen de Patient resource op basis van bsn op te halen. De rest kan dan op basis van de patient id. Dus dan wordt het bijvoorbeeld

{host}/fhir/Observation?_profile={profile}&subject=Patient/{id}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datastandaard container voor de informatie, bijv FHIR
Projects
Status: In Progress
Development

No branches or pull requests

2 participants