Started drafting content. 

The following topics are included in this page.

ModelMappedElements: Get Target CDM Mapped Data Element Name

This API retrieves all the Target data elements that have been mapped between a specific Source table/attribute and the Target model

Input: Source Model Name/Version/Table Name/Attribute Name/Target Model Name/Version

Output: Target Model Name/Version/Mapped Element Table Name/Mapped Attribute Name

Input:  OMOP/5.3.1/Person/gender_concept_id/PCORnet/4.0

give me the table/attribute in PCORnet 4.0 that has been mapped to OMOP 5.3.1 element Person/gender_concept_id

Output: same style as ModelMappedValues

this output indicates that the element Patient/gender in PCORnet 4.0 has been mapped to Person/gender_concept_id in OMOP 5.3.1

https://cadsrapi.cancer.gov/invoke/caDSRII.ModelApi/GetXML?query=ModelMappedElements[@model=OMOP,@version=5.31,@table=Person,@attributeName=gender_concept_id,@targetModelName=PCORnet,@targetModelVersion=4


ModelMappedValues: Get Target CDM Data Element and Permitted Value

This API retrieves the mapped permissible value for a particular Data Element between the Source and Target models

Input: Source Model Name/Version/Table Name/Attribute Name/Value/Target Model Name/Version

Representation in caDSR of "model" elements

The commonly used short model name and version is stored in the CS Preferred Name/short name in the Context for the Project

the table name is stored as the CSI Long Name, and also as an alternate Name for each data element with a name type of the model

e.g. Data element 6144640 version 1

Owning Context = CDMH Phase I

DE is classified by CS/CSI "OMOP 5.2/Person"

DEC = 3175307

DE Short Name/Preferred Name = gender_concept_id, Alternate name type="OMOP Name"

DE Alternate name = PERSON, Alternate name type = "OMOP Table"

Output: Target Model Name/Version/Mapped Table Name/Mapped Attribute Name/Mapped Value

Input: OMOP/5.31/Person/gender_concept_id/F/PCORnet/4.0

give me the equivalent permissible value in for a CDE in PCORnet model, version 4 that has been mapped to OMOP Model version 5.31 Table = Person, OMOP Name =gender_concept_id, with permissible value "F"

Output: PCORnet/4.0/DEMOGRAPHIC/SEX/F

this indicates that PCORnet 4.0 table Demographic attribute "sex" with value "F"  has been mapped to OMOP 5.2 table Person attribute gender_concept_id value "F"

cadsrapi.cancer.gov/invoke/caDSRII.ModelApi/GetXML?query=ModelMappedValues[@model=OMOP,@version=5.31,@table=Person,@attributeName=race_concept_id,@attributeValue=2,@targetModelName=PCORnet,@targetModelVersion=4]


ModelMappedTableElements: Get All Target CDM Elements Mapped to Source CDM Table

TBD

ModelAttributes: Get All Attributes in a Model

TBD