Request

Operationcreate
MethodPOST
Pathhttps://blaze.life.uni-leipzig.de/fhir/Goal
ResourceGoal
Headers
Accept
application/fhir+xml;charset=UTF-8
Content-Type
application/fhir+xml;charset=UTF-8
Content
<?xml version="1.0" encoding="UTF-8"?>

<Goal xmlns="http://hl7.org/fhir">  
    <text> 
        <status value="generated"/>  
        <div xmlns="http://www.w3.org/1999/xhtml">A simple care goal for a patient to lose weight due to obesity.</div> 
    </text>  
    <identifier> 
        <system value="http://happyvalley.com/goal"/>  
        <value value="wqf3DfN1I2kTTcyJCL"/> 
    </identifier>  
    <lifecycleStatus value="on-hold"/>  
    <category> 
        <coding> 
            <system value="http://terminology.hl7.org/CodeSystem/goal-category"/>  
            <code value="dietary"/>  
            <display value="Dietary"/> 
        </coding> 
    </category>  
    <priority> 
        <coding> 
            <system value="http://terminology.hl7.org/CodeSystem/goal-priority"/>  
            <code value="high-priority"/>  
            <display value="High Priority"/> 
        </coding>  
        <text value="high"/> 
    </priority>  
    <description> 
        <coding> 
            <system value="http://snomed.info/sct"/>  
            <code value="414916001"/>  
            <display value="Obesity (disorder)"/> 
        </coding> 
    </description>  
    <subject> 
        <reference value="Patient/C72AW5SK45OY4NXB"/>  
        <display value="Peter Chalmers"/> 
    </subject>  
    <startDate value="2015-04-05"/>  
    <target> 
        <measure> 
            <coding> 
                <system value="http://loinc.org"/>  
                <code value="3141-9"/>  
                <display value="Weight Measured"/> 
            </coding> 
        </measure>  
        <detailRange> 
            <low> 
                <value value="160"/>  
                <unit value="lbs"/>  
                <system value="http://unitsofmeasure.org"/>  
                <code value="[lb_av]"/> 
            </low>  
            <high> 
                <value value="180"/>  
                <unit value="lbs"/>  
                <system value="http://unitsofmeasure.org"/>  
                <code value="[lb_av]"/> 
            </high> 
        </detailRange>  
        <dueDate value="2016-04-05"/> 
    </target>  
    <statusDate value="2016-02-14"/>  
    <statusReason value="Patient wants to defer weight loss until after honeymoon."/>  
    <expressedBy> 
        <reference value="Practitioner/C72AW5UJR3HD6KUD"/>  
        <display value="Dr Andrew Nutrition"/> 
    </expressedBy> 
</Goal>