{
  "x-source": {
    "spec": "openapi/aetna-patient-access-api-openapi.yml",
    "operationId": "get_v2_patientaccess_Goal",
    "path": "/v2/patientaccess/Goal",
    "status": "200",
    "media_type": "application/json",
    "note": "Response example published verbatim by Aetna in its own Swagger document; extracted, not authored."
  },
  "example": {
    "entry": [
      {
        "search": {
          "mode": "match"
        },
        "resource": {
          "statusDate": "2015-01-01",
          "identifier": [
            {
              "system": "https://sources.aetna.com/goal/identifier/99123",
              "value": "81~123456780+active+3141-9"
            }
          ],
          "lifecycleStatus": "active",
          "subject": {
            "reference": "Patient/cded2d66-d1238-41d8-97bd-9d62cd1"
          },
          "description": {
            "text": "Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs"
          },
          "outcomeCode": [
            {
              "text": "Cholesterol is within the limit"
            }
          ],
          "priority": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/goal-priority",
                "code": "high-priority",
                "display": "High Priority"
              }
            ]
          },
          "target": [
            {
              "detailRange": {
                "high": {
                  "unit": "lbs",
                  "system": "http://unitsofmeasure.org",
                  "code": "[lb_av]",
                  "value": 180
                },
                "low": {
                  "unit": "lbs",
                  "system": "http://unitsofmeasure.org",
                  "code": "[lb_av]",
                  "value": 160
                }
              },
              "measure": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "3141-9",
                    "display": "Weight Measured"
                  }
                ]
              },
              "dueDate": "2016-04"
            },
            {
              "detailRange": {
                "high": {
                  "unit": "lbs",
                  "system": "http://unitsofmeasure.org",
                  "code": "[lb_av]",
                  "value": 180
                },
                "low": {
                  "unit": "lbs",
                  "system": "http://unitsofmeasure.org",
                  "code": "[lb_av]",
                  "value": 160
                }
              },
              "measure": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "10450-5",
                    "display": "Glucose [Mass/volume] in Serum or Plasma --10 hours fasting"
                  }
                ]
              },
              "dueDate": "2016-04"
            }
          ],
          "meta": {
            "lastUpdated": "2021-06-20T14:13:01.591+00:00",
            "versionId": "1",
            "profile": [
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal"
            ]
          },
          "id": "cded2d66-a318-41d8-97bd-9d62cdefb5a1",
          "achievementStatus": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/goal-achievement",
                "code": "in-progress",
                "display": "In Progress"
              }
            ]
          },
          "category": [
            {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/goal-category",
                  "code": "dietary",
                  "display": "Dietary"
                }
              ]
            }
          ],
          "startDate": "2012-06-01",
          "resourceType": "Goal"
        },
        "fullUrl": "http://apif1.aetna.com/v1/patientaccess/Goal/cded2d66-a318-41d8-97bd-9d62cdefb5a1"
      },
      {
        "search": {
          "mode": "match"
        },
        "resource": {
          "identifier": [
            {
              "system": "https://sources.aetna.com/goal/identifier/99123",
              "value": "81~123456780+active+82267-6"
            }
          ],
          "addresses": [
            {
              "display": "pre diabetic condition"
            }
          ],
          "lifecycleStatus": "active",
          "subject": {
            "reference": "Patient/cded2d66-d1238-41d8-97bd-9d62cd1"
          },
          "description": {
            "text": "Target exercise is 15 min/day of moderate walking to begin."
          },
          "priority": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/goal-priority",
                "code": "high-priority",
                "display": "High Priority"
              }
            ],
            "text": "high"
          },
          "target": [
            {
              "detailRange": {
                "high": {
                  "unit": "min",
                  "system": "http://unitsofmeasure.org",
                  "code": "min",
                  "value": 45
                },
                "low": {
                  "unit": "min",
                  "system": "http://unitsofmeasure.org",
                  "code": "min",
                  "value": 15
                }
              },
              "measure": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "82267-6",
                    "display": "Reportd Activity metabolic rate"
                  }
                ]
              },
              "dueDate": "2021-04-05"
            }
          ],
          "meta": {
            "lastUpdated": "2021-05-08T00:30:29.338+00:00",
            "versionId": "1",
            "profile": [
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal"
            ]
          },
          "id": "ffed2d44-d1238-41d8-97bd-9d62cd1",
          "achievementStatus": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/goal-achievement",
                "code": "improving",
                "display": "Improving"
              }
            ]
          },
          "category": [
            {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/goal-category",
                  "code": "physiotherapy"
                }
              ]
            }
          ],
          "startDate": "2021-04-05",
          "resourceType": "Goal"
        },
        "fullUrl": "http://apif1.aetna.com/v1/patientaccess/Goal/ffed2d44-d1238-41d8-97bd-9d62cd1"
      }
    ],
    "total": 2,
    "meta": {
      "lastUpdated": "2021-07-07T18:35:40.356+00:00"
    },
    "link": [
      {
        "url": "http://apif1.aetna.com/v1/patientaccess/Goal?patient=cded2d66-d1238-41d8-97bd-9d62cd1",
        "relation": "self"
      }
    ],
    "id": "fdd92d66-a318-41d8-97bd-9d62cdefb5a1",
    "type": "searchset",
    "resourceType": "Bundle"
  }
}