Request

Operationcreate
MethodPOST
Pathhttps://blaze.life.uni-leipzig.de/fhir/Goal
ResourceGoal
Headers
Accept
application/fhir+json;charset=UTF-8
Content-Type
application/fhir+json;charset=UTF-8
Content
{
  "resourceType" : "Goal",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">A simple care goal for a patient to lose weight due to obesity.</div>"
  },
  "identifier" : [ {
    "system" : "http://happyvalley.com/goal",
    "value" : "wqf3DfN1I2kTTcyJCL"
  } ],
  "lifecycleStatus" : "on-hold",
  "category" : [ {
    "coding" : [ {
      "system" : "http://terminology.hl7.org/CodeSystem/goal-category",
      "code" : "dietary",
      "display" : "Dietary"
    } ]
  } ],
  "priority" : {
    "coding" : [ {
      "system" : "http://terminology.hl7.org/CodeSystem/goal-priority",
      "code" : "high-priority",
      "display" : "High Priority"
    } ],
    "text" : "high"
  },
  "description" : {
    "coding" : [ {
      "system" : "http://snomed.info/sct",
      "code" : "414916001",
      "display" : "Obesity (disorder)"
    } ],
    "text" : "Obesity (disorder)"
  },
  "subject" : {
    "reference" : "Patient/C72AW4Y2MUP5EPYX",
    "display" : "Peter  Chalmers"
  },
  "startDate" : "2015-04-05",
  "target" : [ {
    "measure" : {
      "coding" : [ {
        "system" : "http://loinc.org",
        "code" : "3141-9",
        "display" : "Weight Measured"
      } ]
    },
    "detailRange" : {
      "low" : {
        "value" : 160,
        "unit" : "lbs",
        "system" : "http://unitsofmeasure.org",
        "code" : "[lb_av]"
      },
      "high" : {
        "value" : 180,
        "unit" : "lbs",
        "system" : "http://unitsofmeasure.org",
        "code" : "[lb_av]"
      }
    },
    "dueDate" : "2016-04-05"
  } ],
  "statusDate" : "2016-02-14",
  "statusReason" : "Patient wants to defer weight loss until after honeymoon.",
  "expressedBy" : {
    "reference" : "Practitioner/C72AW42VWENPVQG4",
    "display" : "Dr Andrew Nutrition"
  }
}