You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When searching DocumentManifest resources using the patient parameter, searches return 0 results. Using the subject parameter, with the same Patient reference, returns the expected resources.
To Reproduce
Steps to reproduce the behavior:
varfhirClient=new Hl7.Fhir.Rest.FhirClient("https://spark.incendi.no/fhir/");varpatient=await fhirClient.CreateAsync(new Patient
{Name=newList<Hl7.Fhir.Model.HumanName>{
HumanName.ForFamily("SampleFamily").WithGiven("SampleGiven").WithGiven("ExtraGiven")}});varpatientRelativeUrl=$"{patient.TypeName}/{patient.Id}";vardocumentManifest=await fhirClient.CreateAsync(new DocumentManifest
{Subject=new ResourceReference(patientRelativeUrl),Content=newList<ResourceReference>{new ResourceReference("DocumentReference/not-real")},Status= DocumentReferenceStatus.Current
});// This finds the resourcevarbySubject=await fhirClient.SearchUsingPostAsync<DocumentManifest>(new SearchParams("subject", patientRelativeUrl));// These don't find the resourcevarbyPatient=await fhirClient.SearchUsingPostAsync<DocumentManifest>(new SearchParams("patient", patientRelativeUrl));varbyPatientId=await fhirClient.SearchUsingPostAsync<DocumentManifest>(new SearchParams("patient", patient.Id));
Expected behavior
The API is expected to return a Bundle with the same DocumentManifest resources obtained when searching by subject for the same Patient.
Describe the bug
When searching
DocumentManifest
resources using thepatient
parameter, searches return0
results. Using thesubject
parameter, with the samePatient
reference, returns the expected resources.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The API is expected to return a
Bundle
with the sameDocumentManifest
resources obtained when searching bysubject
for the samePatient
.Related FHIR search parameters: http://www.hl7.org/fhir/documentmanifest.html#search
Spark version
1.5.14
Operating system + Database
Validated against reference implementation at https://spark.incendi.no/fhir/.
Additionally, validated locally in Windows 11 + Docker-hosted MongoDB.
Container service / Cloud infrastructure:
Validated against reference implementation at https://spark.incendi.no/fhir/.
Additionally, validated locally in Windows 11 + local Docker Desktop-hosted MongoDB.
The text was updated successfully, but these errors were encountered: