Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

List-Profile: Fhirpath expression in Invarianten funktioniert nicht #42

Open
simoneOnFhir opened this issue May 13, 2018 · 3 comments
Open

Comments

@simoneOnFhir
Copy link
Contributor

Bug in HAPI FHIRPath engine

@simoneOnFhir
Copy link
Contributor Author

betrifft lst-3 und lst-4

@lhitc lhitc assigned patrick-werner and unassigned lhitc May 13, 2018
@lhitc
Copy link
Contributor

lhitc commented May 13, 2018

Relevante Expression ist:
entry.all($this.item.resolve().first().dosage.asNeeded=true)
Dies funktioniert mit Simplifier, aber nicht mit HAPI-FHIR.

aber es gilt auch:
entry.all($this.item.resolve().exists()
ist bereits false, obwohl das referenzierte MedicationStatement definitiv existiert.
D.h. resolve() funnktioniert nicht(?)

=> Patrick zwecks Bearbeitung in HAPI-FHIR

@lhitc
Copy link
Contributor

lhitc commented May 13, 2018

Zur weiteren Referenz:

Here are the resources:
List profile: http://fhir.hl7.de:8080/baseDstu3/StructureDefinition/List
Invariants are lst-3 and lst-4

Example, expected to validate without warning: http://fhir.hl7.de:8080/baseDstu3/List/513/$validate

MedicationStatements:
http://fhir.hl7.de:8080/baseDstu3/MedicationStatement/521
http://fhir.hl7.de:8080/baseDstu3/MedicationStatement/522

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants