text: const { GraphQLString } = require('graphql');
  const TokenScalar = require('../scalars/token.scalar.js');
  const DateScalar = require('../scalars/date.scalar.js');
  
  /**
   * @name exports
   * @static
   * @summary Arguments for the relatedperson query
   */
  module.exports = {
  	// http://hl7.org/fhir/SearchParameter/individual-address
  	address: {
  		type: GraphQLString,
  		fhirtype: 'string',
  		xpath: 'RelatedPerson.address',
  		description:
  			'Multiple Resources:     * [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text  * [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text  * [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text  * [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text  ',
  	},
  	// http://hl7.org/fhir/SearchParameter/individual-address-city
  	address_city: {
  		type: GraphQLString,
  		fhirtype: 'string',
  		xpath: 'RelatedPerson.address.city',
  		description:
  			'Multiple Resources:     * [Patient](patient.html): A city specified in an address  * [Person](person.html): A city specified in an address  * [Practitioner](practitioner.html): A city specified in an address  * [RelatedPerson](relatedperson.html): A city specified in an address  ',
  	},
  	// http://hl7.org/fhir/SearchParameter/individual-address-country
  	address_country: {
  		type: GraphQLString,
  		fhirtype: 'string',
  		xpath: 'RelatedPerson.address.country',
  		description:
  			'Multiple Resources:     * [Patient](patient.html): A country specified in an address  * [Person](person.html): A country specified in an address  * [Practitioner](practitioner.html): A country specified in an address  * [RelatedPerson](relatedperson.html): A country specified in an address  ',
  	},
  	// http://hl7.org/fhir/SearchParameter/individual-address-postalcode
  	address_postalcode: {
  		type: GraphQLString,
  		fhirtype: 'string',
  		xpath: 'RelatedPerson.address.postalCode',
  		description:
  			'Multiple Resources:     * [Patient](patient.html): A postalCode specified in an address  * [Person](person.html): A postal code specified in an address  * [Practitioner](practitioner.html): A postalCode specified in an address  * [RelatedPerson](relatedperson.html): A postal code specified in an address  ',
  	},
  	// http://hl7.org/fhir/SearchParameter/individual-address-state
  	address_state: {
  		type: GraphQLString,
  		fhirtype: 'string',
  		xpath: 'RelatedPerson.address.state',
  		description:
  			'Multiple Resources:     * [Patient](patient.html): A state specified in an address  * [Person](person.html): A state specified in an address  * [Practitioner](practitioner.html): A state specified in an address  * [RelatedPerson](relatedperson.html): A state specified in an address  ',
  	},
  	// http://hl7.org/fhir/SearchParameter/individual-address-use
  	address_use: {
  		type: TokenScalar,
  		fhirtype: 'token',
  		xpath: 'RelatedPerson.address.use',
  		description:
  			'Multiple Resources:     * [Patient](patient.html): A use code specified in an address  * [Person](person.html): A use code specified in an address  * [Practitioner](practitioner.html): A use code specified in an address  * [RelatedPerson](relatedperson.html): A use code specified in an address  ',
  	},
  	// http://hl7.org/fhir/SearchParameter/individual-birthdate
  	birthdate: {
  		type: DateScalar,
  		fhirtype: 'date',
  		xpath: 'RelatedPerson.birthDate',
  		description:
  			"Multiple Resources:     * [Patient](patient.html): The patient's date of birth  * [Person](person.html): The person's date of birth  * [RelatedPerson](relatedperson.html): The Related Person's date of birth  ",
  	},
  	// http://hl7.org/fhir/SearchParameter/individual-email
  	email: {
  		type: TokenScalar,
  		fhirtype: 'token',
  		xpath: "RelatedPerson.telecom[system/@value='email']",
  		description:
  			'Multiple Resources:     * [Patient](patient.html): A value in an email contact  * [Person](person.html): A value in an email contact  * [Practitioner](practitioner.html): A value in an email contact  * [PractitionerRole](practitionerrole.html): A value in an email contact  * [RelatedPerson](relatedperson.html): A value in an email contact  ',
  	},
  	// http://hl7.org/fhir/SearchParameter/individual-gender
  	gender: {
  		type: TokenScalar,
  		fhirtype: 'token',
  		xpath: 'RelatedPerson.gender',
  		description:
  			'Multiple Resources:     * [Patient](patient.html): Gender of the patient  * [Person](person.html): The gender of the person  * [Practitioner](practitioner.html): Gender of the practitioner  * [RelatedPerson](relatedperson.html): Gender of the related person  ',
  	},
  	// http://hl7.org/fhir/SearchParameter/individual-phone
  	phone: {
  		type: TokenScalar,
  		fhirtype: 'token',
  		xpath: "RelatedPerson.telecom[system/@value='phone']",
  		description:
  			'Multiple Resources:     * [Patient](patient.html): A value in a phone contact  * [Person](person.html): A value in a phone contact  * [Practitioner](practitioner.html): A value in a phone contact  * [PractitionerRole](practitionerrole.html): A value in a phone contact  * [RelatedPerson](relatedperson.html): A value in a phone contact  ',
  	},
  	// http://hl7.org/fhir/SearchParameter/individual-phonetic
  	phonetic: {
  		type: GraphQLString,
  		fhirtype: 'string',
  		xpath: 'RelatedPerson.name',
  		description:
  			'Multiple Resources:     * [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm  * [Person](person.html): A portion of name using some kind of phonetic matching algorithm  * [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm  * [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm  ',
  	},
  	// http://hl7.org/fhir/SearchParameter/individual-telecom
  	telecom: {
  		type: TokenScalar,
  		fhirtype: 'token',
  		xpath: 'RelatedPerson.telecom',
  		description:
  			'Multiple Resources:     * [Patient](patient.html): The value in any kind of telecom details of the patient  * [Person](person.html): The value in any kind of contact  * [Practitioner](practitioner.html): The value in any kind of contact  * [PractitionerRole](practitionerrole.html): The value in any kind of contact  * [RelatedPerson](relatedperson.html): The value in any kind of contact  ',
  	},
  	// http://hl7.org/fhir/SearchParameter/RelatedPerson-active
  	active: {
  		type: TokenScalar,
  		fhirtype: 'token',
  		xpath: 'RelatedPerson.active',
  		description: 'Indicates if the related person record is active',
  	},
  	// http://hl7.org/fhir/SearchParameter/RelatedPerson-identifier
  	identifier: {
  		type: TokenScalar,
  		fhirtype: 'token',
  		xpath: 'RelatedPerson.identifier',
  		description: 'An Identifier of the RelatedPerson',
  	},
  	// http://hl7.org/fhir/SearchParameter/RelatedPerson-name
  	name: {
  		type: GraphQLString,
  		fhirtype: 'string',
  		xpath: 'RelatedPerson.name',
  		description:
  			'A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text',
  	},
  	// http://hl7.org/fhir/SearchParameter/RelatedPerson-patient
  	patient: {
  		type: GraphQLString,
  		fhirtype: 'reference',
  		xpath: 'RelatedPerson.patient',
  		description: 'The patient this related person is related to',
  	},
  	// http://hl7.org/fhir/SearchParameter/RelatedPerson-relationship
  	relationship: {
  		type: TokenScalar,
  		fhirtype: 'token',
  		xpath: 'RelatedPerson.relationship',
  		description: 'The relationship between the patient and the relatedperson',
  	},
  };
  