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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6ee3bdb5218499ac0faa2e90 | train | class | class ContractLegalType(AbstractType):
__resource_type__ = "ContractLegal"
| class ContractLegalType(AbstractType):
| __resource_type__ = "ContractLegal"
| _type__ = "MedicationProductIngredient"
class ContractType(AbstractType):
__resource_type__ = "Contract"
class ContractActorType(AbstractType):
__resource_type__ = "ContractActor"
class ContractFriendlyType(AbstractType):
__resource_type__ = "ContractFriendly"
class ContractLegalType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ContractLegalType | ContractLegalType | 1,340 | 1,341 | 1,340 | 1,340 | 6bb34303838cd47590976eef2388cbea5182b105 | bigcode/the-stack | train |
af42245bb13246fe68bdcb0d | train | class | class ClaimType(AbstractType):
__resource_type__ = "Claim"
| class ClaimType(AbstractType):
| __resource_type__ = "Claim"
| ActivityDetailType(AbstractType):
__resource_type__ = "CarePlanActivityDetail"
class CarePlanParticipantType(AbstractType):
__resource_type__ = "CarePlanParticipant"
class CarePlanRelatedPlanType(AbstractType):
__resource_type__ = "CarePlanRelatedPlan"
class ClaimType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClaimType | ClaimType | 752 | 753 | 752 | 752 | 3bbda30ff9f2e60e9a8046c95692a865d823c8ad | bigcode/the-stack | train |
53d9c81d4d3a4fb7a1a8f90d | train | class | class FamilyMemberHistoryConditionType(AbstractType):
__resource_type__ = "FamilyMemberHistoryCondition"
| class FamilyMemberHistoryConditionType(AbstractType):
| __resource_type__ = "FamilyMemberHistoryCondition"
| __resource_type__ = "EpisodeOfCareCareTeam"
class EpisodeOfCareStatusHistoryType(AbstractType):
__resource_type__ = "EpisodeOfCareStatusHistory"
class FamilyMemberHistoryType(AbstractType):
__resource_type__ = "FamilyMemberHistory"
class FamilyMemberHistoryConditionType(AbstractType):
| 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | FamilyMemberHistoryConditionType | FamilyMemberHistoryConditionType | 1,448 | 1,449 | 1,448 | 1,448 | 4036fae8700233d084dd5a51d6f80dc6ca58d18b | bigcode/the-stack | train |
b90eeda76b77d38052dc2346 | train | class | class DataElementContactType(AbstractType):
__resource_type__ = "DataElementContact"
| class DataElementContactType(AbstractType):
| __resource_type__ = "DataElementContact"
| DetectedIssueType(AbstractType):
__resource_type__ = "DetectedIssue"
class DetectedIssueMitigationType(AbstractType):
__resource_type__ = "DetectedIssueMitigation"
class DataElementType(AbstractType):
__resource_type__ = "DataElement"
class DataElementContactType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DataElementContactType | DataElementContactType | 1,388 | 1,389 | 1,388 | 1,388 | f23e597f8656e20bcd6a4c10187e0da370779ef6 | bigcode/the-stack | train |
a5bee59f98ea7e8827a715c6 | train | class | class OrderResponseType(AbstractType):
__resource_type__ = "OrderResponse"
| class OrderResponseType(AbstractType):
| __resource_type__ = "OrderResponse"
| resource_type__ = "PatientContact"
class PatientLinkType(AbstractType):
__resource_type__ = "PatientLink"
class OrderType(AbstractType):
__resource_type__ = "Order"
class OrderWhenType(AbstractType):
__resource_type__ = "OrderWhen"
class OrderResponseType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | OrderResponseType | OrderResponseType | 1,016 | 1,017 | 1,016 | 1,016 | bb9f8fbd18f633a3f5398ad1cdc58350dd431157 | bigcode/the-stack | train |
1304f67e7a067d9d03b28ab6 | train | class | class Date(datetime.date):
"""A date, or partial date (e.g. just year or year + month)
as used in human communication. The format is YYYY, YYYY-MM, or YYYY-MM-DD,
e.g. 2018, 1973-06, or 1905-08-23.
There SHALL be no time zone. Dates SHALL be valid dates"""
regex = re.compile(
r"([0-9]([0-9]... | class Date(datetime.date):
| """A date, or partial date (e.g. just year or year + month)
as used in human communication. The format is YYYY, YYYY-MM, or YYYY-MM-DD,
e.g. 2018, 1973-06, or 1905-08-23.
There SHALL be no time zone. Dates SHALL be valid dates"""
regex = re.compile(
r"([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00... | 9]*))+")
class Markdown(ConstrainedStr):
"""A FHIR string (see above) that may contain markdown syntax for optional processing
by a markdown presentation engine, in the GFM extension of CommonMark format (see below)"""
__visit_name__ = "markdown"
regex = re.compile(r"\s*(\S|\s)*")
class Xhtml(Const... | 104 | 104 | 348 | 5 | 99 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | Date | Date | 214 | 251 | 214 | 214 | 6c88c4a5b38a2b76974d9afa0fae49310044f85f | bigcode/the-stack | train |
f1a38a39d3f9ed79f7000a6d | train | class | class DiagnosticOrderType(AbstractType):
__resource_type__ = "DiagnosticOrder"
| class DiagnosticOrderType(AbstractType):
| __resource_type__ = "DiagnosticOrder"
| class DeviceMetricCalibrationType(AbstractType):
__resource_type__ = "DeviceMetricCalibration"
class DeviceUseRequestType(AbstractType):
__resource_type__ = "DeviceUseRequest"
class DeviceUseStatementType(AbstractType):
__resource_type__ = "DeviceUseStatement"
class DiagnosticOrderType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DiagnosticOrderType | DiagnosticOrderType | 1,420 | 1,421 | 1,420 | 1,420 | 7626c03e99f0ca99843716ed30d3b233ebf20440 | bigcode/the-stack | train |
010d7ec6c1802e157dfd3bae | train | class | class EnrollmentResponseType(AbstractType):
__resource_type__ = "EnrollmentResponse"
| class EnrollmentResponseType(AbstractType):
| __resource_type__ = "EnrollmentResponse"
| "EncounterLocation"
class EncounterParticipantType(AbstractType):
__resource_type__ = "EncounterParticipant"
class EncounterStatusHistoryType(AbstractType):
__resource_type__ = "EncounterStatusHistory"
class EnrollmentRequestType(AbstractType):
__resource_type__ = "EnrollmentRequest"
class Enrollment... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | EnrollmentResponseType | EnrollmentResponseType | 1,244 | 1,245 | 1,244 | 1,244 | 9bb54a7c423ad3eba1c01d27aea2a4f48b179404 | bigcode/the-stack | train |
a6ea75d1e93eece8829504da | train | class | class ConditionEvidenceType(AbstractType):
__resource_type__ = "ConditionEvidence"
| class ConditionEvidenceType(AbstractType):
| __resource_type__ = "ConditionEvidence"
| TargetType(AbstractType):
__resource_type__ = "ConceptMapElementTarget"
class ConceptMapElementTargetDependsOnType(AbstractType):
__resource_type__ = "ConceptMapElementTargetDependsOn"
class ConditionType(AbstractType):
__resource_type__ = "Condition"
class ConditionEvidenceType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConditionEvidenceType | ConditionEvidenceType | 916 | 917 | 916 | 916 | 5f4bc0d5cc3bb35540791530be28c1ea078628e7 | bigcode/the-stack | train |
2ee1627d308bb846970fcf29 | train | class | class ContactPointType(AbstractType):
__resource_type__ = "ContactPoint"
| class ContactPointType(AbstractType):
| __resource_type__ = "ContactPoint"
| __resource_type__ = "Period"
class AttachmentType(AbstractType):
__resource_type__ = "Attachment"
class CodeableConceptType(AbstractType):
__resource_type__ = "CodeableConcept"
class CodingType(AbstractType):
__resource_type__ = "Coding"
class ContactPointType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ContactPointType | ContactPointType | 552 | 553 | 552 | 552 | fc19b1affd4237bc4533f90b68dd24ef579618a2 | bigcode/the-stack | train |
de7c1e47c8949ae4580182b1 | train | class | class NarrativeType(AbstractType):
__resource_type__ = "Narrative"
| class NarrativeType(AbstractType):
| __resource_type__ = "Narrative"
| __resource_type__ = "DomainResource"
class ExtensionType(AbstractType):
__resource_type__ = "Extension"
class BackboneElementType(AbstractType):
__resource_type__ = "BackboneElement"
class MetaType(AbstractType):
__resource_type__ = "Meta"
class NarrativeType(AbstractType):
| 64 | 64 | 16 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | NarrativeType | NarrativeType | 528 | 529 | 528 | 528 | 74747fab7e17ca56a9c84ccdc2c5284c8a66e3c1 | bigcode/the-stack | train |
9dfedf1095989818bf103060 | train | class | class ClaimResponseItemDetailType(AbstractType):
__resource_type__ = "ClaimResponseItemDetail"
| class ClaimResponseItemDetailType(AbstractType):
| __resource_type__ = "ClaimResponseItemDetail"
| __resource_type__ = "ClaimResponseError"
class ClaimResponseItemType(AbstractType):
__resource_type__ = "ClaimResponseItem"
class ClaimResponseItemAdjudicationType(AbstractType):
__resource_type__ = "ClaimResponseItemAdjudication"
class ClaimResponseItemDetailType(AbstractType):
| 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClaimResponseItemDetailType | ClaimResponseItemDetailType | 824 | 825 | 824 | 824 | cb88fbc28073f135a557a8d20951e57811dc206b | bigcode/the-stack | train |
bf64d260dc48802e8789e53e | train | class | class ImmunizationVaccinationProtocolType(AbstractType):
__resource_type__ = "ImmunizationVaccinationProtocol"
| class ImmunizationVaccinationProtocolType(AbstractType):
| __resource_type__ = "ImmunizationVaccinationProtocol"
| (AbstractType):
__resource_type__ = "Immunization"
class ImmunizationExplanationType(AbstractType):
__resource_type__ = "ImmunizationExplanation"
class ImmunizationReactionType(AbstractType):
__resource_type__ = "ImmunizationReaction"
class ImmunizationVaccinationProtocolType(AbstractType):
| 64 | 64 | 24 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ImmunizationVaccinationProtocolType | ImmunizationVaccinationProtocolType | 1,260 | 1,261 | 1,260 | 1,260 | 9372008015be4e880c1e4ab6607d37a394e37ae1 | bigcode/the-stack | train |
da627c3544e65afb0c458fd1 | train | class | class ImagingStudySeriesType(AbstractType):
__resource_type__ = "ImagingStudySeries"
| class ImagingStudySeriesType(AbstractType):
| __resource_type__ = "ImagingStudySeries"
| = "ImagingObjectSelectionStudySeriesInstance"
class ImagingObjectSelectionStudySeriesInstanceFramesType(AbstractType):
__resource_type__ = "ImagingObjectSelectionStudySeriesInstanceFrames"
class ImagingStudyType(AbstractType):
__resource_type__ = "ImagingStudy"
class ImagingStudySeriesType(AbstractType):
| 64 | 64 | 20 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ImagingStudySeriesType | ImagingStudySeriesType | 1,496 | 1,497 | 1,496 | 1,496 | 5b71346a0c6f39840525f92a53db720c4c0356aa | bigcode/the-stack | train |
cdcc9bd3051399cc74d28088 | train | class | class MedicationAdministrationType(AbstractType):
__resource_type__ = "MedicationAdministration"
| class MedicationAdministrationType(AbstractType):
| __resource_type__ = "MedicationAdministration"
| ):
__resource_type__ = "ImmunizationExplanation"
class ImmunizationReactionType(AbstractType):
__resource_type__ = "ImmunizationReaction"
class ImmunizationVaccinationProtocolType(AbstractType):
__resource_type__ = "ImmunizationVaccinationProtocol"
class MedicationAdministrationType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | MedicationAdministrationType | MedicationAdministrationType | 1,264 | 1,265 | 1,264 | 1,264 | 0700fe8b05d3001ee2baaaca304b77a64b814a7f | bigcode/the-stack | train |
82f1cf521501723a30b67dad | train | class | class ClaimResponseItemAdjudicationType(AbstractType):
__resource_type__ = "ClaimResponseItemAdjudication"
| class ClaimResponseItemAdjudicationType(AbstractType):
| __resource_type__ = "ClaimResponseItemAdjudication"
| Type(AbstractType):
__resource_type__ = "ClaimResponseCoverage"
class ClaimResponseErrorType(AbstractType):
__resource_type__ = "ClaimResponseError"
class ClaimResponseItemType(AbstractType):
__resource_type__ = "ClaimResponseItem"
class ClaimResponseItemAdjudicationType(AbstractType):
| 64 | 64 | 25 | 11 | 53 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClaimResponseItemAdjudicationType | ClaimResponseItemAdjudicationType | 820 | 821 | 820 | 820 | 7a2e7cdf62cc254d79b2080e81511b1f46a24bf0 | bigcode/the-stack | train |
2b5021d10a01202c34cccaac | train | class | class PractitionerPractitionerRoleType(AbstractType):
__resource_type__ = "PractitionerPractitionerRole"
| class PractitionerPractitionerRoleType(AbstractType):
| __resource_type__ = "PractitionerPractitionerRole"
| _type__ = "OrganizationContact"
class PersonType(AbstractType):
__resource_type__ = "Person"
class PersonLinkType(AbstractType):
__resource_type__ = "PersonLink"
class PractitionerType(AbstractType):
__resource_type__ = "Practitioner"
class PractitionerPractitionerRoleType(AbstractType):
| 64 | 64 | 22 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | PractitionerPractitionerRoleType | PractitionerPractitionerRoleType | 1,040 | 1,041 | 1,040 | 1,040 | cbf129362bc88cf6171f39050fbbee47ded53dfa | bigcode/the-stack | train |
91e6273398b64f3902b008f2 | train | class | class ConditionType(AbstractType):
__resource_type__ = "Condition"
| class ConditionType(AbstractType):
| __resource_type__ = "Condition"
| ):
__resource_type__ = "ConceptMapElement"
class ConceptMapElementTargetType(AbstractType):
__resource_type__ = "ConceptMapElementTarget"
class ConceptMapElementTargetDependsOnType(AbstractType):
__resource_type__ = "ConceptMapElementTargetDependsOn"
class ConditionType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConditionType | ConditionType | 912 | 913 | 912 | 912 | ebaf9436b5bbd55fffd4c40597dfd1041b525487 | bigcode/the-stack | train |
d2997d2c3ee241b29574abf6 | train | class | class ElementDefinitionBaseType(AbstractType):
__resource_type__ = "ElementDefinitionBase"
| class ElementDefinitionBaseType(AbstractType):
| __resource_type__ = "ElementDefinitionBase"
| ElementDefinitionMappingType(AbstractType):
__resource_type__ = "ElementDefinitionMapping"
class ElementDefinitionExampleType(AbstractType):
__resource_type__ = "ElementDefinitionExample"
class ElementDefinitionConstraintType(AbstractType):
__resource_type__ = "ElementDefinitionConstraint"
class Elemen... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ElementDefinitionBaseType | ElementDefinitionBaseType | 1,200 | 1,201 | 1,200 | 1,200 | c718b0e4d2ea65bcca2e431060aeb28032f1c97d | bigcode/the-stack | train |
84ead636729efe25212d00dc | train | class | class EpisodeOfCareType(AbstractType):
__resource_type__ = "EpisodeOfCare"
| class EpisodeOfCareType(AbstractType):
| __resource_type__ = "EpisodeOfCare"
| "
class DiagnosticOrderType(AbstractType):
__resource_type__ = "DiagnosticOrder"
class DiagnosticOrderEventType(AbstractType):
__resource_type__ = "DiagnosticOrderEvent"
class DiagnosticOrderItemType(AbstractType):
__resource_type__ = "DiagnosticOrderItem"
class EpisodeOfCareType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | EpisodeOfCareType | EpisodeOfCareType | 1,432 | 1,433 | 1,432 | 1,432 | 7a815554482d13243cd25b2a092f63707df9d195 | bigcode/the-stack | train |
f0d2b344c47c06e748bc3492 | train | class | class SpecimenType(AbstractType):
__resource_type__ = "Specimen"
| class SpecimenType(AbstractType):
| __resource_type__ = "Specimen"
| class SupplyRequestWhenType(AbstractType):
__resource_type__ = "SupplyRequestWhen"
class VisionPrescriptionType(AbstractType):
__resource_type__ = "VisionPrescription"
class VisionPrescriptionDispenseType(AbstractType):
__resource_type__ = "VisionPrescriptionDispense"
class SpecimenType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | SpecimenType | SpecimenType | 1,628 | 1,629 | 1,628 | 1,628 | 7be230aa0817866bbaf5751e46dba61b4b006a9f | bigcode/the-stack | train |
55a2cc41f4b60c81059797ab | train | class | class ValueSetComposeIncludeType(AbstractType):
__resource_type__ = "ValueSetComposeInclude"
| class ValueSetComposeIncludeType(AbstractType):
| __resource_type__ = "ValueSetComposeInclude"
| resource_type__ = "ValueSetCodeSystemConcept"
class ValueSetCodeSystemConceptDesignationType(AbstractType):
__resource_type__ = "ValueSetCodeSystemConceptDesignation"
class ValueSetComposeType(AbstractType):
__resource_type__ = "ValueSetCompose"
class ValueSetComposeIncludeType(AbstractType):
| 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ValueSetComposeIncludeType | ValueSetComposeIncludeType | 1,068 | 1,069 | 1,068 | 1,068 | 21759c26eeafe4b2a292dee79dd625847b33c2a9 | bigcode/the-stack | train |
217d54ecf0a0924b26516998 | train | class | class NamingSystemUniqueIdType(AbstractType):
__resource_type__ = "NamingSystemUniqueId"
| class NamingSystemUniqueIdType(AbstractType):
| __resource_type__ = "NamingSystemUniqueId"
| class MessageHeaderSourceType(AbstractType):
__resource_type__ = "MessageHeaderSource"
class NamingSystemType(AbstractType):
__resource_type__ = "NamingSystem"
class NamingSystemContactType(AbstractType):
__resource_type__ = "NamingSystemContact"
class NamingSystemUniqueIdType(AbstractType):
| 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | NamingSystemUniqueIdType | NamingSystemUniqueIdType | 1,600 | 1,601 | 1,600 | 1,600 | e75d988065db9b1ab7aec97bcd852a7ed760257a | bigcode/the-stack | train |
75c4600e32869305b20639f4 | train | class | class ClaimItemDetailType(AbstractType):
__resource_type__ = "ClaimItemDetail"
| class ClaimItemDetailType(AbstractType):
| __resource_type__ = "ClaimItemDetail"
| __ = "Claim"
class ClaimCoverageType(AbstractType):
__resource_type__ = "ClaimCoverage"
class ClaimDiagnosisType(AbstractType):
__resource_type__ = "ClaimDiagnosis"
class ClaimItemType(AbstractType):
__resource_type__ = "ClaimItem"
class ClaimItemDetailType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClaimItemDetailType | ClaimItemDetailType | 768 | 769 | 768 | 768 | 8b2a60dcdc7dcfa3da7cdc9ac3100a02506687ba | bigcode/the-stack | train |
6d1c7d5f91cd1df6cd26fbb7 | train | class | class CarePlanParticipantType(AbstractType):
__resource_type__ = "CarePlanParticipant"
| class CarePlanParticipantType(AbstractType):
| __resource_type__ = "CarePlanParticipant"
| CarePlanType(AbstractType):
__resource_type__ = "CarePlan"
class CarePlanActivityType(AbstractType):
__resource_type__ = "CarePlanActivity"
class CarePlanActivityDetailType(AbstractType):
__resource_type__ = "CarePlanActivityDetail"
class CarePlanParticipantType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | CarePlanParticipantType | CarePlanParticipantType | 744 | 745 | 744 | 744 | 1ff82801e2bf56d71eb909bc376538544c592b77 | bigcode/the-stack | train |
6e58b52b696cf01096687957 | train | class | class GoalType(AbstractType):
__resource_type__ = "Goal"
| class GoalType(AbstractType):
| __resource_type__ = "Goal"
| atesTo"
class DocumentManifestType(AbstractType):
__resource_type__ = "DocumentManifest"
class DocumentManifestContentType(AbstractType):
__resource_type__ = "DocumentManifestContent"
class DocumentManifestRelatedType(AbstractType):
__resource_type__ = "DocumentManifestRelated"
class GoalType(Abstract... | 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | GoalType | GoalType | 1,152 | 1,153 | 1,152 | 1,152 | 786364cc72be37507bfbb8ed167026aaebb9ce50 | bigcode/the-stack | train |
e90d3a3e6186a67e9ba56e90 | train | class | class ImplementationGuideDependencyType(AbstractType):
__resource_type__ = "ImplementationGuideDependency"
| class ImplementationGuideDependencyType(AbstractType):
| __resource_type__ = "ImplementationGuideDependency"
| RecommendationProtocolType(AbstractType):
__resource_type__ = "ImmunizationRecommendationRecommendationProtocol"
class ImplementationGuideType(AbstractType):
__resource_type__ = "ImplementationGuide"
class ImplementationGuideContactType(AbstractType):
__resource_type__ = "ImplementationGuideContact"
cla... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ImplementationGuideDependencyType | ImplementationGuideDependencyType | 1,528 | 1,529 | 1,528 | 1,528 | d4229deddf2e2e239e3518bfff3ee0c2b1b8a57c | bigcode/the-stack | train |
fa55156ab5be6b8e7e5b2251 | train | class | class Id(ConstrainedStr):
"""Any combination of upper- or lower-case ASCII letters
('A'..'Z', and 'a'..'z', numerals ('0'..'9'), '-' and '.',
with a length limit of 64 characters.
(This might be an integer, an un-prefixed OID, UUID or any other identifier
pattern that meets these constraints.)
"... | class Id(ConstrainedStr):
| """Any combination of upper- or lower-case ASCII letters
('A'..'Z', and 'a'..'z', numerals ('0'..'9'), '-' and '.',
with a length limit of 64 characters.
(This might be an integer, an un-prefixed OID, UUID or any other identifier
pattern that meets these constraints.)
"""
regex = re.compile... | has at least one
character and no leading or trailing whitespace, and where there is
no whitespace other than single spaces in the contents"""
regex = re.compile(r"[^\s]+(\s[^\s]+)*")
__visit_name__ = "code"
class Id(ConstrainedStr):
| 64 | 64 | 132 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | Id | Id | 125 | 136 | 125 | 125 | bd13e03b183a2a69ae14f8b7ef76bfeb4f3c9263 | bigcode/the-stack | train |
f195de3fc7adb82020974f85 | train | class | class OperationOutcomeType(AbstractType):
__resource_type__ = "OperationOutcome"
| class OperationOutcomeType(AbstractType):
| __resource_type__ = "OperationOutcome"
| = "Observation"
class ObservationComponentType(AbstractType):
__resource_type__ = "ObservationComponent"
class ObservationReferenceRangeType(AbstractType):
__resource_type__ = "ObservationReferenceRange"
class ObservationRelatedType(AbstractType):
__resource_type__ = "ObservationRelated"
class Operat... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | OperationOutcomeType | OperationOutcomeType | 1,296 | 1,297 | 1,296 | 1,296 | a99a5825c8a169c2e017f6571398d1d37cead1f4 | bigcode/the-stack | train |
9d9daab80d45be68a87519e8 | train | class | class MedicationType(AbstractType):
__resource_type__ = "Medication"
| class MedicationType(AbstractType):
| __resource_type__ = "Medication"
| "ObservationReferenceRange"
class ObservationRelatedType(AbstractType):
__resource_type__ = "ObservationRelated"
class OperationOutcomeType(AbstractType):
__resource_type__ = "OperationOutcome"
class OperationOutcomeIssueType(AbstractType):
__resource_type__ = "OperationOutcomeIssue"
class Medication... | 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | MedicationType | MedicationType | 1,304 | 1,305 | 1,304 | 1,304 | 510b278e1bf095b0dbe60664192782139ccb7040 | bigcode/the-stack | train |
d1de7865bfe22ce0d589710b | train | class | class Time(datetime.time):
"""A time during the day, in the format hh:mm:ss.
There is no date specified. Seconds must be provided due
to schema type constraints but may be zero-filled and may
be ignored at receiver discretion.
The time "24:00" SHALL NOT be used. A time zone SHALL NOT be present.
... | class Time(datetime.time):
| """A time during the day, in the format hh:mm:ss.
There is no date specified. Seconds must be provided due
to schema type constraints but may be zero-filled and may
be ignored at receiver discretion.
The time "24:00" SHALL NOT be used. A time zone SHALL NOT be present.
Times can be converted to ... | def __get_validators__(cls) -> "CallableGenerator":
yield cls.validate
@classmethod
def validate(cls, value):
""" """
if isinstance(value, str):
if not cls.regex.match(value):
raise DateTimeError()
return parse_datetime(value)
class Time(datetime.ti... | 64 | 64 | 205 | 5 | 59 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | Time | Time | 343 | 366 | 343 | 343 | 731b4108de69b542cd18ca1084baa65ce59ae099 | bigcode/the-stack | train |
dc47cc1091b277ab708c7d1a | train | class | class BodySiteType(AbstractType):
__resource_type__ = "BodySite"
| class BodySiteType(AbstractType):
| __resource_type__ = "BodySite"
| (AbstractType):
__resource_type__ = "Annotation"
class MediaType(AbstractType):
__resource_type__ = "Media"
class BasicType(AbstractType):
__resource_type__ = "Basic"
class BinaryType(AbstractType):
__resource_type__ = "Binary"
class BodySiteType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | BodySiteType | BodySiteType | 632 | 633 | 632 | 632 | 184c0f8a7ad1082d38344ae512da793d035513e1 | bigcode/the-stack | train |
8c7778b787750528537b9426 | train | class | class Canonical(Uri):
"""A URI that refers to a resource by its canonical URL (resources with a url property).
The canonical type differs from a uri in that it has special meaning in this specification,
and in that it may have a version appended, separated by a vertical bar (|).
Note that the type canon... | class Canonical(Uri):
| """A URI that refers to a resource by its canonical URL (resources with a url property).
The canonical type differs from a uri in that it has special meaning in this specification,
and in that it may have a version appended, separated by a vertical bar (|).
Note that the type canonical is not used for t... | hirtypesvalidators, cls.__resource_type__.lower() + "_validator"
)(v)
return v
type_class = get_fhir_type_class(resource_type)
v = run_validator_for_fhir_type(type_class, v, values, config, field)
return v
class Canonical(Uri):
| 64 | 64 | 134 | 5 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | Canonical | Canonical | 451 | 460 | 451 | 451 | 74523b32e3e4860740f6cf619a2449036d791186 | bigcode/the-stack | train |
adbbf0d05caa9d88b52aa83b | train | class | class PatientContactType(AbstractType):
__resource_type__ = "PatientContact"
| class PatientContactType(AbstractType):
| __resource_type__ = "PatientContact"
| "ConformanceRestResourceSearchParam"
class PatientType(AbstractType):
__resource_type__ = "Patient"
class PatientAnimalType(AbstractType):
__resource_type__ = "PatientAnimal"
class PatientCommunicationType(AbstractType):
__resource_type__ = "PatientCommunication"
class PatientContactType(AbstractType... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | PatientContactType | PatientContactType | 1,000 | 1,001 | 1,000 | 1,000 | ac6b11681c8225f5c8961e3f3b8720f59ad6ebe0 | bigcode/the-stack | train |
0037a34939e9ed1d87d977b2 | train | class | class GroupCharacteristicType(AbstractType):
__resource_type__ = "GroupCharacteristic"
| class GroupCharacteristicType(AbstractType):
| __resource_type__ = "GroupCharacteristic"
| __resource_type__ = "DocumentManifestRelated"
class GoalType(AbstractType):
__resource_type__ = "Goal"
class GoalOutcomeType(AbstractType):
__resource_type__ = "GoalOutcome"
class GroupType(AbstractType):
__resource_type__ = "Group"
class GroupCharacteristicType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | GroupCharacteristicType | GroupCharacteristicType | 1,164 | 1,165 | 1,164 | 1,164 | 2ea891c7b7b2a80fe47805171c8c23a82d9940aa | bigcode/the-stack | train |
dd42550375501341c16ded13 | train | class | class HealthcareServiceNotAvailableType(AbstractType):
__resource_type__ = "HealthcareServiceNotAvailable"
| class HealthcareServiceNotAvailableType(AbstractType):
| __resource_type__ = "HealthcareServiceNotAvailable"
| OfBenefitType(AbstractType):
__resource_type__ = "ExplanationOfBenefit"
class HealthcareServiceType(AbstractType):
__resource_type__ = "HealthcareService"
class HealthcareServiceAvailableTimeType(AbstractType):
__resource_type__ = "HealthcareServiceAvailableTime"
class HealthcareServiceNotAvailableType(... | 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | HealthcareServiceNotAvailableType | HealthcareServiceNotAvailableType | 1,464 | 1,465 | 1,464 | 1,464 | e29096d8846c08728b1a41bb24371ad201a1b232 | bigcode/the-stack | train |
9ebef8d2286c72f4374ad19f | train | class | class AuditEventParticipantType(AbstractType):
__resource_type__ = "AuditEventParticipant"
| class AuditEventParticipantType(AbstractType):
| __resource_type__ = "AuditEventParticipant"
| EventType(AbstractType):
__resource_type__ = "AuditEventEvent"
class AuditEventObjectType(AbstractType):
__resource_type__ = "AuditEventObject"
class AuditEventObjectDetailType(AbstractType):
__resource_type__ = "AuditEventObjectDetail"
class AuditEventParticipantType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AuditEventParticipantType | AuditEventParticipantType | 696 | 697 | 696 | 696 | a01cba45079fe9798e351972a3d53b495ac3788b | bigcode/the-stack | train |
bd345563ec014d97c395f732 | train | class | class LocationType(AbstractType):
__resource_type__ = "Location"
| class LocationType(AbstractType):
| __resource_type__ = "Location"
| Type):
__resource_type__ = "Basic"
class BinaryType(AbstractType):
__resource_type__ = "Binary"
class BodySiteType(AbstractType):
__resource_type__ = "BodySite"
class FlagType(AbstractType):
__resource_type__ = "Flag"
class LocationType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | LocationType | LocationType | 640 | 641 | 640 | 640 | 0f5342891cacb955be5fe71dd8233ac90b84d624 | bigcode/the-stack | train |
f9ba0b9f356f4ba7d563b9c2 | train | class | class PatientCommunicationType(AbstractType):
__resource_type__ = "PatientCommunication"
| class PatientCommunicationType(AbstractType):
| __resource_type__ = "PatientCommunication"
| class ConformanceRestResourceSearchParamType(AbstractType):
__resource_type__ = "ConformanceRestResourceSearchParam"
class PatientType(AbstractType):
__resource_type__ = "Patient"
class PatientAnimalType(AbstractType):
__resource_type__ = "PatientAnimal"
class PatientCommunicationType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | PatientCommunicationType | PatientCommunicationType | 996 | 997 | 996 | 996 | 0d21695b6ec1d4f5f8017319291e8323031c4872 | bigcode/the-stack | train |
67dd0100e3a345c7c07a4410 | train | class | class AbstractType(dict):
""" """
__fhir_release__: str = "DSTU2"
__resource_type__: str = ... # type: ignore
@classmethod
def __modify_schema__(cls, field_schema: Dict[str, Any]) -> None:
field_schema.update(type=cls.__resource_type__)
@classmethod
def __get_validators__(cls) ->... | class AbstractType(dict):
| """ """
__fhir_release__: str = "DSTU2"
__resource_type__: str = ... # type: ignore
@classmethod
def __modify_schema__(cls, field_schema: Dict[str, Any]) -> None:
field_schema.update(type=cls.__resource_type__)
@classmethod
def __get_validators__(cls) -> "CallableGenerator":
... | ):
raise TimeError()
return parse_time(value)
def get_fhir_type_class(model_name):
try:
return globals()[model_name + "Type"]
except KeyError:
raise LookupError(f"'{__name__}.{model_name}Type' doesnt found.")
class AbstractType(dict):
| 63 | 64 | 161 | 5 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AbstractType | AbstractType | 376 | 400 | 376 | 376 | 51b5e0b3a2bdbe15972d774556d62157ba784b92 | bigcode/the-stack | train |
ba90c78852cc2d4df2ede72d | train | class | class AnnotationType(AbstractType):
__resource_type__ = "Annotation"
| class AnnotationType(AbstractType):
| __resource_type__ = "Annotation"
| __resource_type__ = "Count"
class MoneyType(AbstractType):
__resource_type__ = "Money"
class DistanceType(AbstractType):
__resource_type__ = "Distance"
class SampledDataType(AbstractType):
__resource_type__ = "SampledData"
class AnnotationType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AnnotationType | AnnotationType | 616 | 617 | 616 | 616 | 4cac1e7e93cd9bcf3387fd81eb130c26bde02618 | bigcode/the-stack | train |
01ae202f7b548566e8ebd12f | train | class | class DeviceUseStatementType(AbstractType):
__resource_type__ = "DeviceUseStatement"
| class DeviceUseStatementType(AbstractType):
| __resource_type__ = "DeviceUseStatement"
| "
class DeviceMetricType(AbstractType):
__resource_type__ = "DeviceMetric"
class DeviceMetricCalibrationType(AbstractType):
__resource_type__ = "DeviceMetricCalibration"
class DeviceUseRequestType(AbstractType):
__resource_type__ = "DeviceUseRequest"
class DeviceUseStatementType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DeviceUseStatementType | DeviceUseStatementType | 1,416 | 1,417 | 1,416 | 1,416 | 6167e1e241b6ba0683f7596429e011438eac4a4c | bigcode/the-stack | train |
a7e7a6c72c1760d88582015a | train | class | class SupplyRequestType(AbstractType):
__resource_type__ = "SupplyRequest"
| class SupplyRequestType(AbstractType):
| __resource_type__ = "SupplyRequest"
| NamingSystemContact"
class NamingSystemUniqueIdType(AbstractType):
__resource_type__ = "NamingSystemUniqueId"
class ListType(AbstractType):
__resource_type__ = "List"
class ListEntryType(AbstractType):
__resource_type__ = "ListEntry"
class SupplyRequestType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | SupplyRequestType | SupplyRequestType | 1,612 | 1,613 | 1,612 | 1,612 | f952c182c3cdceb80d61ea0aba1ce3550cefae67 | bigcode/the-stack | train |
49474ea26ef495389cb649f8 | train | class | class BackboneElementType(AbstractType):
__resource_type__ = "BackboneElement"
| class BackboneElementType(AbstractType):
| __resource_type__ = "BackboneElement"
| _type__ = "Element"
class ResourceType(AbstractBaseType):
""" """
__resource_type__ = "Resource"
class DomainResourceType(AbstractType):
__resource_type__ = "DomainResource"
class ExtensionType(AbstractType):
__resource_type__ = "Extension"
class BackboneElementType(AbstractType):
| 64 | 64 | 18 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | BackboneElementType | BackboneElementType | 520 | 521 | 520 | 520 | d13ab37c3d3da3641341371bc706179399176f70 | bigcode/the-stack | train |
0f4d553fbf7b34d499276aa7 | train | class | class RatioType(AbstractType):
__resource_type__ = "Ratio"
| class RatioType(AbstractType):
| __resource_type__ = "Ratio"
| Type(AbstractType):
__resource_type__ = "Identifier"
class ReferenceType(AbstractType):
__resource_type__ = "Reference"
class QuantityType(AbstractType):
__resource_type__ = "Quantity"
class RangeType(AbstractType):
__resource_type__ = "Range"
class RatioType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | RatioType | RatioType | 576 | 577 | 576 | 576 | afcea44d1cac242d2e98858fa66981d2f68f4f0c | bigcode/the-stack | train |
b2ee84f43465fc447f2751c1 | train | class | class ContractFriendlyType(AbstractType):
__resource_type__ = "ContractFriendly"
| class ContractFriendlyType(AbstractType):
| __resource_type__ = "ContractFriendly"
| = "MedicationProductBatch"
class MedicationProductIngredientType(AbstractType):
__resource_type__ = "MedicationProductIngredient"
class ContractType(AbstractType):
__resource_type__ = "Contract"
class ContractActorType(AbstractType):
__resource_type__ = "ContractActor"
class ContractFriendlyType(Abst... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ContractFriendlyType | ContractFriendlyType | 1,336 | 1,337 | 1,336 | 1,336 | 3751496a826191a082efa5ae19178f3c25ed03e8 | bigcode/the-stack | train |
dcb072d71960db1d08551d12 | train | class | class ConformanceDocumentType(AbstractType):
__resource_type__ = "ConformanceDocument"
| class ConformanceDocumentType(AbstractType):
| __resource_type__ = "ConformanceDocument"
| ConditionEvidence"
class ConditionStageType(AbstractType):
__resource_type__ = "ConditionStage"
class ConformanceType(AbstractType):
__resource_type__ = "Conformance"
class ConformanceContactType(AbstractType):
__resource_type__ = "ConformanceContact"
class ConformanceDocumentType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConformanceDocumentType | ConformanceDocumentType | 932 | 933 | 932 | 932 | 4b57464fe45138ad2a8415d57fab72163208bbcc | bigcode/the-stack | train |
d5bc642702eb70c1a97b7743 | train | class | class PersonType(AbstractType):
__resource_type__ = "Person"
| class PersonType(AbstractType):
| __resource_type__ = "Person"
| __resource_type__ = "OrderWhen"
class OrderResponseType(AbstractType):
__resource_type__ = "OrderResponse"
class OrganizationType(AbstractType):
__resource_type__ = "Organization"
class OrganizationContactType(AbstractType):
__resource_type__ = "OrganizationContact"
class PersonType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | PersonType | PersonType | 1,028 | 1,029 | 1,028 | 1,028 | 0f73ffd6ba39f9c29ed25a1ddd15fb542274f069 | bigcode/the-stack | train |
c7afa952fd74403221aad8a5 | train | class | class MedicationProductIngredientType(AbstractType):
__resource_type__ = "MedicationProductIngredient"
| class MedicationProductIngredientType(AbstractType):
| __resource_type__ = "MedicationProductIngredient"
| "
class MedicationPackageContentType(AbstractType):
__resource_type__ = "MedicationPackageContent"
class MedicationProductType(AbstractType):
__resource_type__ = "MedicationProduct"
class MedicationProductBatchType(AbstractType):
__resource_type__ = "MedicationProductBatch"
class MedicationProductIngr... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | MedicationProductIngredientType | MedicationProductIngredientType | 1,324 | 1,325 | 1,324 | 1,324 | 6b1affbaaaaae7aeebb450b4f3063179579b09cc | bigcode/the-stack | train |
d6fdf5b60e1aa0a5791de3b2 | train | class | class TimingRepeatType(AbstractType):
__resource_type__ = "TimingRepeat"
| class TimingRepeatType(AbstractType):
| __resource_type__ = "TimingRepeat"
| (AbstractType):
__resource_type__ = "Range"
class RatioType(AbstractType):
__resource_type__ = "Ratio"
class SignatureType(AbstractType):
__resource_type__ = "Signature"
class TimingType(AbstractType):
__resource_type__ = "Timing"
class TimingRepeatType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | TimingRepeatType | TimingRepeatType | 588 | 589 | 588 | 588 | 265bbf283cfea5fa18ccac4819a96d353e391013 | bigcode/the-stack | train |
a63e2976e7ac77af6fcad9db | train | function | def get_fhir_type_class(model_name):
try:
return globals()[model_name + "Type"]
except KeyError:
raise LookupError(f"'{__name__}.{model_name}Type' doesnt found.")
| def get_fhir_type_class(model_name):
| try:
return globals()[model_name + "Type"]
except KeyError:
raise LookupError(f"'{__name__}.{model_name}Type' doesnt found.")
| _validators__(cls) -> "CallableGenerator":
yield cls.validate
@classmethod
def validate(cls, value):
""" """
if isinstance(value, str):
if not cls.regex.match(value):
raise TimeError()
return parse_time(value)
def get_fhir_type_class(model_name):
| 64 | 64 | 46 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | get_fhir_type_class | get_fhir_type_class | 369 | 373 | 369 | 369 | d57341449eb7e056fa9660f749b69985459eeeae | bigcode/the-stack | train |
cde778d5525fd3f69f4cd5c7 | train | class | class ImmunizationReactionType(AbstractType):
__resource_type__ = "ImmunizationReaction"
| class ImmunizationReactionType(AbstractType):
| __resource_type__ = "ImmunizationReaction"
| "
class EnrollmentResponseType(AbstractType):
__resource_type__ = "EnrollmentResponse"
class ImmunizationType(AbstractType):
__resource_type__ = "Immunization"
class ImmunizationExplanationType(AbstractType):
__resource_type__ = "ImmunizationExplanation"
class ImmunizationReactionType(AbstractType):
| 64 | 64 | 20 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ImmunizationReactionType | ImmunizationReactionType | 1,256 | 1,257 | 1,256 | 1,256 | 27f9bed1224375bd3172319d3711c6ac178e4252 | bigcode/the-stack | train |
2d06252928770375464936f1 | train | class | class ObservationComponentType(AbstractType):
__resource_type__ = "ObservationComponent"
| class ObservationComponentType(AbstractType):
| __resource_type__ = "ObservationComponent"
| AdministrationDosage"
class MedicationStatementType(AbstractType):
__resource_type__ = "MedicationStatement"
class MedicationStatementDosageType(AbstractType):
__resource_type__ = "MedicationStatementDosage"
class ObservationType(AbstractType):
__resource_type__ = "Observation"
class ObservationCompon... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ObservationComponentType | ObservationComponentType | 1,284 | 1,285 | 1,284 | 1,284 | bc867dc61a4e78f17d0ce5dbfc3cffbc8f724e65 | bigcode/the-stack | train |
53d32e5c504b8a6c8339bb9b | train | class | class ConformanceType(AbstractType):
__resource_type__ = "Conformance"
| class ConformanceType(AbstractType):
| __resource_type__ = "Conformance"
| "ConceptMapElementTargetDependsOn"
class ConditionType(AbstractType):
__resource_type__ = "Condition"
class ConditionEvidenceType(AbstractType):
__resource_type__ = "ConditionEvidence"
class ConditionStageType(AbstractType):
__resource_type__ = "ConditionStage"
class ConformanceType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConformanceType | ConformanceType | 924 | 925 | 924 | 924 | 2aca9103dd2d0bac6c185e87165ac2f00c138bf8 | bigcode/the-stack | train |
e57c5e8bf67766ff2144b274 | train | class | class ResourceType(AbstractBaseType):
""" """
__resource_type__ = "Resource"
| class ResourceType(AbstractBaseType):
| """ """
__resource_type__ = "Resource"
| return value
return AnyUrl.validate(value, field, config)
class FHIRPrimitiveExtensionType(AbstractType):
""" """
__resource_type__ = "FHIRPrimitiveExtension"
class ElementType(AbstractBaseType):
""" """
__resource_type__ = "Element"
class ResourceType(AbstractBaseType):
| 64 | 64 | 19 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ResourceType | ResourceType | 506 | 509 | 506 | 506 | 9753e097d1efed6c9bff5b0ce972458aafc1590e | bigcode/the-stack | train |
3d410229bc7e134518fd903e | train | class | class ConformanceRestSecurityCertificateType(AbstractType):
__resource_type__ = "ConformanceRestSecurityCertificate"
| class ConformanceRestSecurityCertificateType(AbstractType):
| __resource_type__ = "ConformanceRestSecurityCertificate"
| resource_type__ = "ConformanceRestResource"
class ConformanceRestResourceInteractionType(AbstractType):
__resource_type__ = "ConformanceRestResourceInteraction"
class ConformanceRestSecurityType(AbstractType):
__resource_type__ = "ConformanceRestSecurity"
class ConformanceRestSecurityCertificateType(Abstrac... | 64 | 64 | 23 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConformanceRestSecurityCertificateType | ConformanceRestSecurityCertificateType | 976 | 977 | 976 | 976 | a04a386d888d9db878264631d91cf14d5cedd123 | bigcode/the-stack | train |
ede51f63d4ee6062d501f02a | train | class | class DocumentReferenceContextType(AbstractType):
__resource_type__ = "DocumentReferenceContext"
| class DocumentReferenceContextType(AbstractType):
| __resource_type__ = "DocumentReferenceContext"
| "
class DiagnosticReportImageType(AbstractType):
__resource_type__ = "DiagnosticReportImage"
class DocumentReferenceType(AbstractType):
__resource_type__ = "DocumentReference"
class DocumentReferenceContentType(AbstractType):
__resource_type__ = "DocumentReferenceContent"
class DocumentReferenceContex... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DocumentReferenceContextType | DocumentReferenceContextType | 1,128 | 1,129 | 1,128 | 1,128 | 9e312a7bafea7c33b24d9d6fbde12fba169acb31 | bigcode/the-stack | train |
5294ceac3a46c2fc8d9aef83 | train | class | class EncounterLocationType(AbstractType):
__resource_type__ = "EncounterLocation"
| class EncounterLocationType(AbstractType):
| __resource_type__ = "EncounterLocation"
| __ = "EligibilityRequest"
class EligibilityResponseType(AbstractType):
__resource_type__ = "EligibilityResponse"
class EncounterType(AbstractType):
__resource_type__ = "Encounter"
class EncounterHospitalizationType(AbstractType):
__resource_type__ = "EncounterHospitalization"
class EncounterLocationTy... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | EncounterLocationType | EncounterLocationType | 1,228 | 1,229 | 1,228 | 1,228 | 3c0b2950df6183dc31b1f57141a004ad1c0bd31f | bigcode/the-stack | train |
509fafad2dd391d43aac6be6 | train | class | class ElementDefinitionConstraintType(AbstractType):
__resource_type__ = "ElementDefinitionConstraint"
| class ElementDefinitionConstraintType(AbstractType):
| __resource_type__ = "ElementDefinitionConstraint"
| ElementDefinitionTypeType(AbstractType):
__resource_type__ = "ElementDefinitionType"
class ElementDefinitionMappingType(AbstractType):
__resource_type__ = "ElementDefinitionMapping"
class ElementDefinitionExampleType(AbstractType):
__resource_type__ = "ElementDefinitionExample"
class ElementDefinitionC... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ElementDefinitionConstraintType | ElementDefinitionConstraintType | 1,196 | 1,197 | 1,196 | 1,196 | bdd15570af9de8b203bf0e9fb8049e603567b53c | bigcode/the-stack | train |
cb930c122aa967f5b21c8735 | train | class | class Markdown(ConstrainedStr):
"""A FHIR string (see above) that may contain markdown syntax for optional processing
by a markdown presentation engine, in the GFM extension of CommonMark format (see below)"""
__visit_name__ = "markdown"
regex = re.compile(r"\s*(\S|\s)*")
| class Markdown(ConstrainedStr):
| """A FHIR string (see above) that may contain markdown syntax for optional processing
by a markdown presentation engine, in the GFM extension of CommonMark format (see below)"""
__visit_name__ = "markdown"
regex = re.compile(r"\s*(\S|\s)*")
| 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 Markdown(ConstrainedStr):
| 63 | 64 | 71 | 7 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | Markdown | Markdown | 201 | 206 | 201 | 201 | 1c012bee8aa7861d181f92c12c976eec3677026a | bigcode/the-stack | train |
73003df2f3d789c10844396b | train | class | class ClinicalImpressionRuledOutType(AbstractType):
__resource_type__ = "ClinicalImpressionRuledOut"
| class ClinicalImpressionRuledOutType(AbstractType):
| __resource_type__ = "ClinicalImpressionRuledOut"
| resource_type__ = "ClinicalImpression"
class ClinicalImpressionFindingType(AbstractType):
__resource_type__ = "ClinicalImpressionFinding"
class ClinicalImpressionInvestigationsType(AbstractType):
__resource_type__ = "ClinicalImpressionInvestigations"
class ClinicalImpressionRuledOutType(AbstractType):
| 64 | 64 | 25 | 11 | 53 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClinicalImpressionRuledOutType | ClinicalImpressionRuledOutType | 856 | 857 | 856 | 856 | c3206d368258b7e5be8e3b270521ee20280d6885 | bigcode/the-stack | train |
c4538634bbb6fcd45503b6a8 | train | class | class HealthcareServiceAvailableTimeType(AbstractType):
__resource_type__ = "HealthcareServiceAvailableTime"
| class HealthcareServiceAvailableTimeType(AbstractType):
| __resource_type__ = "HealthcareServiceAvailableTime"
| MemberHistoryConditionType(AbstractType):
__resource_type__ = "FamilyMemberHistoryCondition"
class ExplanationOfBenefitType(AbstractType):
__resource_type__ = "ExplanationOfBenefit"
class HealthcareServiceType(AbstractType):
__resource_type__ = "HealthcareService"
class HealthcareServiceAvailableTimeTyp... | 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | HealthcareServiceAvailableTimeType | HealthcareServiceAvailableTimeType | 1,460 | 1,461 | 1,460 | 1,460 | c6679a33a1c185508dc6491f0debd5d8934054b1 | bigcode/the-stack | train |
796237e9beedb2fdb49b11d8 | train | class | class Code(ConstrainedStr):
"""Indicates that the value is taken from a set of controlled
strings defined elsewhere (see Using codes for further discussion).
Technically, a code is restricted to a string which has at least one
character and no leading or trailing whitespace, and where there is
no wh... | class Code(ConstrainedStr):
| """Indicates that the value is taken from a set of controlled
strings defined elsewhere (see Using codes for further discussion).
Technically, a code is restricted to a string which has at least one
character and no leading or trailing whitespace, and where there is
no whitespace other than single s... | Bytes):
"""A stream of bytes, base64 encoded (RFC 4648 )"""
regex = re.compile(r"(\s*([0-9a-zA-Z+=]){4}\s*)+")
__visit_name__ = "base64Binary"
class Code(ConstrainedStr):
| 64 | 64 | 103 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | Code | Code | 114 | 122 | 114 | 114 | 428695fe86cc5abed8fe2209d3fe01aa358672c2 | bigcode/the-stack | train |
3d737ae26cde38c0c4dcd1d6 | train | class | class ImmunizationRecommendationRecommendationProtocolType(AbstractType):
__resource_type__ = "ImmunizationRecommendationRecommendationProtocol"
| class ImmunizationRecommendationRecommendationProtocolType(AbstractType):
| __resource_type__ = "ImmunizationRecommendationRecommendationProtocol"
| "ImmunizationRecommendation"
class ImmunizationRecommendationRecommendationType(AbstractType):
__resource_type__ = "ImmunizationRecommendationRecommendation"
class ImmunizationRecommendationRecommendationDateCriterionType(AbstractType):
__resource_type__ = "ImmunizationRecommendationRecommendationDateCrite... | 64 | 64 | 24 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ImmunizationRecommendationRecommendationProtocolType | ImmunizationRecommendationRecommendationProtocolType | 1,516 | 1,517 | 1,516 | 1,516 | 88c2bf20f085d9ad86d5b0cdb1f54aa5fb46ea23 | bigcode/the-stack | train |
023d6cc9809fc30a8dcece34 | train | class | class DataElementType(AbstractType):
__resource_type__ = "DataElement"
| class DataElementType(AbstractType):
| __resource_type__ = "DataElement"
| class RelatedPersonType(AbstractType):
__resource_type__ = "RelatedPerson"
class DetectedIssueType(AbstractType):
__resource_type__ = "DetectedIssue"
class DetectedIssueMitigationType(AbstractType):
__resource_type__ = "DetectedIssueMitigation"
class DataElementType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DataElementType | DataElementType | 1,384 | 1,385 | 1,384 | 1,384 | d4c3c3e5bb8f8dc518e4dbe1826e27a73fc804e5 | bigcode/the-stack | train |
69b3220b3aa6ebeadf9adf66 | train | class | class EpisodeOfCareStatusHistoryType(AbstractType):
__resource_type__ = "EpisodeOfCareStatusHistory"
| class EpisodeOfCareStatusHistoryType(AbstractType):
| __resource_type__ = "EpisodeOfCareStatusHistory"
| ):
__resource_type__ = "DiagnosticOrderItem"
class EpisodeOfCareType(AbstractType):
__resource_type__ = "EpisodeOfCare"
class EpisodeOfCareCareTeamType(AbstractType):
__resource_type__ = "EpisodeOfCareCareTeam"
class EpisodeOfCareStatusHistoryType(AbstractType):
| 64 | 64 | 23 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | EpisodeOfCareStatusHistoryType | EpisodeOfCareStatusHistoryType | 1,440 | 1,441 | 1,440 | 1,440 | a3f79ea9680ccaeec12ca9308be305603c979016 | bigcode/the-stack | train |
83e486df328592005600368c | train | class | class PatientLinkType(AbstractType):
__resource_type__ = "PatientLink"
| class PatientLinkType(AbstractType):
| __resource_type__ = "PatientLink"
| _type__ = "Patient"
class PatientAnimalType(AbstractType):
__resource_type__ = "PatientAnimal"
class PatientCommunicationType(AbstractType):
__resource_type__ = "PatientCommunication"
class PatientContactType(AbstractType):
__resource_type__ = "PatientContact"
class PatientLinkType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | PatientLinkType | PatientLinkType | 1,004 | 1,005 | 1,004 | 1,004 | 3614066486c11451080cdde2d3168a23ec4b64a5 | bigcode/the-stack | train |
ee735c7c96bcf82e6d4697c9 | train | class | class ConceptMapContactType(AbstractType):
__resource_type__ = "ConceptMapContact"
| class ConceptMapContactType(AbstractType):
| __resource_type__ = "ConceptMapContact"
| "CompositionAttester"
class CompositionEventType(AbstractType):
__resource_type__ = "CompositionEvent"
class CompositionSectionType(AbstractType):
__resource_type__ = "CompositionSection"
class ConceptMapType(AbstractType):
__resource_type__ = "ConceptMap"
class ConceptMapContactType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ConceptMapContactType | ConceptMapContactType | 896 | 897 | 896 | 896 | cd59f94cce9088fcc2cf94d641bdb2afddff9668 | bigcode/the-stack | train |
f42d2f0cd3dd149bf9d06087 | train | class | class ClaimResponseErrorType(AbstractType):
__resource_type__ = "ClaimResponseError"
| class ClaimResponseErrorType(AbstractType):
| __resource_type__ = "ClaimResponseError"
| = "ClaimResponseAddItemDetail"
class ClaimResponseAddItemDetailAdjudicationType(AbstractType):
__resource_type__ = "ClaimResponseAddItemDetailAdjudication"
class ClaimResponseCoverageType(AbstractType):
__resource_type__ = "ClaimResponseCoverage"
class ClaimResponseErrorType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClaimResponseErrorType | ClaimResponseErrorType | 812 | 813 | 812 | 812 | 147b46c1a7290fb05083d83df16b42620ef777d1 | bigcode/the-stack | train |
46a753707e718a9fe50dc8c3 | train | class | class OrganizationType(AbstractType):
__resource_type__ = "Organization"
| class OrganizationType(AbstractType):
| __resource_type__ = "Organization"
| __resource_type__ = "PatientLink"
class OrderType(AbstractType):
__resource_type__ = "Order"
class OrderWhenType(AbstractType):
__resource_type__ = "OrderWhen"
class OrderResponseType(AbstractType):
__resource_type__ = "OrderResponse"
class OrganizationType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | OrganizationType | OrganizationType | 1,020 | 1,021 | 1,020 | 1,020 | d456b2432c707ae06dfa6ce7528fa0c9ef13249b | bigcode/the-stack | train |
e216e8493fe2263c28d3e6fd | train | class | class ValueSetComposeIncludeConceptType(AbstractType):
__resource_type__ = "ValueSetComposeIncludeConcept"
| class ValueSetComposeIncludeConceptType(AbstractType):
| __resource_type__ = "ValueSetComposeIncludeConcept"
| __resource_type__ = "ValueSetCodeSystemConceptDesignation"
class ValueSetComposeType(AbstractType):
__resource_type__ = "ValueSetCompose"
class ValueSetComposeIncludeType(AbstractType):
__resource_type__ = "ValueSetComposeInclude"
class ValueSetComposeIncludeConceptType(AbstractType):
| 64 | 64 | 23 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ValueSetComposeIncludeConceptType | ValueSetComposeIncludeConceptType | 1,072 | 1,073 | 1,072 | 1,072 | f9eeb340e9b5f14ea92b24fdc8246f0e2f058fb1 | bigcode/the-stack | train |
d49b05f5c56c264b911dfcaf | train | class | class MedicationOrderSubstitutionType(AbstractType):
__resource_type__ = "MedicationOrderSubstitution"
| class MedicationOrderSubstitutionType(AbstractType):
| __resource_type__ = "MedicationOrderSubstitution"
| __resource_type__ = "MedicationOrder"
class MedicationOrderDispenseRequestType(AbstractType):
__resource_type__ = "MedicationOrderDispenseRequest"
class MedicationOrderDosageInstructionType(AbstractType):
__resource_type__ = "MedicationOrderDosageInstruction"
class MedicationOrderSubstitutionType(AbstractT... | 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | MedicationOrderSubstitutionType | MedicationOrderSubstitutionType | 1,572 | 1,573 | 1,572 | 1,572 | 68b418f06373ce86e5743f36d43230a10171bf85 | bigcode/the-stack | train |
1816ec600299b25ffe960edc | train | class | class ObservationRelatedType(AbstractType):
__resource_type__ = "ObservationRelated"
| class ObservationRelatedType(AbstractType):
| __resource_type__ = "ObservationRelated"
| "MedicationStatementDosage"
class ObservationType(AbstractType):
__resource_type__ = "Observation"
class ObservationComponentType(AbstractType):
__resource_type__ = "ObservationComponent"
class ObservationReferenceRangeType(AbstractType):
__resource_type__ = "ObservationReferenceRange"
class Observat... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ObservationRelatedType | ObservationRelatedType | 1,292 | 1,293 | 1,292 | 1,292 | ea2411acd9ff7e2555bcd19aef28e5857b486eae | bigcode/the-stack | train |
818b0e205e4afb6f4e5dc0d3 | train | class | class ClaimCoverageType(AbstractType):
__resource_type__ = "ClaimCoverage"
| class ClaimCoverageType(AbstractType):
| __resource_type__ = "ClaimCoverage"
| Detail"
class CarePlanParticipantType(AbstractType):
__resource_type__ = "CarePlanParticipant"
class CarePlanRelatedPlanType(AbstractType):
__resource_type__ = "CarePlanRelatedPlan"
class ClaimType(AbstractType):
__resource_type__ = "Claim"
class ClaimCoverageType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClaimCoverageType | ClaimCoverageType | 756 | 757 | 756 | 756 | 3adec4735ddb5ad109180d64af546388d6304163 | bigcode/the-stack | train |
2f9332bc12386179c72ad4fb | train | class | class ElementDefinitionExampleType(AbstractType):
__resource_type__ = "ElementDefinitionExample"
| class ElementDefinitionExampleType(AbstractType):
| __resource_type__ = "ElementDefinitionExample"
| Type(AbstractType):
__resource_type__ = "ElementDefinitionSlicingDiscriminator"
class ElementDefinitionTypeType(AbstractType):
__resource_type__ = "ElementDefinitionType"
class ElementDefinitionMappingType(AbstractType):
__resource_type__ = "ElementDefinitionMapping"
class ElementDefinitionExampleType(A... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ElementDefinitionExampleType | ElementDefinitionExampleType | 1,192 | 1,193 | 1,192 | 1,192 | 6b0a09e0736e6260aff1468f329db59940accd36 | bigcode/the-stack | train |
41f70e63662a9aebc3796e99 | train | class | class TimingType(AbstractType):
__resource_type__ = "Timing"
| class TimingType(AbstractType):
| __resource_type__ = "Timing"
| Type(AbstractType):
__resource_type__ = "Quantity"
class RangeType(AbstractType):
__resource_type__ = "Range"
class RatioType(AbstractType):
__resource_type__ = "Ratio"
class SignatureType(AbstractType):
__resource_type__ = "Signature"
class TimingType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | TimingType | TimingType | 584 | 585 | 584 | 584 | 3645f43882301dcd5d9225c2da5e1d0459ef6882 | bigcode/the-stack | train |
08cb6b86d0babbc8f1dc2ec7 | train | class | class SpecimenTreatmentType(AbstractType):
__resource_type__ = "SpecimenTreatment"
| class SpecimenTreatmentType(AbstractType):
| __resource_type__ = "SpecimenTreatment"
| VisionPrescriptionDispenseType(AbstractType):
__resource_type__ = "VisionPrescriptionDispense"
class SpecimenType(AbstractType):
__resource_type__ = "Specimen"
class SpecimenCollectionType(AbstractType):
__resource_type__ = "SpecimenCollection"
class SpecimenTreatmentType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | SpecimenTreatmentType | SpecimenTreatmentType | 1,636 | 1,637 | 1,636 | 1,636 | 8c1ed02d048f8db6745c1b3ffac85636a2078027 | bigcode/the-stack | train |
ea8282c34616ae14cbb45777 | train | class | class ImplementationGuidePageType(AbstractType):
__resource_type__ = "ImplementationGuidePage"
| class ImplementationGuidePageType(AbstractType):
| __resource_type__ = "ImplementationGuidePage"
| GlobalType(AbstractType):
__resource_type__ = "ImplementationGuideGlobal"
class ImplementationGuidePackageType(AbstractType):
__resource_type__ = "ImplementationGuidePackage"
class ImplementationGuidePackageResourceType(AbstractType):
__resource_type__ = "ImplementationGuidePackageResource"
class Implem... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ImplementationGuidePageType | ImplementationGuidePageType | 1,544 | 1,545 | 1,544 | 1,544 | cdce262ad6ae52c3b9ea1ca981d783099c4bd735 | bigcode/the-stack | train |
ced510a0afb08b870bb027d3 | train | class | class EncounterType(AbstractType):
__resource_type__ = "Encounter"
| class EncounterType(AbstractType):
| __resource_type__ = "Encounter"
| "
class ElementDefinitionBindingValueSetType(AbstractType):
__resource_type__ = "ElementDefinitionBindingValueSet"
class EligibilityRequestType(AbstractType):
__resource_type__ = "EligibilityRequest"
class EligibilityResponseType(AbstractType):
__resource_type__ = "EligibilityResponse"
class Encounter... | 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | EncounterType | EncounterType | 1,220 | 1,221 | 1,220 | 1,220 | dc226c7d57bed139a0c8dc9bfaafbaeabcb395f6 | bigcode/the-stack | train |
3fe92d1e8010706d6f11eddd | train | class | class DeviceType(AbstractType):
__resource_type__ = "Device"
| class DeviceType(AbstractType):
| __resource_type__ = "Device"
| (AbstractType):
__resource_type__ = "ContractTermActor"
class ContractTermValuedItemType(AbstractType):
__resource_type__ = "ContractTermValuedItem"
class ContractValuedItemType(AbstractType):
__resource_type__ = "ContractValuedItem"
class DeviceType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DeviceType | DeviceType | 1,368 | 1,369 | 1,368 | 1,368 | 5dc2864b9860f3d39c8e0699c3d8bf8b796f0fc8 | bigcode/the-stack | train |
0c58bb7f5cc53adac66b6de4 | train | class | class AbstractBaseType(dict):
""" """
__fhir_release__: str = "DSTU2"
__resource_type__: str = ... # type: ignore
@classmethod
def __modify_schema__(cls, field_schema: Dict[str, Any]) -> None:
field_schema.update(type=cls.__resource_type__)
@classmethod
def __get_validators__(cls... | class AbstractBaseType(dict):
| """ """
__fhir_release__: str = "DSTU2"
__resource_type__: str = ... # type: ignore
@classmethod
def __modify_schema__(cls, field_schema: Dict[str, Any]) -> None:
field_schema.update(type=cls.__resource_type__)
@classmethod
def __get_validators__(cls) -> "CallableGenerator":
... | def __get_validators__(cls) -> "CallableGenerator":
from . import fhirtypesvalidators
yield getattr(fhirtypesvalidators, cls.__resource_type__.lower() + "_validator")
@classmethod
def is_primitive(cls) -> bool:
""" """
return False
@classmethod
def fhir_type_name(cls)... | 93 | 94 | 315 | 6 | 87 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AbstractBaseType | AbstractBaseType | 403 | 448 | 403 | 403 | 6dde66f9896b216ebb10ae0c48039dc5e53aacb4 | bigcode/the-stack | train |
3526f222eac6b279a0bc0f49 | train | class | class ListEntryType(AbstractType):
__resource_type__ = "ListEntry"
| class ListEntryType(AbstractType):
| __resource_type__ = "ListEntry"
| System"
class NamingSystemContactType(AbstractType):
__resource_type__ = "NamingSystemContact"
class NamingSystemUniqueIdType(AbstractType):
__resource_type__ = "NamingSystemUniqueId"
class ListType(AbstractType):
__resource_type__ = "List"
class ListEntryType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ListEntryType | ListEntryType | 1,608 | 1,609 | 1,608 | 1,608 | b5536a8efe07d0ff00412e236e69514233e96bac | bigcode/the-stack | train |
235206f4a9719a182dc28eb6 | train | class | class ContractType(AbstractType):
__resource_type__ = "Contract"
| class ContractType(AbstractType):
| __resource_type__ = "Contract"
| PackageContent"
class MedicationProductType(AbstractType):
__resource_type__ = "MedicationProduct"
class MedicationProductBatchType(AbstractType):
__resource_type__ = "MedicationProductBatch"
class MedicationProductIngredientType(AbstractType):
__resource_type__ = "MedicationProductIngredient"
class C... | 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ContractType | ContractType | 1,328 | 1,329 | 1,328 | 1,328 | 35c79e67b2452aff9b8824240eb8e51a4e68be00 | bigcode/the-stack | train |
780e5d3049c39318b057ae65 | train | class | class ElementDefinitionType(AbstractType):
__resource_type__ = "ElementDefinition"
| class ElementDefinitionType(AbstractType):
| __resource_type__ = "ElementDefinition"
| resource_type__ = "GoalOutcome"
class GroupType(AbstractType):
__resource_type__ = "Group"
class GroupCharacteristicType(AbstractType):
__resource_type__ = "GroupCharacteristic"
class GroupMemberType(AbstractType):
__resource_type__ = "GroupMember"
class ElementDefinitionType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ElementDefinitionType | ElementDefinitionType | 1,172 | 1,173 | 1,172 | 1,172 | 65cf8e415ad1c46ea2ad0b032810360dd79a1202 | bigcode/the-stack | train |
85d5df96ba7a2b6676364479 | train | class | class AuditEventSourceType(AbstractType):
__resource_type__ = "AuditEventSource"
| class AuditEventSourceType(AbstractType):
| __resource_type__ = "AuditEventSource"
| Type(AbstractType):
__resource_type__ = "AuditEventObjectDetail"
class AuditEventParticipantType(AbstractType):
__resource_type__ = "AuditEventParticipant"
class AuditEventParticipantNetworkType(AbstractType):
__resource_type__ = "AuditEventParticipantNetwork"
class AuditEventSourceType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AuditEventSourceType | AuditEventSourceType | 704 | 705 | 704 | 704 | b76a1236d2e5f9a8a63cc104935f8415ecfac6ea | bigcode/the-stack | train |
caf6d6154ff502ee2d9601ec | train | class | class BundleLinkType(AbstractType):
__resource_type__ = "BundleLink"
| class BundleLinkType(AbstractType):
| __resource_type__ = "BundleLink"
| class BundleEntryRequestType(AbstractType):
__resource_type__ = "BundleEntryRequest"
class BundleEntryResponseType(AbstractType):
__resource_type__ = "BundleEntryResponse"
class BundleEntrySearchType(AbstractType):
__resource_type__ = "BundleEntrySearch"
class BundleLinkType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | BundleLinkType | BundleLinkType | 728 | 729 | 728 | 728 | 12bfb1c5fef0c8b527ca23ed42b5e11982470ada | bigcode/the-stack | train |
0e576fac7b98e9d15b260b21 | train | class | class ImmunizationExplanationType(AbstractType):
__resource_type__ = "ImmunizationExplanation"
| class ImmunizationExplanationType(AbstractType):
| __resource_type__ = "ImmunizationExplanation"
| EncounterStatusHistory"
class EnrollmentRequestType(AbstractType):
__resource_type__ = "EnrollmentRequest"
class EnrollmentResponseType(AbstractType):
__resource_type__ = "EnrollmentResponse"
class ImmunizationType(AbstractType):
__resource_type__ = "Immunization"
class ImmunizationExplanationType(Abs... | 64 | 64 | 20 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ImmunizationExplanationType | ImmunizationExplanationType | 1,252 | 1,253 | 1,252 | 1,252 | bed3b0ffcc1135efbecef8e1da81c7a5e2b2f1a5 | bigcode/the-stack | train |
cabf4dd38c182ba4f1345149 | train | class | class ClinicalImpressionInvestigationsType(AbstractType):
__resource_type__ = "ClinicalImpressionInvestigations"
| class ClinicalImpressionInvestigationsType(AbstractType):
| __resource_type__ = "ClinicalImpressionInvestigations"
| (AbstractType):
__resource_type__ = "ClaimResponseNote"
class ClinicalImpressionType(AbstractType):
__resource_type__ = "ClinicalImpression"
class ClinicalImpressionFindingType(AbstractType):
__resource_type__ = "ClinicalImpressionFinding"
class ClinicalImpressionInvestigationsType(AbstractType):
| 64 | 64 | 23 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClinicalImpressionInvestigationsType | ClinicalImpressionInvestigationsType | 852 | 853 | 852 | 852 | 147d34fe82ed28d2724a0e2ce407d5bca26501f8 | bigcode/the-stack | train |
7d2d242a18f4d665cce8e936 | train | class | class MedicationDispenseSubstitutionType(AbstractType):
__resource_type__ = "MedicationDispenseSubstitution"
| class MedicationDispenseSubstitutionType(AbstractType):
| __resource_type__ = "MedicationDispenseSubstitution"
| __resource_type__ = "ImplementationGuidePage"
class MedicationDispenseType(AbstractType):
__resource_type__ = "MedicationDispense"
class MedicationDispenseDosageInstructionType(AbstractType):
__resource_type__ = "MedicationDispenseDosageInstruction"
class MedicationDispenseSubstitutionType(AbstractType):
| 64 | 64 | 23 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | MedicationDispenseSubstitutionType | MedicationDispenseSubstitutionType | 1,556 | 1,557 | 1,556 | 1,556 | 2d199659aa7633d90435ff988baae9f2b6bbbf76 | bigcode/the-stack | train |
5178d83be20b8a26f33c1827 | train | class | class ElementDefinitionTypeType(AbstractType):
__resource_type__ = "ElementDefinitionType"
| class ElementDefinitionTypeType(AbstractType):
| __resource_type__ = "ElementDefinitionType"
| __resource_type__ = "ElementDefinition"
class ElementDefinitionSlicingType(AbstractType):
__resource_type__ = "ElementDefinitionSlicing"
class ElementDefinitionSlicingDiscriminatorType(AbstractType):
__resource_type__ = "ElementDefinitionSlicingDiscriminator"
class ElementDefinitionTypeType(AbstractType... | 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ElementDefinitionTypeType | ElementDefinitionTypeType | 1,184 | 1,185 | 1,184 | 1,184 | 46c1517fafca0f4cbbd5e4a6636dbf90517f0e9b | bigcode/the-stack | train |
60957acf6442fa8b31f87f47 | train | class | class DiagnosticOrderItemType(AbstractType):
__resource_type__ = "DiagnosticOrderItem"
| class DiagnosticOrderItemType(AbstractType):
| __resource_type__ = "DiagnosticOrderItem"
| "
class DeviceUseStatementType(AbstractType):
__resource_type__ = "DeviceUseStatement"
class DiagnosticOrderType(AbstractType):
__resource_type__ = "DiagnosticOrder"
class DiagnosticOrderEventType(AbstractType):
__resource_type__ = "DiagnosticOrderEvent"
class DiagnosticOrderItemType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DiagnosticOrderItemType | DiagnosticOrderItemType | 1,428 | 1,429 | 1,428 | 1,428 | b6ec592a3cefa6932999783eba5b69b3cf82c473 | bigcode/the-stack | train |
670af69b30731f110ada6d94 | train | class | class DeviceComponentProductionSpecificationType(AbstractType):
__resource_type__ = "DeviceComponentProductionSpecification"
| class DeviceComponentProductionSpecificationType(AbstractType):
| __resource_type__ = "DeviceComponentProductionSpecification"
| class DataElementContactType(AbstractType):
__resource_type__ = "DataElementContact"
class DataElementMappingType(AbstractType):
__resource_type__ = "DataElementMapping"
class DeviceComponentType(AbstractType):
__resource_type__ = "DeviceComponent"
class DeviceComponentProductionSpecificationType(Abstra... | 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DeviceComponentProductionSpecificationType | DeviceComponentProductionSpecificationType | 1,400 | 1,401 | 1,400 | 1,400 | a2fbae1024108ae0cc28391bd9ab2e6863805b4b | bigcode/the-stack | train |
12f8310e47a4868cdf78c318 | train | class | class AgeType(AbstractType):
__resource_type__ = "Age"
| class AgeType(AbstractType):
| __resource_type__ = "Age"
| Type):
__resource_type__ = "Signature"
class TimingType(AbstractType):
__resource_type__ = "Timing"
class TimingRepeatType(AbstractType):
__resource_type__ = "TimingRepeat"
class DurationType(AbstractType):
__resource_type__ = "Duration"
class AgeType(AbstractType):
| 64 | 64 | 15 | 6 | 58 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AgeType | AgeType | 596 | 597 | 596 | 596 | 753db592026084ac89485866895d49bff9f00d24 | bigcode/the-stack | train |
de867bc47b08bef4c8ab66aa | train | class | class ClinicalImpressionFindingType(AbstractType):
__resource_type__ = "ClinicalImpressionFinding"
| class ClinicalImpressionFindingType(AbstractType):
| __resource_type__ = "ClinicalImpressionFinding"
| __resource_type__ = "ClaimResponseItemDetailSubDetailAdjudication"
class ClaimResponseNoteType(AbstractType):
__resource_type__ = "ClaimResponseNote"
class ClinicalImpressionType(AbstractType):
__resource_type__ = "ClinicalImpression"
class ClinicalImpressionFindingType(AbstractType):
| 64 | 64 | 21 | 9 | 55 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClinicalImpressionFindingType | ClinicalImpressionFindingType | 848 | 849 | 848 | 848 | 39e57a11d64ca62a64d3ce31d75c4788292a6224 | bigcode/the-stack | train |
bbef7c136a92d5164a2e28cc | train | class | class AppointmentParticipantType(AbstractType):
__resource_type__ = "AppointmentParticipant"
| class AppointmentParticipantType(AbstractType):
| __resource_type__ = "AppointmentParticipant"
| class AllergyIntoleranceType(AbstractType):
__resource_type__ = "AllergyIntolerance"
class AllergyIntoleranceReactionType(AbstractType):
__resource_type__ = "AllergyIntoleranceReaction"
class AppointmentType(AbstractType):
__resource_type__ = "Appointment"
class AppointmentParticipantType(AbstractType):... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | AppointmentParticipantType | AppointmentParticipantType | 672 | 673 | 672 | 672 | 05595d97b6e070c1a9cc189a4e7bc9bc8180e86a | bigcode/the-stack | train |
4bb4fed078ac6dab77598e50 | train | class | class DiagnosticOrderEventType(AbstractType):
__resource_type__ = "DiagnosticOrderEvent"
| class DiagnosticOrderEventType(AbstractType):
| __resource_type__ = "DiagnosticOrderEvent"
| "
class DeviceUseRequestType(AbstractType):
__resource_type__ = "DeviceUseRequest"
class DeviceUseStatementType(AbstractType):
__resource_type__ = "DeviceUseStatement"
class DiagnosticOrderType(AbstractType):
__resource_type__ = "DiagnosticOrder"
class DiagnosticOrderEventType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | DiagnosticOrderEventType | DiagnosticOrderEventType | 1,424 | 1,425 | 1,424 | 1,424 | 8efe7df7fad2f0a5ddd08ae7b57cdeeecbaefbeb | bigcode/the-stack | train |
a120f6af2db580b9a9bea8ea | train | class | class ClaimItemProsthesisType(AbstractType):
__resource_type__ = "ClaimItemProsthesis"
| class ClaimItemProsthesisType(AbstractType):
| __resource_type__ = "ClaimItemProsthesis"
| Type):
__resource_type__ = "ClaimItem"
class ClaimItemDetailType(AbstractType):
__resource_type__ = "ClaimItemDetail"
class ClaimItemDetailSubDetailType(AbstractType):
__resource_type__ = "ClaimItemDetailSubDetail"
class ClaimItemProsthesisType(AbstractType):
| 64 | 64 | 23 | 10 | 54 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClaimItemProsthesisType | ClaimItemProsthesisType | 776 | 777 | 776 | 776 | 939a20cfa4e2d9f64360aa3fc35fbe8803341fa6 | bigcode/the-stack | train |
ce62c98640e577eef4a494cb | train | class | class RelatedPersonType(AbstractType):
__resource_type__ = "RelatedPerson"
| class RelatedPersonType(AbstractType):
| __resource_type__ = "RelatedPerson"
| TermValuedItemType(AbstractType):
__resource_type__ = "ContractTermValuedItem"
class ContractValuedItemType(AbstractType):
__resource_type__ = "ContractValuedItem"
class DeviceType(AbstractType):
__resource_type__ = "Device"
class RelatedPersonType(AbstractType):
| 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | RelatedPersonType | RelatedPersonType | 1,372 | 1,373 | 1,372 | 1,372 | 0ac6f11844491f997416f67bd66a4e4a544f89eb | bigcode/the-stack | train |
7f755c869ba5e8fd41c13046 | train | class | class CompositionSectionType(AbstractType):
__resource_type__ = "CompositionSection"
| class CompositionSectionType(AbstractType):
| __resource_type__ = "CompositionSection"
| = "CommunicationRequestPayload"
class CompositionType(AbstractType):
__resource_type__ = "Composition"
class CompositionAttesterType(AbstractType):
__resource_type__ = "CompositionAttester"
class CompositionEventType(AbstractType):
__resource_type__ = "CompositionEvent"
class CompositionSectionType(A... | 64 | 64 | 17 | 7 | 57 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | CompositionSectionType | CompositionSectionType | 888 | 889 | 888 | 888 | 05c853803a136e821bb2b2a317bcc77797337d69 | bigcode/the-stack | train |
df6decc71b0c7f6d7bc08296 | train | class | class ClaimResponseCoverageType(AbstractType):
__resource_type__ = "ClaimResponseCoverage"
| class ClaimResponseCoverageType(AbstractType):
| __resource_type__ = "ClaimResponseCoverage"
| Adjudication"
class ClaimResponseAddItemDetailType(AbstractType):
__resource_type__ = "ClaimResponseAddItemDetail"
class ClaimResponseAddItemDetailAdjudicationType(AbstractType):
__resource_type__ = "ClaimResponseAddItemDetailAdjudication"
class ClaimResponseCoverageType(AbstractType):
| 64 | 64 | 19 | 8 | 56 | iatechicken/fhir.resources | fhir/resources/DSTU2/fhirtypes.py | Python | ClaimResponseCoverageType | ClaimResponseCoverageType | 808 | 809 | 808 | 808 | 8c7c08bd33c801533a1b737f7ba1a89ee0fbb90e | bigcode/the-stack | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.