# Get PlanDiagnosisAge Gets PlanDiagnosisAge Endpoint: GET /plans/{planID}/diagnosis-age-restrictions/{planDiagnosisAgeKey} Version: v1 Security: apiKeyAuth, bearerAuth ## Header parameters: - `vbasoftware-database` (string, required) Target database ## Path parameters: - `planID` (string, required) Plan ID - `planDiagnosisAgeKey` (integer, required) PlanDiagnosisAge Key ## Response 200 fields (text/plain): - `data` (object) - `data.planDiagnosisAge_Key` (integer, required) Unique identifier for each Diagnosis Age rule. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `data.age_Range_Type` (string,null) Specifies whether the associated age range is in days, months, or years. - `data.age_Type` (string,null) Adjudication will apply the rule if the Patient falls outside of the specified range based upon the designated criteria: 1. Birth Date - age is specified by looking at the Patient's day of birth. 2. End of Birth Month - age is specified based upon the full birth month. For example, if the Patient is turning 18 on September 12th, adjudication won't consider the Patient to be 18 until October 1st. 3. Ignore Age - defauls the rule to only being based upon the diagnosis code. - `data.diagnostic_Code_Type` (string, required) Specifies the numbering system used for the selected Diagnosis Codes. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `data.entry_Date` (string) Date when the record was added to the system. - `data.entry_User` (string,null) User that first added the record to the system. - `data.ex_Code` (string,null) Specifies the Ex Code that will be applied based upon the designated criteria. - `data.from_Age` (integer,null) Start of the range of Ages. - `data.from_Diag` (string, required) Start of the range of Diagnosis Codes. - `data.plan_ID` (string, required) References the Plans.Plan_ID value in parent table. - `data.thru_Age` (integer,null) End of the range of Ages. - `data.thru_Diag` (string, required) End of the range of Diagnosis Codes. - `data.update_Date` (string) Date when the record was last updated in the system. - `data.update_User` (string,null) User that last updated the record in the system. - `error` (object) - `error.detail` (string,null) A human-readable explanation specific to this occurrence of the problem. - `error.instance` (string,null) A URI reference that identifies the specific occurrence of the problem.It may or may not yield further information if dereferenced. - `error.status` (integer) The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem. - `error.title` (string,null) A short, human-readable summary of the problem type.It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization(e.g., using proactive content negotiation; see[RFC7231], Section 3.4). - `error.type` (string,null) A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". - `debug` (object) - `debug.activityID` (string, required) ## Response 401 fields