Пример #1
0
class Meta(Element):

    lastUpdated = Property('lastUpdated', 'FHIRDate')
    profile = Property('profile', str, count_max='*')
    security = Property('security', 'Coding', count_max='*')
    tag = Property('tag', 'Coding', count_max='*')
    versionId = Property('versionId', str)
class ClaimResponseItemSubDetail(BackboneElement):

    sequenceLinkId = Property('sequence', int, required=True)
    noteNumber = Property('noteNumber', int, count_max="*")
    adjudication = Property('adjudication',
                            'ClaimResponseItemAdjudication',
                            count_max="*")
class EligibilityResponseInsurance(BackboneElement):

    coverage = Property('coverage', 'Reference')
    contract = Property('contract', 'Reference')
    benefitBalance = Property('benefitBalance',
                              'InsuranceBenefitBalance',
                              count_max='*')
Пример #4
0
class Coding(Element):

    code = Property('code', str)
    display = Property('display', str)
    system = Property('system', str)
    userSelected = Property('userSelected', bool)
    version = Property('version', str)
class CommunicationRequestRequester(BackboneElement):

    agent = Property(
        'agent', 'Reference'
    )  # referencing `Practitioner | Organization | Patient | RelatedPerson ...`
    onBehalfOf = Property('onBehalfOf',
                          'Reference')  # referencing `Organization`
Пример #6
0
class ClaimAccident(BackboneElement):

    date = Property('date', 'FHIRDate', required=True)
    type = Property('type', 'CodeableConcept')
    locationAddress = Property('locationAddress', 'Address')
    locationReference = Property('locationReference',
                                 'Reference')  # referencing `Location`
Пример #7
0
class ClaimPayee(BackboneElement):

    type = Property('type', 'CodeableConcept')
    resourceType = Property('resourceType', 'Coding')
    party = Property(
        'party', 'Reference'
    )  # referencing `Practitioner` | `Organization` | `Patient` | `RelatedPerson`
Пример #8
0
class Quantity(Element):

    code = Property('code', str)
    comparator = Property('comparator', str)  # < | <= | >= | >
    system = Property('system', str)
    unit = Property('unit', str)
    value = Property('value', float)
Пример #9
0
class DomainResource(Resource):

    contained = Property('contained', Resource, count_max='*')
    extension = Property('extension', 'Extension', count_max='*')
    modifierExtension = Property('modifierExtension',
                                 'Extension',
                                 count_max='*')
    text = Property('text', 'Narrative')
Пример #10
0
class ClaimProcedure(BackboneElement):

    sequence = Property('sequence', int, required=True)
    date = Property('date', 'FHIRDate')
    procedureCodeableConcept = Property('procedureCodeableConcept',
                                        'CodeableConcept')
    procedureReference = Property('procedureReference',
                                  'Reference')  # referencing `Procedure`
Пример #11
0
class ContractSigner(BackboneElement):
    type = Property('type', 'Coding', required=True)
    party = Property(
        'party', 'Reference', required=True
    )  # referencing `Organization` | `Patient` | `Practitioner` ...
    signature = Property('signature',
                         'Signature',
                         required=True,
                         count_max='*')
Пример #12
0
class ClaimDiagnosis(BackboneElement):

    sequence = Property('sequence', int, required=True)
    diagnosisCodeableConcept = Property('diagnosisCodeableConcept',
                                        'CodeableConcept')
    diagnosisReference = Property('diagnosisReference',
                                  'Reference')  # referencing `Condition`
    type = Property('type', 'CodeableConcept', count_max='*')
    packageCode = Property('packageCode', 'CodeableConcept')
Пример #13
0
class ClaimCareTeam(BackboneElement):

    sequence = Property('sequence', int, required=True)
    provider = Property(
        'provider', 'Reference',
        required=True)  # referencing `Practitioner` | `Organization`
    responsible = Property('responsible', bool)
    role = Property('role', 'CodeableConcept')
    qualification = Property('qualification', 'CodeableConcept')
Пример #14
0
class ContactPoint(Element):

    period = Property('period', 'Period')
    rank = Property('rank', int)  # 1 = highest
    system = Property(
        'system', str
    )  # ContactPointSystem (phone | fax | email | pager | url | sms | other)
    use = Property('use',
                   str)  # ContactPointUse (home | work | temp | old | mobile)
    value = Property('value', str)
Пример #15
0
class Address(Element):

    city = Property('city', str)
    country = Property('country', str)
    district = Property('district', str)
    line = Property('line', str, count_max='*')
    period = Property('period', 'Period')
    postalCode = Property('postalCode', str)
    state = Property('state', str)
    text = Property('text', str)
    type = Property('type', str)  # postal | physical | both
    use = Property('use', str)  # home | work | temp | old
Пример #16
0
class ClaimInformation(BackboneElement):

    sequence = Property('sequence', int, required=True)
    category = Property('category', 'CodeableConcept', required=True)
    code = Property('code', 'CodeableConcept')
    timingDate = Property('timingDate', 'FHIRDate')
    timingPeriod = Property('timingPeriod', 'Period')
    valueString = Property('valueString', str)
    valueQuantity = Property('valueString', 'Quantity')
    valueAttachment = Property('valueString', 'Attachment')
    valueReference = Property('valueReference',
                              'Reference')  # referencing `Any`
    reason = Property('reason', 'CodeableConcept')
class Practitioner(DomainResource):

    identifier = Property('identifier', 'Identifier', count_max='*')
    active = Property('active', bool)
    name = Property('name', 'HumanName', count_max='*')
    telecom = Property('telecom', 'ContactPoint', count_max='*')
    address = Property('address', 'Address', count_max='*')
    gender = Property('gender', str)  # AdministrativeGender
    birthDate = Property('birthDate', 'FHIRDate')
    photo = Property('photo', 'Attachment', count_max='*')
    qualification = Property('qualification',
                             'PractitionerQualification',
                             count_max='*')
    communication = Property('communication', 'CodeableConcept', count_max='*')
Пример #18
0
class ContractValuedItem(BackboneElement):
    entityCodeableConcept = Property('entityCodeableConcept',
                                     'CodeableConcept')
    entityReference = Property('entityReference',
                               'Reference')  # referencing `Any`
    identifier = Property('identifier', 'Identifier')
    effectiveTime = Property('effectiveTime', 'FHIRDate')
    quantity = Property('quantity', 'Quantity')
    unitPrice = Property('unitPrice', 'Money')
    factor = Property('factor', float)
    points = Property('points', float)
    net = Property('net', 'Money')
class InsuranceBenefitBalance(BackboneElement):

    category = Property('category', 'CodeableConcept', required=True)
    subCategory = Property('subCategory', 'CodeableConcept')
    excluded = Property('excluded', bool)
    name = Property('name', str)
    description = Property('description', str)
    network = Property('network', 'CodeableConcept')
    unit = Property('unit', 'CodeableConcept')
    term = Property('term', 'CodeableConcept')
    financial = Property('financial',
                         'InsuranceBenefitBalanceFinancial',
                         count_max='*')
class ClaimResponseAddItem(BackboneElement):

    sequenceLinkId = Property('sequenceLinkId', int, count_max='*')
    revenue = Property('revenue', 'CodeableConcept')
    category = Property('category', 'CodeableConcept')
    service = Property('service', 'CodeableConcept')
    modifier = Property('modifier', 'CodeableConcept', count_max='*')
    fee = Property('fee', 'Money')
    noteNumber = Property('noteNumber', int, count_max="*")
    adjudication = Property('adjudication',
                            'ClaimResponseItemAdjudication',
                            count_max="*")
    detail = Property('detail', 'ClaimResponseAddItemDetail', count_max="*")
Пример #21
0
class Attachment(Element):

    contentType = Property('contentType', str)
    creation = Property('creation', 'FHIRDate')
    data = Property('data', str)  # Data inline, base64ed
    hash = Property('hash', str)  # Hash of the data (sha-1, base64ed
    language = Property('language', str)
    size = Property('size', int)
    title = Property('title', str)
    url = Property('url', str)
Пример #22
0
class SampledData(Element):

    data = Property('data', str)  # "E" | "U" | "L"
    dimensions = Property('dimensions', int)
    factor = Property('factor', float)
    lowerLimit = Property('lowerLimit', float)
    origin = Property('origin', 'Quantity')
    period = Property('period', float)
    upperLimit = Property('upperLimit', float)
Пример #23
0
class HumanName(Element):

    family = Property('family', str)
    given = Property('given', str, count_max='*')
    period = Property('period', 'Period')
    prefix = Property('prefix', str, count_max='*')
    suffix = Property('suffix', str, count_max='*')
    text = Property('text', str)
    use = Property('use', str)  # NameUse
Пример #24
0
class PatientContact(BackboneElement):

    address = Property('address', 'Address')
    gender = Property('gender', str)  # male | female | other | unknown
    name = Property('name', 'HumanName')
    organization = Property('organization', 'Reference')
    period = Property('period', 'Period')
    relationship = Property('relationship', 'CodeableConcept', count_max='*')
    telecom = Property('telecom', 'ContactPoint', count_max='*')
Пример #25
0
class Signature(Element):

    blob = Property('blob', str)
    contentType = Property('contentType', str)
    onBehalfOfReference = Property(
        'onBehalfOfReference', 'Reference'
    )  # referencing `Practitioner, RelatedPerson, Patient, Device, Organization`
    onBehalfOfUri = Property('onBehalfOfUri', str)
    type = Property('type', 'Coding', count_max='*')
    when = Property('when', 'FHIRDate')
    whoReference = Property(
        'whoReference', 'Reference'
    )  # referencing `Practitioner, RelatedPerson, Patient, Device, Organization`
    whoUri = Property('whoUri', str)
Пример #26
0
class OperationOutcomeIssue(BackboneElement):

    severity = Property('severity', str, required=True)
    code = Property('code', str, required=True)
    details = Property('details', 'CodeableConcept')
    diagnostics = Property('diagnostics', str)
    location = Property('location', str, count_max='*')
    expression = Property('expression', str, count_max='*')
class InsuranceBenefitBalanceFinancial(BackboneElement):

    type = Property('type', 'CodeableConcept', required=True)
    allowedUnsignedInt = Property('allowedUnsignedInt', int)
    allowedString = Property('allowedString', str)
    allowedMoney = Property('allowedMoney', 'Money')
    usedUnsignedInt = Property('usedUnsignedInt', int)
    usedMoney = Property('usedMoney', 'Money')
class ClaimResponsePayment(BackboneElement):

    type = Property('type', 'CodeableConcept')
    adjustment = Property('adjustment', 'Money')
    adjustmentReason = Property('adjustmentReason', 'CodeableConcept')
    date = Property('date', 'FHIRDate')
    amount = Property('amount', 'Money')
    identifier = Property('identifier', 'Identifier')
Пример #29
0
class Identifier(Element):

    use = Property('use', str)  # IdentifierUse
    type = Property('type', 'CodeableConcept')
    system = Property('system', str)
    value = Property('value', str)
    period = Property('period', 'Period')
    assigner = Property('assigner', 'Reference')  # referencing `Organization`
class ClaimResponseInsurance(BackboneElement):

    sequence = Property('sequence', int, required=True)
    focal = Property('focal', bool, required=True)
    coverage = Property('coverage', 'Reference',
                        required=True)  # referencing `Coverage`
    businessArrangement = Property('businessArrangement', str)
    preAuthRef = Property('preAuthRef', str, count_max='*')
    claimResponse = Property('claimResponse',
                             'Reference')  # referencing `ClaimResponse`