uid stringlengths 24 24 | split stringclasses 1
value | category stringclasses 2
values | content stringlengths 5 482k | signature stringlengths 1 14k | suffix stringlengths 1 482k | prefix stringlengths 9 14k | prefix_token_count int64 3 5.01k | prefix_token_budget int64 64 256 | element_token_count int64 1 292k | signature_token_count int64 1 5.01k | prefix_context_token_count int64 0 255 | repo stringlengths 7 112 | path stringlengths 4 208 | language stringclasses 1
value | name stringlengths 1 218 | qualname stringlengths 1 218 | start_line int64 1 26.7k | end_line int64 1 26.7k | signature_start_line int64 1 26.7k | signature_end_line int64 1 26.7k | source_hash stringlengths 40 40 | source_dataset stringclasses 1
value | source_split stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0a98bea6c6d374a72c9f32f7 | train | function | def _add_network_size_args(parser):
group = parser.add_argument_group(title='network size')
group.add_argument('--num-layers', type=int, default=None,
help='Number of transformer layers.')
group.add_argument('--hidden-size', type=int, default=None,
help='Tansfo... | def _add_network_size_args(parser):
| group = parser.add_argument_group(title='network size')
group.add_argument('--num-layers', type=int, default=None,
help='Number of transformer layers.')
group.add_argument('--hidden-size', type=int, default=None,
help='Tansformer hidden size.')
group.add_ar... | enable checkpoint-activations'
_print_args(args)
return args
def _print_args(args):
"""Print arguments."""
if args.rank == 0:
print('------------------------ arguments ------------------------',
flush=True)
str_list = []
for arg in vars(args):
dots =... | 165 | 165 | 553 | 8 | 157 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_network_size_args | _add_network_size_args | 273 | 322 | 273 | 273 | 33151ea5f5694909bd51797cf50c9e4e06cc0311 | bigcode/the-stack | train |
6b9e9aab992f0a5844b96aa7 | train | function | def _add_regularization_args(parser):
group = parser.add_argument_group(title='regularization')
group.add_argument('--attention-dropout', type=float, default=0.1,
help='Post attention dropout probability.')
group.add_argument('--hidden-dropout', type=float, default=0.1,
... | def _add_regularization_args(parser):
| group = parser.add_argument_group(title='regularization')
group.add_argument('--attention-dropout', type=float, default=0.1,
help='Post attention dropout probability.')
group.add_argument('--hidden-dropout', type=float, default=0.1,
help='Dropout probability fo... | -scale-to-tensorboard',
action='store_false',
help='Disable loss-scale logging to tensorboard.',
dest='log_loss_scale_to_tensorboard')
group.add_argument('--log-validation-ppl-to-tensorboard',
action='store_true',
... | 82 | 82 | 274 | 8 | 73 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_regularization_args | _add_regularization_args | 358 | 381 | 358 | 358 | e517c10770051a7e1599a9cc87e40d33e80bab98 | bigcode/the-stack | train |
2c4c9f67002f8db4ffc89749 | train | function | def _check_arg_is_not_none(args, arg):
assert getattr(args, arg) is not None, '{} argument is None'.format(arg)
| def _check_arg_is_not_none(args, arg):
| assert getattr(args, arg) is not None, '{} argument is None'.format(arg)
| .append(' {} {} {}'.format(arg, dots, getattr(args, arg)))
for arg in sorted(str_list, key=lambda x: x.lower()):
print(arg, flush=True)
print('-------------------- end of arguments ---------------------',
flush=True)
def _check_arg_is_not_none(args, arg):
| 64 | 64 | 30 | 11 | 53 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _check_arg_is_not_none | _check_arg_is_not_none | 269 | 270 | 269 | 269 | ad2a1fb934a7b57dc10ec74add4cfa6611d7f967 | bigcode/the-stack | train |
0f0637c07dc37b8f0cf74519 | train | function | def parse_args(extra_args_provider=None, defaults={},
ignore_unknown_args=False):
"""Parse all arguments."""
parser = argparse.ArgumentParser(description='Megatron-LM Arguments',
allow_abbrev=False)
# Standard arguments.
parser = _add_network_size_arg... | def parse_args(extra_args_provider=None, defaults={},
ignore_unknown_args=False):
| """Parse all arguments."""
parser = argparse.ArgumentParser(description='Megatron-LM Arguments',
allow_abbrev=False)
# Standard arguments.
parser = _add_network_size_args(parser)
parser = _add_regularization_args(parser)
parser = _add_training_args(parser)
... | # coding=utf-8
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... | 193 | 256 | 2,061 | 17 | 175 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | parse_args | parse_args | 28 | 251 | 28 | 29 | eeb3695839311655b8c216e31d9adb1c62e8d160 | bigcode/the-stack | train |
94421eacd8f8e9f4f54f71dd | train | function | def _add_training_args(parser):
group = parser.add_argument_group(title='training')
group.add_argument('--micro-batch-size', type=int, default=None,
help='Batch size per model instance (local batch size). '
'Global batch size is local batch size times data '
... | def _add_training_args(parser):
| group = parser.add_argument_group(title='training')
group.add_argument('--micro-batch-size', type=int, default=None,
help='Batch size per model instance (local batch size). '
'Global batch size is local batch size times data '
'parallel size ... | attention-dropout', type=float, default=0.1,
help='Post attention dropout probability.')
group.add_argument('--hidden-dropout', type=float, default=0.1,
help='Dropout probability for hidden state transformer.')
group.add_argument('--weight-decay', type=float, defaul... | 256 | 256 | 952 | 7 | 248 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_training_args | _add_training_args | 384 | 463 | 384 | 384 | 57383793f54e2d180f103c3632b901d950802d28 | bigcode/the-stack | train |
22458479b7870aa5a3b81fa0 | train | function | def _add_autoresume_args(parser):
group = parser.add_argument_group(title='autoresume')
group.add_argument('--adlr-autoresume', action='store_true',
help='Enable autoresume on adlr cluster.')
group.add_argument('--adlr-autoresume-interval', type=int, default=1000,
... | def _add_autoresume_args(parser):
| group = parser.add_argument_group(title='autoresume')
group.add_argument('--adlr-autoresume', action='store_true',
help='Enable autoresume on adlr cluster.')
group.add_argument('--adlr-autoresume-interval', type=int, default=1000,
help='Intervals over which che... | -mask', action='store_true',
help='Reset self attention maske after '
'end-of-document token.')
group.add_argument('--eod-mask-loss', action='store_true',
help='Mask loss for the end of document tokens.')
return parser
def _add_autoresume_arg... | 64 | 64 | 90 | 9 | 54 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_autoresume_args | _add_autoresume_args | 706 | 715 | 706 | 706 | 9ddaf506c00a18a47a38f70217fa594133a0af3d | bigcode/the-stack | train |
b11ca3a2b209b5a2a63f9849 | train | function | def _add_mixed_precision_args(parser):
group = parser.add_argument_group(title='mixed precision')
group.add_argument('--fp16', action='store_true',
help='Run model in fp16 mode.')
group.add_argument('--bf16', action='store_true',
help='Run model in bfloat16 mod... | def _add_mixed_precision_args(parser):
| group = parser.add_argument_group(title='mixed precision')
group.add_argument('--fp16', action='store_true',
help='Run model in fp16 mode.')
group.add_argument('--bf16', action='store_true',
help='Run model in bfloat16 mode.')
group.add_argument('--loss-sca... | model checkpoint.')
group.add_argument('--no-load-optim', action='store_true', default=None,
help='Do not load optimizer when loading checkpoint.')
group.add_argument('--no-load-rng', action='store_true', default=None,
help='Do not load rng state when loading check... | 129 | 129 | 432 | 9 | 119 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_mixed_precision_args | _add_mixed_precision_args | 552 | 587 | 552 | 552 | 7a8d02de8c8c2b386fdd19033660bdb879418634 | bigcode/the-stack | train |
b5cda5bac398ca0fc140d1bf | train | function | def _add_distributed_args(parser):
group = parser.add_argument_group(title='distributed')
group.add_argument('--tensor-model-parallel-size', type=int, default=1,
help='Degree of tensor model parallelism.')
group.add_argument('--pipeline-model-parallel-size', type=int, default=1,
... | def _add_distributed_args(parser):
| group = parser.add_argument_group(title='distributed')
group.add_argument('--tensor-model-parallel-size', type=int, default=1,
help='Degree of tensor model parallelism.')
group.add_argument('--pipeline-model-parallel-size', type=int, default=1,
help='Degree of ... | group.add_argument('--attention-softmax-in-fp32', action='store_true',
help='Run attention masking and softmax in fp32. '
'This flag is ignored unless '
'--no-query-key-layer-scaling is specified.')
group.add_argument('--accumulate-allreduce-grad... | 136 | 136 | 454 | 8 | 127 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_distributed_args | _add_distributed_args | 590 | 626 | 590 | 590 | e6e7e26ecdd9f3e83851aabc3afe9af5d51fc618 | bigcode/the-stack | train |
dc15bea0c262f15a151c7b34 | train | function | def _add_data_args(parser):
group = parser.add_argument_group(title='data and dataloader')
group.add_argument('--data-path', nargs='*', default=None,
help='Path to the training dataset. Accepted format:'
'1) a single data path, 2) multiple datasets in the'
... | def _add_data_args(parser):
| group = parser.add_argument_group(title='data and dataloader')
group.add_argument('--data-path', nargs='*', default=None,
help='Path to the training dataset. Accepted format:'
'1) a single data path, 2) multiple datasets in the'
'form: datase... | , default=None,
help='local rank passed from distributed launcher.')
group.add_argument('--lazy-mpu-init', type=bool, required=False,
help='If set to True, initialize_megatron() '
'skips DDP initialization and returns function to '
... | 224 | 224 | 748 | 7 | 216 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_data_args | _add_data_args | 642 | 703 | 642 | 642 | 8386967e1ea580d17d46ae50e9014ab129bcf26b | bigcode/the-stack | train |
84d7be23ded1a4f85c5ca83c | train | function | def _add_initialization_args(parser):
group = parser.add_argument_group(title='initialization')
group.add_argument('--seed', type=int, default=1234,
help='Random seed used for python, numpy, '
'pytorch, and cuda.')
group.add_argument('--init-method-std', type=f... | def _add_initialization_args(parser):
| group = parser.add_argument_group(title='initialization')
group.add_argument('--seed', type=int, default=1234,
help='Random seed used for python, numpy, '
'pytorch, and cuda.')
group.add_argument('--init-method-std', type=float, default=0.02,
... | group.add_argument('--cpu_torch_adam', action='store_true',
help='Use Torch Adam as optimizer on CPU.')
group.add_argument('--codecarbon-dir', type=str, default=None,
help='Write CodeCarbon logs to this directory.')
return parser
def _add_initialization_args(parse... | 64 | 64 | 123 | 8 | 55 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_initialization_args | _add_initialization_args | 466 | 478 | 466 | 466 | be3a16819d13d1657e0021caa54e23dcc14fbe53 | bigcode/the-stack | train |
86b05c07905e8c6de3052d83 | train | function | def _add_memoryopt_args(parser):
"""Memory optimization arguments."""
group = parser.add_argument_group('Memory optimizations', 'configurations')
group.add_argument("--scattered-embeddings", action='store_true',
help='Save memory by scattering embedding activations. '
... | def _add_memoryopt_args(parser):
| """Memory optimization arguments."""
group = parser.add_argument_group('Memory optimizations', 'configurations')
group.add_argument("--scattered-embeddings", action='store_true',
help='Save memory by scattering embedding activations. '
'Introduces dropout ... | =0.0)
group.add_argument('--remote-device', type=str, default='none', choices=['none', 'cpu', 'nvme'],
help='Remote device for ZeRO-3 initialized parameters.')
group.add_argument('--use-pin-memory', action='store_true',
help='Use pinned CPU memory for ZeRO-3 initialize... | 86 | 86 | 288 | 8 | 77 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_memoryopt_args | _add_memoryopt_args | 807 | 826 | 807 | 807 | f8843072ee5cf00afd6267edbd63f0fc22a01be1 | bigcode/the-stack | train |
ef80ee6a1aa5e2019e2669cc | train | function | def _add_checkpointing_args(parser):
group = parser.add_argument_group(title='checkpointing')
group.add_argument('--save', type=str, default=None,
help='Output directory to save checkpoints to.')
group.add_argument('--save-interval', type=int, default=None,
hel... | def _add_checkpointing_args(parser):
| group = parser.add_argument_group(title='checkpointing')
group.add_argument('--save', type=str, default=None,
help='Output directory to save checkpoints to.')
group.add_argument('--save-interval', type=int, default=None,
help='Number of iterations between check... | .')
group.add_argument('--use-checkpoint-lr-scheduler', action='store_true',
help='Use checkpoint to set the values of the scheduler '
'(learning rate, warmup iterations, minimum learning '
'rate, maximum number of iterations, and decay style '
... | 78 | 78 | 262 | 8 | 69 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_checkpointing_args | _add_checkpointing_args | 527 | 549 | 527 | 527 | afb2f90bd3ae4f15885c5732e0936f66b4a6c378 | bigcode/the-stack | train |
28fcc322615552e578225294 | train | function | def _add_biencoder_args(parser):
group = parser.add_argument_group(title='biencoder')
# network size
group.add_argument('--ict-head-size', type=int, default=None,
help='Size of block embeddings to be used in ICT and '
'REALM (paper default: 128)')
group.ad... | def _add_biencoder_args(parser):
| group = parser.add_argument_group(title='biencoder')
# network size
group.add_argument('--ict-head-size', type=int, default=None,
help='Size of block embeddings to be used in ICT and '
'REALM (paper default: 128)')
group.add_argument('--biencoder-projectio... | ids after end-of-document token.')
group.add_argument('--reset-attention-mask', action='store_true',
help='Reset self attention maske after '
'end-of-document token.')
group.add_argument('--eod-mask-loss', action='store_true',
help='Mask loss... | 169 | 169 | 564 | 9 | 159 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_biencoder_args | _add_biencoder_args | 718 | 772 | 718 | 718 | fdca6ccedd25c2cee3036e83ada8606e17798a72 | bigcode/the-stack | train |
fdc716641c231eab978455e0 | train | function | def _add_logging_args(parser):
group = parser.add_argument_group(title='logging')
group.add_argument('--log-params-norm', action='store_true',
help='If set, calculate and log parameters norm.')
group.add_argument('--log-num-zeros-in-grad', action='store_true',
... | def _add_logging_args(parser):
| group = parser.add_argument_group(title='logging')
group.add_argument('--log-params-norm', action='store_true',
help='If set, calculate and log parameters norm.')
group.add_argument('--log-num-zeros-in-grad', action='store_true',
help='If set, calculate and log... | -type', type=lambda x: PositionEmbeddingType[x],
choices=list(PositionEmbeddingType),
default=PositionEmbeddingType.absolute,
help='Define position embedding type ("absolute" | "rotary"). "absolute" by default.'
)
group.add_... | 103 | 103 | 346 | 7 | 95 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_logging_args | _add_logging_args | 325 | 355 | 325 | 325 | 14575233b073fcdd13f00a81b479b57e5721cd25 | bigcode/the-stack | train |
30339f743c836a8504ee09e0 | train | function | def _add_validation_args(parser):
group = parser.add_argument_group(title='validation')
group.add_argument('--eval-iters', type=int, default=100,
help='Number of iterations to run for evaluation'
'validation/test for.')
group.add_argument('--eval-interval', typ... | def _add_validation_args(parser):
| group = parser.add_argument_group(title='validation')
group.add_argument('--eval-iters', type=int, default=100,
help='Number of iterations to run for evaluation'
'validation/test for.')
group.add_argument('--eval-interval', type=int, default=1000,
... | ization flag. This is for '
'external DDP manager.' )
group.add_argument('--use-cpu-initialization', action='store_true',
default=None, help='If set, affine parallel weights '
'initialization uses CPU' )
return parser
def _add_validation_args(... | 64 | 64 | 86 | 7 | 56 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_validation_args | _add_validation_args | 629 | 639 | 629 | 629 | 49c4e990171f54c3b97a27651cebe298597c202b | bigcode/the-stack | train |
843b40a6237e53909cccf603 | train | function | def _print_args(args):
"""Print arguments."""
if args.rank == 0:
print('------------------------ arguments ------------------------',
flush=True)
str_list = []
for arg in vars(args):
dots = '.' * (48 - len(arg))
str_list.append(' {} {} {}'.format(ar... | def _print_args(args):
| """Print arguments."""
if args.rank == 0:
print('------------------------ arguments ------------------------',
flush=True)
str_list = []
for arg in vars(args):
dots = '.' * (48 - len(arg))
str_list.append(' {} {} {}'.format(arg, dots, getattr(args, ... | ing.
if args.distribute_checkpointed_activations:
assert args.checkpoint_activations, \
'for distribute-checkpointed-activations to work you '\
'need to enable checkpoint-activations'
_print_args(args)
return args
def _print_args(args):
| 64 | 64 | 111 | 6 | 57 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _print_args | _print_args | 254 | 266 | 254 | 254 | cbd61cdba9f151e1ff68554b42042bb21b99af95 | bigcode/the-stack | train |
6fb1e5d0fab19cdf0171b1bd | train | function | def _add_activation_checkpoint_args(parser):
group = parser.add_argument_group('Activation Checkpointing',
'Checkpointing Configurations')
group.add_argument('--deepspeed-activation-checkpointing', action='store_true',
help='uses activation checkpoint... | def _add_activation_checkpoint_args(parser):
| group = parser.add_argument_group('Activation Checkpointing',
'Checkpointing Configurations')
group.add_argument('--deepspeed-activation-checkpointing', action='store_true',
help='uses activation checkpointing from deepspeed')
group.add_argument('... | '
'Example B: if tile_factor=2, the intermediate layer [4*hidden, hidden] will be converted into [8, 2] tiles of size [hidden/2, hidden/2]. '
'Default is 1.')
return parser
def _add_activation_checkpoint_args(parser):
| 64 | 64 | 204 | 8 | 55 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_activation_checkpoint_args | _add_activation_checkpoint_args | 828 | 843 | 828 | 828 | d42a1301214270789bc558600e224c1f014a0fb7 | bigcode/the-stack | train |
4c86474c9a40250559b56448 | train | function | def _add_vit_args(parser):
group = parser.add_argument_group(title="vit")
group.add_argument('--num-classes', type=int, default=1000,
help='num of classes in vision classificaiton task')
group.add_argument('--img-dim', type=int, default=224,
help='Image size fo... | def _add_vit_args(parser):
| group = parser.add_argument_group(title="vit")
group.add_argument('--num-classes', type=int, default=1000,
help='num of classes in vision classificaiton task')
group.add_argument('--img-dim', type=int, default=224,
help='Image size for vision classification tas... | help='How large of batches to use when doing indexing '
'jobs')
group.add_argument('--indexer-log-interval', type=int, default=1000,
help='After how many batches should the indexer '
'report progress')
return parser
def _add_vit_args(parser):... | 64 | 64 | 131 | 8 | 55 | adammoody/Megatron-DeepSpeed | megatron/arguments.py | Python | _add_vit_args | _add_vit_args | 775 | 787 | 775 | 775 | 6cb74df928b80e9288f45398eb7dab244447b67f | bigcode/the-stack | train |
476ac6d4eef9d961e3267c9e | train | class | class DocumentReferenceContextRelatedType(AbstractType):
__resource_type__ = "DocumentReferenceContextRelated"
| class DocumentReferenceContextRelatedType(AbstractType):
| __resource_type__ = "DocumentReferenceContextRelated"
| class DocumentReferenceType(AbstractType):
__resource_type__ = "DocumentReference"
class DocumentReferenceContentType(AbstractType):
__resource_type__ = "DocumentReferenceContent"
class DocumentReferenceContextType(AbstractType):
__resource_type__ = "DocumentReferenceContext"
class DocumentReferenceCont... | 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DocumentReferenceContextRelatedType | DocumentReferenceContextRelatedType | 1,132 | 1,133 | 1,132 | 1,132 | 46369e16d2c7000a06bcf7239ca212fcad5d0a9d | bigcode/the-stack | train |
3207ba930c306a8e5e8b1dd0 | train | class | class DocumentManifestType(AbstractType):
__resource_type__ = "DocumentManifest"
| class DocumentManifestType(AbstractType):
| __resource_type__ = "DocumentManifest"
| Type):
__resource_type__ = "DocumentReferenceContext"
class DocumentReferenceContextRelatedType(AbstractType):
__resource_type__ = "DocumentReferenceContextRelated"
class DocumentReferenceRelatesToType(AbstractType):
__resource_type__ = "DocumentReferenceRelatesTo"
class DocumentManifestType(AbstractTyp... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DocumentManifestType | DocumentManifestType | 1,140 | 1,141 | 1,140 | 1,140 | b78028829677d069fc6d6d91ca44f44886bf7ed7 | bigcode/the-stack | train |
f4c25d358bbf96f108b7b4d8 | train | class | class DocumentManifestContentType(AbstractType):
__resource_type__ = "DocumentManifestContent"
| class DocumentManifestContentType(AbstractType):
| __resource_type__ = "DocumentManifestContent"
| Type(AbstractType):
__resource_type__ = "DocumentReferenceContextRelated"
class DocumentReferenceRelatesToType(AbstractType):
__resource_type__ = "DocumentReferenceRelatesTo"
class DocumentManifestType(AbstractType):
__resource_type__ = "DocumentManifest"
class DocumentManifestContentType(AbstractType):... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DocumentManifestContentType | DocumentManifestContentType | 1,144 | 1,145 | 1,144 | 1,144 | 4382ae66aeb7f6492666bd59c5ed4e6ccd651cc3 | bigcode/the-stack | train |
4161dfb4dd73c1967b6c5e6c | train | class | class CompositionType(AbstractType):
__resource_type__ = "Composition"
| class CompositionType(AbstractType):
| __resource_type__ = "Composition"
| __ = "Communication"
class CommunicationPayloadType(AbstractType):
__resource_type__ = "CommunicationPayload"
class CommunicationRequestType(AbstractType):
__resource_type__ = "CommunicationRequest"
class CommunicationRequestPayloadType(AbstractType):
__resource_type__ = "CommunicationRequestPayload"
... | 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | CompositionType | CompositionType | 876 | 877 | 876 | 876 | 66cb9a9983398c38b604d2922fd6ee393fef5774 | bigcode/the-stack | train |
1a1a0353922f87f028c19547 | train | class | class BundleEntryRequestType(AbstractType):
__resource_type__ = "BundleEntryRequest"
| class BundleEntryRequestType(AbstractType):
| __resource_type__ = "BundleEntryRequest"
| AuditEventParticipantNetwork"
class AuditEventSourceType(AbstractType):
__resource_type__ = "AuditEventSource"
class BundleType(AbstractType):
__resource_type__ = "Bundle"
class BundleEntryType(AbstractType):
__resource_type__ = "BundleEntry"
class BundleEntryRequestType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | BundleEntryRequestType | BundleEntryRequestType | 716 | 717 | 716 | 716 | fe4db2f9f378b7f77b7d0af3dd2fed19ee5327a7 | bigcode/the-stack | train |
8a649b87a05bbe7089177a47 | train | class | class ProcedureFocalDeviceType(AbstractType):
__resource_type__ = "ProcedureFocalDevice"
| class ProcedureFocalDeviceType(AbstractType):
| __resource_type__ = "ProcedureFocalDevice"
| SetExpansionContainsType(AbstractType):
__resource_type__ = "ValueSetExpansionContains"
class ValueSetExpansionParameterType(AbstractType):
__resource_type__ = "ValueSetExpansionParameter"
class ProcedureType(AbstractType):
__resource_type__ = "Procedure"
class ProcedureFocalDeviceType(AbstractType):
| 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ProcedureFocalDeviceType | ProcedureFocalDeviceType | 1,100 | 1,101 | 1,100 | 1,100 | 1bb2f40162ee73e575172d953028677094acbf42 | bigcode/the-stack | train |
85bbbce89399de33dd8d9374 | train | class | class DataElementMappingType(AbstractType):
__resource_type__ = "DataElementMapping"
| class DataElementMappingType(AbstractType):
| __resource_type__ = "DataElementMapping"
| ectedIssueMitigationType(AbstractType):
__resource_type__ = "DetectedIssueMitigation"
class DataElementType(AbstractType):
__resource_type__ = "DataElement"
class DataElementContactType(AbstractType):
__resource_type__ = "DataElementContact"
class DataElementMappingType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DataElementMappingType | DataElementMappingType | 1,392 | 1,393 | 1,392 | 1,392 | 3beec4974f21f4b5d903c05af1a78f794d5c3da9 | bigcode/the-stack | train |
eed05f2b3e6d5bc257e58af4 | train | class | class CompositionEventType(AbstractType):
__resource_type__ = "CompositionEvent"
| class CompositionEventType(AbstractType):
| __resource_type__ = "CompositionEvent"
| "CommunicationRequest"
class CommunicationRequestPayloadType(AbstractType):
__resource_type__ = "CommunicationRequestPayload"
class CompositionType(AbstractType):
__resource_type__ = "Composition"
class CompositionAttesterType(AbstractType):
__resource_type__ = "CompositionAttester"
class Composition... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | CompositionEventType | CompositionEventType | 884 | 885 | 884 | 884 | 94ed263470781ee5906d55b1f2093e9a532f7e45 | bigcode/the-stack | train |
33d4d4d78d5af20d5ba5e88d | train | class | class MessageHeaderType(AbstractType):
__resource_type__ = "MessageHeader"
| class MessageHeaderType(AbstractType):
| __resource_type__ = "MessageHeader"
| __resource_type__ = "MedicationOrderDispenseRequest"
class MedicationOrderDosageInstructionType(AbstractType):
__resource_type__ = "MedicationOrderDosageInstruction"
class MedicationOrderSubstitutionType(AbstractType):
__resource_type__ = "MedicationOrderSubstitution"
class MessageHeaderType(AbstractTyp... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | MessageHeaderType | MessageHeaderType | 1,576 | 1,577 | 1,576 | 1,576 | f2be184105fa54a7dbf210eed3613ec3b4add91e | bigcode/the-stack | train |
d51c286d5855d684defe12d6 | train | class | class Base64Binary(ConstrainedBytes):
"""A stream of bytes, base64 encoded (RFC 4648 )"""
regex = re.compile(r"(\s*([0-9a-zA-Z+=]){4}\s*)+")
__visit_name__ = "base64Binary"
| class Base64Binary(ConstrainedBytes):
| """A stream of bytes, base64 encoded (RFC 4648 )"""
regex = re.compile(r"(\s*([0-9a-zA-Z+=]){4}\s*)+")
__visit_name__ = "base64Binary"
| only of whitespace
could be trimmed to nothing, which would be treated as an invalid element value.
Therefore strings SHOULD always contain non-whitespace conten"""
regex = re.compile(r"[ \r\n\t\S]+")
__visit_name__ = "string"
class Base64Binary(ConstrainedBytes):
| 64 | 64 | 64 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | Base64Binary | Base64Binary | 107 | 111 | 107 | 107 | b88929d48847ebc834a13c5b2d0c6b67c36acd1a | bigcode/the-stack | train |
9eb77f272d3822d69ec0bc2b | train | class | class UnsignedInt(ConstrainedInt):
"""Any non-negative integer in the range 0..2,147,483,647"""
regex = re.compile(r"[0]|([1-9][0-9]*)")
__visit_name__ = "unsignedInt"
ge = 0
| class UnsignedInt(ConstrainedInt):
| """Any non-negative integer in the range 0..2,147,483,647"""
regex = re.compile(r"[0]|([1-9][0-9]*)")
__visit_name__ = "unsignedInt"
ge = 0
| ,483,648..2,147,483,647 (32-bit;
for larger values, use decimal)"""
regex = re.compile(r"[0]|[-+]?[1-9][0-9]*")
__visit_name__ = "integer"
class UnsignedInt(ConstrainedInt):
| 64 | 64 | 64 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | UnsignedInt | UnsignedInt | 163 | 168 | 163 | 163 | 1dc0b4706b5b72ea935895a12d18e0d7573f048a | bigcode/the-stack | train |
84cf72c6bd93f0cd88d92427 | train | class | class VisionPrescriptionType(AbstractType):
__resource_type__ = "VisionPrescription"
| class VisionPrescriptionType(AbstractType):
| __resource_type__ = "VisionPrescription"
| = "List"
class ListEntryType(AbstractType):
__resource_type__ = "ListEntry"
class SupplyRequestType(AbstractType):
__resource_type__ = "SupplyRequest"
class SupplyRequestWhenType(AbstractType):
__resource_type__ = "SupplyRequestWhen"
class VisionPrescriptionType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | VisionPrescriptionType | VisionPrescriptionType | 1,620 | 1,621 | 1,620 | 1,620 | a3e2bd137f2306aeada76525263894ce710a669a | bigcode/the-stack | train |
e6887e041b7f7d050a2294ba | train | class | class PersonLinkType(AbstractType):
__resource_type__ = "PersonLink"
| class PersonLinkType(AbstractType):
| __resource_type__ = "PersonLink"
| __resource_type__ = "OrderResponse"
class OrganizationType(AbstractType):
__resource_type__ = "Organization"
class OrganizationContactType(AbstractType):
__resource_type__ = "OrganizationContact"
class PersonType(AbstractType):
__resource_type__ = "Person"
class PersonLinkType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | PersonLinkType | PersonLinkType | 1,032 | 1,033 | 1,032 | 1,032 | 39f83f0ad0a1bef44c300d04d37bfa8f369bd4b6 | bigcode/the-stack | train |
e76faac40e9b5b6182ab58fe | train | class | class CountType(AbstractType):
__resource_type__ = "Count"
| class CountType(AbstractType):
| __resource_type__ = "Count"
| Type):
__resource_type__ = "Timing"
class TimingRepeatType(AbstractType):
__resource_type__ = "TimingRepeat"
class DurationType(AbstractType):
__resource_type__ = "Duration"
class AgeType(AbstractType):
__resource_type__ = "Age"
class CountType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | CountType | CountType | 600 | 601 | 600 | 600 | 17cf181e2f3788d59325683714782d94533b1068 | bigcode/the-stack | train |
55ed898eff212747917a4c67 | train | class | class Url(AnyUrl, Primitive):
"""A Uniform Resource Locator (RFC 1738 ).
Note URLs are accessed directly using the specified protocol.
Common URL protocols are http{s}:, ftp:, mailto: and mllp:,
though many others are defined"""
__visit_name__ = "url"
@classmethod
def validate( # type: ig... | class Url(AnyUrl, Primitive):
| """A Uniform Resource Locator (RFC 1738 ).
Note URLs are accessed directly using the specified protocol.
Common URL protocols are http{s}:, ftp:, mailto: and mllp:,
though many others are defined"""
__visit_name__ = "url"
@classmethod
def validate( # type: ignore
cls, value: str, ... | not used for the actual canonical URLs that are
the target of these references, but for the URIs that refer to them, and may have
the version suffix in them. Like other URIs, elements of type canonical may also have
#fragment references"""
__visit_name__ = "canonical"
class Url(AnyUrl, Primitive):
| 73 | 73 | 246 | 8 | 65 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | Url | Url | 463 | 491 | 463 | 463 | 7a4c4a1f9b94f2cf32d169134e56f7b06b7e0949 | bigcode/the-stack | train |
22cc6d134b5e1a1f8c220643 | train | class | class ClaimResponseAddItemDetailAdjudicationType(AbstractType):
__resource_type__ = "ClaimResponseAddItemDetailAdjudication"
| class ClaimResponseAddItemDetailAdjudicationType(AbstractType):
| __resource_type__ = "ClaimResponseAddItemDetailAdjudication"
| "
class ClaimResponseAddItemAdjudicationType(AbstractType):
__resource_type__ = "ClaimResponseAddItemAdjudication"
class ClaimResponseAddItemDetailType(AbstractType):
__resource_type__ = "ClaimResponseAddItemDetail"
class ClaimResponseAddItemDetailAdjudicationType(AbstractType):
| 64 | 64 | 29 | 13 | 51 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClaimResponseAddItemDetailAdjudicationType | ClaimResponseAddItemDetailAdjudicationType | 804 | 805 | 804 | 804 | 476114448e836fb8cf2920e5f67250e3b876567d | bigcode/the-stack | train |
90322e5c494e5d1585a987b4 | train | class | class ContractValuedItemType(AbstractType):
__resource_type__ = "ContractValuedItem"
| class ContractValuedItemType(AbstractType):
| __resource_type__ = "ContractValuedItem"
| (AbstractType):
__resource_type__ = "ContractTerm"
class ContractTermActorType(AbstractType):
__resource_type__ = "ContractTermActor"
class ContractTermValuedItemType(AbstractType):
__resource_type__ = "ContractTermValuedItem"
class ContractValuedItemType(AbstractType):
| 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ContractValuedItemType | ContractValuedItemType | 1,364 | 1,365 | 1,364 | 1,364 | c6fc585ed995269c78989b796cc50be2cabd6289 | bigcode/the-stack | train |
f0a2396418e0509e1970d6e3 | train | class | class ConformanceRestResourceSearchParamType(AbstractType):
__resource_type__ = "ConformanceRestResourceSearchParam"
| class ConformanceRestResourceSearchParamType(AbstractType):
| __resource_type__ = "ConformanceRestResourceSearchParam"
| __resource_type__ = "ConformanceRestSecurity"
class ConformanceRestSecurityCertificateType(AbstractType):
__resource_type__ = "ConformanceRestSecurityCertificate"
class ConformanceSoftwareType(AbstractType):
__resource_type__ = "ConformanceSoftware"
class ConformanceRestResourceSearchParamType(AbstractType... | 64 | 64 | 25 | 11 | 53 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConformanceRestResourceSearchParamType | ConformanceRestResourceSearchParamType | 984 | 985 | 984 | 984 | b563fa83c5e8781b484220e320fec673fd827a00 | bigcode/the-stack | train |
e5da6f1605d73ae9096a729f | train | class | class ContractSignerType(AbstractType):
__resource_type__ = "ContractSigner"
| class ContractSignerType(AbstractType):
| __resource_type__ = "ContractSigner"
| __ = "ContractActor"
class ContractFriendlyType(AbstractType):
__resource_type__ = "ContractFriendly"
class ContractLegalType(AbstractType):
__resource_type__ = "ContractLegal"
class ContractRuleType(AbstractType):
__resource_type__ = "ContractRule"
class ContractSignerType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ContractSignerType | ContractSignerType | 1,348 | 1,349 | 1,348 | 1,348 | e5262bb65289232b3276454b55b7ded04c654585 | bigcode/the-stack | train |
c97653c0d15d4223f3006347 | train | class | class ConceptMapElementTargetDependsOnType(AbstractType):
__resource_type__ = "ConceptMapElementTargetDependsOn"
| class ConceptMapElementTargetDependsOnType(AbstractType):
| __resource_type__ = "ConceptMapElementTargetDependsOn"
| Type):
__resource_type__ = "ConceptMapContact"
class ConceptMapElementType(AbstractType):
__resource_type__ = "ConceptMapElement"
class ConceptMapElementTargetType(AbstractType):
__resource_type__ = "ConceptMapElementTarget"
class ConceptMapElementTargetDependsOnType(AbstractType):
| 64 | 64 | 25 | 11 | 53 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConceptMapElementTargetDependsOnType | ConceptMapElementTargetDependsOnType | 908 | 909 | 908 | 908 | 314807d5b150aaa9123010018fbd22b76fa5792c | bigcode/the-stack | train |
23b503f6bd0f59596ad3400f | train | class | class SlotType(AbstractType):
__resource_type__ = "Slot"
| class SlotType(AbstractType):
| __resource_type__ = "Slot"
| ):
__resource_type__ = "BodySite"
class FlagType(AbstractType):
__resource_type__ = "Flag"
class LocationType(AbstractType):
__resource_type__ = "Location"
class LocationPositionType(AbstractType):
__resource_type__ = "LocationPosition"
class SlotType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | SlotType | SlotType | 648 | 649 | 648 | 648 | 06156fb4817165a4cae454ccda73f77fe00443f6 | bigcode/the-stack | train |
55bf8730614ab415c32ff6bb | train | class | class MedicationProductBatchType(AbstractType):
__resource_type__ = "MedicationProductBatch"
| class MedicationProductBatchType(AbstractType):
| __resource_type__ = "MedicationProductBatch"
| "Medication"
class MedicationPackageType(AbstractType):
__resource_type__ = "MedicationPackage"
class MedicationPackageContentType(AbstractType):
__resource_type__ = "MedicationPackageContent"
class MedicationProductType(AbstractType):
__resource_type__ = "MedicationProduct"
class MedicationProductBa... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | MedicationProductBatchType | MedicationProductBatchType | 1,320 | 1,321 | 1,320 | 1,320 | 39289fc06d1bda67390b536a225faf3c3f429d32 | bigcode/the-stack | train |
85c714780c89cd29506c72ad | train | class | class DiagnosticReportType(AbstractType):
__resource_type__ = "DiagnosticReport"
| class DiagnosticReportType(AbstractType):
| __resource_type__ = "DiagnosticReport"
| class ProcedureFocalDeviceType(AbstractType):
__resource_type__ = "ProcedureFocalDevice"
class ProcedurePerformerType(AbstractType):
__resource_type__ = "ProcedurePerformer"
class ProcedureRequestType(AbstractType):
__resource_type__ = "ProcedureRequest"
class DiagnosticReportType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DiagnosticReportType | DiagnosticReportType | 1,112 | 1,113 | 1,112 | 1,112 | 905aabb7fb5bcbb75f972f0c3252b3a8f43f1dc3 | bigcode/the-stack | train |
cba489f9148cef09950ac88c | train | class | class Oid(ConstrainedStr):
"""An OID represented as a URI (RFC 3001 ); e.g. urn:oid:1.2.3.4.5"""
__visit_name__ = "oid"
regex = re.compile(r"urn:oid:[0-2](\.(0|[1-9][0-9]*))+")
| class Oid(ConstrainedStr):
| """An OID represented as a URI (RFC 3001 ); e.g. urn:oid:1.2.3.4.5"""
__visit_name__ = "oid"
regex = re.compile(r"urn:oid:[0-2](\.(0|[1-9][0-9]*))+")
| for a URI in specific contexts)
URIs can be absolute or relative, and may have an optional fragment identifier
This data type can be bound to a ValueSet"""
__visit_name__ = "uri"
regex = re.compile(r"\S*")
class Oid(ConstrainedStr):
| 64 | 64 | 79 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | Oid | Oid | 194 | 198 | 194 | 194 | 8f5edeab298a8d462604d3825d56ce346c19fadd | bigcode/the-stack | train |
46cbe30545f0cd6f27561a47 | train | class | class ClaimResponseAddItemDetailType(AbstractType):
__resource_type__ = "ClaimResponseAddItemDetail"
| class ClaimResponseAddItemDetailType(AbstractType):
| __resource_type__ = "ClaimResponseAddItemDetail"
| __ = "ClaimResponse"
class ClaimResponseAddItemType(AbstractType):
__resource_type__ = "ClaimResponseAddItem"
class ClaimResponseAddItemAdjudicationType(AbstractType):
__resource_type__ = "ClaimResponseAddItemAdjudication"
class ClaimResponseAddItemDetailType(AbstractType):
| 64 | 64 | 23 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClaimResponseAddItemDetailType | ClaimResponseAddItemDetailType | 800 | 801 | 800 | 800 | 513a1f65a5bd11ac6ecbac5f15998c0f79adcab1 | bigcode/the-stack | train |
1177e4bfd2c44358415d7cbb | train | class | class AttachmentType(AbstractType):
__resource_type__ = "Attachment"
| class AttachmentType(AbstractType):
| __resource_type__ = "Attachment"
| (AbstractType):
__resource_type__ = "Meta"
class NarrativeType(AbstractType):
__resource_type__ = "Narrative"
class AddressType(AbstractType):
__resource_type__ = "Address"
class PeriodType(AbstractType):
__resource_type__ = "Period"
class AttachmentType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AttachmentType | AttachmentType | 540 | 541 | 540 | 540 | 69f3e2252fe422d0be2b6ca1e2d83e00e88f1d60 | bigcode/the-stack | train |
a1f230474e717a40af08ba32 | train | class | class ImplementationGuidePackageType(AbstractType):
__resource_type__ = "ImplementationGuidePackage"
| class ImplementationGuidePackageType(AbstractType):
| __resource_type__ = "ImplementationGuidePackage"
| ImplementationGuideContactType(AbstractType):
__resource_type__ = "ImplementationGuideContact"
class ImplementationGuideDependencyType(AbstractType):
__resource_type__ = "ImplementationGuideDependency"
class ImplementationGuideGlobalType(AbstractType):
__resource_type__ = "ImplementationGuideGlobal"
cl... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ImplementationGuidePackageType | ImplementationGuidePackageType | 1,536 | 1,537 | 1,536 | 1,536 | 4e072147f9b820b6d624898ac581f233604c0a9e | bigcode/the-stack | train |
8e8d85bbd7f36cacb8d02424 | train | class | class SpecimenCollectionType(AbstractType):
__resource_type__ = "SpecimenCollection"
| class SpecimenCollectionType(AbstractType):
| __resource_type__ = "SpecimenCollection"
| "
class VisionPrescriptionType(AbstractType):
__resource_type__ = "VisionPrescription"
class VisionPrescriptionDispenseType(AbstractType):
__resource_type__ = "VisionPrescriptionDispense"
class SpecimenType(AbstractType):
__resource_type__ = "Specimen"
class SpecimenCollectionType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | SpecimenCollectionType | SpecimenCollectionType | 1,632 | 1,633 | 1,632 | 1,632 | d3de2695262a12b503515ada9587ef8cb6ef18ac | bigcode/the-stack | train |
645178e669a98d8832fb26c8 | train | class | class ValueSetType(AbstractType):
__resource_type__ = "ValueSet"
| class ValueSetType(AbstractType):
| __resource_type__ = "ValueSet"
| "
class PractitionerType(AbstractType):
__resource_type__ = "Practitioner"
class PractitionerPractitionerRoleType(AbstractType):
__resource_type__ = "PractitionerPractitionerRole"
class PractitionerQualificationType(AbstractType):
__resource_type__ = "PractitionerQualification"
class ValueSetType(Abst... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ValueSetType | ValueSetType | 1,048 | 1,049 | 1,048 | 1,048 | 836b300e62f50f579a5bb6103e3bb4f3d8787ded | bigcode/the-stack | train |
03b4a834df0ea9d18c762427 | train | class | class ConformanceMessagingType(AbstractType):
__resource_type__ = "ConformanceMessaging"
| class ConformanceMessagingType(AbstractType):
| __resource_type__ = "ConformanceMessaging"
| ConformanceContactType(AbstractType):
__resource_type__ = "ConformanceContact"
class ConformanceDocumentType(AbstractType):
__resource_type__ = "ConformanceDocument"
class ConformanceImplementationType(AbstractType):
__resource_type__ = "ConformanceImplementation"
class ConformanceMessagingType(Abstrac... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConformanceMessagingType | ConformanceMessagingType | 940 | 941 | 940 | 940 | 1110fdfad005fa0ffc9496808f471ab1e12dd2a7 | bigcode/the-stack | train |
7ec1fa6b1cb4a5d9c28f9ec0 | train | class | class AuditEventEventType(AbstractType):
__resource_type__ = "AuditEventEvent"
| class AuditEventEventType(AbstractType):
| __resource_type__ = "AuditEventEvent"
| __ = "Appointment"
class AppointmentParticipantType(AbstractType):
__resource_type__ = "AppointmentParticipant"
class AppointmentResponseType(AbstractType):
__resource_type__ = "AppointmentResponse"
class AuditEventType(AbstractType):
__resource_type__ = "AuditEvent"
class AuditEventEventType(Abstract... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AuditEventEventType | AuditEventEventType | 684 | 685 | 684 | 684 | fefb9f1442c4e7cf16a856015e270b31bd229d06 | bigcode/the-stack | train |
66258e8096b1eeefecaa5754 | train | class | class BasicType(AbstractType):
__resource_type__ = "Basic"
| class BasicType(AbstractType):
| __resource_type__ = "Basic"
| __resource_type__ = "Distance"
class SampledDataType(AbstractType):
__resource_type__ = "SampledData"
class AnnotationType(AbstractType):
__resource_type__ = "Annotation"
class MediaType(AbstractType):
__resource_type__ = "Media"
class BasicType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | BasicType | BasicType | 624 | 625 | 624 | 624 | 132710fddcf57a4db3bda0e4f850faf3ffb4be0a | bigcode/the-stack | train |
b55eb761fb64228e5053a119 | train | class | class BinaryType(AbstractType):
__resource_type__ = "Binary"
| class BinaryType(AbstractType):
| __resource_type__ = "Binary"
| Type):
__resource_type__ = "SampledData"
class AnnotationType(AbstractType):
__resource_type__ = "Annotation"
class MediaType(AbstractType):
__resource_type__ = "Media"
class BasicType(AbstractType):
__resource_type__ = "Basic"
class BinaryType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | BinaryType | BinaryType | 628 | 629 | 628 | 628 | 61e01261edd9b7f5a847157d3e0d0484355a7294 | bigcode/the-stack | train |
5eb56498655f1ef74bc383cd | train | class | class ContractTermType(AbstractType):
__resource_type__ = "ContractTerm"
| class ContractTermType(AbstractType):
| __resource_type__ = "ContractTerm"
| __ = "ContractFriendly"
class ContractLegalType(AbstractType):
__resource_type__ = "ContractLegal"
class ContractRuleType(AbstractType):
__resource_type__ = "ContractRule"
class ContractSignerType(AbstractType):
__resource_type__ = "ContractSigner"
class ContractTermType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ContractTermType | ContractTermType | 1,352 | 1,353 | 1,352 | 1,352 | f47b0c55739d6ac110ad132d4fb7d2d5ac369d68 | bigcode/the-stack | train |
00911077b005a5c9ab246c3f | train | class | class ConformanceRestType(AbstractType):
__resource_type__ = "ConformanceRest"
| class ConformanceRestType(AbstractType):
| __resource_type__ = "ConformanceRest"
| (AbstractType):
__resource_type__ = "ConformanceMessaging"
class ConformanceMessagingEndpointType(AbstractType):
__resource_type__ = "ConformanceMessagingEndpoint"
class ConformanceMessagingEventType(AbstractType):
__resource_type__ = "ConformanceMessagingEvent"
class ConformanceRestType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConformanceRestType | ConformanceRestType | 952 | 953 | 952 | 952 | 6fdf309a923ae972fdeb7f37d0d88883ecad12ad | bigcode/the-stack | train |
2b499a93c5922b23dd36788d | train | class | class LocationPositionType(AbstractType):
__resource_type__ = "LocationPosition"
| class LocationPositionType(AbstractType):
| __resource_type__ = "LocationPosition"
| ):
__resource_type__ = "Binary"
class BodySiteType(AbstractType):
__resource_type__ = "BodySite"
class FlagType(AbstractType):
__resource_type__ = "Flag"
class LocationType(AbstractType):
__resource_type__ = "Location"
class LocationPositionType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | LocationPositionType | LocationPositionType | 644 | 645 | 644 | 644 | df3cb7513dcb76467dce7bd1d1b2387fd8d0debe | bigcode/the-stack | train |
a3084f15c2717054ab65d31a | train | class | class GroupType(AbstractType):
__resource_type__ = "Group"
| class GroupType(AbstractType):
| __resource_type__ = "Group"
| __ = "DocumentManifestContent"
class DocumentManifestRelatedType(AbstractType):
__resource_type__ = "DocumentManifestRelated"
class GoalType(AbstractType):
__resource_type__ = "Goal"
class GoalOutcomeType(AbstractType):
__resource_type__ = "GoalOutcome"
class GroupType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | GroupType | GroupType | 1,160 | 1,161 | 1,160 | 1,160 | 0ad1ac7fb33295f24fbf75d956e5a0e574a39697 | bigcode/the-stack | train |
1a2703288a69103203056457 | train | class | class ValueSetComposeIncludeFilterType(AbstractType):
__resource_type__ = "ValueSetComposeIncludeFilter"
| class ValueSetComposeIncludeFilterType(AbstractType):
| __resource_type__ = "ValueSetComposeIncludeFilter"
| __resource_type__ = "ValueSetCompose"
class ValueSetComposeIncludeType(AbstractType):
__resource_type__ = "ValueSetComposeInclude"
class ValueSetComposeIncludeConceptType(AbstractType):
__resource_type__ = "ValueSetComposeIncludeConcept"
class ValueSetComposeIncludeFilterType(AbstractType):
| 64 | 64 | 23 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ValueSetComposeIncludeFilterType | ValueSetComposeIncludeFilterType | 1,076 | 1,077 | 1,076 | 1,076 | 0b893bac82e238d25ad3d8012b3c7c3f425dff03 | bigcode/the-stack | train |
4c3d05c510bb28e636b70a0c | train | class | class MedicationPackageType(AbstractType):
__resource_type__ = "MedicationPackage"
| class MedicationPackageType(AbstractType):
| __resource_type__ = "MedicationPackage"
| __ = "ObservationRelated"
class OperationOutcomeType(AbstractType):
__resource_type__ = "OperationOutcome"
class OperationOutcomeIssueType(AbstractType):
__resource_type__ = "OperationOutcomeIssue"
class MedicationType(AbstractType):
__resource_type__ = "Medication"
class MedicationPackageType(Abstrac... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | MedicationPackageType | MedicationPackageType | 1,308 | 1,309 | 1,308 | 1,308 | 0a32c83b7576301850d383608dbc3ff84a7c2804 | bigcode/the-stack | train |
6fc17c06a0f9588ee7f4ed8a | train | class | class EligibilityResponseType(AbstractType):
__resource_type__ = "EligibilityResponse"
| class EligibilityResponseType(AbstractType):
| __resource_type__ = "EligibilityResponse"
| DefinitionBindingType(AbstractType):
__resource_type__ = "ElementDefinitionBinding"
class ElementDefinitionBindingValueSetType(AbstractType):
__resource_type__ = "ElementDefinitionBindingValueSet"
class EligibilityRequestType(AbstractType):
__resource_type__ = "EligibilityRequest"
class EligibilityRespo... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | EligibilityResponseType | EligibilityResponseType | 1,216 | 1,217 | 1,216 | 1,216 | 4997f0b38c688601e7890e1f0dda77e2086bbcea | bigcode/the-stack | train |
9ba0d04779fdbcca4b9604da | train | class | class ProcedurePerformerType(AbstractType):
__resource_type__ = "ProcedurePerformer"
| class ProcedurePerformerType(AbstractType):
| __resource_type__ = "ProcedurePerformer"
| ValueSetExpansionParameterType(AbstractType):
__resource_type__ = "ValueSetExpansionParameter"
class ProcedureType(AbstractType):
__resource_type__ = "Procedure"
class ProcedureFocalDeviceType(AbstractType):
__resource_type__ = "ProcedureFocalDevice"
class ProcedurePerformerType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ProcedurePerformerType | ProcedurePerformerType | 1,104 | 1,105 | 1,104 | 1,104 | d69fa83bac31dcefc38a43b28e57d432271704e9 | bigcode/the-stack | train |
7ccccd9b3ccc0889a2555aab | train | class | class OrganizationContactType(AbstractType):
__resource_type__ = "OrganizationContact"
| class OrganizationContactType(AbstractType):
| __resource_type__ = "OrganizationContact"
| __resource_type__ = "Order"
class OrderWhenType(AbstractType):
__resource_type__ = "OrderWhen"
class OrderResponseType(AbstractType):
__resource_type__ = "OrderResponse"
class OrganizationType(AbstractType):
__resource_type__ = "Organization"
class OrganizationContactType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | OrganizationContactType | OrganizationContactType | 1,024 | 1,025 | 1,024 | 1,024 | 3bedc271c37da25ecf74324428972e0d00e5d7ef | bigcode/the-stack | train |
5c1148795bd3ed95339a99e8 | train | class | class ConformanceImplementationType(AbstractType):
__resource_type__ = "ConformanceImplementation"
| class ConformanceImplementationType(AbstractType):
| __resource_type__ = "ConformanceImplementation"
| "
class ConformanceType(AbstractType):
__resource_type__ = "Conformance"
class ConformanceContactType(AbstractType):
__resource_type__ = "ConformanceContact"
class ConformanceDocumentType(AbstractType):
__resource_type__ = "ConformanceDocument"
class ConformanceImplementationType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConformanceImplementationType | ConformanceImplementationType | 936 | 937 | 936 | 936 | a7448b01ec6a620755e3800dc311ddbc0f5eb74c | bigcode/the-stack | train |
04f2dcc8cdddf3c1c0305386 | train | class | class ClaimDiagnosisType(AbstractType):
__resource_type__ = "ClaimDiagnosis"
| class ClaimDiagnosisType(AbstractType):
| __resource_type__ = "ClaimDiagnosis"
| CarePlanParticipant"
class CarePlanRelatedPlanType(AbstractType):
__resource_type__ = "CarePlanRelatedPlan"
class ClaimType(AbstractType):
__resource_type__ = "Claim"
class ClaimCoverageType(AbstractType):
__resource_type__ = "ClaimCoverage"
class ClaimDiagnosisType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClaimDiagnosisType | ClaimDiagnosisType | 760 | 761 | 760 | 760 | 46f5f121f9c9482c25256ba0903f467a4d2aae6e | bigcode/the-stack | train |
182c90a2fd184d1416364ddf | train | class | class CodingType(AbstractType):
__resource_type__ = "Coding"
| class CodingType(AbstractType):
| __resource_type__ = "Coding"
| __resource_type__ = "Address"
class PeriodType(AbstractType):
__resource_type__ = "Period"
class AttachmentType(AbstractType):
__resource_type__ = "Attachment"
class CodeableConceptType(AbstractType):
__resource_type__ = "CodeableConcept"
class CodingType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | CodingType | CodingType | 548 | 549 | 548 | 548 | 411c6bd58c571aca71145d31f544bf27d864da5c | bigcode/the-stack | train |
dd304dc235e8892604170841 | train | class | class ProcedureRequestType(AbstractType):
__resource_type__ = "ProcedureRequest"
| class ProcedureRequestType(AbstractType):
| __resource_type__ = "ProcedureRequest"
| Parameter"
class ProcedureType(AbstractType):
__resource_type__ = "Procedure"
class ProcedureFocalDeviceType(AbstractType):
__resource_type__ = "ProcedureFocalDevice"
class ProcedurePerformerType(AbstractType):
__resource_type__ = "ProcedurePerformer"
class ProcedureRequestType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ProcedureRequestType | ProcedureRequestType | 1,108 | 1,109 | 1,108 | 1,108 | 3cad83fee84d2f4e5d9c66435f036b827337aabc | bigcode/the-stack | train |
a6ffd51a3f111c6192b4f6ef | train | class | class CarePlanActivityType(AbstractType):
__resource_type__ = "CarePlanActivity"
| class CarePlanActivityType(AbstractType):
| __resource_type__ = "CarePlanActivity"
| EntryResponse"
class BundleEntrySearchType(AbstractType):
__resource_type__ = "BundleEntrySearch"
class BundleLinkType(AbstractType):
__resource_type__ = "BundleLink"
class CarePlanType(AbstractType):
__resource_type__ = "CarePlan"
class CarePlanActivityType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | CarePlanActivityType | CarePlanActivityType | 736 | 737 | 736 | 736 | b55a25079654eefa8af334809da10322989bc477 | bigcode/the-stack | train |
e0966f007bf5f978d6e4ee5c | train | class | class ValueSetExpansionParameterType(AbstractType):
__resource_type__ = "ValueSetExpansionParameter"
| class ValueSetExpansionParameterType(AbstractType):
| __resource_type__ = "ValueSetExpansionParameter"
| Type(AbstractType):
__resource_type__ = "ValueSetContact"
class ValueSetExpansionType(AbstractType):
__resource_type__ = "ValueSetExpansion"
class ValueSetExpansionContainsType(AbstractType):
__resource_type__ = "ValueSetExpansionContains"
class ValueSetExpansionParameterType(AbstractType):
| 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ValueSetExpansionParameterType | ValueSetExpansionParameterType | 1,092 | 1,093 | 1,092 | 1,092 | 2e9d0215e1d65f9cf99b806f7415073cd69650d7 | bigcode/the-stack | train |
fb481e5152d2c42842d12bc1 | train | class | class ValueSetCodeSystemConceptType(AbstractType):
__resource_type__ = "ValueSetCodeSystemConcept"
| class ValueSetCodeSystemConceptType(AbstractType):
| __resource_type__ = "ValueSetCodeSystemConcept"
| QualificationType(AbstractType):
__resource_type__ = "PractitionerQualification"
class ValueSetType(AbstractType):
__resource_type__ = "ValueSet"
class ValueSetCodeSystemType(AbstractType):
__resource_type__ = "ValueSetCodeSystem"
class ValueSetCodeSystemConceptType(AbstractType):
| 64 | 64 | 23 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ValueSetCodeSystemConceptType | ValueSetCodeSystemConceptType | 1,056 | 1,057 | 1,056 | 1,056 | d0ecd41e6627b2c0bc90ecab0a1590bdc5d2086b | bigcode/the-stack | train |
520a4762a45c9223a524be88 | train | class | class ImagingStudyType(AbstractType):
__resource_type__ = "ImagingStudy"
| class ImagingStudyType(AbstractType):
| __resource_type__ = "ImagingStudy"
| StudySeries"
class ImagingObjectSelectionStudySeriesInstanceType(AbstractType):
__resource_type__ = "ImagingObjectSelectionStudySeriesInstance"
class ImagingObjectSelectionStudySeriesInstanceFramesType(AbstractType):
__resource_type__ = "ImagingObjectSelectionStudySeriesInstanceFrames"
class ImagingStudyTyp... | 64 | 64 | 18 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ImagingStudyType | ImagingStudyType | 1,492 | 1,493 | 1,492 | 1,492 | 8e6c13abc68e9be5c03b2c86b85c24e196759576 | bigcode/the-stack | train |
b5c164496d2c446e45fbe2f0 | train | class | class EpisodeOfCareCareTeamType(AbstractType):
__resource_type__ = "EpisodeOfCareCareTeam"
| class EpisodeOfCareCareTeamType(AbstractType):
| __resource_type__ = "EpisodeOfCareCareTeam"
| EventType(AbstractType):
__resource_type__ = "DiagnosticOrderEvent"
class DiagnosticOrderItemType(AbstractType):
__resource_type__ = "DiagnosticOrderItem"
class EpisodeOfCareType(AbstractType):
__resource_type__ = "EpisodeOfCare"
class EpisodeOfCareCareTeamType(AbstractType):
| 64 | 64 | 23 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | EpisodeOfCareCareTeamType | EpisodeOfCareCareTeamType | 1,436 | 1,437 | 1,436 | 1,436 | 503d65ff82f13495f6d0fc10ef7f3d031b856612 | bigcode/the-stack | train |
7265f8a4fd5d10c4357604b8 | train | class | class PractitionerType(AbstractType):
__resource_type__ = "Practitioner"
| class PractitionerType(AbstractType):
| __resource_type__ = "Practitioner"
| __resource_type__ = "Organization"
class OrganizationContactType(AbstractType):
__resource_type__ = "OrganizationContact"
class PersonType(AbstractType):
__resource_type__ = "Person"
class PersonLinkType(AbstractType):
__resource_type__ = "PersonLink"
class PractitionerType(AbstractType):
| 64 | 64 | 16 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | PractitionerType | PractitionerType | 1,036 | 1,037 | 1,036 | 1,036 | e36e78a0f5d79a611eab31aeda507f629fcf47c7 | bigcode/the-stack | train |
ded9323d71656bb408dfe684 | train | class | class ImmunizationRecommendationRecommendationType(AbstractType):
__resource_type__ = "ImmunizationRecommendationRecommendation"
| class ImmunizationRecommendationRecommendationType(AbstractType):
| __resource_type__ = "ImmunizationRecommendationRecommendation"
| ):
__resource_type__ = "ImagingStudySeries"
class ImagingStudySeriesInstanceType(AbstractType):
__resource_type__ = "ImagingStudySeriesInstance"
class ImmunizationRecommendationType(AbstractType):
__resource_type__ = "ImmunizationRecommendation"
class ImmunizationRecommendationRecommendationType(Abstrac... | 64 | 64 | 22 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ImmunizationRecommendationRecommendationType | ImmunizationRecommendationRecommendationType | 1,508 | 1,509 | 1,508 | 1,508 | d12614ead977db6d383da121cb447d5b576d6ad5 | bigcode/the-stack | train |
6fb2e97a2201311f5ec2978f | train | class | class EncounterHospitalizationType(AbstractType):
__resource_type__ = "EncounterHospitalization"
| class EncounterHospitalizationType(AbstractType):
| __resource_type__ = "EncounterHospitalization"
| "ElementDefinitionBindingValueSet"
class EligibilityRequestType(AbstractType):
__resource_type__ = "EligibilityRequest"
class EligibilityResponseType(AbstractType):
__resource_type__ = "EligibilityResponse"
class EncounterType(AbstractType):
__resource_type__ = "Encounter"
class EncounterHospitalizat... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | EncounterHospitalizationType | EncounterHospitalizationType | 1,224 | 1,225 | 1,224 | 1,224 | 5a3321dfac787c02b09f3e6cf34a81d9a39e589e | bigcode/the-stack | train |
33f98575628ebf8eed8c6880 | train | class | class PositiveInt(ConstrainedInt):
"""Any positive integer in the range 1..2,147,483,647"""
regex = re.compile(r"\+?[1-9][0-9]*")
__visit_name__ = "positiveInt"
gt = 0
| class PositiveInt(ConstrainedInt):
| """Any positive integer in the range 1..2,147,483,647"""
regex = re.compile(r"\+?[1-9][0-9]*")
__visit_name__ = "positiveInt"
gt = 0
| ):
"""Any non-negative integer in the range 0..2,147,483,647"""
regex = re.compile(r"[0]|([1-9][0-9]*)")
__visit_name__ = "unsignedInt"
ge = 0
class PositiveInt(ConstrainedInt):
| 64 | 64 | 61 | 8 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | PositiveInt | PositiveInt | 171 | 176 | 171 | 171 | 043d39ca17a4576687ed1b913ec80bc8d7c9c5f1 | bigcode/the-stack | train |
116915bb6927eb2ba1ce1a30 | train | class | class ElementDefinitionMappingType(AbstractType):
__resource_type__ = "ElementDefinitionMapping"
| class ElementDefinitionMappingType(AbstractType):
| __resource_type__ = "ElementDefinitionMapping"
| __resource_type__ = "ElementDefinitionSlicing"
class ElementDefinitionSlicingDiscriminatorType(AbstractType):
__resource_type__ = "ElementDefinitionSlicingDiscriminator"
class ElementDefinitionTypeType(AbstractType):
__resource_type__ = "ElementDefinitionType"
class ElementDefinitionMappingType(Abstract... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ElementDefinitionMappingType | ElementDefinitionMappingType | 1,188 | 1,189 | 1,188 | 1,188 | a71b2c216983362a72498bfbb7d04a7af9b17bf1 | bigcode/the-stack | train |
bea8e45500df3079c1485656 | train | class | class AddressType(AbstractType):
__resource_type__ = "Address"
| class AddressType(AbstractType):
| __resource_type__ = "Address"
| __resource_type__ = "Extension"
class BackboneElementType(AbstractType):
__resource_type__ = "BackboneElement"
class MetaType(AbstractType):
__resource_type__ = "Meta"
class NarrativeType(AbstractType):
__resource_type__ = "Narrative"
class AddressType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AddressType | AddressType | 532 | 533 | 532 | 532 | 9f6e47e958db700634c876ad24fe6b4fc16d6aa9 | bigcode/the-stack | train |
51dfd334ce15763f189aef79 | train | class | class BundleType(AbstractType):
__resource_type__ = "Bundle"
| class BundleType(AbstractType):
| __resource_type__ = "Bundle"
| AuditEventParticipantType(AbstractType):
__resource_type__ = "AuditEventParticipant"
class AuditEventParticipantNetworkType(AbstractType):
__resource_type__ = "AuditEventParticipantNetwork"
class AuditEventSourceType(AbstractType):
__resource_type__ = "AuditEventSource"
class BundleType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | BundleType | BundleType | 708 | 709 | 708 | 708 | 6a1bd5bf531a298e643b749eda560f1c0aa9754a | bigcode/the-stack | train |
7bf97350c66630f991b8c5c6 | train | class | class SampledDataType(AbstractType):
__resource_type__ = "SampledData"
| class SampledDataType(AbstractType):
| __resource_type__ = "SampledData"
| Type):
__resource_type__ = "Age"
class CountType(AbstractType):
__resource_type__ = "Count"
class MoneyType(AbstractType):
__resource_type__ = "Money"
class DistanceType(AbstractType):
__resource_type__ = "Distance"
class SampledDataType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | SampledDataType | SampledDataType | 612 | 613 | 612 | 612 | 70527f81015390b738d889f28300417a4661d67d | bigcode/the-stack | train |
81d9aad3637c9487959e931a | train | class | class BundleEntrySearchType(AbstractType):
__resource_type__ = "BundleEntrySearch"
| class BundleEntrySearchType(AbstractType):
| __resource_type__ = "BundleEntrySearch"
| "
class BundleEntryType(AbstractType):
__resource_type__ = "BundleEntry"
class BundleEntryRequestType(AbstractType):
__resource_type__ = "BundleEntryRequest"
class BundleEntryResponseType(AbstractType):
__resource_type__ = "BundleEntryResponse"
class BundleEntrySearchType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | BundleEntrySearchType | BundleEntrySearchType | 724 | 725 | 724 | 724 | 8bba54b67c2ed27fe5e8af12cd1ec6802712c14b | bigcode/the-stack | train |
3dc223292d5e2f61d416a5de | train | class | class ConformanceRestOperationType(AbstractType):
__resource_type__ = "ConformanceRestOperation"
| class ConformanceRestOperationType(AbstractType):
| __resource_type__ = "ConformanceRestOperation"
| (AbstractType):
__resource_type__ = "ConformanceMessagingEvent"
class ConformanceRestType(AbstractType):
__resource_type__ = "ConformanceRest"
class ConformanceRestInteractionType(AbstractType):
__resource_type__ = "ConformanceRestInteraction"
class ConformanceRestOperationType(AbstractType):
| 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConformanceRestOperationType | ConformanceRestOperationType | 960 | 961 | 960 | 960 | f86a61634b86dfeddfcb3cca1319a34f58090518 | bigcode/the-stack | train |
bd0377e4ab2de619e743eeac | train | class | class ContractTermValuedItemType(AbstractType):
__resource_type__ = "ContractTermValuedItem"
| class ContractTermValuedItemType(AbstractType):
| __resource_type__ = "ContractTermValuedItem"
| "
class ContractSignerType(AbstractType):
__resource_type__ = "ContractSigner"
class ContractTermType(AbstractType):
__resource_type__ = "ContractTerm"
class ContractTermActorType(AbstractType):
__resource_type__ = "ContractTermActor"
class ContractTermValuedItemType(AbstractType):
| 64 | 64 | 23 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ContractTermValuedItemType | ContractTermValuedItemType | 1,360 | 1,361 | 1,360 | 1,360 | 1698a24a7ae09db80544d9f543cd000430122519 | bigcode/the-stack | train |
a98a550e72a6905b233971bb | train | class | class ClinicalImpressionType(AbstractType):
__resource_type__ = "ClinicalImpression"
| class ClinicalImpressionType(AbstractType):
| __resource_type__ = "ClinicalImpression"
| ResponseItemDetailSubDetail"
class ClaimResponseItemDetailSubDetailAdjudicationType(AbstractType):
__resource_type__ = "ClaimResponseItemDetailSubDetailAdjudication"
class ClaimResponseNoteType(AbstractType):
__resource_type__ = "ClaimResponseNote"
class ClinicalImpressionType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClinicalImpressionType | ClinicalImpressionType | 844 | 845 | 844 | 844 | 64bf6f9940b9c03a58647fb3ca69dcad5809915b | bigcode/the-stack | train |
ea2afa5f2cdc936f5cfa7839 | train | class | class MessageHeaderResponseType(AbstractType):
__resource_type__ = "MessageHeaderResponse"
| class MessageHeaderResponseType(AbstractType):
| __resource_type__ = "MessageHeaderResponse"
| MedicationOrderSubstitutionType(AbstractType):
__resource_type__ = "MedicationOrderSubstitution"
class MessageHeaderType(AbstractType):
__resource_type__ = "MessageHeader"
class MessageHeaderDestinationType(AbstractType):
__resource_type__ = "MessageHeaderDestination"
class MessageHeaderResponseType(Ab... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | MessageHeaderResponseType | MessageHeaderResponseType | 1,584 | 1,585 | 1,584 | 1,584 | e4473f4c9abc456d2142d69a65f67579d5c924b7 | bigcode/the-stack | train |
8663b4e20555c09d5ad229e3 | train | class | class ConformanceMessagingEndpointType(AbstractType):
__resource_type__ = "ConformanceMessagingEndpoint"
| class ConformanceMessagingEndpointType(AbstractType):
| __resource_type__ = "ConformanceMessagingEndpoint"
| formanceDocumentType(AbstractType):
__resource_type__ = "ConformanceDocument"
class ConformanceImplementationType(AbstractType):
__resource_type__ = "ConformanceImplementation"
class ConformanceMessagingType(AbstractType):
__resource_type__ = "ConformanceMessaging"
class ConformanceMessagingEndpointType... | 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConformanceMessagingEndpointType | ConformanceMessagingEndpointType | 944 | 945 | 944 | 944 | 0c153ffdb15c4d1341b7a404d6a7e0b578f3bf35 | bigcode/the-stack | train |
261b03d9547d94d16625e95a | train | class | class AppointmentResponseType(AbstractType):
__resource_type__ = "AppointmentResponse"
| class AppointmentResponseType(AbstractType):
| __resource_type__ = "AppointmentResponse"
| Intolerance"
class AllergyIntoleranceReactionType(AbstractType):
__resource_type__ = "AllergyIntoleranceReaction"
class AppointmentType(AbstractType):
__resource_type__ = "Appointment"
class AppointmentParticipantType(AbstractType):
__resource_type__ = "AppointmentParticipant"
class AppointmentRespons... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AppointmentResponseType | AppointmentResponseType | 676 | 677 | 676 | 676 | 5ab513b3add0e3aed0d5af4ef878a87b6954ac59 | bigcode/the-stack | train |
af094f07130bcd54027b5c9e | train | class | class ClaimResponseAddItemType(AbstractType):
__resource_type__ = "ClaimResponseAddItem"
| class ClaimResponseAddItemType(AbstractType):
| __resource_type__ = "ClaimResponseAddItem"
| MissingTeethType(AbstractType):
__resource_type__ = "ClaimMissingTeeth"
class ClaimPayeeType(AbstractType):
__resource_type__ = "ClaimPayee"
class ClaimResponseType(AbstractType):
__resource_type__ = "ClaimResponse"
class ClaimResponseAddItemType(AbstractType):
| 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClaimResponseAddItemType | ClaimResponseAddItemType | 792 | 793 | 792 | 792 | b6589c3723572005721ad404d663e3ff2f2302d1 | bigcode/the-stack | train |
e10a703bccab9c551ef3ca19 | train | class | class EligibilityRequestType(AbstractType):
__resource_type__ = "EligibilityRequest"
| class EligibilityRequestType(AbstractType):
| __resource_type__ = "EligibilityRequest"
| Type(AbstractType):
__resource_type__ = "ElementDefinitionBase"
class ElementDefinitionBindingType(AbstractType):
__resource_type__ = "ElementDefinitionBinding"
class ElementDefinitionBindingValueSetType(AbstractType):
__resource_type__ = "ElementDefinitionBindingValueSet"
class EligibilityRequestType(A... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | EligibilityRequestType | EligibilityRequestType | 1,212 | 1,213 | 1,212 | 1,212 | 17fcdf71c990ecddc17282218b400e1d69c7788e | bigcode/the-stack | train |
79a6d55e9b53126f41729d13 | train | class | class AllergyIntoleranceType(AbstractType):
__resource_type__ = "AllergyIntolerance"
| class AllergyIntoleranceType(AbstractType):
| __resource_type__ = "AllergyIntolerance"
| ):
__resource_type__ = "LocationPosition"
class SlotType(AbstractType):
__resource_type__ = "Slot"
class ScheduleType(AbstractType):
__resource_type__ = "Schedule"
class AccountType(AbstractType):
__resource_type__ = "Account"
class AllergyIntoleranceType(AbstractType):
| 64 | 64 | 20 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AllergyIntoleranceType | AllergyIntoleranceType | 660 | 661 | 660 | 660 | 2ab5548a1bbac351aeb740ab4a6e5ebe8afc2c44 | bigcode/the-stack | train |
3dc49bae6ad54d4eb5ca52da | train | class | class DurationType(AbstractType):
__resource_type__ = "Duration"
| class DurationType(AbstractType):
| __resource_type__ = "Duration"
| Type):
__resource_type__ = "Ratio"
class SignatureType(AbstractType):
__resource_type__ = "Signature"
class TimingType(AbstractType):
__resource_type__ = "Timing"
class TimingRepeatType(AbstractType):
__resource_type__ = "TimingRepeat"
class DurationType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DurationType | DurationType | 592 | 593 | 592 | 592 | f298bb7c91a43a922b9c6f632bd05ae05e4fe8d7 | bigcode/the-stack | train |
e1655da55ffcf87d889102c3 | train | class | class AllergyIntoleranceReactionType(AbstractType):
__resource_type__ = "AllergyIntoleranceReaction"
| class AllergyIntoleranceReactionType(AbstractType):
| __resource_type__ = "AllergyIntoleranceReaction"
| __ = "Slot"
class ScheduleType(AbstractType):
__resource_type__ = "Schedule"
class AccountType(AbstractType):
__resource_type__ = "Account"
class AllergyIntoleranceType(AbstractType):
__resource_type__ = "AllergyIntolerance"
class AllergyIntoleranceReactionType(AbstractType):
| 64 | 64 | 22 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AllergyIntoleranceReactionType | AllergyIntoleranceReactionType | 664 | 665 | 664 | 664 | 099531148b18f4171c2fa05f12867b0a4be076ce | bigcode/the-stack | train |
54bd4643ac75a247905107f2 | train | class | class ImmunizationType(AbstractType):
__resource_type__ = "Immunization"
| class ImmunizationType(AbstractType):
| __resource_type__ = "Immunization"
| "EncounterParticipant"
class EncounterStatusHistoryType(AbstractType):
__resource_type__ = "EncounterStatusHistory"
class EnrollmentRequestType(AbstractType):
__resource_type__ = "EnrollmentRequest"
class EnrollmentResponseType(AbstractType):
__resource_type__ = "EnrollmentResponse"
class Immunizatio... | 64 | 64 | 18 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ImmunizationType | ImmunizationType | 1,248 | 1,249 | 1,248 | 1,248 | 6c10ab67303bb42d6551ae5e75c457ab8aefbebb | bigcode/the-stack | train |
d01ed66b4698fd92c22171a0 | train | class | class PatientAnimalType(AbstractType):
__resource_type__ = "PatientAnimal"
| class PatientAnimalType(AbstractType):
| __resource_type__ = "PatientAnimal"
| formanceSoftwareType(AbstractType):
__resource_type__ = "ConformanceSoftware"
class ConformanceRestResourceSearchParamType(AbstractType):
__resource_type__ = "ConformanceRestResourceSearchParam"
class PatientType(AbstractType):
__resource_type__ = "Patient"
class PatientAnimalType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | PatientAnimalType | PatientAnimalType | 992 | 993 | 992 | 992 | f8d48e1fb6952fbe8d15b75bb37a1424a4248dc5 | bigcode/the-stack | train |
20765d1a7378ae1c93aef305 | train | class | class ListType(AbstractType):
__resource_type__ = "List"
| class ListType(AbstractType):
| __resource_type__ = "List"
| "
class NamingSystemType(AbstractType):
__resource_type__ = "NamingSystem"
class NamingSystemContactType(AbstractType):
__resource_type__ = "NamingSystemContact"
class NamingSystemUniqueIdType(AbstractType):
__resource_type__ = "NamingSystemUniqueId"
class ListType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ListType | ListType | 1,604 | 1,605 | 1,604 | 1,604 | b219fbcc9441899bef18caf07dcd8eb6eed7cbe5 | bigcode/the-stack | train |
a01104adad6edb97708970aa | train | class | class MedicationAdministrationDosageType(AbstractType):
__resource_type__ = "MedicationAdministrationDosage"
| class MedicationAdministrationDosageType(AbstractType):
| __resource_type__ = "MedicationAdministrationDosage"
| Type):
__resource_type__ = "ImmunizationReaction"
class ImmunizationVaccinationProtocolType(AbstractType):
__resource_type__ = "ImmunizationVaccinationProtocol"
class MedicationAdministrationType(AbstractType):
__resource_type__ = "MedicationAdministration"
class MedicationAdministrationDosageType(Abstr... | 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | MedicationAdministrationDosageType | MedicationAdministrationDosageType | 1,268 | 1,269 | 1,268 | 1,268 | 1597d22ed3558cee5cd0c370e0e8d0c492918f41 | bigcode/the-stack | train |
661ba518758f4cb26d5cffc1 | train | class | class CompositionAttesterType(AbstractType):
__resource_type__ = "CompositionAttester"
| class CompositionAttesterType(AbstractType):
| __resource_type__ = "CompositionAttester"
| = "CommunicationPayload"
class CommunicationRequestType(AbstractType):
__resource_type__ = "CommunicationRequest"
class CommunicationRequestPayloadType(AbstractType):
__resource_type__ = "CommunicationRequestPayload"
class CompositionType(AbstractType):
__resource_type__ = "Composition"
class Composi... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | CompositionAttesterType | CompositionAttesterType | 880 | 881 | 880 | 880 | 64600fb960c798018e9af4f194061e249019a4c6 | bigcode/the-stack | train |
8344de22feab66f51e636f4f | train | class | class ImmunizationRecommendationType(AbstractType):
__resource_type__ = "ImmunizationRecommendation"
| class ImmunizationRecommendationType(AbstractType):
| __resource_type__ = "ImmunizationRecommendation"
| (AbstractType):
__resource_type__ = "ImagingStudy"
class ImagingStudySeriesType(AbstractType):
__resource_type__ = "ImagingStudySeries"
class ImagingStudySeriesInstanceType(AbstractType):
__resource_type__ = "ImagingStudySeriesInstance"
class ImmunizationRecommendationType(AbstractType):
| 64 | 64 | 20 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ImmunizationRecommendationType | ImmunizationRecommendationType | 1,504 | 1,505 | 1,504 | 1,504 | f2f0b7463609145915e95c705982067312e515c4 | bigcode/the-stack | train |
a551f6b707665c3253cf1825 | train | class | class DetectedIssueType(AbstractType):
__resource_type__ = "DetectedIssue"
| class DetectedIssueType(AbstractType):
| __resource_type__ = "DetectedIssue"
| uedItem"
class ContractValuedItemType(AbstractType):
__resource_type__ = "ContractValuedItem"
class DeviceType(AbstractType):
__resource_type__ = "Device"
class RelatedPersonType(AbstractType):
__resource_type__ = "RelatedPerson"
class DetectedIssueType(AbstractType):
| 64 | 64 | 18 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DetectedIssueType | DetectedIssueType | 1,376 | 1,377 | 1,376 | 1,376 | 02c4a8474f323646d3f3a9a6f4db973c90d929b2 | bigcode/the-stack | train |
f397a3e6c1e0d7484e466648 | train | class | class PatientType(AbstractType):
__resource_type__ = "Patient"
| class PatientType(AbstractType):
| __resource_type__ = "Patient"
| ):
__resource_type__ = "ConformanceRestSecurityCertificate"
class ConformanceSoftwareType(AbstractType):
__resource_type__ = "ConformanceSoftware"
class ConformanceRestResourceSearchParamType(AbstractType):
__resource_type__ = "ConformanceRestResourceSearchParam"
class PatientType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | PatientType | PatientType | 988 | 989 | 988 | 988 | 740f22ea652542f0c88ba52910aa7681ea2763d1 | bigcode/the-stack | train |
41ebfb6c34fd5f6ed4441ff3 | train | class | class ElementDefinitionSlicingType(AbstractType):
__resource_type__ = "ElementDefinitionSlicing"
| class ElementDefinitionSlicingType(AbstractType):
| __resource_type__ = "ElementDefinitionSlicing"
| = "Group"
class GroupCharacteristicType(AbstractType):
__resource_type__ = "GroupCharacteristic"
class GroupMemberType(AbstractType):
__resource_type__ = "GroupMember"
class ElementDefinitionType(AbstractType):
__resource_type__ = "ElementDefinition"
class ElementDefinitionSlicingType(AbstractType):
| 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ElementDefinitionSlicingType | ElementDefinitionSlicingType | 1,176 | 1,177 | 1,176 | 1,176 | c954c7b1799bea9a4940703960f48412befd6a3c | bigcode/the-stack | train |
a0385774bc2337e26042850d | train | class | class ElementDefinitionBindingValueSetType(AbstractType):
__resource_type__ = "ElementDefinitionBindingValueSet"
| class ElementDefinitionBindingValueSetType(AbstractType):
| __resource_type__ = "ElementDefinitionBindingValueSet"
| ConstraintType(AbstractType):
__resource_type__ = "ElementDefinitionConstraint"
class ElementDefinitionBaseType(AbstractType):
__resource_type__ = "ElementDefinitionBase"
class ElementDefinitionBindingType(AbstractType):
__resource_type__ = "ElementDefinitionBinding"
class ElementDefinitionBindingValueS... | 64 | 64 | 23 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ElementDefinitionBindingValueSetType | ElementDefinitionBindingValueSetType | 1,208 | 1,209 | 1,208 | 1,208 | fd4c18fada499b4e22af31050261a45a58624a89 | bigcode/the-stack | train |
f18737b2636b0abf594ea632 | train | class | class ElementType(AbstractBaseType):
""" """
__resource_type__ = "Element"
| class ElementType(AbstractBaseType):
| """ """
__resource_type__ = "Element"
| _PRIMITIVES:
# Extensions may contain a valueUrl for a primitive FHIR type
return value
return AnyUrl.validate(value, field, config)
class FHIRPrimitiveExtensionType(AbstractType):
""" """
__resource_type__ = "FHIRPrimitiveExtension"
class ElementType(AbstractBaseType):
| 64 | 64 | 19 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ElementType | ElementType | 500 | 503 | 500 | 500 | a5659fcd7ccb6ce417efa902c8d0cc6f7a55e222 | bigcode/the-stack | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.