@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:us_ndc a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "us_ndc" ;
    skos:prefLabel "US National Drug Code (NDC)"@en ;
    skos:definition "Ten-digit identifier of a drug package listed with the US Food and Drug Administration. It has three segments: the labeler code assigned by the FDA, the product code and the package code, both assigned by the labeler. The official form separates the segments with hyphens in one of the configurations 4-4-2, 5-3-2, 5-4-1, 6-3-2 or 6-4-1. Claims data under HIPAA use an 11-digit form without hyphens that pads the segments with zeros to 5-4-2."@en ;
    skos:exactMatch <https://bioregistry.io/registry/ndc> ;
    skos:example "50242-090-02" ;
    skos:example "0009-0417-01" ;
    skos:example "00009041701" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?:\\d{4}-\\d{4}-\\d{2}|\\d{5}-\\d{3}-\\d{2}|\\d{5}-\\d{4}-\\d|\\d{6}-\\d{3}-\\d{2}|\\d{6}-\\d{4}-\\d|\\d{11})$" ;
    dcterms:spatial country:US ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/National_drug_code> ;
    rdfs:seeAlso <https://open.fda.gov/apis/drug/ndc/> .
