example

Example of the parameters to be sent as a payload to generate an AGP report for patient within organization having id 123

{
    "resourceType": "Parameters",
    "id": "1418726f-ca88-4799-9f2f-d58988b4fdee",
    "meta": {
        "versionId": "1669630588484",
        "lastUpdated": "2022-11-28T10:16:28.484+00:00"
    },
    "parameter": [
        {
            "name": "subject",
            "valueReference": {
                "reference": "Patient/123"
            }
        },
        {
            "name": "locale",
            "valueString": "en-US"
        },
        {
            "name": "orientation",
            "valueCode": "portrait"
        },
        {
            "name": "timezone-offset",
            "valueString": "-03:00"
        },
        {
            "name": "time-format",
            "valueCode": "24H"
        },
        {
            "name": "unit",
            "valueCoding": {
                "system": "http://unitsofmeasure.org",
                "code": "mg/dL",
                "display": "mg/dL"
            }
        },
        {
            "name": "effectivePeriod",
            "valuePeriod": {
                "start": "2011-05-23",
                "end": "2011-05-27"
            }
        }
    ]
}


Example with minimum payload:

{
    "resourceType": "Parameters",
    "parameter": [
        {
            "name": "subject",
            "valueReference": {
                "reference": "Patient/123"
            }
        },
        {
            "name": "locale",
            "valueString": "en-US"
        },
        {
            "name": "unit",
            "valueCoding": {
                "system": "http://unitsofmeasure.org",
                "code": "mg/dL",
                "display": "mg/dL"
            }
        },
        {
            "name": "effectivePeriod",
            "valuePeriod": {
                "start": "2011-05-23",
                "end": "2011-05-27"
            }
        }
    ]
}