コード例 #1
0
ファイル: user.py プロジェクト: nazrulworld/fhir.heart
class IPractitioner(IBaseUser):
    """" """
    practitioner_resource = FhirResource(
        title=_('Practitioner'),
        resource_type='Practitioner',
        model_interface='plone.app.fhirfield.interfaces.IFhirResourceModel',
        required=True)
コード例 #2
0
ファイル: user.py プロジェクト: nazrulworld/fhir.heart
class IPatient(IBaseUser):
    """" """
    patient_resource = FhirResource(
        title=_('Patient'),
        resource_type='Patient',
        model_interface='plone.app.fhirfield.interfaces.IFhirResourceModel',
        required=True)
コード例 #3
0
ファイル: user.py プロジェクト: nazrulworld/fhir.heart
class IPerson(IBaseUser):
    """" """
    person_resource = FhirResource(
        title=_('Person'),
        resource_type='Person',
        model_interface='plone.app.fhirfield.interfaces.IFhirResourceModel',
        required=True)
コード例 #4
0
class IDeviceRequest(model.Schema):
    """ """

    devicerequest_resource = FhirResource(
        title=u"Fhir DeviceRequest Field",
        fhir_release="STU3",
        resource_type="DeviceRequest",
    )
コード例 #5
0
class IOrganization(model.Schema):
    """ """

    organization_resource = FhirResource(
        title=u"Fhir Organization Field",
        fhir_release="STU3",
        model="fhir.resources.STU3.organization.Organization",
    )
コード例 #6
0
class IProcedureRequest(model.Schema):
    """ """

    procedurerequest_resource = FhirResource(
        title=u"Fhir ProcedureRequest Field",
        fhir_release="STU3",
        model="fhir.resources.STU3.procedurerequest.ProcedureRequest",
    )
コード例 #7
0
class ITask(model.Schema):
    """ """

    task_resource = FhirResource(
        title=u"Fhir Task Field",
        fhir_release="STU3",
        model="fhir.resources.STU3.task.Task",
    )
コード例 #8
0
class IPractitioner(model.Schema):
    """ """

    practitioner_resource = FhirResource(
        title=u"Fhir Practitioner Field",
        fhir_release="STU3",
        model="fhir.resources.STU3.practitioner.Practitioner",
    )
コード例 #9
0
class IQuestionnaireResponse(model.Schema):
    """ """

    questionnaireresponse_resource = FhirResource(
        title=u"Fhir QuestionnaireResponse Field",
        fhir_release="STU3",
        model="fhir.resources.STU3.questionnaireresponse.QuestionnaireResponse",
    )
コード例 #10
0
class IPatient(model.Schema):
    """ """

    patient_resource = FhirResource(
        title=u"Fhir Patient Field",
        fhir_release="STU3",
        model="fhir.resources.STU3.patient.Patient",
    )
コード例 #11
0
class IObservation(model.Schema):
    """"""

    observation_resource = FhirResource(
        title=u"Fhir Observation Field",
        fhir_release="STU3",
        resource_type="Observation",
    )
コード例 #12
0
class IMedicationRequest(model.Schema):
    """"""

    medicationrequest_resource = FhirResource(
        title=u"Fhir MedicationRequest Field",
        fhir_release="STU3",
        resource_type="MedicationRequest",
    )
コード例 #13
0
class IOrganization(model.Schema):
    """"Organization resource.
    https://www.hl7.org/fhir/organization.html"""
    organization_resource = FhirResource(
        title=_('FHIR JSON'),
        resource_type='Organization',
        model_interface='plone.app.fhirfield.interfaces.IFhirResourceModel',
        required=True
        )
コード例 #14
0
class IHealthcareService(model.Schema):
    """"HealthcareService resource.
    https://www.hl7.org/fhir/healthcareservice.html"""
    healthcareservice_resource = FhirResource(
        title=_('FHIR JSON'),
        resource_type='HealthcareService',
        model_interface='plone.app.fhirfield.interfaces.IFhirResourceModel',
        required=True
        )
    photo = NamedBlobImage(
        title=_('healthcareservice picture'),
        description=_('Photo of organization that link will be attached into resource json'),
        required=False
    )
コード例 #15
0
class IMedia(model.Schema):
    """"""

    media_resource = FhirResource(title=u"Fhir Media Field",
                                  fhir_release="STU3",
                                  resource_type="Media")
コード例 #16
0
class IValueSet(model.Schema):
    """ """

    valueset_resource = FhirResource(title=u"Fhir ValueSet Field",
                                     fhir_release="STU3",
                                     resource_type="ValueSet")
コード例 #17
0
class IChargeItem(model.Schema):
    """"""

    chargeitem_resource = FhirResource(title=u"Fhir ChargeItem Field",
                                       fhir_release="STU3",
                                       resource_type="ChargeItem")
コード例 #18
0
class IDevice(model.Schema):
    """ """

    device_resource = FhirResource(title=u"Fhir Device Field",
                                   fhir_release="STU3",
                                   resource_type="Device")
コード例 #19
0
class IEncounter(model.Schema):
    """"""

    encounter_resource = FhirResource(title=u"Fhir FFEncounter Field",
                                      fhir_release="STU3",
                                      resource_type="Encounter")