Skip to content

GP Patient - generalPractitioner.reference  #284

@KevinMayfield

Description

@KevinMayfield

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions