Last active
May 31, 2016 09:12
-
-
Save esseti/55624080d690254551ef5bd092bbcc93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
structure = [{ | |
"name": "physician_id", "type": "string", "indexed":True | |
},{ | |
"name": "patient_birth_date","type": "date", "indexed":True | |
},{ | |
"name": "observation","type": "string","indexed":True | |
},{ | |
"name": "visit_date","type": "datetime","indexed":True | |
}] | |
schema = chino.schemas.create(repository_id, 'my schema', structure) #repository_id from step 2 | |
schema_id = schema._id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment