wes_pds__encounter_by_pkpatid.csv
Add Column
Add Node/Literal
Literal Node: wes_pds__encounter_by_pkpatid.csv
Literal Type: NA
Language: NA
isUri: false
PyTransforms
hc_enc_crid_UUID_uri
From column: RAWTOHEX.PK_PATIENT_ENCOUNTER_ID.
import uuid
temp = uuid.uuid4().hex
return "encounterCrid/" + temp
consenter_crid_uri
From column: PK_PATIENT_ID
import uuid
temp = uuid.uuid4().hex
return "consenterCrid/" + temp
consenter_reg_uri_string
From column: PK_PATIENT_ID
# pds pk patient id
return("http://transformunify.org/ontologies/TURBO_0000403")
#mrn_fac = getValue("MRN_FACILITY")
#if (mrn_fac == "HUP") :
# return("http://transformunify.org/ontologies/TURBO_0000410")
#if (mrn_fac == "PMC") :
# return("http://transformunify.org/ontologies/TURBO_0000411")
#if (mrn_fac == "PAH") :
# return("http://transformunify.org/ontologies/TURBO_0000412")
#if (mrn_fac == "CCH") :
# return("http://transformunify.org/ontologies/TURBO_0000413")
#else:
# return("")
encoutner_reg_uri_string
From column: RAWTOHEX.PK_PATIENT_ENCOUNTER_ID.
# PK_PATIENT_ENCOUNTER_ID
return("http://transformunify.org/ontologies/TURBO_0000440")
Selections
Semantic Types
Column | Property | Class |
---|---|---|
PK_PATIENT_ID | turbo:TURBO_0003608 |
turbo:TURBO_00005031 |
RAWTOHEX.PK_PATIENT_ENCOUNTER_ID. | turbo:TURBO_0002608 |
turbo:TURBO_00005081 |
consenter_crid_uri | uri |
turbo:TURBO_00005031 |
consenter_reg_uri_string | turbo:TURBO_0003610 |
turbo:TURBO_00005031 |
encoutner_reg_uri_string | turbo:TURBO_0002610 |
turbo:TURBO_00005081 |
hc_enc_crid_UUID_uri | uri |
turbo:TURBO_00005081 |
Links
From | Property | To |
---|---|---|
turbo:TURBO_00005031 |
turbo:TURBO_0000302 |
turbo:TURBO_00005081 |
turbo:TURBO_00005031 |
turbo:TURBO_0003603 |
wes_pds__encounter_by_pkpatid.csv |