-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protocol Amendment changes, tweak cardinality in Masking
- Loading branch information
1 parent
b381595
commit f9e8b34
Showing
10 changed files
with
673 additions
and
103 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from typing import Literal | ||
from .api_base_model import ApiBaseModelWithId | ||
|
||
class DocumentContentReference(ApiBaseModelWithId): | ||
sectionNumber: str | ||
sectionTitle: str | ||
instanceType: Literal['DocumentContentReference'] |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from .api_base_model import ApiBaseModelWithIdAndDesc | ||
from .code import Code | ||
from typing import Literal | ||
from .api_base_model import ApiBaseModelWithId | ||
|
||
class Masking(ApiBaseModelWithIdAndDesc): | ||
class Masking(ApiBaseModelWithId): | ||
description: str | ||
instanceType: Literal['Masking'] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
from typing import Union, List, Literal | ||
from .api_base_model import ApiBaseModelWithId | ||
from .study_amendment_reason import StudyAmendmentReason | ||
from .geographic_scope import SubjectEnrollment | ||
from .study_change import StudyChange | ||
from .study_amendment_impact import StudyAmendmentImpact | ||
from .geographic_scope import GeographicScope | ||
from .subject_enrollment import SubjectEnrollment | ||
from .governance_date import GovernanceDate | ||
from .comment_annotation import CommentAnnotation | ||
|
||
class StudyAmendment(ApiBaseModelWithId): | ||
number: str | ||
summary: str | ||
substantialImpact: bool | ||
primaryReason: StudyAmendmentReason | ||
secondaryReasons: List[StudyAmendmentReason] = [] | ||
enrollments: List[SubjectEnrollment] | ||
changes: List[StudyChange] | ||
impacts: List[StudyAmendmentImpact] = [] | ||
geographicScopes: List[GeographicScope] | ||
enrollments: List[SubjectEnrollment] = [] | ||
dateValues: List[GovernanceDate] = [] | ||
previousId: Union[str, None] = None | ||
notes: List[CommentAnnotation] = [] | ||
instanceType: Literal['StudyAmendment'] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from typing import Literal, Union, List | ||
from .api_base_model import ApiBaseModelWithId | ||
from .code import Code | ||
from .comment_annotation import CommentAnnotation | ||
|
||
class StudyAmendmentImpact(ApiBaseModelWithId): | ||
type: Code | ||
description: str | ||
isSubstantial: bool | ||
notes: List[CommentAnnotation] = [] | ||
instanceType: Literal['StudyAmendmentImpact'] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from typing import List, Literal | ||
from .api_base_model import ApiBaseModelWithIdNameLabelAndDesc | ||
from .document_content_reference import DocumentContentReference | ||
|
||
class StudyChange(ApiBaseModelWithIdNameLabelAndDesc): | ||
text: str | ||
rationale: str | ||
changedSections: List[DocumentContentReference] | ||
instanceType: Literal['StudyChange'] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
from typing import Literal | ||
from typing import Literal, Union | ||
from .api_base_model import ApiBaseModelWithIdNameLabelAndDesc | ||
from .code import Code | ||
|
||
class StudySite(ApiBaseModelWithIdNameLabelAndDesc): | ||
country: Code | ||
instanceType: Literal['StudySite'] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from typing import Literal, Union | ||
from .api_base_model import ApiBaseModelWithIdNameLabelAndDesc | ||
from .quantity import Quantity | ||
from .geographic_scope import GeographicScope | ||
|
||
class SubjectEnrollment(ApiBaseModelWithIdNameLabelAndDesc): | ||
quantity: Quantity | ||
appliesTo: Union[GeographicScope, None] = None | ||
appliesToId: Union[str, None] = None | ||
instanceType: Literal['SubjectEnrollment'] |