from typing import List


def create_questionnaire_response_resource(patient_reference: dict,
                                           encounter_reference: dict,
                                           items: List[dict]) -> dict:
    """
    Create a questionnaire response resource following the FHIR format
    (https://www.hl7.org/fhir/questionnaireresponse.html)
    """
    return ({
        "resourceType": "QuestionnaireResponse",
        "status": "completed",
        "subject": patient_reference,
        "encounter": encounter_reference,
        "item": items
    })