{
  "resourceType": "NutritionOrder",
  "id": "carbcountdiet",
  "identifier": [
    {
      "system": "http://goodhealthhospital.org/nutrition-requests",
      "value": "123"
    }
  ],
  "status": "active",
  "intent": "order",
  "subject": {
    "reference": "Patient/example",
    "display": "Peter Chalmers"
  },
  "encounter": {
    "reference": "Encounter/example",
    "display": "Inpatient"
  },
  "dateTime": "2014-09-17",
  "allergyIntolerance": [
    {
      "reference": "AllergyIntolerance/example",
      "display": "Cashew Nuts"
    }
  ],
  "foodPreferenceModifier": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/diet",
          "code": "dairy-free"
        }
      ]
    }
  ],
  "excludeFoodModifier": [
    {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "227493005",
          "display": "Cashew Nut"
        }
      ]
    }
  ],
  "oralDiet": {
    "type": [
      {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "435651000124106",
            "display": "Consistent carbohydrate diet (regime/therapy)"
          },
          {
            "system": "http://goodhealthhospital.org/diet-type-codes",
            "code": "1030",
            "display": "DD - Diabetic diet"
          }
        ],
        "text": "DD - Diabetic diet"
      }
    ],
    "schedule": {
      "timing": [
        {
          "repeat": {
            "boundsPeriod": {
              "start": "2015-02-10"
            },
            "frequency": 3,
            "period": 1,
            "periodUnit": "d"
          }
        }
      ]
    },
    "nutrient": [
      {
        "modifier": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "2331003",
              "display": "Carbohydrate"
            }
          ]
        },
        "amount": {
          "value": 45,
          "unit": "grams/meal",
          "system": "http://unitsofmeasure.org",
          "code": "g"
        }
      }
    ]
  },
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}