Adam scenario payload example

Back to medical certificate scenarios

{
    "claimNumber": "QQ00014",
    "declaration": {
        "providerDeclaration": "2017-12-05"
    },
    "diagnosis": [
        {
            "diagnosisAction": "add",
            "diagnosisCode": "60058008",
            "diagnosisCodeType": "1",
            "diagnosisComment": "",
            "diagnosisDate": "",
            "diagnosisDescription": "Sprain of Cruciate ligament of knee",
            "diagnosisSide": "right",
            "primaryDiagnosisIndicator": "True"
        },
        {
            "diagnosisAction": "add",
            "diagnosisCode": "202490009",
            "diagnosisCodeType": "1",
            "diagnosisComment": "",
            "diagnosisDate": "",
            "diagnosisDescription": "Ankle joint pain",
            "diagnosisSide": "left",
            "primaryDiagnosisIndicator": "False"
        }
    ],
    "patient": {
        "address": {
            "line1": "100 Patient Place",
            "line2": "",         
            "suburb": "Kilbirnie",
            "city": "Wellington",
            "postCode": "6021",
            "country": "New Zealand",
            "type": "Home"
        },
        "contact": {
            "emailAddress": "",
            "homePhone": "",
            "mobilePhone": "",
            "workPhone": ""
        },
        "details": {
            "accidentDate": "2017-11-20",
            "dateOfBirth": "1945-03-27",
            "firstName": "Andrew",
            "middleName": "",
            "surname": "Apple",
            "nhi": ""
          
        }
    },
    "provider": {
        "address": {
         
            "line1": "123 Fake Street",
            "line2": "",
            "postCode": "6023",
            "suburb": "",
            "type": "Home",
            "city": "Wellington",
           "country": "New Zealand"
        },
        "contact": {
            "emailAddress": "",
            "homePhone": "",
            "mobilePhone": "",
            "workPhone": ""
        },
        "details": {
            "providerId": "P#####",
            "providerTypeCode": "80",
            "firstName": "Test",
            "middleName": "",
            "surname": "Provider"
                     
        }
    },
    "vendor": {
        "hpiFacilityNumber": "",
        "hpiOrganisationNumber": "V#####",
        "practiceName": "ACC Test Clinic"
    },
    "workCapacity": {
        "accAssistance": {
            "issuesDetails": "",
            "otherComments": ""
        },
        "accContact": {
            "anyDay": "",
            "contactComments": "",
            "preferredContactDay": []
        },
        "contactRequired": "False",
        "incapacity": [], 
        "returnToWork": {
            "assistanceRequired": "False",
            "assistanceType": ""
        },
        "reviewIncapacityDate": ""
    }
}