title: "Family Member Details"
type: "object"

properties:
  rerequisition:
    $ref: "../ids.json#/definitions/RequisitionId"
    description: "Original requisition ID for this family member"
  relationship_to_proband:
    $ref: "../core.json#/definitions/BiologicalRelationship"
    title: Relationship with Proband
  sample_request:
    $ref: '../structs.json#/definitions/SampleRequest'
  subject:
    $ref: './SubjectForFamilyMember.json'
  remote_mrn:
    type: string
    title: Patient ID MRN
    description: Clinic's Medical Record Number
    default: ""
  indications:
    title: Clinical Phenotype
    description: Indicate Clinical Phenotype
    type: string
    default: ""
  affliction_status:
    title: Affliction Status
    description: Affected similarly to the proband
    type: boolean
    default: false
    oneOf:
      - const: false
        title: Not affected similarly
      - const: true
        title: Affected similarly
  secondary_findings_opt_out:
    title: Secondary Findings
    type: boolean
    oneOf:
      - const: false
        title: Opt-In
      - const: true
        title: Opt-Out
  request_genetic_counseling:
    $ref: "../core.json#/definitions/PostTestCounselingType"
    title: Request for genetic counseling
    type: string
    default: NO_COUNSELING
required:
  - relationship_to_proband
  - subject
  - sample_request
  - secondary_findings_opt_out
  - request_genetic_counseling
  - affliction_status
additionalProperties: false
