Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1001 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 1001 Bytes

act2rdf

Converting ACT ontologies to RDF

ACT Ontologies are downloaded from the ACT Network.

Versions

Conversion:

The conversion is based on the following ontology files:

  • ACT_CPT_PX_2018AA.zip
  • ACT_HCPCS_PX_2018AA.zip
  • ACT_ICD10CM_DX_2018AA.zip
  • ACT_ICD10PCS_PX_2018AA.zip
  • ACT_ICD9CM_DX_2018AA.zip
  • ACT_ICD9CM_PX_2018AA.zip
  • ACT_LOINC_LAB_2018AA.zip
  • ACT_MED_ALPHA_V2_121318.dsv
  • ACT_MED_ALPHA_V2_121318.zip
  • ACT_MED_VA_V2_092818.zip

These files can be downloaded w/ the data/download.sh script

In each file, the columns mapped to the triples

C_FULLNAME: the hierarchy is mapped to skos:broader C_BASECODE: skos:exactMatch. Prefix:code is used to map to URIs. C_NAME: skos:prefLabel

Run act2rdf.py to convert the ACT ontologies to RDF (Turtle).

pipenv install
pipenv run python act2rdf/act2rdf.py