{
    "tag": [
        "compiled"
    ],
    "id": "ocds-r6ebe6-0000558927-2019-02-20T00:00:00Z",
    "date": "2019-02-20T00:00:00Z",
    "ocid": "ocds-r6ebe6-0000558927",
    "initiationType": "tender",
    "parties": [
        {
            "id": "org-14",
            "name": "Midlothian Council",
            "identifier": {
                "legalName": "Midlothian Council"
            },
            "address": {
                "streetAddress": "Midlothian House, Buccleuch Street",
                "locality": "Dalkeith",
                "region": "UKM73",
                "postalCode": "EH22 1DN"
            },
            "contactPoint": {
                "email": "hayley.bell@midlothian.gov.uk",
                "telephone": "+44 1312707500",
                "faxNumber": "+44 1316542797",
                "url": "https://www.publiccontractsscotland.gov.uk/"
            },
            "roles": [
                "buyer",
                "centralPurchasingBody",
                "reviewBody"
            ],
            "details": {
                "classifications": [
                    {
                        "id": "Regional or local authority",
                        "scheme": "TED_CA_TYPE"
                    },
                    {
                        "id": "01",
                        "description": "General public services",
                        "scheme": "COFOG"
                    }
                ],
                "url": "http://www.midlothian.gov.uk"
            }
        },
        {
            "id": "org-2",
            "name": "Midlothian Council",
            "identifier": {
                "legalName": "Midlothian Council"
            },
            "address": {
                "streetAddress": "Midlothian House, Buccleuch Street",
                "locality": "Dalkeith",
                "region": "UKM73",
                "postalCode": "EH22 1DN"
            },
            "contactPoint": {
                "email": "barbara.foxwell@midlothian.gov.uk",
                "telephone": "+44 1312713664",
                "url": "http://"
            },
            "roles": [
                "buyer",
                "reviewBody"
            ],
            "details": {
                "classifications": [
                    {
                        "id": "Regional or local authority",
                        "scheme": "TED_CA_TYPE"
                    },
                    {
                        "id": "01",
                        "description": "General public services",
                        "scheme": "COFOG"
                    }
                ],
                "url": "http://www.midlothian.gov.uk"
            }
        },
        {
            "id": "org-3",
            "name": "Penumbra",
            "identifier": {
                "legalName": "Penumbra"
            },
            "address": {
                "streetAddress": "Norton Park, 57 Albion Road, Edinburgh",
                "locality": "Edinburgh",
                "region": "UKM73",
                "postalCode": "EH7 5QY"
            },
            "contactPoint": {
                "telephone": "+44 1314752586"
            },
            "roles": [
                "supplier"
            ],
            "details": {
                "url": "http://"
            }
        }
    ],
    "buyer": {
        "name": "Midlothian Council",
        "id": "org-2"
    },
    "tender": {
        "id": "ocds-r6ebe6-0000558927",
        "title": "MID-18-38 - Mental Health Rehabilitation Service",
        "description": "To provide a community based Mental Health Rehabilitation Service, for the purpose of developing or sustaining person centred support, supported living and community rehabilitation for people with complex mental health needs within the Midlothian community.",
        "status": "complete",
        "items": [
            {
                "id": "1",
                "additionalClassifications": [
                    {
                        "id": "85310000",
                        "scheme": "CPV"
                    }
                ],
                "deliveryAddresses": [
                    {
                        "region": "UKM73"
                    },
                    {
                        "region": "UKM73"
                    }
                ],
                "relatedLot": "1"
            }
        ],
        "procurementMethod": "open",
        "procurementMethodDetails": "Open procedure",
        "mainProcurementCategory": "services",
        "submissionMethod": [
            "electronicSubmission"
        ],
        "submissionMethodDetails": "https://www.publiccontractsscotland.gov.uk/",
        "tenderPeriod": {
            "endDate": "2018-11-23T12:00:00Z"
        },
        "documents": [
            {
                "id": "OCT334445",
                "documentType": "contractNotice",
                "title": "MID-18-38 - Mental Health Rehabilitation Service",
                "description": "To provide a community based Mental Health Rehabilitation Service, for the purpose of developing or sustaining person centred support, supported living and community rehabilitation for people with complex mental health needs within the Midlothian community.",
                "url": "https://www.publiccontractsscotland.gov.uk/search/show/search_view.aspx?ID=OCT334445",
                "format": "text/html"
            },
            {
                "id": "OCT334445-1",
                "title": "MID-18-38 - Mental Health Rehabilitation Service ITT",
                "url": "https://www.publiccontractsscotland.gov.uk/NoticeDownload/DownloadDocument.aspx?id=OCT334445&idx=1",
                "datePublished": "2018-10-17T09:45:01Z",
                "dateModified": "2018-10-17T09:45:01Z",
                "format": "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
            },
            {
                "id": "FEB346241",
                "documentType": "awardNotice",
                "title": "MID-18-38 - Mental Health Rehabilitation Service",
                "description": "To provide a community based Mental Health Rehabilitation Service, for the purpose of developing or sustaining person centred support, supported living and community rehabilitation for people with complex mental health needs within the Midlothian community.",
                "url": "https://www.publiccontractsscotland.gov.uk/search/show/search_view.aspx?ID=FEB346241",
                "format": "text/html"
            }
        ],
        "lots": [
            {
                "id": "1",
                "description": "To provide a community based Mental Health Rehabilitation Service, for the purpose of developing or sustaining person centred support, supported living and community rehabilitation for people with complex mental health needs within the Midlothian community.",
                "status": "complete",
                "value": {
                    "amount": 1250000,
                    "currency": "GBP"
                },
                "contractPeriod": {
                    "durationInDays": 1800
                }
            }
        ],
        "submissionTerms": {
            "languages": [
                "en"
            ]
        },
        "classification": {
            "id": "85310000",
            "scheme": "CPV"
        },
        "legalBasis": {
            "id": "32014L0024",
            "scheme": "CELEX"
        }
    },
    "language": "EN",
    "relatedProcesses": [
        {
            "id": "1",
            "relationship": [
                "planning"
            ],
            "scheme": "EU-OJ",
            "identifier": "2018/S 201-457455"
        }
    ],
    "description": "(SC Ref:574678)",
    "links": [
        {
            "rel": "canonical",
            "href": "https://api.publiccontractsscotland.gov.uk/v1/Notice?id=ocds-r6ebe6-0000558927"
        },
        {
            "rel": "canonical",
            "href": "https://api.publiccontractsscotland.gov.uk/v1/Notice?id=ocds-r6ebe6-0000558927"
        }
    ],
    "noticetype": "OJEU - F21 - Social And other Specific Services (Public Contracts)",
    "awards": [
        {
            "id": "ocds-r6ebe6-0000558927-1",
            "suppliers": [
                {
                    "id": "org-3",
                    "name": "Penumbra"
                }
            ],
            "relatedLots": [
                "1"
            ]
        }
    ],
    "contracts": [
        {
            "id": "ocds-r6ebe6-0000558927-1",
            "awardID": "ocds-r6ebe6-0000558927-1",
            "status": "active",
            "value": {
                "amount": 1300000,
                "currency": "GBP"
            },
            "dateSigned": "2019-01-15T00:00:00Z"
        }
    ],
    "bids": {
        "statistics": [
            {
                "id": "1",
                "measure": "bids",
                "value": 2,
                "relatedLot": "1"
            },
            {
                "id": "2",
                "measure": "foreignBidsFromEU",
                "value": 0,
                "relatedLot": "1"
            },
            {
                "id": "3",
                "measure": "foreignBidsFromNonEU",
                "value": 0,
                "relatedLot": "1"
            },
            {
                "id": "4",
                "measure": "electronicBids",
                "value": 2,
                "relatedLot": "1"
            }
        ]
    }
}