Hi there,
I’m a fresh men to setup CMD v5. Today I try to import the vocabulary to postgresql database on my macbook pro and windows, both failed. the error is below (I have stopped the script on windows and the mac is till running). Does anyone encounter the same problem as me? I just search on the forums and google it, but did not find any clue. It is appreciated if anyone can give me some suggestion!
[WARNING ] COPY DRUG_STRENGTH FROM ‘C:\CDMV5VOCAB\DRUG_STRENGTH.csv’ WITH DELIMITER E’\t’ CSV HEADER QUOTE E’\b’
ERROR: extra data after last expected column
CONTEXT: COPY drug_strength, line 2: "19101475 19080375 50 8576 19700101 20991231 "
[WARNING ] COPY CONCEPT FROM ‘C:\CDMV5VOCAB\CONCEPT.csv’ WITH DELIMITER E’\t’ CSV HEADER QUOTE E’\b’
ERROR: extra data after last expected column
CONTEXT: COPY concept, line 2771153: “2313807 Percutaneous balloo2314026 Pressurized or nonpressurized inhalation treatment for acute airw…”
[WARNING ] COPY CONCEPT_RELATIONSHIP FROM ‘C:\CDMV5VOCAB\CONCEPT_RELATIONSHIP.csv’ WITH DELIMITER E’\t’ CSV HEADER QUOTE E’\b’
ERROR: insert or update on table “concept_relationship” violates foreign key constraint “fpk_concept_relationship_c_1”
DETAIL: Key (concept_id_1)=(40177103) is not present in table “concept”.
… …