/client-py-scripts

Python scripts for manipulating the client-py Data Model

Primary LanguagePython

client-py-sripts output:

dot list =
[   'patient.implicitRules=str',
'patient.language=str',
'patient.meta.lastUpdated=FHIRDate',
'patient.meta.profile_0=str',
'patient.meta.security_0.code=str',
'patient.meta.security_0.display=str',
'patient.meta.security_0.system=str',
'patient.meta.security_0.userSelected=bool',
'patient.meta.security_0.version=str',
'patient.meta.tag_0.code=str',
'patient.meta.tag_0.display=str',
'patient.meta.tag_0.system=str',
'patient.meta.tag_0.userSelected=bool',
'patient.meta.tag_0.version=str',
'patient.meta.versionId=str',
'patient.text.div=str',
'patient.text.status=str',
'patient.active=bool',
'patient.address_0.city=str',
'patient.address_0.country=str',
'patient.address_0.district=str',
'patient.address_0.line_0=str',
'patient.address_0.period.end=FHIRDate',
'patient.address_0.period.start=FHIRDate',
'patient.address_0.postalCode=str',
'patient.address_0.state=str',
'patient.address_0.text=str',
'patient.address_0.type=str',
'patient.address_0.use=str',
'patient.animal.breed.coding_0.code=str',
'patient.animal.breed.coding_0.display=str',
'patient.animal.breed.coding_0.system=str',
'patient.animal.breed.coding_0.userSelected=bool',
'patient.animal.breed.coding_0.version=str',
'patient.animal.breed.text=str',
'patient.animal.genderStatus.coding_0.code=str',
'patient.animal.genderStatus.coding_0.display=str',
'patient.animal.genderStatus.coding_0.system=str',
'patient.animal.genderStatus.coding_0.userSelected=bool',
'patient.animal.genderStatus.coding_0.version=str',
'patient.animal.genderStatus.text=str',
'patient.animal.species.coding_0.code=str',
'patient.animal.species.coding_0.display=str',
'patient.animal.species.coding_0.system=str',
'patient.animal.species.coding_0.userSelected=bool',
'patient.animal.species.coding_0.version=str',
'patient.animal.species.text=str',
'patient.birthDate=FHIRDate',
'patient.communication_0.language.coding_0.code=str',
'patient.communication_0.language.coding_0.display=str',
'patient.communication_0.language.coding_0.system=str',
'patient.communication_0.language.coding_0.userSelected=bool',
'patient.communication_0.language.coding_0.version=str',
'patient.communication_0.language.text=str',
'patient.communication_0.preferred=bool',
'patient.contact_0.address.city=str',
'patient.contact_0.address.country=str',
'patient.contact_0.address.district=str',
'patient.contact_0.address.line_0=str',
'patient.contact_0.address.period.end=FHIRDate',
'patient.contact_0.address.period.start=FHIRDate',
'patient.contact_0.address.postalCode=str',
'patient.contact_0.address.state=str',
'patient.contact_0.address.text=str',
'patient.contact_0.address.type=str',
'patient.contact_0.address.use=str',
'patient.contact_0.gender=str',
'patient.contact_0.name.family=str',
'patient.contact_0.name.given_0=str',
'patient.contact_0.name.period.end=FHIRDate',
'patient.contact_0.name.period.start=FHIRDate',
'patient.contact_0.name.prefix_0=str',
'patient.contact_0.name.suffix_0=str',
'patient.contact_0.name.text=str',
'patient.contact_0.name.use=str',
'patient.contact_0.organization.display=str',
'patient.contact_0.organization.identifier.period.end=FHIRDate',
'patient.contact_0.organization.identifier.period.start=FHIRDate',
'patient.contact_0.organization.identifier.system=str',
'patient.contact_0.organization.identifier.type.coding_0.code=str',
'patient.contact_0.organization.identifier.type.coding_0.display=str',
'patient.contact_0.organization.identifier.type.coding_0.system=str',
'patient.contact_0.organization.identifier.type.coding_0.userSelected=bool',
'patient.contact_0.organization.identifier.type.coding_0.version=str',
'patient.contact_0.organization.identifier.type.text=str',
'patient.contact_0.organization.identifier.use=str',
'patient.contact_0.organization.identifier.value=str',
'patient.contact_0.organization.reference=str',
'patient.contact_0.period.end=FHIRDate',
'patient.contact_0.period.start=FHIRDate',
'patient.contact_0.relationship_0.coding_0.code=str',
'patient.contact_0.relationship_0.coding_0.display=str',
'patient.contact_0.relationship_0.coding_0.system=str',
'patient.contact_0.relationship_0.coding_0.userSelected=bool',
'patient.contact_0.relationship_0.coding_0.version=str',
'patient.contact_0.relationship_0.text=str',
'patient.contact_0.telecom_0.period.end=FHIRDate',
'patient.contact_0.telecom_0.period.start=FHIRDate',
'patient.contact_0.telecom_0.rank=int',
'patient.contact_0.telecom_0.system=str',
'patient.contact_0.telecom_0.use=str',
'patient.contact_0.telecom_0.value=str',
'patient.deceasedBoolean=bool',
'patient.deceasedDateTime=FHIRDate',
'patient.gender=str',
'patient.generalPractitioner_0.display=str',
'patient.generalPractitioner_0.identifier.period.end=FHIRDate',
'patient.generalPractitioner_0.identifier.period.start=FHIRDate',
'patient.generalPractitioner_0.identifier.system=str',
'patient.generalPractitioner_0.identifier.type.coding_0.code=str',
'patient.generalPractitioner_0.identifier.type.coding_0.display=str',
'patient.generalPractitioner_0.identifier.type.coding_0.system=str',
'patient.generalPractitioner_0.identifier.type.coding_0.userSelected=bool',
'patient.generalPractitioner_0.identifier.type.coding_0.version=str',
'patient.generalPractitioner_0.identifier.type.text=str',
'patient.generalPractitioner_0.identifier.use=str',
'patient.generalPractitioner_0.identifier.value=str',
'patient.generalPractitioner_0.reference=str',
'patient.identifier_0.period.end=FHIRDate',
'patient.identifier_0.period.start=FHIRDate',
'patient.identifier_0.system=str',
'patient.identifier_0.type.coding_0.code=str',
'patient.identifier_0.type.coding_0.display=str',
'patient.identifier_0.type.coding_0.system=str',
'patient.identifier_0.type.coding_0.userSelected=bool',
'patient.identifier_0.type.coding_0.version=str',
'patient.identifier_0.type.text=str',
'patient.identifier_0.use=str',
'patient.identifier_0.value=str',
'patient.link_0.other.display=str',
'patient.link_0.other.identifier.period.end=FHIRDate',
'patient.link_0.other.identifier.period.start=FHIRDate',
'patient.link_0.other.identifier.system=str',
'patient.link_0.other.identifier.type.coding_0.code=str',
'patient.link_0.other.identifier.type.coding_0.display=str',
'patient.link_0.other.identifier.type.coding_0.system=str',
'patient.link_0.other.identifier.type.coding_0.userSelected=bool',
'patient.link_0.other.identifier.type.coding_0.version=str',
'patient.link_0.other.identifier.type.text=str',
'patient.link_0.other.identifier.use=str',
'patient.link_0.other.identifier.value=str',
'patient.link_0.other.reference=str',
'patient.link_0.type=str',
'patient.managingOrganization.display=str',
'patient.managingOrganization.identifier.period.end=FHIRDate',
'patient.managingOrganization.identifier.period.start=FHIRDate',
'patient.managingOrganization.identifier.system=str',
'patient.managingOrganization.identifier.type.coding_0.code=str',
'patient.managingOrganization.identifier.type.coding_0.display=str',
'patient.managingOrganization.identifier.type.coding_0.system=str',
'patient.managingOrganization.identifier.type.coding_0.userSelected=bool',
'patient.managingOrganization.identifier.type.coding_0.version=str',
'patient.managingOrganization.identifier.type.text=str',
'patient.managingOrganization.identifier.use=str',
'patient.managingOrganization.identifier.value=str',
'patient.managingOrganization.reference=str',
'patient.maritalStatus.coding_0.code=str',
'patient.maritalStatus.coding_0.display=str',
'patient.maritalStatus.coding_0.system=str',
'patient.maritalStatus.coding_0.userSelected=bool',
'patient.maritalStatus.coding_0.version=str',
'patient.maritalStatus.text=str',
'patient.multipleBirthBoolean=bool',
'patient.multipleBirthInteger=int',
'patient.name_0.family=str',
'patient.name_0.given_0=str',
'patient.name_0.period.end=FHIRDate',
'patient.name_0.period.start=FHIRDate',
'patient.name_0.prefix_0=str',
'patient.name_0.suffix_0=str',
'patient.name_0.text=str',
'patient.name_0.use=str',
'patient.photo_0.contentType=str',
'patient.photo_0.creation=FHIRDate',
'patient.photo_0.data=str',
'patient.photo_0.hash=str',
'patient.photo_0.language=str',
'patient.photo_0.size=int',
'patient.photo_0.title=str',
'patient.photo_0.url=str',
'patient.telecom_0.period.end=FHIRDate',
'patient.telecom_0.period.start=FHIRDate',
'patient.telecom_0.rank=int',
'patient.telecom_0.system=str',
'patient.telecom_0.use=str',
'patient.telecom_0.value=str']

resource =

{
"ResourceType": "Patient",
"active": "bool",
"address": [
    {
        "city": "str",
        "country": "str",
        "district": "str",
        "line": [
            "str"
        ],
        "period": {
            "end": "FHIRDate",
            "start": "FHIRDate"
        },
        "postalCode": "str",
        "state": "str",
        "text": "str",
        "type": "str",
        "use": "str"
    }
],
"animal": {
    "breed": {
        "coding": [
            {
                "code": "str",
                "display": "str",
                "system": "str",
                "userSelected": "bool",
                "version": "str"
            }
        ],
        "text": "str"
    },
    "genderStatus": {
        "coding": [
            {
                "code": "str",
                "display": "str",
                "system": "str",
                "userSelected": "bool",
                "version": "str"
            }
        ],
        "text": "str"
    },
    "species": {
        "coding": [
            {
                "code": "str",
                "display": "str",
                "system": "str",
                "userSelected": "bool",
                "version": "str"
            }
        ],
        "text": "str"
    }
},
"birthDate": "FHIRDate",
"communication": [
    {
        "language": {
            "coding": [
                {
                    "code": "str",
                    "display": "str",
                    "system": "str",
                    "userSelected": "bool",
                    "version": "str"
                }
            ],
            "text": "str"
        },
        "preferred": "bool"
    }
],
"contact": [
    {
        "address": {
            "city": "str",
            "country": "str",
            "district": "str",
            "line": [
                "str"
            ],
            "period": {
                "end": "FHIRDate",
                "start": "FHIRDate"
            },
            "postalCode": "str",
            "state": "str",
            "text": "str",
            "type": "str",
            "use": "str"
        },
        "gender": "str",
        "name": {
            "family": "str",
            "given": [
                "str"
            ],
            "period": {
                "end": "FHIRDate",
                "start": "FHIRDate"
            },
            "prefix": [
                "str"
            ],
            "suffix": [
                "str"
            ],
            "text": "str",
            "use": "str"
        },
        "organization": {
            "display": "str",
            "identifier": {
                "period": {
                    "end": "FHIRDate",
                    "start": "FHIRDate"
                },
                "system": "str",
                "type": {
                    "coding": [
                        {
                            "code": "str",
                            "display": "str",
                            "system": "str",
                            "userSelected": "bool",
                            "version": "str"
                        }
                    ],
                    "text": "str"
                },
                "use": "str",
                "value": "str"
            },
            "reference": "str"
        },
        "period": {
            "end": "FHIRDate",
            "start": "FHIRDate"
        },
        "relationship": [
            {
                "coding": [
                    {
                        "code": "str",
                        "display": "str",
                        "system": "str",
                        "userSelected": "bool",
                        "version": "str"
                    }
                ],
                "text": "str"
            }
        ],
        "telecom": [
            {
                "period": {
                    "end": "FHIRDate",
                    "start": "FHIRDate"
                },
                "rank": "int",
                "system": "str",
                "use": "str",
                "value": "str"
            }
        ]
    }
],
"deceasedBoolean": "bool",
"deceasedDateTime": "FHIRDate",
"gender": "str",
"generalPractitioner": [
    {
        "display": "str",
        "identifier": {
            "period": {
                "end": "FHIRDate",
                "start": "FHIRDate"
            },
            "system": "str",
            "type": {
                "coding": [
                    {
                        "code": "str",
                        "display": "str",
                        "system": "str",
                        "userSelected": "bool",
                        "version": "str"
                    }
                ],
                "text": "str"
            },
            "use": "str",
            "value": "str"
        },
        "reference": "str"
    }
],
"identifier": [
    {
        "period": {
            "end": "FHIRDate",
            "start": "FHIRDate"
        },
        "system": "str",
        "type": {
            "coding": [
                {
                    "code": "str",
                    "display": "str",
                    "system": "str",
                    "userSelected": "bool",
                    "version": "str"
                }
            ],
            "text": "str"
        },
        "use": "str",
        "value": "str"
    }
],
"implicitRules": "str",
"language": "str",
"link": [
    {
        "other": {
            "display": "str",
            "identifier": {
                "period": {
                    "end": "FHIRDate",
                    "start": "FHIRDate"
                },
                "system": "str",
                "type": {
                    "coding": [
                        {
                            "code": "str",
                            "display": "str",
                            "system": "str",
                            "userSelected": "bool",
                            "version": "str"
                        }
                    ],
                    "text": "str"
                },
                "use": "str",
                "value": "str"
            },
            "reference": "str"
        },
        "type": "str"
    }
],
"managingOrganization": {
    "display": "str",
    "identifier": {
        "period": {
            "end": "FHIRDate",
            "start": "FHIRDate"
        },
        "system": "str",
        "type": {
            "coding": [
                {
                    "code": "str",
                    "display": "str",
                    "system": "str",
                    "userSelected": "bool",
                    "version": "str"
                }
            ],
            "text": "str"
        },
        "use": "str",
        "value": "str"
    },
    "reference": "str"
},
"maritalStatus": {
    "coding": [
        {
            "code": "str",
            "display": "str",
            "system": "str",
            "userSelected": "bool",
            "version": "str"
        }
    ],
    "text": "str"
},
"meta": {
    "lastUpdated": "FHIRDate",
    "profile": [
        "str"
    ],
    "security": [
        {
            "code": "str",
            "display": "str",
            "system": "str",
            "userSelected": "bool",
            "version": "str"
        }
    ],
    "tag": [
        {
            "code": "str",
            "display": "str",
            "system": "str",
            "userSelected": "bool",
            "version": "str"
        }
    ],
    "versionId": "str"
},
"multipleBirthBoolean": "bool",
"multipleBirthInteger": "int",
"name": [
    {
        "family": "str",
        "given": [
            "str"
        ],
        "period": {
            "end": "FHIRDate",
            "start": "FHIRDate"
        },
        "prefix": [
            "str"
        ],
        "suffix": [
            "str"
        ],
        "text": "str",
        "use": "str"
    }
],
"photo": [
    {
        "contentType": "str",
        "creation": "FHIRDate",
        "data": "str",
        "hash": "str",
        "language": "str",
        "size": "int",
        "title": "str",
        "url": "str"
    }
],
"telecom": [
    {
        "period": {
            "end": "FHIRDate",
            "start": "FHIRDate"
        },
        "rank": "int",
        "system": "str",
        "use": "str",
        "value": "str"
    }
],
"text": {
    "div": "str",
    "status": "str"
}
}

2017-05-02 12:45:12,029 - INFO- End of program [Finished in 0.739s]