All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.imsweb.staging.eod.EodSchemaLookup Maven / Gradle / Ivy

/*
 * Copyright (C) 2015 Information Management Services, Inc.
 */
package com.imsweb.staging.eod;

import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

import com.imsweb.staging.SchemaLookup;
import com.imsweb.staging.eod.EodStagingData.EodInput;

public class EodSchemaLookup extends SchemaLookup {

    private static final Set _ALLOWED_KEYS = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(
            EodStagingData.PRIMARY_SITE_KEY,
            EodStagingData.HISTOLOGY_KEY,
            EodInput.SEX.toString(),
            EodInput.DISCRIMINATOR_1.toString(),
            EodInput.DISCRIMINATOR_2.toString())));

    /**
     * Constructor
     * @param site primary site
     * @param histology histology
     */
    public EodSchemaLookup(String site, String histology) {
        super(site, histology);
    }

    @Override
    public Set getAllowedKeys() {
        return _ALLOWED_KEYS;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy