コード例 #1
0
class Expression(Element):

    description = Property('description', str)
    name = Property('name', str)
    language = Property('language', str, required=True)
    expression = Property('expression', str)
    reference = Property('reference', str)
コード例 #2
0
class Quantity(Element):

    value = Property('value', float)
    comparator = Property('comparator', str)  # < | <= | >= | >
    unit = Property('unit', str)
    system = Property('system', str)
    code = Property('code', str)
コード例 #3
0
class ConditionStage(BackboneElement):

    summary = Property('summary', 'CodeableConcept')
    assessment = Property(
        'assessment', 'Reference',
        count_max='*')  # referencing 'ClinicalImpression', ...
    type = Property('type', 'CodeableConcept')
コード例 #4
0
class Coding(Element):

    system = Property('system', str)
    version = Property('version', str)
    code = Property('code', str)
    display = Property('display', str)
    userSelected = Property('userSelected', bool)
コード例 #5
0
class ClaimResponseItemDetailSubDetail(BackboneElement):

    subDetailSequence = Property('subDetailSequence', int, required=True)
    noteNumber = Property('noteNumber', int, count_max="*")
    adjudication = Property('adjudication',
                            'ClaimResponseItemAdjudication',
                            count_max="*")
コード例 #6
0
class PatientLink(BackboneElement):

    other = Property(
        'other', 'Reference',
        required=True)  # referencing 'Patient' and 'RelatedPerson'
    type = Property('type', str,
                    required=True)  # replaced-by | replaces | refer | seealso
コード例 #7
0
class BundleEntryResponse(BackboneElement):

    status = Property('status', str, required=True)
    location = Property('location', str)
    etag = Property('etag', str)
    lastModified = Property('lastModified', 'FHIRDate')
    outcome = Property('outcome', 'Resource')
コード例 #8
0
class ClaimAccident(BackboneElement):

    date = Property('date', 'FHIRDate', required=True)
    type = Property('type', 'CodeableConcept')
    locationAddress = Property('locationAddress', 'Address')
    locationReference = Property('locationReference',
                                 'Reference')  # referencing `Location`
コード例 #9
0
class CommunicationRequestPayload(BackboneElement):

    contentString = Property('contentString', str, required=True)
    contentAttachment = Property('contentAttachment',
                                 'Attachment',
                                 required=True)
    contentReference = Property('contentReference', 'Reference',
                                required=True)  # referencing `Any`
コード例 #10
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')
コード例 #11
0
class ContractRule(BackboneElement):

    contentAttachment = Property('contentAttachment',
                                 'Attachment',
                                 required=True)
    contentReference = Property(
        'contentReference', 'Reference',
        required=True)  # referencing 'DocumentReference'
コード例 #12
0
class ContractLegal(BackboneElement):

    contentAttachment = Property('contentAttachment',
                                 'Attachment',
                                 required=True)
    contentReference = Property(
        'contentReference', 'Reference',
        required=True)  # referencing 'Composition', ...
コード例 #13
0
class CoverageEligibilityResponseInsurance(BackboneElement):

    coverage = Property('coverage', 'Reference',
                        required=True)  # referencing 'Coverage'
    inforce = Property('inforce', bool)
    benefitPeriod = Property('benefitPeriod', 'Period')
    item = Property('item',
                    'CoverageEligibilityResponseInsuranceItem',
                    count_max='*')
コード例 #14
0
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)
    claimResponse = Property('claimResponse',
                             'Reference')  # referencing `ClaimResponse`
コード例 #15
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')
コード例 #16
0
class ClaimResponseItem(BackboneElement):

    itemSequence = Property('itemSequence', int, required=True)
    noteNumber = Property('noteNumber', int, count_max="*")
    adjudication = Property('adjudication',
                            'ClaimResponseItemAdjudication',
                            required=True,
                            count_max='*')
    detail = Property('detail', 'ClaimResponseItemDetail', count_max="*")
コード例 #17
0
class MedicationIngredient(BackboneElement):

    itemCodeableConcept = Property('itemCondeableConcept',
                                   'CodeableConcept',
                                   required=True)
    itemReference = Property(
        'itemReference', 'Reference',
        required=True)  # referencing 'Substance' and 'Medication'
    isActive = Property('isActive', bool)
    strength = Property('strength', 'Ratio')
コード例 #18
0
class ContractSigner(BackboneElement):

    type = Property('type', 'Coding', required=True)
    party = Property(
        'party', 'Reference',
        required=True)  # referencing 'Organization', 'Patient', ...
    signature = Property('signature',
                         'Signature',
                         required=True,
                         count_max='*')
コード例 #19
0
class ContactPoint(Element):

    system = Property(
        'system', str
    )  # ContactPointSystem (phone | fax | email | pager | url | sms | other)
    value = Property('value', str)
    use = Property('use',
                   str)  # ContactPointUse (home | work | temp | old | mobile)
    rank = Property('rank', int)  # 1 = highest
    period = Property('period', 'Period')
コード例 #20
0
class CoverageEligibilityRequestItem(BackboneElement):

    supportingInfoSequence = Property('supportingInfoSequence', int, count_max='*')
    category = Property('category', 'CodeableConcept')                                                          # mapped
    productOrService = Property('productOrService', 'CodeableConcept')                                          # mapped
    modifier = Property('modifier', 'CodeableConcept', count_max='*')
    provider = Property('provider', 'Reference')  # referencing 'Practitioner' and 'PractitionerRole'
    quantity = Property('quantity', 'Quantity')
    unitPrice = Property('unitPrice', 'Money')
    facility = Property('facility', 'Reference')  # referencing 'Location' and 'Organization'
    diagnosisCodeableConcept = Property('diagnosisCodeableConcept', 'CodeableConcept')
    diagnosisReference = Property('diagnosisReference', 'Reference')  # referencing 'Condition'
コード例 #21
0
class Address(Element):

    use = Property('use', str)  # home | work | temp | old | billing
    type = Property('type', str)  # postal | physical | both
    text = Property('text', str)
    line = Property('line', str, count_max='*')
    city = Property('city', str)
    district = Property('district', str)
    state = Property('state', str)
    postalCode = Property('postalCode', str)
    country = Property('country', str)
    period = Property('period', 'Period')
コード例 #22
0
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='*')
コード例 #23
0
class ContractTermOffer(BackboneElement):

    identifier = Property('identifier', 'Identifier', count_max='*')
    party = Property('party', 'ContractTermOfferParty', count_max='*')
    topic = Property('topic', 'Reference')  # referencing 'Any'
    type = Property('type', 'CodeableConcept')
    decision = Property('decision', 'CodeableConcept')
    decisionMode = Property('decisionMode', 'CodeableConcept', count_max='*')
    answer = Property('answer', 'ContractTermOfferAnswer', count_max='*')
    text = Property('text', str)
    linkId = Property('linkId', str, count_max='*')
    securityLabelNumber = Property('securityLabelNumber',
                                   'ContractTermSecurityLabel',
                                   count_max='*')
コード例 #24
0
class Attachment(Element):

    contentType = Property('contentType', str)
    language = Property('language', str)
    data = Property('data', str)  # Data inline, base64ed
    url = Property('url', str)
    size = Property('size', int)
    hash = Property('hash', str)  # Hash of the data (sha-1, base64ed
    title = Property('title', str)
    creation = Property('creation', 'FHIRDate')
コード例 #25
0
class Medication(DomainResource):

    identifier = Property('identifier', 'Identifier', count_max='*')
    code = Property('code', 'CodeableConcept')
    status = Property('status', str)
    manufacturer = Property('manufacturer',
                            'Reference')  # referencing 'Organization'
    form = Property('form', 'CodeableConcept')
    amount = Property('amount', 'Ratio')
    ingredient = Property('ingredient', 'MedicationIngredient', count_max='*')
    batch = Property('batch', 'MedicationBatch')
コード例 #26
0
class SampledData(Element):

    origin = Property('origin', 'Quantity', required=True)
    period = Property('period', float, required=True)
    factor = Property('factor', float)
    lowerLimit = Property('lowerLimit', float)
    upperLimit = Property('upperLimit', float)
    dimensions = Property('dimensions', int, required=True)
    data = Property('data', str)  # "E" | "U" | "L"
コード例 #27
0
class CoverageEligibilityResponseInsuranceItemBenefit(BackboneElement):

    type = Property('type', 'CodeableConcept', required=True)
    allowedUnsignedInt = Property('allowedUnsignedInt', int)
    allowedString = Property('allowedString', str)
    allowedMoney = Property('allowedMoney', 'Money')
    usedUnsignedInt = Property('usedUnsignedInt', int)
    usedString = Property('usedString', str)
    usedMoney = Property('usedMoney', 'Money')
コード例 #28
0
class Signature(Element):

    type = Property('type', 'Coding', required=True, count_max='*')
    when = Property('when', 'FHIRDate', required=True)
    who = Property('who', 'Reference', required=True)  # referencing 'Practitioner', 'PractitionerRole', ...
    onBehalfOf = Property('onBehalfOf', 'Reference')  # referencing 'Practitioner', 'PractitionerRole', ...
    targetFormat = Property('targetFormat', str)
    sigFormat = Property('sigFormat', str)
    data = Property('data', str)
コード例 #29
0
class RelatedArtifact(Element):

    type = Property('type', str, required=True)
    label = Property('label', str)
    display = Property('display', str)
    citation = Property('citation', str)
    url = Property('url', str)
    document = Property('document', 'Attachment')
    resource = Property('resource', str)  # canonical 'Any'
コード例 #30
0
class HumanName(Element):

    use = Property('use', str)  # NameUse
    text = Property('text', str)
    family = Property('family', str)
    given = Property('given', str, count_max='*')
    prefix = Property('prefix', str, count_max='*')
    suffix = Property('suffix', str, count_max='*')
    period = Property('period', 'Period')