Skip to content

Instantly share code, notes, and snippets.

@jenmak
Last active August 29, 2015 14:09
Show Gist options
  • Select an option

  • Save jenmak/558980150b3cb5847093 to your computer and use it in GitHub Desktop.

Select an option

Save jenmak/558980150b3cb5847093 to your computer and use it in GitHub Desktop.
Demo(2) Instance Config File
[{
"type": "Indication",
"id": 6,
"categories": {
"Identifiers": [
{ "attr": "id_attr", "pretty": "ID" }
],
"Nominal": [
{ "attr": "status_attr", "pretty": "Statuses" }
]
}
},
{
"type": "Target",
"id": 10,
"categories": {
"Synonyms": [
{ "attr": "synonym_attr", "pretty": "Synonym"},
{ "attr": "chemicalName_attr", "pretty": "Chemical Name"}
],
"Profile": [
{ "attr": "Profile_attr", "pretty": "Profile"},
{ "attr": "Description_attr", "pretty": "Description"}
],
"Descriptions": [
{ "attr": "label_attr", "pretty": "Label"},
{ "attr": "affymetrix_attr", "pretty": "Affymetrix"},
{ "attr": "agilent_attr", "pretty": "Agilent"},
{ "attr": "embl_attr", "pretty": "Embl"},
{ "attr": "hugo_attr", "pretty": "Hugo"},
{ "attr": "relatedMechanism_attr", "pretty": "Related Mechanism"},
{ "attr": "snp_attr", "pretty": "SNP"},
{ "attr": "mechanismOfActionMolecular_attr", "pretty": "Mechanism of Action"},
{ "attr": "ensemblgene_attr", "pretty": "Ensembl Gene"},
{ "attr": "ensemblprotein_attr", "pretty": "Ensembl Protein"},
{ "attr": "ensembltranscript_attr", "pretty": "Ensembl Transcript"}
],
"Identifiers": [
{ "attr": "id_attr", "pretty": "ID" },
{ "attr": "omim_attr", "pretty": "OMIM" },
{ "attr": "url_attr", "pretty": "Cortellis URI"},
{ "attr": "unigene_attr", "pretty": "Unigene"},
{ "attr": "swissprot_attr", "pretty": "Swiss Prot"},
{ "attr": "pir_attr", "pretty": "PIR"}
],
"Dates": [
{ "attr": "AvailableSinceDate_attr", "pretty": "Available Since", "fmt": "iso"}
],
"Nominal": [
{ "attr": "type_attr", "pretty": "Type"}
]
}
},
{
"type": "Technology",
"id": 13,
"labelOnly": true
},
{
"type": "Patent",
"id": 14,
"categories": {
"Descriptions": [
{ "attr": "Title_attr", "pretty": "Title"},
{ "attr": "inventor_attr", "pretty": "Inventor"},
{ "attr": "name_attr", "pretty": "Name"},
{ "attr": "label_attr", "pretty": "Label"}
],
"Identifiers": [
{ "attr": "id_attr", "pretty": "ID" },
{ "attr": "ipcCode_attr", "pretty": "IPC Code"}
],
"Booleans": [
{ "attr": "primary_attr", "pretty": "Primary"}
],
"Dates": [
{ "attr": "applicationDate_attr", "pretty": "Application Date", "fmt": "iso"},
{ "attr": "publicationDate_attr", "pretty": "Publication Date", "fmt": "iso"},
{ "attr": "DateAdded_attr", "pretty": "Date Added", "fmt": "iso"},
{ "attr": "DateChangeLast_attr", "pretty": "Date Change Last", "fmt": "iso"}
],
"Nominal": [
{ "attr": "patentType_attr", "pretty": "Patent Types"}
]
}
},
{
"type": "Company",
"id": 15,
"categories": {
"Profile": [
{ "attr": "Profile_attr", "pretty": "Profile", "fmt": "xml"}
],
"Identifiers": [
{ "attr": "id_attr", "pretty": "ID" },
{ "attr": "label_attr", "pretty": "OA Parent"},
{ "attr": "org_relationship_attr", "pretty": "Org Relationship" },
{ "attr": "url_attr", "pretty": "Cortellis URI"}
],
"Booleans": [
{ "attr": "is_public_attr", "pretty": "Public"}
],
"Dates": [
{ "attr": "modified_date_attr", "pretty": "Modified Date", "fmt": "DD-MON-YY"}
],
"Nominal": [
{ "attr": "org_relationship_attr", "pretty": "Organization Relationships"}
],
"Map": [
{ "attr": "address1_attr", "pretty": "Address 1"},
{ "attr": "city_attr", "pretty": "City"},
{ "attr": "cor_parent_attr", "pretty": "Cor Parent"},
{ "attr": "cor_related_attr", "pretty": "Cor Related"},
{ "attr": "country_attr", "pretty": "Country"},
{ "attr": "country_code_attr", "pretty": "Country Code"},
{ "attr": "oa_parent_attr", "pretty": "OA Parent"},
{ "attr": "postal_code_attr", "pretty": "Postal Code"},
{ "attr": "state_province_attr", "pretty": "State Province"},
{ "attr": "state_province_code_attr", "pretty": "State Province Code"},
{ "attr": "state_province_official_attr", "pretty": "Official State Province"},
{ "attr": "Address_attr", "pretty": "Full Address"},
{ "attr": "structured_address_attr", "pretty": "Structured Address"},
{ "attr": "Country_attr", "pretty": "Country"},
{ "attr": "matchedCities", "pretty": "Matched Cities"}
],
"Other": [
{ "attr": "display_name_attr", "pretty": "Display Name"},
{ "attr": "AncestorNameDisplay_attr", "pretty": "Ancestor Company"},
{ "attr": "Fax_attr", "pretty": "Fax"},
{ "attr": "Telephone_attr", "pretty": "Telephone"},
{ "attr": "WebSite_attr", "pretty": "iframe"}
]
}
},
{
"type": "Clinical Trial",
"id": 18,
"categories": {
"Descriptions": [
{ "attr": "TitleOfficial_attr", "pretty": "Official Title"},
{ "attr": "AimsAndScope_attr", "pretty": "Aims and Scope", "fmt": "xml"},
{ "attr": "Conclusions_attr", "pretty": "Conclusions"},
{ "attr": "CriteriaExclusion_attr", "pretty": "Exclusion Criteria", "fmt": "xml"},
{ "attr": "CriteriaInclusion_attr", "pretty": "Inclusion Criteria", "fmt": "xml"}
],
"Identifiers": [
{ "attr": "id_attr", "pretty": "ID" },
{ "attr": "NCTId_attr", "pretty": "NCT ID"},
{ "attr": "Organisational-StudyId_attr", "pretty": "Organisational Study ID"},
{ "attr": "OtherId_attr", "pretty": "Other ID"},
{ "attr": "Trial-AcronymId_attr", "pretty": "Trial Acronym ID"}
],
"Booleans": [
{ "attr": "OutcomesAvailable_attr", "pretty": "Outcomes Available"}
],
"Dates": [
{ "attr": "DateStart_attr", "pretty": "Start Date", "fmt": "iso"},
{ "attr": "DateChangeLast_attr", "pretty": "Last Changed", "fmt": "iso"},
{ "attr": "DateEndEstimated_attr", "pretty": "Estimated End Date", "fmt": "iso"}
],
"Nominal": [
{ "attr": "trialCondition_attr", "pretty": "Trial Conditions", "display": true},
{ "attr": "patientSelectionTerm_attr", "pretty": "Patient Selection Terms", "display": true},
{ "attr": "termsDesignTerm_attr", "pretty": "Design Terms", "display": true},
{ "attr": "termsEndPointTerm_attr", "pretty": "Endpoint Terms", "display": true},
{ "attr": "Phase_attr", "pretty": "Phases", "display": true}
],
"Other": [
{ "attr": "PatientCountEnrollment_attr", "pretty": "Patient Count Enrollment"}
]
}
},
{
"type": "Drug",
"id": 20,
"categories": {
"Synonyms": [
{ "attr": "chemicalName_attr", "pretty": "Chemical Name"},
{ "attr": "genericName_attr", "pretty": "Generic Name"}
],
"Profile": [
{ "attr": "DevelopmentProfile_attr", "pretty": "Development Profile", "fmt": "xml"}
],
"Simple": [
{ "attr": "StructureSmiles_attr", "pretty": "Smiles Structure"},
{ "attr": "StructureInchi_attr", "pretty": "Inchi Structure"},
{ "attr": "cellularMechanism_attr", "pretty": "Cellular Mechanism" },
{ "attr": "molecularMechanism_attr", "pretty": "Molecular Mechanism" }
],
"Identifiers": [
{ "attr": "id_attr", "pretty": "ID" },
{ "attr": "casNumber_attr", "pretty": "CAS Number"},
{ "attr": "codeName_attr", "pretty": "Code Name"},
{ "attr": "translatedDrugId_attr", "pretty": "Translated Drug ID"}
],
"Booleans": [
{ "attr": "DrugIsLead_attr", "pretty": "Leading Drug"},
{ "attr": "DevelopmentIsActive_attr", "pretty":"Active Development" }
],
"Dates": [
{ "attr": "LastModificationDate_attr", "pretty": "Last Modified On", "fmt": "iso"}
],
"Nominal": [
{ "attr": "inactiveCondition_attr", "pretty": "Inactive Conditions"},
{ "attr": "activeCondition_attr", "pretty": "Active Conditions"},
{ "attr": "therapeuticGroup_attr", "pretty": "Therapeutic Groups"},
{ "attr": "administrationRoute_attr", "pretty": "Administration Routes"},
{ "attr": "productCategory_attr", "pretty": "Product Categories","display": true},
{ "attr": "activeOrganization_attr","pretty":"Active Organizations"},
{ "attr": "inactiveOrganization_attr", "pretty": "Inactive Organizations"},
{ "attr": "originatorOrganization_attr", "pretty": "Originator Organizations"},
{ "attr": "PhaseHighest_attr", "pretty": "Highest Phase" }
],
"Other": [
{ "attr": "url_attr", "pretty": "Cortellis URI" }
]
}
},
{
"type": "Therapeutic Group",
"id": 25,
"categories": {
"Descriptions": [
{ "attr": "label_attr", "pretty": "Label"}
],
"Identifiers": [
{ "attr": "id_attr", "pretty": "ID" }
]
},
"labelOnly": true
},
{
"type": "MOA",
"id": 26,
"categories": {
"Descriptions": [
{ "attr": "label_attr", "pretty": "Label"}
],
"Identifiers": [
{ "attr": "id_attr", "pretty": "ID" }
]
},
"labelOnly": true
},
{
"type": "Administration Route",
"id": 28,
"categories": {
"Descriptions": [
{ "attr": "label_attr", "pretty": "Label"}
],
"Identifiers": [
{ "attr": "id_attr", "pretty": "ID" }
]
},
"labelOnly": true
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment