{
  "resourceType": "Flag",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eLarge Dog warning for Peter Patient\u003c/div\u003e"
  },
  "identifier": [
    {
      "value": "12345"
    }
  ],
  "status": "inactive",
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/flag-category",
          "code": "safety",
          "display": "Safety"
        }
      ],
      "text": "Safety"
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://example.org/local",
        "code": "bigdog",
        "display": "Big dog"
      }
    ],
    "text": "Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures"
  },
  "subject": {
    "reference": "Patient/example",
    "display": "Peter Patient"
  },
  "period": {
    "start": "2015-01-17",
    "end": "2016-12-01"
  },
  "author": {
    "reference": "Practitioner/example",
    "display": "Nancy Nurse"
  },
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}