Skip to main content

addPatientRelationship

Adds a PatientRelationship to a Patient.

addPatientRelationship(
patientId: ID!
relationshipType: PatientRelationshipType!
relationshipLabel: String
contact: PatientRelationshipContactInput!
): PatientResponsePayload

Arguments​

addPatientRelationship.patientId ● ID! non-null scalar​

addPatientRelationship.relationshipType ● PatientRelationshipType! non-null enum​

Note there are a limited number of options for this field, see PatientRelationshipType

addPatientRelationship.relationshipLabel ● String scalar​

Label displayed for the new PatientRelationship if the relationshipType is set to OTHER; for different values, label is automatically generated and this field is ignored

addPatientRelationship.contact ● PatientRelationshipContactInput! non-null input​

Details of the Patient/Contact this PatientRelationship links to

Type​

PatientResponsePayload object​

The response received when querying for patient information.