changedInput schema / properties / drug / description
Previous value: -"Drug name to profile — brand or generic (e.g. \"metformin\", \"Humira\", \"Glucophage\"). Resolved once to an FDA identity; meta.fanOutKey reports the name the recall, approval, and shortage sub-queries searched."New value: +"Drug name to profile — brand or generic (e.g. \"metformin\", \"Humira\", \"Glucophage\"). Resolved once to an FDA identity. The Drugs@FDA approval is ranked over this name's matches; meta.fanOutKey reports the name the recall and shortage sub-queries searched."
changedOutput schema / properties / approval / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "applicationNumber": {
- "description": "NDA/ANDA application number.",
- "type": [
- "string",
- "null"
- ]
- },
- "marketingStatus": {
- "description": "Derived marketing/approval status.",
- "type": [
- "string",
- "null"
- ]
- },
- "sponsor": {
- "description": "Sponsor/applicant name.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "applicationNumber",
- "sponsor",
- "marketingStatus"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "applicationNumber": {
+ "description": "NDA, ANDA, or BLA application number.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "brandNames": {
+ "description": "Brand names of the application's products (products.brand_name).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "candidates": {
+ "description": "Drugs@FDA applications the ranked search matched. Above 100, only the first 100 were ranked, and a notice says so.",
+ "type": "number"
+ },
+ "marketingStatus": {
+ "description": "Derived marketing/approval status.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sponsor": {
+ "description": "Sponsor/applicant name.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "applicationNumber",
+ "sponsor",
+ "marketingStatus",
+ "brandNames",
+ "candidates"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
changedOutput schema / properties / approval / description
Previous value: -"Best-matching Drugs@FDA application whose openfda.generic_name or products.active_ingredients.name matches meta.fanOutKey, or null when none matched or the sub-query failed (listed in degraded)."New value: +"The drug's own Drugs@FDA application, ranked over up to 100 matches of the input name: NDA and BLA applications by openfda.generic_name or products.active_ingredients.name, and any application whose products.brand_name is the name. Ranked on each application's own products: a brand name equal to the input that is not an ingredient name, then one ingredient (several when the name is a combination), then an ingredient without a biologic suffix, then reference_drug Yes, then NDA or BLA, then marketed over discontinued over tentative, then the lowest application number. When the name matches none, the same rank runs over meta.fanOutKey's openfda.generic_name and products.active_ingredients.name matches. Null when nothing matched or the search failed (listed in degraded)."
changedOutput schema / properties / degraded / items / properties / reason / description
Previous value: -"Machine-readable failure reason (e.g. rate_limited, upstream_error, query_error)."New value: +"Machine-readable failure reason (e.g. rate_limited, upstream_error, query_error, or timeout when the profile deadline cut the request)."
changedOutput schema / properties / identity / description
Previous value: -"Identity resolved once and reused across every sub-query to avoid identifier drift."New value: +"Identity of one product: an original packager's drug/label record matching the name, else any label matching the name, else a drug/ndc record — replaced by the approval application's own original-packager label whenever the record found is not it."
addedOutput schema / properties / identity / properties / application_number
Added value: +{
+ "description": "Application (NDA, ANDA, BLA) the resolved label or NDC record is filed under. When it differs from approval.applicationNumber, identity and label describe another product than approval does.",
+ "type": [
+ "string",
+ "null"
+ ]
+}
changedOutput schema / properties / identity / properties / brand_names / description
Previous value: -"Brand names for the drug (openfda.brand_name)."New value: +"Brand names on the resolved record: a label's openfda.brand_name, or the drug/ndc record's brand_name."
changedOutput schema / properties / identity / properties / generic_name / description
Previous value: -"Generic name (openfda.generic_name) of the resolved label or NDC record — it can name one product (e.g. \"ADALIMUMAB-AACF\"). meta.fanOutKey uses it unless the input term is whole words of it."New value: +"Generic name (openfda.generic_name) of the resolved label or NDC record — it can name one product (e.g. \"ADALIMUMAB-AACF\" on a biosimilar's label). meta.fanOutKey uses it unless the input term is whole words of it."
addedOutput schema / properties / identity / properties / is_original_packager
Added value: +{
+ "description": "True when openFDA flags the resolved record as the original packager's (openfda.is_original_packager). False for a harmonized record openFDA leaves unflagged, as a repackager's or relabeler's is. Null when openFDA harmonized nothing for the record.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+}
addedOutput schema / properties / identity / properties / manufacturer
Added value: +{
+ "description": "Manufacturer on the resolved label (openfda.manufacturer_name), or the drug/ndc record's labeler.",
+ "type": [
+ "string",
+ "null"
+ ]
+}
changedOutput schema / properties / identity / required
Previous value: -[
- "brand_names",
- "generic_name",
- "product_ndc",
- "rxcui",
- "spl_set_id"
-]New value: +[
+ "brand_names",
+ "generic_name",
+ "product_ndc",
+ "manufacturer",
+ "application_number",
+ "is_original_packager",
+ "rxcui",
+ "spl_set_id"
+]
changedOutput schema / properties / label / description
Previous value: -"Label highlights from drug/label, or null when no label matched."New value: +"Label highlights from the drug/label record identity was resolved from, or null when no label matched."
changedOutput schema / properties / meta / properties / fanOutKey / description
Previous value: -"Name the structured sub-queries (recall/enforcement, Drugs@FDA approval, shortage) ran against — the input term when it is whole words of the resolved generic name (an ingredient such as \"metformin\" or \"adalimumab\", so one label's product-specific generic does not narrow them), otherwise the resolved generic name, falling back to a brand name, then the input term. The adverse-event sub-queries instead key off the raw input term to match heterogeneous reporter-entered values."New value: +"Name the recall/enforcement and shortage sub-queries ran against, and the Drugs@FDA approval search when the input name matches no application — the input term when it is whole words of the resolved generic name (an ingredient such as \"metformin\" or \"adalimumab\", so one label's product-specific generic does not narrow them), otherwise the resolved generic name, falling back to a brand name, then the input term. Derived from the label the name itself matched, before any swap to the approval's own label. The adverse-event sub-queries instead key off the raw input term to match heterogeneous reporter-entered values."
changedOutput schema / properties / notice / description
Previous value: -"Guidance when the drug could not be resolved or upstream errors degraded the profile. Absent on a fully populated profile."New value: +"Guidance when the drug could not be resolved, upstream errors degraded the profile, a failed label lookup left another label shown, or the approval ranking or shortage counts covered only the first 100 matches. Absent otherwise."
changedOutput schema / properties / shortage / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "availability": {
- "description": "Availability note (truncated).",
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "description": "Shortage status (Current, To Be Discontinued, or Resolved).",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "status",
- "availability"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "availability": {
+ "description": "Availability note (truncated).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "company": {
+ "description": "Company the shown record names (company_name).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "namesInput": {
+ "description": "True when the shown record names the input drug, by product or presentation, or the input itself keyed the search. False for brand input no record names: the record shown is the newest for meta.fanOutKey, another product's.",
+ "type": "boolean"
+ },
+ "presentation": {
+ "description": "Presentation the shown record covers: product, dosage form, strength, NDC.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "product": {
+ "description": "Product the shown record covers: its openfda.brand_name, else its presentation's lead.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "Status of the shown record (Current, To Be Discontinued, or Resolved) — one presentation, not the whole drug; statusCounts tallies every record.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "statusCounts": {
+ "description": "Records per status over the newest 100 matches, most frequent first.",
+ "items": {
+ "additionalProperties": false,
+ "description": "A status paired with its record count.",
+ "properties": {
+ "count": {
+ "description": "Records with this status.",
+ "type": "number"
+ },
+ "status": {
+ "description": "Shortage status.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "status",
+ "count"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total": {
+ "description": "Shortage records whose generic_name matches meta.fanOutKey.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "status",
+ "availability",
+ "product",
+ "company",
+ "presentation",
+ "namesInput",
+ "total",
+ "statusCounts"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
changedOutput schema / properties / shortage / description
Previous value: -"Current or most-recent drug shortage status, or null when none on record."New value: +"One drug/shortages record for meta.fanOutKey — for brand input, the newest naming the brand, else the newest — with the product, company, and presentation it covers, the match total, and per-status counts. Null when none on record or the search failed (listed in degraded)."