-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
According to the spec
https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1
generalPractioner is optional.
However if it is present, reference is optional.
PatientSearchFeature @1.2.3
has entry 'And the Patient GeneralPractitioner Practitioner should be valid and resolvable'
with corresponding implementation in
GPConnect.Provider.AcceptanceTests.PatientSteps.cs
The line if (patient.GeneralPractitioner.Count.Equals(1)) should also check for existence of the optional reference.
Sample microtest patient has been tested with very latest NHS FHIR validation tools and validated cleanly.