Coder Social home page Coder Social logo

Race Recode about algorithms HOT 3 CLOSED

howew avatar howew commented on August 30, 2024
Race Recode

from algorithms.

Comments (3)

howew avatar howew commented on August 30, 2024
    <ItemDef naaccrId="race1Recode"
            naaccrNum="9460"
            naaccrName="Race 1 Recode"
            length="1"
            recordTypes="A,M,C,I"
            parentXmlElement="Patient"/>   

from algorithms.

depryf avatar depryf commented on August 30, 2024

The code references multiple constants. We need the values for those.

RACE_WHITE=1
RACE_BLACK=2
RACE_AIAN=?
RACE_LAST_SPECIFIC=?
RACE_NONE=?
RACE_OTHER=98
RACE_UNKNOWN=99
IHS_INVALID=?
IHS_MATCH=?

Also, this logic checks the the state is not AK, but that's a tumor field. The recode is a patient-level field. The best we can do is to check that none of the tumors has an AK state.

Also, we usually start the algorithm names with the organization that "owns" the algorithm. Is this owned/maintained by SEER?

from algorithms.

howew avatar howew commented on August 30, 2024

I think checking that none of the tumors are from AK is fine.

Yes, I would say SEER owns it.

The constants are:

public static final String IHS_INVALID = "9";
public static final String IHS_MATCH = "1";
public static final int RACE_WHITE = 1;
public static final int RACE_BLACK = 2;
public static final int RACE_AIAN = 3;
public static final int RACE_NONE = 88;
public static final int RACE_LAST_SPECIFIC = 97;
public static final int RACE_OTHER = 98;
public static final int RACE_UNKNOWN = 99;
public static final String RECODE_WHITE = "1";
public static final String RECODE_BLACK = "2";
public static final String RECODE_AIAN = "3";
public static final String RECODE_OTHER = "3";
public static final String RECODE_API = "4";
public static final String RECODE_UNKNOWN = "9";
public static final String NHIA_INVALID = "9";
public static final String NHIA_NONHISP = "0";
public static final String NHIA_HISP = "1";
public static final String ASIAN_UNKNOWN = "99";
public static final String ASIAN_FLAG_NO = "0";

from algorithms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.