Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more lists? #8

Closed
roll opened this issue Oct 9, 2015 · 1 comment
Closed

Add more lists? #8

roll opened this issue Oct 9, 2015 · 1 comment

Comments

@roll
Copy link
Owner

roll commented Oct 9, 2015

It looks like some fields like overall_official can be a list of dicts not just a dict.

@roll
Copy link
Owner Author

roll commented Oct 13, 2015

<xs:sequence>
        <xs:element name="required_header" type="required_header_struct"/>
        <xs:element name="id_info" type="id_info_struct"/>
        <xs:element name="brief_title" type="xs:string"/>
        <xs:element name="acronym" type="xs:string" minOccurs="0"/>
        <xs:element name="official_title" type="xs:string" minOccurs="0"/>
        <xs:element name="sponsors" type="sponsors_struct"/>
        <xs:element name="source" type="xs:string"/>
        <xs:element name="oversight_info" type="oversight_info_struct" minOccurs="0"/>
        <xs:element name="brief_summary" type="textblock_struct" minOccurs="0"/>
        <xs:element name="detailed_description" type="textblock_struct" minOccurs="0"/>
        <xs:element name="overall_status" type="overall_status_enum"/>
        <xs:element name="why_stopped" type="xs:string" minOccurs="0"/>
        <xs:element name="start_date" type="year_month_type" minOccurs="0"/>
        <xs:element name="completion_date" type="year_month_struct" minOccurs="0"/>
        <xs:element name="primary_completion_date" type="year_month_struct" minOccurs="0"/>
        <xs:element name="phase" type="phase_enum"/>
        <xs:element name="study_type" type="study_type_enum"/>
        <xs:element name="study_design" type="xs:string"/>
        <xs:element name="target_duration" type="xs:string" minOccurs="0"/>
        <xs:element name="primary_outcome" type="protocol_outcome_struct" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="secondary_outcome" type="protocol_outcome_struct" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="other_outcome" type="protocol_outcome_struct" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="number_of_arms" type="xs:integer" minOccurs="0"/>
        <xs:element name="number_of_groups" type="xs:integer" minOccurs="0"/>
        <xs:element name="enrollment" type="enrollment_struct" minOccurs="0"/>
        <xs:element name="condition" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="arm_group" type="arm_group_struct" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="intervention" type="intervention_struct" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="biospec_retention" type="biospec_retention_enum" minOccurs="0"/>
        <xs:element name="biospec_descr" type="textblock_struct" minOccurs="0"/>
        <xs:element name="eligibility" type="eligibility_struct" minOccurs="0"/>
        <xs:element name="overall_official" type="investigator_struct" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="overall_contact" type="contact_struct" minOccurs="0"/>
        <xs:element name="overall_contact_backup" type="contact_struct" minOccurs="0"/>
        <xs:element name="location" type="location_struct" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="location_countries" type="countries_struct" minOccurs="0"/>
        <xs:element name="removed_countries" type="countries_struct" minOccurs="0"/>
        <xs:element name="link" type="link_struct" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="reference" type="reference_struct" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="results_reference" type="reference_struct" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="verification_date" type="year_month_type" minOccurs="0"/>
        <xs:element name="lastchanged_date" type="year_month_day_type" minOccurs="0"/>
        <xs:element name="firstreceived_date" type="year_month_day_type"/>
        <xs:element name="firstreceived_results_date" type="year_month_day_type" minOccurs="0"/>
        <xs:element name="responsible_party" type="responsible_party_struct" minOccurs="0"/>
        <xs:element name="keyword" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="is_fda_regulated" type="yes_no_enum" minOccurs="0"/>
        <xs:element name="is_section_801" type="yes_no_enum" minOccurs="0"/>
        <xs:element name="has_expanded_access" type="yes_no_enum" minOccurs="0"/>
        <xs:element name="condition_browse" type="browse_struct" minOccurs="0"/>
        <xs:element name="intervention_browse" type="browse_struct" minOccurs="0"/>
        <xs:element name="clinical_results" type="clinical_results_struct" minOccurs="0"/>
      </xs:sequence>

@roll roll closed this as completed in c9d9cae Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant