{
  "resourceType": "StructureDefinition",
  "id": "9c1ae9c1-ad09-46b3-acee-82a30856610a",
  "meta": {
    "versionId": "4",
    "lastUpdated": "2016-12-16T12:57:21.039+00:00"
  },
  "url": "http://helse-nord.no/FHIR/profiles/Workflow.CriticalInformation/Flag",
  "name": "Workflow.CriticalInformation.Flag",
  "status": "draft",
  "description": "Structure definition for the Flag resource used by the Workflow.CriticalInformation service",
  "kind": "resource",
  "constrainedType": "Flag",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/Flag",
  "differential": {
    "element": [
      {
        "path": "Flag",
        "type": [
          {
            "code": "Flag"
          }
        ]
      },
      {
        "path": "Flag.identifier",
        "max": "0"
      },
      {
        "path": "Flag.category.id",
        "representation": [
          "xmlAttr"
        ],
        "max": "0"
      },
      {
        "path": "Flag.category.coding.id",
        "representation": [
          "xmlAttr"
        ],
        "max": "0"
      },
      {
        "path": "Flag.category.coding.system",
        "min": 1
      },
      {
        "path": "Flag.category.coding.version",
        "max": "0"
      },
      {
        "path": "Flag.category.coding.code",
        "min": 1
      },
      {
        "path": "Flag.category.coding.userSelected",
        "max": "0"
      },
      {
        "path": "Flag.category.text",
        "max": "0"
      },
      {
        "path": "Flag.period",
        "min": 1
      },
      {
        "path": "Flag.period.id",
        "representation": [
          "xmlAttr"
        ],
        "max": "0"
      },
      {
        "path": "Flag.period.start",
        "min": 1
      },
      {
        "path": "Flag.subject",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://helse-nord.no/FHIR/profiles/Identification.Patient/Patient"
            ]
          }
        ]
      },
      {
        "path": "Flag.encounter",
        "max": "0"
      },
      {
        "path": "Flag.author",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          }
        ]
      },
      {
        "path": "Flag.code.id",
        "representation": [
          "xmlAttr"
        ],
        "max": "0"
      },
      {
        "path": "Flag.code.coding",
        "min": 1
      },
      {
        "path": "Flag.code.coding.id",
        "representation": [
          "xmlAttr"
        ],
        "max": "0"
      },
      {
        "path": "Flag.code.coding.system",
        "min": 1
      },
      {
        "path": "Flag.code.coding.version",
        "max": "0"
      },
      {
        "path": "Flag.code.coding.code",
        "min": 1
      },
      {
        "path": "Flag.code.coding.userSelected",
        "max": "0"
      }
    ]
  }
}