Skip to main content

CreatePatientNumberInput

Input for creating a Practice Number definition.

input CreatePatientNumberInput {
name: String!
primary: Boolean
idType: IdType
}

Fields

CreatePatientNumberInput.name ● String! non-null scalar

Display name for the number type, e.g. NH_ID

CreatePatientNumberInput.primary ● Boolean scalar

Whether this is the practice primary patient identifier. Defaults to false. Only one definition may be primary at a time — setting true demotes the current primary.

CreatePatientNumberInput.idType ● IdType enum

Number type. Defaults to USER. GB practices: USER or NHS_UK (NHS_UK only when the practice has no active NHS number definition). FR practices: USER or INS_FR (INS_FR only when the practice has no active INS definition).

Member Of

createPatientNumber mutation