Application Development Support: Web Services: RESTful Resources

"/drugclass/{code}/spls"

Returns a list of all SPLs belonging to the drug class with the given code.
API Version: 1

NOTE:The DailyMed API has been updated to Version 2, which includes new resources and provides improved access to the DailyMed data. For information about the current API, visit the Web Services Page.

Path Parameters

  • code - Drug class code to receive a list of SPLs from. The drug class code is an NDF-RT unique identifier (NUI) from the VA NDF-RT coding system (2.16.840.1.113883.3.26.1.5). This parameter is required.

Errors

  • 404 - NO SPLs found for class code of {code}

Return Formats

RETURN FORMATS EXAMPLES

  • XML: https://dailymed.nlm.nih.gov/dailymed/services/v1/drugclass/N0000175556/spls.xml

    Returns

    <?xml version="1.0" encoding="UTF-8" ?>
    <drug_classes>
    	<drug_class>
    		<name type="EPC">beta-Adrenergic Blocker</name>
    		<code codingSystem="2.16.840.1.113883.3.26.1.5">N0000175556</code>
    		<spls>
    			<spl>
    				<setid>17baded7-b6f2-dbb1-2d9f-d1df2623e7a2</setid>
    				<spl_version>1</spl_version>
    				<published_date>June 28, 2013</published_date>
    				<title>ATENOLOL (ATENOLOL) TABLET [AVKARE, INC.]</title>
    				<brand_name>ATENOLOL</brand_name>
    				<generic_name>ATENOLOL</generic_name>
    			</spl>
    			<spl>
    				<setid>8541c2ad-415c-4422-88b3-8bb31d19c55a</setid>
    				<spl_version>3</spl_version>
    				<published_date>August 13, 2013</published_date>
    				<title>METOPROLOL SUCCINATE TABLET, EXTENDED RELEASE [CLINICAL SOLUTIONS WHOLESALE]</title>
    				<brand_name>METOPROLOL SUCCINATE</brand_name>
    				<generic_name>METOPROLOL SUCCINATE</generic_name>
    			</spl>
    			<spl>
    				<setid>daaf5f8f-2861-4e18-9d8a-0124eb9e26e6</setid>
    				<spl_version>1</spl_version>
    				<published_date>August 13, 2013</published_date>
    				<title>METOPROLOL SUCCINATE TABLET, FILM COATED, EXTENDED RELEASE [CLINICAL SOLUTIONS WHOLESALE]</title>
    				<brand_name>METOPROLOL SUCCINATE</brand_name>
    				<generic_name>METOPROLOL SUCCINATE</generic_name>
    			</spl>
    			<spl>
    				<setid>6063ba4d-d03a-488d-b937-70b3a32b7114</setid>
    				<spl_version>6</spl_version>
    				<published_date>August 13, 2013</published_date>
    				<title>METOPROLOL TARTRATE INJECTION, SOLUTION [AMERICAN REGENT, INC.]</title>
    				<brand_name>METOPROLOL TARTRATE</brand_name>
    				<generic_name>METOPROLOL TARTRATE</generic_name>
    			</spl>
    			...
    		</spls>
    	</drug_class>
    </drug_classes>
    													
    Close
  • JSON: https://dailymed.nlm.nih.gov/dailymed/services/v1/drugclass/N0000175556/spls.json

    Returns

    {
    	"COLUMNS": [
    		"CLASS_NAME",
    		"CLASS_TYPE",
    		"CLASS_CODE",
    		"CODING_SYSTEM",
    		"SETID",
    		"SPL_VERSION",
    		"TITLE",
    		"BRAND_NAME",
    		"GENERIC_NAME",
    		"PUBLISHED_DATE"
    	],
    	"DATA": [
    		[
    			"beta-Adrenergic Blocker",
    			"EPC",
    			"N0000175556",
    			"2.16.840.1.113883.3.26.1.5",
    			"17baded7-b6f2-dbb1-2d9f-d1df2623e7a2",
    			1,
    			"ATENOLOL (ATENOLOL) TABLET [AVKARE, INC.]",
    
    			"ATENOLOL",
    			"ATENOLOL",
    			"June 28, 2013"
    		],
    		[
    			"beta-Adrenergic Blocker",
    			"EPC",
    			"N0000175556",
    			"2.16.840.1.113883.3.26.1.5",
    			"8541c2ad-415c-4422-88b3-8bb31d19c55a",
    			3,
    			"METOPROLOL SUCCINATE TABLET, EXTENDED RELEASE [CLINICAL SOLUTIONS WHOLESALE]",
    			"METOPROLOL SUCCINATE",
    			"METOPROLOL SUCCINATE",
    			"August 13, 2013"
    		],
    		[
    			"beta-Adrenergic Blocker",
    			"EPC",
    			"N0000175556",
    			"2.16.840.1.113883.3.26.1.5",
    			"daaf5f8f-2861-4e18-9d8a-0124eb9e26e6",
    			1,
    			"METOPROLOL SUCCINATE TABLET, FILM COATED, EXTENDED RELEASE [CLINICAL SOLUTIONS WHOLESALE]",
    			"METOPROLOL SUCCINATE",
    			"METOPROLOL SUCCINATE",
    			"August 13, 2013"
    		],
    		[
    			"beta-Adrenergic Blocker",
    			"EPC",
    			"N0000175556",
    			"2.16.840.1.113883.3.26.1.5",
    			"6063ba4d-d03a-488d-b937-70b3a32b7114",
    			6,
    			"METOPROLOL TARTRATE INJECTION, SOLUTION [AMERICAN REGENT, INC.]",
    			"METOPROLOL TARTRATE",
    			"METOPROLOL TARTRATE",
    			"August 13, 2013"
    		],
    		...
    	]
    }
    													
    Close

RETURN TO PREVIOUS WEB SERVICES