{

"resourceType": "Bundle",
"id": "resources",
"meta": {
  "lastUpdated": "2015-10-24T07:41:03.495+11:00"
},
"type": "collection",
"entry": [
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ValueSet",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ValueSet",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 3
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ValueSet",
      "name": "ValueSet",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ValueSet",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "vsd-7",
                "severity": "error",
                "human": "A defined code system (if present) SHALL have a different url than the value set url",
                "xpath": "not(f:codeSystem/f:system/@value = f:url/@value)"
              },
              {
                "key": "vsd-5",
                "severity": "error",
                "human": "Value set SHALL contain at least one of a codeSystem, a compose, or an expansion element",
                "xpath": "exists(f:codeSystem) or exists(f:compose) or exists(f:expansion)"
              },
              {
                "key": "vsd-2",
                "severity": "error",
                "human": "A value set with only one import SHALL also have an include and/or an exclude unless the value set includes and inline code system",
                "xpath": "not(exists(f:compose)) or (count(f:compose/f:import)!=1 or exists(f:compose/f:include) or exists(f:compose/f:exclude) or exists(f:codeSystem))"
              }
            ]
          },
          {
            "path": "ValueSet.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ValueSet.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ValueSet.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ValueSet.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.url",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The lifecycle status of a Value Set or Concept Map.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/conformance-resource-status"
              }
            }
          },
          {
            "path": "ValueSet.experimental",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.publisher",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.contact.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.contact.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.contact.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.lockedDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.useContext",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Indicates the countries, regions, disciplines and other aspects of use within which this artifact is targeted for use.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/use-context"
              }
            }
          },
          {
            "path": "ValueSet.immutable",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.requirements",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.copyright",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.extensible",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-5"
            ],
            "constraint": [
              {
                "key": "vsd-8",
                "severity": "error",
                "human": "Codes must be unique",
                "xpath": "count(descendant::f:concept)=count(distinct-values(descendant::f:concept/f:code/@value))"
              },
              {
                "key": "vsd-3",
                "severity": "error",
                "human": "Within a code system definition, all the codes SHALL be unique",
                "xpath": "count(distinct-values(descendant::f:concept/f:code/@value))=count(descendant::f:concept)"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.codeSystem.system",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem.caseSensitive",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ConceptDefinition"
              }
            ],
            "path": "ValueSet.codeSystem.concept",
            "name": "concept",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.codeSystem.concept.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.abstract",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false
          },
          {
            "path": "ValueSet.codeSystem.concept.display",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.definition",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation",
            "name": "designation",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.use",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "Details of how a designation would be used.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/designation-use"
              }
            }
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.value",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.concept",
            "min": 0,
            "max": "*",
            "nameReference": "concept"
          },
          {
            "path": "ValueSet.compose",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-5"
            ],
            "constraint": [
              {
                "key": "vsd-1",
                "severity": "error",
                "human": "A value set composition SHALL have an include or an import",
                "xpath": "exists(f:include) or exists(f:import)"
              }
            ]
          },
          {
            "path": "ValueSet.compose.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.import",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "uri"
              }
            ],
            "condition": [
              "vsd-1"
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ConceptSet"
              }
            ],
            "path": "ValueSet.compose.include",
            "name": "include",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-1"
            ],
            "constraint": [
              {
                "key": "vsd-11",
                "severity": "error",
                "human": "Cannot have both concept and filter",
                "xpath": "not(exists(f:concept)) or not(exists(f:filter))"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.compose.include.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.include.system",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.compose.include.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ConceptReference"
              }
            ],
            "path": "ValueSet.compose.include.concept",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-11"
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.include.concept.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.display",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.designation",
            "min": 0,
            "max": "*",
            "nameReference": "designation"
          },
          {
            "path": "ValueSet.compose.include.filter",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-11"
            ]
          },
          {
            "path": "ValueSet.compose.include.filter.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.filter.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.filter.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.include.filter.property",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.filter.op",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The kind of operation to perform as a part of a property based filter.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/filter-operator"
              }
            }
          },
          {
            "path": "ValueSet.compose.include.filter.value",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ]
          },
          {
            "path": "ValueSet.compose.exclude",
            "min": 0,
            "max": "*",
            "nameReference": "include",
            "condition": [
              "vsd-2"
            ]
          },
          {
            "path": "ValueSet.expansion",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-5"
            ]
          },
          {
            "path": "ValueSet.expansion.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.expansion.identifier",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.timestamp",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.total",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.offset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.expansion.parameter.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.value[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              },
              {
                "code": "boolean"
              },
              {
                "code": "integer"
              },
              {
                "code": "decimal"
              },
              {
                "code": "uri"
              },
              {
                "code": "code"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains",
            "name": "contains",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "vsd-9",
                "severity": "error",
                "human": "Must have a code if not abstract",
                "xpath": "exists(f:code) or (f:abstract/@value = true())"
              },
              {
                "key": "vsd-6",
                "severity": "error",
                "human": "SHALL have a code or a display",
                "xpath": "exists(f:code) or exists(f:display)"
              },
              {
                "key": "vsd-10",
                "severity": "error",
                "human": "Must have a system if a code is present",
                "xpath": "exists(f:system) or not(exists(f:code))"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.expansion.contains.system",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.abstract",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "vsd-6"
            ]
          },
          {
            "path": "ValueSet.expansion.contains.display",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "vsd-6"
            ]
          },
          {
            "path": "ValueSet.expansion.contains.contains",
            "min": 0,
            "max": "*",
            "nameReference": "contains"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Parameters",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Parameters",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Parameters",
      "name": "Parameters",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Resource",
      "snapshot": {
        "element": [
          {
            "path": "Parameters",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Parameters.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Parameters.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Parameters.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Parameters.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Parameters.parameter",
            "name": "parameter",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "A parameter must have a value or a resource, but not both",
                "xpath": "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))"
              }
            ]
          },
          {
            "path": "Parameters.parameter.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Parameters.parameter.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Parameters.parameter.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Parameters.parameter.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Parameters.parameter.value[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "integer"
              },
              {
                "code": "decimal"
              },
              {
                "code": "base64Binary"
              },
              {
                "code": "instant"
              },
              {
                "code": "string"
              },
              {
                "code": "uri"
              },
              {
                "code": "date"
              },
              {
                "code": "dateTime"
              },
              {
                "code": "time"
              },
              {
                "code": "code"
              },
              {
                "code": "oid"
              },
              {
                "code": "id"
              },
              {
                "code": "unsignedInt"
              },
              {
                "code": "positiveInt"
              },
              {
                "code": "markdown"
              },
              {
                "code": "Annotation"
              },
              {
                "code": "Attachment"
              },
              {
                "code": "Identifier"
              },
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Coding"
              },
              {
                "code": "Quantity"
              },
              {
                "code": "Range"
              },
              {
                "code": "Period"
              },
              {
                "code": "Ratio"
              },
              {
                "code": "SampledData"
              },
              {
                "code": "Signature"
              },
              {
                "code": "HumanName"
              },
              {
                "code": "Address"
              },
              {
                "code": "ContactPoint"
              },
              {
                "code": "Timing"
              },
              {
                "code": "Reference"
              },
              {
                "code": "Meta"
              }
            ],
            "condition": [
              "inv-1"
            ]
          },
          {
            "path": "Parameters.parameter.resource",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Resource"
              }
            ],
            "condition": [
              "inv-1"
            ]
          },
          {
            "path": "Parameters.parameter.part",
            "min": 0,
            "max": "*",
            "nameReference": "parameter",
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "A part must have a value or a resource, but not both",
                "xpath": "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Resource",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Resource",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Resource",
      "name": "Resource",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": true,
      "snapshot": {
        "element": [
          {
            "path": "Resource",
            "min": 0,
            "max": "*"
          },
          {
            "path": "Resource.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Resource.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Resource.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Resource.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/DomainResource",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "DomainResource",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "name": "DomainResource",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": true,
      "base": "http://hl7.org/fhir/StructureDefinition/Resource",
      "snapshot": {
        "element": [
          {
            "path": "DomainResource",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ],
            "constraint": [
              {
                "key": "dom-4",
                "severity": "error",
                "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"
              },
              {
                "key": "dom-3",
                "severity": "error",
                "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
                "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))"
              },
              {
                "key": "dom-2",
                "severity": "error",
                "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                "xpath": "not(parent::f:contained and f:contained)"
              },
              {
                "key": "dom-1",
                "severity": "error",
                "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
                "xpath": "not(parent::f:contained and f:text)"
              }
            ]
          },
          {
            "path": "DomainResource.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DomainResource.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DomainResource.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DomainResource.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "DomainResource.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DomainResource.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DomainResource.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DomainResource.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Account",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Account",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Account",
      "name": "Account",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Account",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Account.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Account.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Account.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Account.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Account.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Account.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Account.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Account.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Account.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Account.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Account.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The usage type of this account, permits categorization of accounts."
            }
          },
          {
            "path": "Account.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Indicates whether the account is available to be used.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/account-status"
              }
            }
          },
          {
            "path": "Account.activePeriod",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Account.currency",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The monetary currency in which this account records values.",
              "valueSetUri": "http://www.iso.org/iso/home/standards/currency_codes"
            }
          },
          {
            "path": "Account.balance",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Account.coveragePeriod",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Account.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Account.owner",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Account.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "AllergyIntolerance",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
      "name": "AllergyIntolerance",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "AllergyIntolerance",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "AllergyIntolerance.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "AllergyIntolerance.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AllergyIntolerance.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.onset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.recordedDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.recorder",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.reporter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.substance",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Type of the substance and Negation codes for reporting no known allergies.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/allergyintolerance-substance-code"
              }
            }
          },
          {
            "path": "AllergyIntolerance.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified Substance.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-status"
              }
            }
          },
          {
            "path": "AllergyIntolerance.criticality",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified Substance.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality"
              }
            }
          },
          {
            "path": "AllergyIntolerance.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identification of the underlying physiological mechanism for a Reaction Risk.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type"
              }
            }
          },
          {
            "path": "AllergyIntolerance.category",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Category of an identified Substance.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category"
              }
            }
          },
          {
            "path": "AllergyIntolerance.lastOccurence",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.note",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AllergyIntolerance.reaction.substance",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes defining the type of the substance.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/substance-code"
              }
            }
          },
          {
            "path": "AllergyIntolerance.reaction.certainty",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Statement about the degree of clinical certainty that a Specific Substance was the cause of the Manifestation in an reaction event.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/reaction-event-certainty"
              }
            }
          },
          {
            "path": "AllergyIntolerance.reaction.manifestation",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/manifestation-codes"
              }
            }
          },
          {
            "path": "AllergyIntolerance.reaction.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction.onset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.reaction.severity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/reaction-event-severity"
              }
            }
          },
          {
            "path": "AllergyIntolerance.reaction.exposureRoute",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/route-codes"
              }
            }
          },
          {
            "path": "AllergyIntolerance.reaction.note",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Appointment",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Appointment",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Appointment",
      "name": "Appointment",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Appointment",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "app-3",
                "severity": "error",
                "human": "Only proposed or cancelled appointments can be missing start/end dates",
                "xpath": "((exists(f:start) and exists(f:end)) or (f:status/@value='proposed') or (f:status/@value='cancelled'))"
              },
              {
                "key": "app-2",
                "severity": "error",
                "human": "Either start and end are specified, or neither",
                "xpath": "((exists(f:start) and exists(f:end)) or (not(exists(f:start)) and not(exists(f:end))))"
              }
            ]
          },
          {
            "path": "Appointment.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Appointment.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Appointment.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Appointment.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Appointment.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Appointment.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Appointment.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Appointment.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Appointment.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Appointment.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The free/busy status of an appointment.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/appointmentstatus"
              }
            }
          },
          {
            "path": "Appointment.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Additional details about where the content was created (e.g. clinical specialty).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes"
              }
            }
          },
          {
            "path": "Appointment.reason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The Reason for the appointment to take place.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-reason"
              }
            }
          },
          {
            "path": "Appointment.priority",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "unsignedInt"
              }
            ]
          },
          {
            "path": "Appointment.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Appointment.start",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Appointment.end",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Appointment.minutesDuration",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ]
          },
          {
            "path": "Appointment.slot",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Slot"
                ]
              }
            ]
          },
          {
            "path": "Appointment.comment",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Appointment.participant",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "app-1",
                "severity": "error",
                "human": "Either the type or actor on the participant MUST be specified",
                "xpath": "(exists(f:type) or exists(f:actor))"
              }
            ]
          },
          {
            "path": "Appointment.participant.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Appointment.participant.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Appointment.participant.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Appointment.participant.type",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Role of participant in encounter.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-participant-type"
              }
            }
          },
          {
            "path": "Appointment.participant.actor",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Appointment.participant.required",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Is the Participant required to attend the appointment.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/participantrequired"
              }
            }
          },
          {
            "path": "Appointment.participant.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The Participation status of an appointment.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/participationstatus"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/AppointmentResponse",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "AppointmentResponse",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/AppointmentResponse",
      "name": "AppointmentResponse",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "AppointmentResponse",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "apr-1",
                "severity": "error",
                "human": "Either the participantType or actor must be specified",
                "xpath": "(exists(f:participantType) or exists(f:actor))"
              }
            ]
          },
          {
            "path": "AppointmentResponse.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AppointmentResponse.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AppointmentResponse.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "AppointmentResponse.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "AppointmentResponse.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "AppointmentResponse.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "AppointmentResponse.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AppointmentResponse.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AppointmentResponse.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AppointmentResponse.appointment",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Appointment"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "AppointmentResponse.start",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ]
          },
          {
            "path": "AppointmentResponse.end",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ]
          },
          {
            "path": "AppointmentResponse.participantType",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Role of participant in encounter.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-participant-type"
              }
            }
          },
          {
            "path": "AppointmentResponse.actor",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "AppointmentResponse.participantStatus",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The Participation status of an appointment.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/participantstatus"
              }
            }
          },
          {
            "path": "AppointmentResponse.comment",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/AuditEvent",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "AuditEvent",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/AuditEvent",
      "name": "AuditEvent",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "AuditEvent",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "AuditEvent.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "AuditEvent.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "AuditEvent.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "AuditEvent.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "AuditEvent.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.event",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "AuditEvent.event.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AuditEvent.event.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.event.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.event.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Type of event.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/audit-event-type"
              }
            }
          },
          {
            "path": "AuditEvent.event.subtype",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Sub-type of event.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/audit-event-sub-type"
              }
            }
          },
          {
            "path": "AuditEvent.event.action",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Indicator for type of action performed during the event that generated the audit.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/audit-event-action"
              }
            }
          },
          {
            "path": "AuditEvent.event.dateTime",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.event.outcome",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Indicates whether the event succeeded or failed",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/audit-event-outcome"
              }
            }
          },
          {
            "path": "AuditEvent.event.outcomeDesc",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.event.purposeOfEvent",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "The reason the activity took place.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
              }
            }
          },
          {
            "path": "AuditEvent.participant",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.participant.role",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "Role(s) the user plays (from RBAC).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/dicm-402-roleid"
              }
            }
          },
          {
            "path": "AuditEvent.participant.reference",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.participant.userId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.participant.altId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.requestor",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.location",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "AuditEvent.participant.policy",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.media",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "Used when the event is about exporting/importing onto media.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/dicm-405-mediatype"
              }
            }
          },
          {
            "path": "AuditEvent.participant.network",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.network.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.network.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.network.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.participant.network.address",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.network.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The type of network access point of this participant in the audit event",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/network-type"
              }
            }
          },
          {
            "path": "AuditEvent.participant.purposeOfUse",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "The reason the activity took place.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
              }
            }
          },
          {
            "path": "AuditEvent.source",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "AuditEvent.source.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AuditEvent.source.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.source.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.source.site",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AuditEvent.source.identifier",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.source.type",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "Code specifying the type of system that detected and recorded the event.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/audit-source-type"
              }
            }
          },
          {
            "path": "AuditEvent.object",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "sev-1",
                "severity": "error",
                "human": "Either a name or a query (NOT both)",
                "xpath": "not(exists(f:name)) or not(exists(f:query))"
              }
            ]
          },
          {
            "path": "AuditEvent.object.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AuditEvent.object.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.object.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.object.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.object.reference",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.object.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "Code for the object type involved audited.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/object-type"
              }
            }
          },
          {
            "path": "AuditEvent.object.role",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "Code representing the role the Object played in the event.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/object-role"
              }
            }
          },
          {
            "path": "AuditEvent.object.lifecycle",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "Identifier for the data life-cycle stage for the object.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/object-lifecycle"
              }
            }
          },
          {
            "path": "AuditEvent.object.securityLabel",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "Security Labels from the Healthcare Privacy and Security Classification System.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/security-labels"
              }
            }
          },
          {
            "path": "AuditEvent.object.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "sev-1"
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.object.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AuditEvent.object.query",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "base64Binary"
              }
            ],
            "condition": [
              "sev-1"
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.object.detail",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "AuditEvent.object.detail.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AuditEvent.object.detail.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.object.detail.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.object.detail.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AuditEvent.object.detail.value",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "base64Binary"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Basic",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Basic",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Basic",
      "name": "Basic",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Basic",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Basic.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Basic.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Basic.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Basic.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Basic.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Basic.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Basic.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Basic.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Basic.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Basic.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for identifying types of resources not yet defined by FHIR",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/basic-resource-type"
              }
            }
          },
          {
            "path": "Basic.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Basic.author",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Basic.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Binary",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Binary",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Binary",
      "name": "Binary",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Resource",
      "snapshot": {
        "element": [
          {
            "path": "Binary",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Binary.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Binary.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Binary.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Binary.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Binary.contentType",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The mime type of an attachment. Any valid mime type is allowed.",
              "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt"
            }
          },
          {
            "path": "Binary.content",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "base64Binary"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/BodySite",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "BodySite",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/BodySite",
      "name": "BodySite",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "BodySite",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "BodySite.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "BodySite.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "BodySite.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "BodySite.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "BodySite.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "BodySite.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "BodySite.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "BodySite.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "BodySite.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "BodySite.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "BodySite.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes describing anatomical locations. May include laterality",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/body-site"
              }
            }
          },
          {
            "path": "BodySite.modifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Concepts modifying the anatomic location",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/bodysite-relative-location"
              }
            }
          },
          {
            "path": "BodySite.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "BodySite.image",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Attachment"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Bundle",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Bundle",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Bundle",
      "name": "Bundle",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Resource",
      "snapshot": {
        "element": [
          {
            "path": "Bundle",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ],
            "constraint": [
              {
                "key": "bdl-2",
                "severity": "error",
                "human": "entry.search only when a search",
                "xpath": "not(f:entry/f:search) or (f:type/@value = 'searchset')"
              },
              {
                "key": "bdl-1",
                "severity": "error",
                "human": "total only when a search or history",
                "xpath": "not(f:total) or (f:type/@value = 'searchset') or (f:type/@value = 'history')"
              },
              {
                "key": "bdl-7",
                "severity": "error",
                "human": "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId",
                "xpath": "count(for $entry in f:entry[f:resource] return $entry[count(parent::f:Bundle/f:entry[f:fullUrl/@value=$entry/f:fullUrl/@value and ((not(f:resource/*/f:meta/f:versionId/@value) and not($entry/f:resource/*/f:meta/f:versionId/@value)) or f:resource/*/f:meta/f:versionId/@value=$entry/f:resource/*/f:meta/f:versionId/@value)])!=1])=0"
              },
              {
                "key": "bdl-3",
                "severity": "error",
                "human": "entry.request only for some types of bundles",
                "xpath": "not(f:entry/f:request) or (f:type/@value = 'batch') or (f:type/@value = 'transaction') or (f:type/@value = 'history')"
              },
              {
                "key": "bdl-4",
                "severity": "error",
                "human": "entry.response only for some types of bundles",
                "xpath": "not(f:entry/f:response) or (f:type/@value = 'batch-response') or (f:type/@value = 'transaction-response')"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Bundle.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Bundle.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Indicates the purpose of a bundle - how it was intended to be used.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/bundle-type"
              }
            }
          },
          {
            "path": "Bundle.total",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "condition": [
              "bdl-1"
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.link",
            "name": "link",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.link.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Bundle.link.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Bundle.link.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Bundle.link.relation",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.link.url",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "bdl-5",
                "severity": "error",
                "human": "must be a resource unless there's a request or response",
                "xpath": "f:resource or f:request or f:response"
              },
              {
                "key": "bdl-6",
                "severity": "error",
                "human": "The fullUrl element must be present when a resource is present, and not present otherwise",
                "xpath": "(not(exists(f:fullUrl)) and not(exists(f:resource))) or (exists(f:fullUrl) and exists(f:resource))"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Bundle.entry.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Bundle.entry.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Bundle.entry.link",
            "min": 0,
            "max": "*",
            "nameReference": "link",
            "isSummary": true
          },
          {
            "path": "Bundle.entry.fullUrl",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.resource",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Resource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.search",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "bdl-2"
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.search.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Bundle.entry.search.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Bundle.entry.search.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Bundle.entry.search.mode",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Why an entry is in the result set - whether it's included as a match or because of an _include requirement.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/search-entry-mode"
              }
            }
          },
          {
            "path": "Bundle.entry.search.score",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.request",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "bdl-3"
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.request.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Bundle.entry.request.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Bundle.entry.request.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Bundle.entry.request.method",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "HTTP verbs (in the HTTP command line).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/http-verb"
              }
            }
          },
          {
            "path": "Bundle.entry.request.url",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.request.ifNoneMatch",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.request.ifModifiedSince",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.request.ifMatch",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.request.ifNoneExist",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.response",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "bdl-4"
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.response.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Bundle.entry.response.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Bundle.entry.response.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Bundle.entry.response.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.response.location",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.response.etag",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.entry.response.lastModified",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Bundle.signature",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Signature"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/CarePlan",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "CarePlan",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/CarePlan",
      "name": "CarePlan",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "CarePlan",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "CarePlan.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "CarePlan.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "CarePlan.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "CarePlan.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "CarePlan.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CarePlan.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CarePlan.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/care-plan-status"
              }
            }
          },
          {
            "path": "CarePlan.context",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.author",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.modified",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.category",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/care-plan-category"
              }
            }
          },
          {
            "path": "CarePlan.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.addresses",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.support",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.relatedPlan",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "CarePlan.relatedPlan.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "CarePlan.relatedPlan.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CarePlan.relatedPlan.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CarePlan.relatedPlan.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Codes identifying the types of relationships between two plans.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/care-plan-relationship"
              }
            }
          },
          {
            "path": "CarePlan.relatedPlan.plan",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/CarePlan"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.participant",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "CarePlan.participant.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "CarePlan.participant.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CarePlan.participant.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CarePlan.participant.role",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Indicates specific responsibility of an individual within the care plan; e.g. \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/participant-role"
              }
            }
          },
          {
            "path": "CarePlan.participant.member",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.goal",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Goal"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.activity",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "cpl-3",
                "severity": "error",
                "human": "Provide a reference or detail, not both",
                "xpath": "not(exists(f:detail)) or not(exists(f:reference))"
              }
            ]
          },
          {
            "path": "CarePlan.activity.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "CarePlan.activity.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CarePlan.activity.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CarePlan.activity.actionResulting",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.activity.progress",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "CarePlan.activity.reference",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Appointment"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/CommunicationRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DeviceUseRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/MedicationOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Order"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ProcessRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SupplyRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/VisionPrescription"
                ]
              }
            ],
            "condition": [
              "cpl-3"
            ]
          },
          {
            "path": "CarePlan.activity.detail",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "cpl-3"
            ]
          },
          {
            "path": "CarePlan.activity.detail.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "CarePlan.activity.detail.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CarePlan.activity.detail.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CarePlan.activity.detail.category",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "High-level categorization of the type of activity in a care plan.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/care-plan-activity-category"
              }
            }
          },
          {
            "path": "CarePlan.activity.detail.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/care-plan-activity"
              }
            }
          },
          {
            "path": "CarePlan.activity.detail.reasonCode",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Identifies why a care plan activity is needed.  Can include any health condition codes as well as such concepts as \"general wellness\", prophylaxis, surgical preparation, etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/activity-reason"
              }
            }
          },
          {
            "path": "CarePlan.activity.detail.reasonReference",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.activity.detail.goal",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Goal"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.activity.detail.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "binding": {
              "strength": "required",
              "description": "Indicates where the activity is at in its overall life cycle.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/care-plan-activity-status"
              }
            }
          },
          {
            "path": "CarePlan.activity.detail.statusReason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Describes why the current activity has the status it does; e.g. \"Recovering from injury\" as a reason for non-started or on-hold, \"Patient does not enjoy activity\" as a reason for cancelling a planned activity.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/goal-status-reason"
              }
            }
          },
          {
            "path": "CarePlan.activity.detail.prohibited",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CarePlan.activity.detail.scheduled[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Timing"
              },
              {
                "code": "Period"
              },
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "CarePlan.activity.detail.location",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.activity.detail.performer",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.activity.detail.product[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "description": "A product supplied or administered as part of a care plan activity.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/medication-codes"
              }
            }
          },
          {
            "path": "CarePlan.activity.detail.dailyAmount",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.activity.detail.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.activity.detail.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "CarePlan.note",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Claim",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Claim",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Claim",
      "name": "Claim",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Claim",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Claim.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Claim.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Claim.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Claim.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Claim.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Claim.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type or discipline-style of the claim.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/claim-type-link"
              }
            }
          },
          {
            "path": "Claim.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.ruleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "Claim.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "Claim.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.target",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.provider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.use",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Complete, proposed, exploratory, other.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/claim-use-link"
              }
            }
          },
          {
            "path": "Claim.priority",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The timeliness with which processing is required: STAT, Normal, Deferred.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/process-priority"
              }
            }
          },
          {
            "path": "Claim.fundsReserve",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "For whom funds are to be reserved: (Patient, Provider, None).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/fundsreserve"
              }
            }
          },
          {
            "path": "Claim.enterer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.facility",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.prescription",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/MedicationOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/VisionPrescription"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.originalPrescription",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/MedicationOrder"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Payee"
              }
            ],
            "path": "Claim.payee",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.payee.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Claim.payee.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Claim.payee.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Claim.payee.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A code for the party to be reimbursed.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/payeetype"
              }
            }
          },
          {
            "path": "Claim.payee.provider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.payee.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.payee.person",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.referral",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Diagnosis"
              }
            ],
            "path": "Claim.diagnosis",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.diagnosis.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Claim.diagnosis.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Claim.diagnosis.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Claim.diagnosis.sequence",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.diagnosis.diagnosis",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "ICD10 diagnostic codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/icd-10"
              }
            }
          },
          {
            "path": "Claim.condition",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Patient conditions and symptoms.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/fm-conditions"
              }
            }
          },
          {
            "path": "Claim.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Coverage"
              }
            ],
            "path": "Claim.coverage",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.coverage.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Claim.coverage.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Claim.coverage.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Claim.coverage.sequence",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.coverage.focal",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.coverage.coverage",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Coverage"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.coverage.businessArrangement",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.coverage.relationship",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The code for the relationship of the patient to the subscriber.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/relationship"
              }
            }
          },
          {
            "path": "Claim.coverage.preAuthRef",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.coverage.claimResponse",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ClaimResponse"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.coverage.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "Claim.exception",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The eligibility exception codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/claim-exception"
              }
            }
          },
          {
            "path": "Claim.school",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.accident",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.accidentType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Type of accident: work place, auto, etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ActIncidentCode"
              }
            }
          },
          {
            "path": "Claim.interventionException",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Intervention and exception codes (Pharm).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/intervention"
              }
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Items"
              }
            ],
            "path": "Claim.item",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Claim.item.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Claim.item.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Claim.item.sequence",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Service, Product, Rx Dispense, Rx Compound etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode"
              }
            }
          },
          {
            "path": "Claim.item.provider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.diagnosisLinkId",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.service",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Allowable service and product codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/service-uscls"
              }
            }
          },
          {
            "path": "Claim.item.serviceDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.unitPrice",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.factor",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.points",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.net",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.udi",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The FDA, or other, UDI repository.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/udi"
              }
            }
          },
          {
            "path": "Claim.item.bodySite",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The code for the teeth, quadrant, sextant and arch.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/tooth"
              }
            }
          },
          {
            "path": "Claim.item.subSite",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The code for the tooth surface and surface combinations.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/surface"
              }
            }
          },
          {
            "path": "Claim.item.modifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Item type or modifiers codes, e.g. for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers"
              }
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Detail"
              }
            ],
            "path": "Claim.item.detail",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Claim.item.detail.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Claim.item.detail.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Claim.item.detail.sequence",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Service, Product, Rx Dispense, Rx Compound etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode"
              }
            }
          },
          {
            "path": "Claim.item.detail.service",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Allowable service and product codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/service-uscls"
              }
            }
          },
          {
            "path": "Claim.item.detail.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.unitPrice",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.factor",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.points",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.net",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.udi",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The FDA, or other, UDI repository.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/udi"
              }
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "SubDetail"
              }
            ],
            "path": "Claim.item.detail.subDetail",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.subDetail.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Claim.item.detail.subDetail.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Claim.item.detail.subDetail.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Claim.item.detail.subDetail.sequence",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.subDetail.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Service, Product, Rx Dispense, Rx Compound etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode"
              }
            }
          },
          {
            "path": "Claim.item.detail.subDetail.service",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Allowable service and product codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/service-uscls"
              }
            }
          },
          {
            "path": "Claim.item.detail.subDetail.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.subDetail.unitPrice",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.subDetail.factor",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.subDetail.points",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.subDetail.net",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.detail.subDetail.udi",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The FDA, or other, UDI repository.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/udi"
              }
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Prosthesis"
              }
            ],
            "path": "Claim.item.prosthesis",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.prosthesis.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Claim.item.prosthesis.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Claim.item.prosthesis.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Claim.item.prosthesis.initial",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.prosthesis.priorDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.item.prosthesis.priorMaterial",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Material of the prior denture or bridge prosthesis. (Oral)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/oral-prosthodontic-material"
              }
            }
          },
          {
            "path": "Claim.additionalMaterials",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/additionalmaterials"
              }
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "MissingTeeth"
              }
            ],
            "path": "Claim.missingTeeth",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Claim.missingTeeth.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Claim.missingTeeth.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Claim.missingTeeth.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Claim.missingTeeth.tooth",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The codes for the teeth, subset of OralSites.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/teeth"
              }
            }
          },
          {
            "path": "Claim.missingTeeth.reason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Reason codes for the missing teeth.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/missing-tooth-reason"
              }
            }
          },
          {
            "path": "Claim.missingTeeth.extractionDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ClaimResponse",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ClaimResponse",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ClaimResponse",
      "name": "ClaimResponse",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ClaimResponse",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ClaimResponse.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ClaimResponse.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ClaimResponse.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ClaimResponse.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.request",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Claim"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.ruleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "ClaimResponse.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "ClaimResponse.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.requestProvider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.requestOrganization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.outcome",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The outcome of the processing.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome"
              }
            }
          },
          {
            "path": "ClaimResponse.disposition",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.payeeType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A code for the party to be reimbursed.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/payeetype"
              }
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Items"
              }
            ],
            "path": "ClaimResponse.item",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.item.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.item.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.item.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.item.sequenceLinkId",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.item.noteNumber",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ItemAdjudication"
              }
            ],
            "path": "ClaimResponse.item.adjudication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.item.adjudication.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.item.adjudication.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.item.adjudication.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.item.adjudication.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "The adjudication codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/adjudication"
              }
            }
          },
          {
            "path": "ClaimResponse.item.adjudication.amount",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.item.adjudication.value",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ItemDetail"
              }
            ],
            "path": "ClaimResponse.item.detail",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.item.detail.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.item.detail.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.item.detail.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.item.detail.sequenceLinkId",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "DetailAdjudication"
              }
            ],
            "path": "ClaimResponse.item.detail.adjudication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.item.detail.adjudication.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.item.detail.adjudication.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.item.detail.adjudication.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.item.detail.adjudication.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "The adjudication codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/adjudication"
              }
            }
          },
          {
            "path": "ClaimResponse.item.detail.adjudication.amount",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.item.detail.adjudication.value",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "SubDetail"
              }
            ],
            "path": "ClaimResponse.item.detail.subDetail",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.item.detail.subDetail.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.item.detail.subDetail.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.item.detail.subDetail.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.item.detail.subDetail.sequenceLinkId",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "SubdetailAdjudication"
              }
            ],
            "path": "ClaimResponse.item.detail.subDetail.adjudication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.item.detail.subDetail.adjudication.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.item.detail.subDetail.adjudication.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.item.detail.subDetail.adjudication.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.item.detail.subDetail.adjudication.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "The adjudication codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/adjudication"
              }
            }
          },
          {
            "path": "ClaimResponse.item.detail.subDetail.adjudication.amount",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.item.detail.subDetail.adjudication.value",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "AddedItem"
              }
            ],
            "path": "ClaimResponse.addItem",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.addItem.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.addItem.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.addItem.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.addItem.sequenceLinkId",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.addItem.service",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Allowable service and product codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/service-uscls"
              }
            }
          },
          {
            "path": "ClaimResponse.addItem.fee",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.addItem.noteNumberLinkId",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "AddedItemAdjudication"
              }
            ],
            "path": "ClaimResponse.addItem.adjudication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.addItem.adjudication.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.addItem.adjudication.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.addItem.adjudication.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.addItem.adjudication.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "The adjudication codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/adjudication"
              }
            }
          },
          {
            "path": "ClaimResponse.addItem.adjudication.amount",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.addItem.adjudication.value",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "AddedItemsDetail"
              }
            ],
            "path": "ClaimResponse.addItem.detail",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.addItem.detail.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.addItem.detail.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.addItem.detail.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.addItem.detail.service",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Allowable service and product codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/service-uscls"
              }
            }
          },
          {
            "path": "ClaimResponse.addItem.detail.fee",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "AddedItemDetailAdjudication"
              }
            ],
            "path": "ClaimResponse.addItem.detail.adjudication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.addItem.detail.adjudication.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.addItem.detail.adjudication.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.addItem.detail.adjudication.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.addItem.detail.adjudication.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "The adjudication codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/adjudication"
              }
            }
          },
          {
            "path": "ClaimResponse.addItem.detail.adjudication.amount",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.addItem.detail.adjudication.value",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Errors"
              }
            ],
            "path": "ClaimResponse.error",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.error.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.error.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.error.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.error.sequenceLinkId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.error.detailSequenceLinkId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.error.subdetailSequenceLinkId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.error.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The error codes for adjudication processing.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/adjudication-error"
              }
            }
          },
          {
            "path": "ClaimResponse.totalCost",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.unallocDeductable",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.totalBenefit",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.paymentAdjustment",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.paymentAdjustmentReason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Adjustment reason codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/adjustment-reason"
              }
            }
          },
          {
            "path": "ClaimResponse.paymentDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.paymentAmount",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.paymentRef",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.reserved",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "For whom funds are to be reserved: (Patient, Provider, None).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/fundsreserve"
              }
            }
          },
          {
            "path": "ClaimResponse.form",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The forms codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/forms"
              }
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Notes"
              }
            ],
            "path": "ClaimResponse.note",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.note.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.note.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.note.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.note.number",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.note.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The presentation types of notes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/note-type"
              }
            }
          },
          {
            "path": "ClaimResponse.note.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Coverage"
              }
            ],
            "path": "ClaimResponse.coverage",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.coverage.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClaimResponse.coverage.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClaimResponse.coverage.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClaimResponse.coverage.sequence",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.coverage.focal",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.coverage.coverage",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Coverage"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.coverage.businessArrangement",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.coverage.relationship",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The code for the relationship of the patient to the subscriber.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/relationship"
              }
            }
          },
          {
            "path": "ClaimResponse.coverage.preAuthRef",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.coverage.claimResponse",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ClaimResponse"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClaimResponse.coverage.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ClinicalImpression",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression",
      "name": "ClinicalImpression",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ClinicalImpression",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "ClinicalImpression.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClinicalImpression.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClinicalImpression.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ClinicalImpression.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ClinicalImpression.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ClinicalImpression.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ClinicalImpression.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClinicalImpression.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClinicalImpression.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClinicalImpression.assessor",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClinicalImpression.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The workflow state of a clinical impression.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/clinical-impression-status"
              }
            }
          },
          {
            "path": "ClinicalImpression.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClinicalImpression.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClinicalImpression.previous",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ClinicalImpression"
                ]
              }
            ]
          },
          {
            "path": "ClinicalImpression.problem",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ClinicalImpression.trigger[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Clinical Findings that may cause an clinical evaluation.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/clinical-findings"
              }
            }
          },
          {
            "path": "ClinicalImpression.investigations",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ClinicalImpression.investigations.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClinicalImpression.investigations.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClinicalImpression.investigations.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClinicalImpression.investigations.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "A name/code for a set of investigations.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/investigation-sets"
              }
            }
          },
          {
            "path": "ClinicalImpression.investigations.item",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
                ]
              }
            ]
          },
          {
            "path": "ClinicalImpression.protocol",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "ClinicalImpression.summary",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ClinicalImpression.finding",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ClinicalImpression.finding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClinicalImpression.finding.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClinicalImpression.finding.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClinicalImpression.finding.item",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Identification of the Condition or diagnosis.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-code"
              }
            }
          },
          {
            "path": "ClinicalImpression.finding.cause",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ClinicalImpression.resolved",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Identification of the Condition or diagnosis.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-code"
              }
            }
          },
          {
            "path": "ClinicalImpression.ruledOut",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ClinicalImpression.ruledOut.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ClinicalImpression.ruledOut.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ClinicalImpression.ruledOut.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ClinicalImpression.ruledOut.item",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Identification of the Condition or diagnosis.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-code"
              }
            }
          },
          {
            "path": "ClinicalImpression.ruledOut.reason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ClinicalImpression.prognosis",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ClinicalImpression.plan",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/CarePlan"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Appointment"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/CommunicationRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DeviceUseRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/MedicationOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Order"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ProcessRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SupplyRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/VisionPrescription"
                ]
              }
            ]
          },
          {
            "path": "ClinicalImpression.action",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Procedure"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/MedicationOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SupplyRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Appointment"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Communication",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Communication",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Communication",
      "name": "Communication",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Communication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Communication.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Communication.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Communication.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Communication.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Communication.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Communication.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.category",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for general categories of communications such as alerts, instruction, etc."
            }
          },
          {
            "path": "Communication.sender",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.recipient",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.payload",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.payload.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Communication.payload.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Communication.payload.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Communication.payload.content[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              },
              {
                "code": "Attachment"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.medium",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for communication mediums such as phone, fax, email, in person, etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ParticipationMode"
              }
            }
          },
          {
            "path": "Communication.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of the communication.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/communication-status"
              }
            }
          },
          {
            "path": "Communication.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.sent",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.received",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.reason",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for describing reasons for the occurrence of a communication."
            }
          },
          {
            "path": "Communication.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.requestDetail",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/CommunicationRequest"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "CommunicationRequest",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest",
      "name": "CommunicationRequest",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "CommunicationRequest",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "CommunicationRequest.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "CommunicationRequest.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "CommunicationRequest.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CommunicationRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CommunicationRequest.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.category",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for general categories of communications such as alerts, instruction, etc."
            }
          },
          {
            "path": "CommunicationRequest.sender",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.recipient",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.payload",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.payload.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "CommunicationRequest.payload.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CommunicationRequest.payload.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CommunicationRequest.payload.content[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              },
              {
                "code": "Attachment"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.medium",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for communication mediums such as phone, fax, email, in person, etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ParticipationMode"
              }
            }
          },
          {
            "path": "CommunicationRequest.requester",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of the communication.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/communication-request-status"
              }
            }
          },
          {
            "path": "CommunicationRequest.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.scheduled[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.reason",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for describing reasons for the occurrence of a communication."
            }
          },
          {
            "path": "CommunicationRequest.requestedOn",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.priority",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes indicating the relative importance of a communication request.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/diagnostic-order-priority"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Composition",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Composition",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Composition",
      "name": "Composition",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Composition",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Composition.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Composition.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Composition.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Composition.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Composition.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Composition.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Composition.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.date",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Type of a composition.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/doc-typecodes"
              }
            }
          },
          {
            "path": "Composition.class",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "High-level kind of a clinical document at a macro level.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/doc-classcodes"
              }
            }
          },
          {
            "path": "Composition.title",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The workflow/clinical status of the composition.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/composition-status"
              }
            }
          },
          {
            "path": "Composition.confidentiality",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Codes specifying the level of confidentiality of the composition.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-Confidentiality"
              }
            }
          },
          {
            "path": "Composition.subject",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.author",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.attester",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.attester.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Composition.attester.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Composition.attester.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Composition.attester.mode",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The way in which a person authenticated a composition.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/composition-attestation-mode"
              }
            }
          },
          {
            "path": "Composition.attester.time",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.attester.party",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.custodian",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.event",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.event.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Composition.event.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Composition.event.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Composition.event.code",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "This list of codes represents the main clinical acts being documented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ActCode"
              }
            }
          },
          {
            "path": "Composition.event.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.event.detail",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Section"
              }
            ],
            "path": "Composition.section",
            "name": "section",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "cmp-2",
                "severity": "error",
                "human": "A section can only have an emptyReason if it is empty",
                "xpath": "not(exists(f:emptyReason) and exists(f:entry))"
              },
              {
                "key": "cmp-1",
                "severity": "error",
                "human": "A section must at least one of text, entries, or sub-sections",
                "xpath": "exists(f:text) or exists(f:entry) or exists(f:section)"
              }
            ]
          },
          {
            "path": "Composition.section.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Composition.section.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Composition.section.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Composition.section.title",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Composition.section.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Classification of a section of a composition/document.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/doc-section-codes"
              }
            }
          },
          {
            "path": "Composition.section.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "cmp-1"
            ]
          },
          {
            "path": "Composition.section.mode",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The processing mode that applies to this section.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/list-mode"
              }
            }
          },
          {
            "path": "Composition.section.orderedBy",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "What order applies to the items in the entry.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/list-order"
              }
            }
          },
          {
            "path": "Composition.section.entry",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition": [
              "cmp-2"
            ]
          },
          {
            "path": "Composition.section.emptyReason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "cmp-2"
            ],
            "binding": {
              "strength": "preferred",
              "description": "If a section is empty, why it is empty.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/list-empty-reason"
              }
            }
          },
          {
            "path": "Composition.section.section",
            "min": 0,
            "max": "*",
            "nameReference": "section",
            "condition": [
              "cmp-1"
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ConceptMap",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ConceptMap",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ConceptMap",
      "name": "ConceptMap",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ConceptMap",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "ConceptMap.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ConceptMap.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ConceptMap.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ConceptMap.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ConceptMap.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ConceptMap.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ConceptMap.url",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The lifecycle status of a Value Set or Concept Map.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/conformance-resource-status"
              }
            }
          },
          {
            "path": "ConceptMap.experimental",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.publisher",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ConceptMap.contact.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ConceptMap.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ConceptMap.contact.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.contact.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.useContext",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Indicates the countries, regions, disciplines and other aspects of use within which this artifact is targeted for use.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/use-context"
              }
            }
          },
          {
            "path": "ConceptMap.requirements",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ConceptMap.copyright",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ConceptMap.source[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ValueSet"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ConceptMap.target[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ValueSet"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "SourceElement"
              }
            ],
            "path": "ConceptMap.element",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ConceptMap.element.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ConceptMap.element.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ConceptMap.element.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ConceptMap.element.codeSystem",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "ConceptMap.element.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "TargetElement"
              }
            ],
            "path": "ConceptMap.element.target",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "cmd-1",
                "severity": "error",
                "human": "If the map is narrower or inexact, there SHALL be some comments",
                "xpath": "exists(f:comments) or ((f:equivalence/@value != 'narrower') and (f:equivalence/@value != 'inexact'))"
              }
            ]
          },
          {
            "path": "ConceptMap.element.target.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ConceptMap.element.target.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ConceptMap.element.target.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ConceptMap.element.target.codeSystem",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "ConceptMap.element.target.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ]
          },
          {
            "path": "ConceptMap.element.target.equivalence",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "binding": {
              "strength": "required",
              "description": "The degree of equivalence between concepts.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/concept-map-equivalence"
              }
            }
          },
          {
            "path": "ConceptMap.element.target.comments",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "cmd-1"
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "OtherElement"
              }
            ],
            "path": "ConceptMap.element.target.dependsOn",
            "name": "dependsOn",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ConceptMap.element.target.dependsOn.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ConceptMap.element.target.dependsOn.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ConceptMap.element.target.dependsOn.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ConceptMap.element.target.dependsOn.element",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "ConceptMap.element.target.dependsOn.codeSystem",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "ConceptMap.element.target.dependsOn.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ConceptMap.element.target.product",
            "min": 0,
            "max": "*",
            "nameReference": "dependsOn"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Condition",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Condition",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Condition",
      "name": "Condition",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Condition",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Condition.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Condition.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Condition.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Condition.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.asserter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.dateRecorded",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Identification of the condition or diagnosis.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-code"
              }
            }
          },
          {
            "path": "Condition.category",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "A category assigned to the condition.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-category"
              }
            }
          },
          {
            "path": "Condition.clinicalStatus",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "The clinical status of the condition or diagnosis.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-clinical"
              }
            }
          },
          {
            "path": "Condition.verificationStatus",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The verification status to support or decline the clinical status of the condition or diagnosis.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-ver-status"
              }
            }
          },
          {
            "path": "Condition.severity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-severity"
              }
            }
          },
          {
            "path": "Condition.onset[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Age"
                ]
              },
              {
                "code": "Period"
              },
              {
                "code": "Range"
              },
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.abatement[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Age"
                ]
              },
              {
                "code": "boolean"
              },
              {
                "code": "Period"
              },
              {
                "code": "Range"
              },
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.stage",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "con-1",
                "severity": "error",
                "human": "Stage SHALL have summary or assessment",
                "xpath": "exists(f:summary) or exists(f:assessment)"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.stage.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.stage.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.stage.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.stage.summary",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "con-1"
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes describing condition stages (e.g. Cancer stages).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-stage"
              }
            }
          },
          {
            "path": "Condition.stage.assessment",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ClinicalImpression"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "condition": [
              "con-1"
            ],
            "isSummary": true
          },
          {
            "path": "Condition.evidence",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "con-2",
                "severity": "error",
                "human": "evidence SHALL have code or details",
                "xpath": "exists(f:code) or exists(f:detail)"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.evidence.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.evidence.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.evidence.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.evidence.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "con-2"
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes that describe the manifestation or symptoms of a condition.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/manifestation-or-symptom"
              }
            }
          },
          {
            "path": "Condition.evidence.detail",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition": [
              "con-2"
            ],
            "isSummary": true
          },
          {
            "path": "Condition.bodySite",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes describing anatomical locations. May include laterality.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/body-site"
              }
            }
          },
          {
            "path": "Condition.notes",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Conformance",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Conformance",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Conformance",
      "name": "Conformance",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Conformance",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "cnf-14",
                "severity": "error",
                "human": "Conformance statements of kind 'requirements' do not have software or implementation elements",
                "xpath": "not(exists(f:software) or exists(f:implementation)) or (f:kind/@value != 'requirements')"
              },
              {
                "key": "cnf-1",
                "severity": "error",
                "human": "A Conformance statement SHALL have at least one of REST, messaging or document",
                "xpath": "exists(f:rest) or exists(f:messaging) or exists(f:document)"
              },
              {
                "key": "cnf-15",
                "severity": "error",
                "human": "Conformance statements of kind 'software' do not have implementation elements",
                "xpath": "not(exists(f:implementation)) or (f:kind/@value != 'capability')"
              },
              {
                "key": "cnf-2",
                "severity": "error",
                "human": "A Conformance statement SHALL have at least one of description, software, or implementation",
                "xpath": "count(f:software | f:implementation | f:description) > 0"
              },
              {
                "key": "cnf-3",
                "severity": "error",
                "human": "Messaging end-point is required (and is only permitted) when statement is for an implementation",
                "xpath": "not(exists(f:messaging/f:endpoint)) or f:kind/@value = 'instance'"
              },
              {
                "key": "cnf-7",
                "severity": "error",
                "human": "The set of documents must be unique by the combination of profile & mode",
                "xpath": "count(f:document[f:mode/@value='producer'])=count(distinct-values(f:document[f:mode/@value='producer']/f:profile/f:reference/@value)) and count(f:document[f:mode/@value='consumer'])=count(distinct-values(f:document[f:mode/@value='consumer']/f:profile/f:reference/@value))"
              },
              {
                "key": "cnf-8",
                "severity": "error",
                "human": "There can only be one REST declaration per mode",
                "xpath": "count(f:rest)=count(distinct-values(f:rest/f:mode/@value))"
              }
            ]
          },
          {
            "path": "Conformance.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Conformance.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Conformance.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Conformance.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Conformance.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.url",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The lifecycle status of a Value Set or Concept Map.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/conformance-resource-status"
              }
            }
          },
          {
            "path": "Conformance.experimental",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.publisher",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.contact.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.contact.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.contact.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.date",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "cnf-2"
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.requirements",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.copyright",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.kind",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How a conformance statement is intended to be used.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/conformance-statement-kind"
              }
            }
          },
          {
            "path": "Conformance.software",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "cnf-2"
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.software.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.software.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.software.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.software.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.software.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.software.releaseDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.implementation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "cnf-2"
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.implementation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.implementation.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.implementation.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.implementation.description",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.implementation.url",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.fhirVersion",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.acceptUnknown",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A code that indicates whether an application accepts unknown elements or extensions when reading resources.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/unknown-content-code"
              }
            }
          },
          {
            "path": "Conformance.format",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The mime type of an attachment. Any valid mime type is allowed.",
              "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt"
            }
          },
          {
            "path": "Conformance.profile",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
                ]
              }
            ]
          },
          {
            "path": "Conformance.rest",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "cnf-1"
            ],
            "constraint": [
              {
                "key": "cnf-9",
                "severity": "error",
                "human": "A given resource can only be described once per RESTful mode",
                "xpath": "count(f:resource)=count(distinct-values(f:resource/f:type/@value))"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.rest.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.rest.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.rest.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.rest.mode",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The mode of a RESTful conformance statement.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/restful-conformance-mode"
              }
            }
          },
          {
            "path": "Conformance.rest.documentation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.rest.security",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Conformance.rest.security.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.rest.security.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.rest.security.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.rest.security.cors",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Conformance.rest.security.service",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "Types of security services used with FHIR.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/restful-security-service"
              }
            }
          },
          {
            "path": "Conformance.rest.security.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.rest.security.certificate",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Conformance.rest.security.certificate.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.rest.security.certificate.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.rest.security.certificate.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.rest.security.certificate.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The mime type of an attachment. Any valid mime type is allowed.",
              "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt"
            }
          },
          {
            "path": "Conformance.rest.security.certificate.blob",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "base64Binary"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "cnf-12",
                "severity": "error",
                "human": "Search parameter names must be unique in the context of a resource",
                "xpath": "count(f:searchParam)=count(distinct-values(f:searchParam/f:name/@value))"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Conformance.rest.resource.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.rest.resource.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "One of the resource types defined as part of FHIR.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-types"
              }
            }
          },
          {
            "path": "Conformance.rest.resource.profile",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
                ]
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ResourceInteraction"
              }
            ],
            "path": "Conformance.rest.resource.interaction",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.interaction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.interaction.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.interaction.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.rest.resource.interaction.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Operations supported by REST at the type or instance level.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/type-restful-interaction"
              }
            }
          },
          {
            "path": "Conformance.rest.resource.interaction.documentation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.versioning",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "How the system supports versioning for a resource.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/versioning-policy"
              }
            }
          },
          {
            "path": "Conformance.rest.resource.readHistory",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.updateCreate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.conditionalCreate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.conditionalUpdate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.conditionalDelete",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A code that indicates how the server supports conditional delete.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/conditional-delete-status"
              }
            }
          },
          {
            "path": "Conformance.rest.resource.searchInclude",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.searchRevInclude",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.searchParam",
            "name": "searchParam",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "cnf-13",
                "severity": "error",
                "human": "Search parameters can only have chain names when the search parameter type is 'reference'",
                "xpath": "not(exists(f:chain)) or (f:type/@value = 'reference')"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.searchParam.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.searchParam.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.searchParam.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.rest.resource.searchParam.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.searchParam.definition",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.searchParam.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Data types allowed to be used for search parameters.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/search-param-type"
              }
            }
          },
          {
            "path": "Conformance.rest.resource.searchParam.documentation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.rest.resource.searchParam.target",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "One of the resource types defined as part of FHIR.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-types"
              }
            }
          },
          {
            "path": "Conformance.rest.resource.searchParam.modifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A supported modifier for a search parameter.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/search-modifier-code"
              }
            }
          },
          {
            "path": "Conformance.rest.resource.searchParam.chain",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "SystemInteraction"
              }
            ],
            "path": "Conformance.rest.interaction",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Conformance.rest.interaction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.rest.interaction.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.rest.interaction.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.rest.interaction.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Operations supported by REST at the system level.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/system-restful-interaction"
              }
            }
          },
          {
            "path": "Conformance.rest.interaction.documentation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.rest.transactionMode",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "defaultValueCode": "not-supported",
            "binding": {
              "strength": "required",
              "description": "A code that indicates how transactions are supported.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/transaction-mode"
              }
            }
          },
          {
            "path": "Conformance.rest.searchParam",
            "min": 0,
            "max": "*",
            "nameReference": "searchParam"
          },
          {
            "path": "Conformance.rest.operation",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Conformance.rest.operation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.rest.operation.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.rest.operation.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.rest.operation.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.rest.operation.definition",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/OperationDefinition"
                ]
              }
            ]
          },
          {
            "path": "Conformance.rest.compartment",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "Conformance.messaging",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "cnf-1"
            ]
          },
          {
            "path": "Conformance.messaging.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.messaging.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.messaging.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.messaging.endpoint",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Conformance.messaging.endpoint.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.messaging.endpoint.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.messaging.endpoint.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.messaging.endpoint.protocol",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "The protocol used for message transport.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/message-transport"
              }
            }
          },
          {
            "path": "Conformance.messaging.endpoint.address",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "Conformance.messaging.reliableCache",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "unsignedInt"
              }
            ]
          },
          {
            "path": "Conformance.messaging.documentation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.messaging.event",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Conformance.messaging.event.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.messaging.event.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.messaging.event.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.messaging.event.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "One of the message events defined as part of FHIR.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/message-events"
              }
            }
          },
          {
            "path": "Conformance.messaging.event.category",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The impact of the content of a message.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/message-significance-category"
              }
            }
          },
          {
            "path": "Conformance.messaging.event.mode",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The mode of a message conformance statement.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/message-conformance-event-mode"
              }
            }
          },
          {
            "path": "Conformance.messaging.event.focus",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "One of the resource types defined as part of FHIR.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-types"
              }
            }
          },
          {
            "path": "Conformance.messaging.event.request",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
                ]
              }
            ]
          },
          {
            "path": "Conformance.messaging.event.response",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
                ]
              }
            ]
          },
          {
            "path": "Conformance.messaging.event.documentation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.document",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "cnf-1"
            ]
          },
          {
            "path": "Conformance.document.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Conformance.document.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Conformance.document.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Conformance.document.mode",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Whether the application produces or consumes documents.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/document-mode"
              }
            }
          },
          {
            "path": "Conformance.document.documentation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Conformance.document.profile",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Contract",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Contract",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Contract",
      "name": "Contract",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Contract",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Contract.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Contract.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Contract.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Contract.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Contract.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.issued",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.applies",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.subject",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.authority",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "Contract.domain",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "Contract.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "List of overall contract codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contract-type"
              }
            }
          },
          {
            "path": "Contract.subType",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Detailed codes within the above.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contract-subtype"
              }
            }
          },
          {
            "path": "Contract.action",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Detailed codes for the contract action.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contract-action"
              }
            }
          },
          {
            "path": "Contract.actionReason",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Detailed codes for the contract action reason.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
              }
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Actor"
              }
            ],
            "path": "Contract.actor",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.actor.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.actor.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.actor.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.actor.entity",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Contract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              }
            ]
          },
          {
            "path": "Contract.actor.role",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Detailed codes for the contract actor role.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contract-actorrole"
              }
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ValuedItem"
              }
            ],
            "path": "Contract.valuedItem",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.valuedItem.entity[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "Contract.valuedItem.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.effectiveTime",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "Contract.valuedItem.unitPrice",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ]
          },
          {
            "path": "Contract.valuedItem.factor",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.points",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.net",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Signatory"
              }
            ],
            "path": "Contract.signer",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.signer.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.signer.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.signer.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.signer.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "List of parties who may be signing.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contract-signer-type"
              }
            }
          },
          {
            "path": "Contract.signer.party",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ]
          },
          {
            "path": "Contract.signer.signature",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Term"
              }
            ],
            "path": "Contract.term",
            "name": "term",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.term.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.term.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.term.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.term.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.term.issued",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.term.applies",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.term.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Detailed codes for the types of contract provisions.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contract-term-type"
              }
            }
          },
          {
            "path": "Contract.term.subType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Detailed codes for the subtypes of contract provisions.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contract-term-subtype"
              }
            }
          },
          {
            "path": "Contract.term.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "Contract.term.action",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Detailed codes for the contract action.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contract-action"
              }
            }
          },
          {
            "path": "Contract.term.actionReason",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Detailed codes for the contract action reason.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
              }
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "TermActor"
              }
            ],
            "path": "Contract.term.actor",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.term.actor.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.term.actor.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.term.actor.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.term.actor.entity",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Contract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              }
            ]
          },
          {
            "path": "Contract.term.actor.role",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Detailed codes for the contract actor role.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contract-actorrole"
              }
            }
          },
          {
            "path": "Contract.term.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "TermValuedItem"
              }
            ],
            "path": "Contract.term.valuedItem",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.term.valuedItem.entity[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.effectiveTime",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.unitPrice",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.factor",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.points",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.net",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ]
          },
          {
            "path": "Contract.term.group",
            "min": 0,
            "max": "*",
            "nameReference": "term"
          },
          {
            "path": "Contract.binding[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Attachment"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Composition"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DocumentReference"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
                ]
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "FriendlyLanguage"
              }
            ],
            "path": "Contract.friendly",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.friendly.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.friendly.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.friendly.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.friendly.content[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Attachment"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Composition"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DocumentReference"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
                ]
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "LegalLanguage"
              }
            ],
            "path": "Contract.legal",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.legal.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.legal.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.legal.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.legal.content[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Attachment"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Composition"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DocumentReference"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
                ]
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ComputableLanguage"
              }
            ],
            "path": "Contract.rule",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.rule.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.rule.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.rule.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.rule.content[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Attachment"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DocumentReference"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Coverage",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Coverage",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Coverage",
      "name": "Coverage",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Coverage",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Coverage.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Coverage.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Coverage.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Coverage.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Coverage.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Coverage.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Coverage.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Coverage.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Coverage.issuer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Coverage.bin",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Coverage.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Coverage.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The type of insurance: public health, worker compensation; private accident, auto, private health, etc.).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ActCoverageTypeCode"
              }
            }
          },
          {
            "path": "Coverage.subscriberId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Coverage.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Coverage.group",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Coverage.plan",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Coverage.subPlan",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Coverage.dependent",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Coverage.sequence",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Coverage.subscriber",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isModifier": true
          },
          {
            "path": "Coverage.network",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Coverage.contract",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Contract"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/DataElement",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "DataElement",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/DataElement",
      "name": "DataElement",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "DataElement",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "DataElement.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DataElement.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "DataElement.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DataElement.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DataElement.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DataElement.url",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The lifecycle status of a Value Set or Concept Map.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/conformance-resource-status"
              }
            }
          },
          {
            "path": "DataElement.experimental",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.publisher",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.contact.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DataElement.contact.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.contact.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.useContext",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Indicates the countries, regions, disciplines and other aspects of use within which this artifact is targeted for use.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/use-context"
              }
            }
          },
          {
            "path": "DataElement.copyright",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "DataElement.stringency",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Indicates the degree of precision of the data element definition.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/dataelement-stringency"
              }
            }
          },
          {
            "path": "DataElement.mapping",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "DataElement.mapping.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.mapping.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.mapping.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DataElement.mapping.identity",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.mapping.uri",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "DataElement.mapping.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "DataElement.mapping.comments",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "DataElement.element",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "ElementDefinition"
              }
            ],
            "constraint": [
              {
                "key": "dae-1",
                "severity": "error",
                "human": "No base allowed",
                "xpath": "not(exists(f:base))"
              },
              {
                "key": "dae-2",
                "severity": "error",
                "human": "No slicing allowed",
                "xpath": "not(exists(f:slicing))"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/DetectedIssue",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "DetectedIssue",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/DetectedIssue",
      "name": "DetectedIssue",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "DetectedIssue",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "DetectedIssue.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DetectedIssue.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DetectedIssue.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DetectedIssue.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "DetectedIssue.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DetectedIssue.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DetectedIssue.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DetectedIssue.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DetectedIssue.patient",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DetectedIssue.category",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Codes identifying the general type of detected issue; e.g. Drug-drug interaction, Timing issue, Duplicate therapy, etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/detectedissue-category"
              }
            }
          },
          {
            "path": "DetectedIssue.severity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Indicates the potential degree of impact of the identified issue on the patient.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/detectedissue-severity"
              }
            }
          },
          {
            "path": "DetectedIssue.implicated",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DetectedIssue.detail",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "DetectedIssue.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DetectedIssue.author",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DetectedIssue.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DetectedIssue.reference",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "DetectedIssue.mitigation",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "DetectedIssue.mitigation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DetectedIssue.mitigation.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DetectedIssue.mitigation.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DetectedIssue.mitigation.action",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "Codes describing steps taken to resolve the issue or other circumstances that mitigate the risk associated with the issue; e.g. 'added concurrent therapy', 'prior therapy documented', etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/detectedissue-mitigation-action"
              }
            }
          },
          {
            "path": "DetectedIssue.mitigation.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "DetectedIssue.mitigation.author",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Device",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Device",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Device",
      "name": "Device",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Device",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Device.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Device.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Device.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Device.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Device.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Device.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Device.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Device.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Device.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Device.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "Defines the nature of the device and the kind of functionality/services/behavior that may be expected from it.",
              "valueSetUri": "https://www.gmdnagency.org/Info.aspx?pageid=1091"
            }
          },
          {
            "path": "Device.note",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "Device.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The availability status of the device.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/devicestatus"
              }
            }
          },
          {
            "path": "Device.manufacturer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Device.model",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Device.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Device.manufactureDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Device.expiry",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Device.udi",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Device.lotNumber",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Device.owner",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "Device.location",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "Device.patient",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ]
          },
          {
            "path": "Device.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Device.url",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/DeviceComponent",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "DeviceComponent",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/DeviceComponent",
      "name": "DeviceComponent",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "DeviceComponent",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceComponent.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceComponent.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceComponent.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DeviceComponent.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "DeviceComponent.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DeviceComponent.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DeviceComponent.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DeviceComponent.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DeviceComponent.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Describes the type of the component.",
              "valueSetUri": "https://rtmms.nist.gov/rtmms/index.htm#!hrosetta"
            }
          },
          {
            "path": "DeviceComponent.identifier",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceComponent.lastSystemChange",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceComponent.source",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceComponent.parent",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DeviceComponent"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceComponent.operationalStatus",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes representing the current status of the device - on, off, suspended, etc."
            }
          },
          {
            "path": "DeviceComponent.parameterGroup",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes identifying groupings of parameters; e.g. Cardiovascular."
            }
          },
          {
            "path": "DeviceComponent.measurementPrinciple",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Different measurement principle supported by the device.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/measurement-principle"
              }
            }
          },
          {
            "path": "DeviceComponent.productionSpecification",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceComponent.productionSpecification.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DeviceComponent.productionSpecification.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DeviceComponent.productionSpecification.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DeviceComponent.productionSpecification.specType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for device specification types such as serial number, part number, hardware revision, software revision, etc."
            }
          },
          {
            "path": "DeviceComponent.productionSpecification.componentId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceComponent.productionSpecification.productionSpec",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceComponent.languageCode",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/DeviceMetric",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "DeviceMetric",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/DeviceMetric",
      "name": "DeviceMetric",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "DeviceMetric",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceMetric.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceMetric.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceMetric.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DeviceMetric.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "DeviceMetric.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DeviceMetric.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DeviceMetric.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DeviceMetric.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DeviceMetric.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Describes the metric type.",
              "valueSetUri": "https://rtmms.nist.gov/rtmms/index.htm#!hrosetta"
            }
          },
          {
            "path": "DeviceMetric.identifier",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceMetric.unit",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Describes the unit of the metric.",
              "valueSetUri": "https://rtmms.nist.gov/rtmms/index.htm#!units"
            }
          },
          {
            "path": "DeviceMetric.source",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceMetric.parent",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DeviceComponent"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceMetric.operationalStatus",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Describes the operational status of the DeviceMetric.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/metric-operational-status"
              }
            }
          },
          {
            "path": "DeviceMetric.color",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Describes the typical color of representation.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/metric-color"
              }
            }
          },
          {
            "path": "DeviceMetric.category",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Describes the category of the metric.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/metric-category"
              }
            }
          },
          {
            "path": "DeviceMetric.measurementPeriod",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Timing"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceMetric.calibration",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceMetric.calibration.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DeviceMetric.calibration.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DeviceMetric.calibration.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DeviceMetric.calibration.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Describes the type of a metric calibration.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/metric-calibration-type"
              }
            }
          },
          {
            "path": "DeviceMetric.calibration.state",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Describes the state of a metric calibration.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/metric-calibration-state"
              }
            }
          },
          {
            "path": "DeviceMetric.calibration.time",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/DeviceUseRequest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "DeviceUseRequest",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/DeviceUseRequest",
      "name": "DeviceUseRequest",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "DeviceUseRequest",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "DeviceUseRequest.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DeviceUseRequest.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DeviceUseRequest.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DeviceUseRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DeviceUseRequest.bodySite[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/BodySite"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Codes representing the status of the request.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/device-use-request-status"
              }
            }
          },
          {
            "path": "DeviceUseRequest.device",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.indication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.notes",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.prnReason",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.orderedOn",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.recordedOn",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.subject",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.timing[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Timing"
              },
              {
                "code": "Period"
              },
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.priority",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Codes representing the priority of the request.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/device-use-request-priority"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/DeviceUseStatement",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "DeviceUseStatement",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/DeviceUseStatement",
      "name": "DeviceUseStatement",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "DeviceUseStatement",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "DeviceUseStatement.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DeviceUseStatement.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DeviceUseStatement.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DeviceUseStatement.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DeviceUseStatement.bodySite[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/BodySite"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.whenUsed",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.device",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.indication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.notes",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.recordedOn",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.subject",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.timing[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Timing"
              },
              {
                "code": "Period"
              },
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "DiagnosticOrder",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder",
      "name": "DiagnosticOrder",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "DiagnosticOrder",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "DiagnosticOrder.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DiagnosticOrder.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticOrder.subject",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.orderer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.reason",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Diagnosis or problem codes justifying the reason for requesting the diagnostic investigation.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-code"
              }
            }
          },
          {
            "path": "DiagnosticOrder.supportingInformation",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DocumentReference"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticOrder.specimen",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticOrder.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of a diagnostic order.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/diagnostic-order-status"
              }
            }
          },
          {
            "path": "DiagnosticOrder.priority",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The clinical priority of a diagnostic order.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/diagnostic-order-priority"
              }
            }
          },
          {
            "path": "DiagnosticOrder.event",
            "name": "event",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticOrder.event.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of a diagnostic order.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/diagnostic-order-status"
              }
            }
          },
          {
            "path": "DiagnosticOrder.event.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Additional information about an event that occurred to a diagnostic order - e.g. if the status remained unchanged.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/diagnostic-order-event"
              }
            }
          },
          {
            "path": "DiagnosticOrder.event.dateTime",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.actor",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticOrder.item.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Codes for tests/services that can be performed by diagnostic services.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/diagnostic-requests"
              }
            }
          },
          {
            "path": "DiagnosticOrder.item.specimen",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.bodySite",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes describing anatomical locations. May include laterality.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/body-site"
              }
            }
          },
          {
            "path": "DiagnosticOrder.item.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of a diagnostic order.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/diagnostic-order-status"
              }
            }
          },
          {
            "path": "DiagnosticOrder.item.event",
            "min": 0,
            "max": "*",
            "nameReference": "event",
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.note",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "DiagnosticReport",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 3
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
      "name": "DiagnosticReport",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "DiagnosticReport",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "DiagnosticReport.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "DiagnosticReport.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DiagnosticReport.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DiagnosticReport.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticReport.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of the diagnostic report as a whole.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status"
              }
            }
          },
          {
            "path": "DiagnosticReport.category",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for diagnostic service sections.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections"
              }
            }
          },
          {
            "path": "DiagnosticReport.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Codes that describe Diagnostic Reports.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/report-codes"
              }
            }
          },
          {
            "path": "DiagnosticReport.subject",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.effective[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.issued",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.performer",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.request",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticReport.specimen",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticReport.result",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticReport.imagingStudy",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ImagingObjectSelection"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticReport.image",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.image.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticReport.image.comment",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.link",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Media"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.conclusion",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "DiagnosticReport.codedDiagnosis",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Diagnoses codes provided as adjuncts to the report.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/clinical-findings"
              }
            }
          },
          {
            "path": "DiagnosticReport.presentedForm",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Attachment"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/DocumentManifest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "DocumentManifest",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/DocumentManifest",
      "name": "DocumentManifest",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "DocumentManifest",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DocumentManifest.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "DocumentManifest.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DocumentManifest.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DocumentManifest.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentManifest.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentManifest.masterIdentifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.recipient",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Precise type of clinical document.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes"
              }
            }
          },
          {
            "path": "DocumentManifest.author",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.source",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of the document reference.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/document-reference-status"
              }
            }
          },
          {
            "path": "DocumentManifest.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.content",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.content.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentManifest.content.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentManifest.content.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentManifest.content.p[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Attachment"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.related",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentManifest.related.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentManifest.related.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentManifest.related.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.related.ref",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/DocumentReference",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "DocumentReference",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/DocumentReference",
      "name": "DocumentReference",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "DocumentReference",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DocumentReference.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "DocumentReference.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DocumentReference.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DocumentReference.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentReference.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentReference.masterIdentifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Precise type of clinical document.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes"
              }
            }
          },
          {
            "path": "DocumentReference.class",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "High-level kind of a clinical document at a macro level.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/c80-doc-classcodes"
              }
            }
          },
          {
            "path": "DocumentReference.author",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.custodian",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.authenticator",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.indexed",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of the document reference.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/document-reference-status"
              }
            }
          },
          {
            "path": "DocumentReference.docStatus",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Status of the underlying document.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/composition-status"
              }
            }
          },
          {
            "path": "DocumentReference.relatesTo",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DocumentReference.relatesTo.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentReference.relatesTo.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentReference.relatesTo.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentReference.relatesTo.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of relationship between documents.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/document-relationship-type"
              }
            }
          },
          {
            "path": "DocumentReference.relatesTo.target",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DocumentReference"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.securityLabel",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Security Labels from the Healthcare Privacy and Security Classification System.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/security-labels"
              }
            }
          },
          {
            "path": "DocumentReference.content",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.content.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentReference.content.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentReference.content.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentReference.content.attachment",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Attachment"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.content.format",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Document Format Codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/formatcodes"
              }
            }
          },
          {
            "path": "DocumentReference.context",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.context.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentReference.context.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentReference.context.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentReference.context.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.context.event",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "This list of codes represents the main clinical acts being documented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ActCode"
              }
            }
          },
          {
            "path": "DocumentReference.context.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.context.facilityType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "XDS Facility Type.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/c80-facilitycodes"
              }
            }
          },
          {
            "path": "DocumentReference.context.practiceSetting",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Additional details about where the content was created (e.g. clinical specialty).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes"
              }
            }
          },
          {
            "path": "DocumentReference.context.sourcePatientInfo",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.context.related",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.context.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentReference.context.related.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentReference.context.related.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentReference.context.related.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.context.related.ref",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/EligibilityRequest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "EligibilityRequest",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/EligibilityRequest",
      "name": "EligibilityRequest",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "EligibilityRequest",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityRequest.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityRequest.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityRequest.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "EligibilityRequest.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "EligibilityRequest.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "EligibilityRequest.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "EligibilityRequest.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "EligibilityRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "EligibilityRequest.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityRequest.ruleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "EligibilityRequest.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "EligibilityRequest.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityRequest.target",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityRequest.provider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityRequest.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/EligibilityResponse",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "EligibilityResponse",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/EligibilityResponse",
      "name": "EligibilityResponse",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "EligibilityResponse",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityResponse.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityResponse.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityResponse.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "EligibilityResponse.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "EligibilityResponse.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "EligibilityResponse.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "EligibilityResponse.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "EligibilityResponse.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "EligibilityResponse.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityResponse.request",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/EligibilityRequest"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityResponse.outcome",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The outcome of the processing.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome"
              }
            }
          },
          {
            "path": "EligibilityResponse.disposition",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityResponse.ruleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "EligibilityResponse.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "EligibilityResponse.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityResponse.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityResponse.requestProvider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EligibilityResponse.requestOrganization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Encounter",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Encounter",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Encounter",
      "name": "Encounter",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Encounter",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Encounter.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Encounter.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Encounter.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Encounter.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Encounter.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Current state of the encounter",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-state"
              }
            }
          },
          {
            "path": "Encounter.statusHistory",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Encounter.statusHistory.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.statusHistory.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.statusHistory.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.statusHistory.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Current state of the encounter",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-state"
              }
            }
          },
          {
            "path": "Encounter.statusHistory.period",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Encounter.class",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Classification of the encounter",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-class"
              }
            }
          },
          {
            "path": "Encounter.type",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The type of encounter",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-type"
              }
            }
          },
          {
            "path": "Encounter.priority",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Indicates the urgency of the encounter.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-priority"
              }
            }
          },
          {
            "path": "Encounter.patient",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.episodeOfCare",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.incomingReferral",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
                ]
              }
            ]
          },
          {
            "path": "Encounter.participant",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.participant.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.participant.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.participant.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.participant.type",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Role of participant in encounter",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-participant-type"
              }
            }
          },
          {
            "path": "Encounter.participant.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Encounter.participant.individual",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.appointment",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Appointment"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Encounter.length",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Duration"
                ]
              }
            ]
          },
          {
            "path": "Encounter.reason",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Reason why the encounter takes place.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-reason"
              }
            }
          },
          {
            "path": "Encounter.indication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Procedure"
                ]
              }
            ]
          },
          {
            "path": "Encounter.hospitalization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.hospitalization.preAdmissionIdentifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.origin",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.admitSource",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "From where the patient was admitted.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-admit-source"
              }
            }
          },
          {
            "path": "Encounter.hospitalization.admittingDiagnosis",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.reAdmission",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The reason for re-admission of this hospitalization encounter."
            }
          },
          {
            "path": "Encounter.hospitalization.dietPreference",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Medical, cultural or ethical food preferences to help with catering requirements.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-diet"
              }
            }
          },
          {
            "path": "Encounter.hospitalization.specialCourtesy",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "Special courtesies",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-special-courtesy"
              }
            }
          },
          {
            "path": "Encounter.hospitalization.specialArrangement",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "Special arrangements",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-special-arrangements"
              }
            }
          },
          {
            "path": "Encounter.hospitalization.destination",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.dischargeDisposition",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "Discharge Disposition",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-discharge-disposition"
              }
            }
          },
          {
            "path": "Encounter.hospitalization.dischargeDiagnosis",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ]
          },
          {
            "path": "Encounter.location",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Encounter.location.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.location.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.location.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.location.location",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "Encounter.location.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The status of the location.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-location-status"
              }
            }
          },
          {
            "path": "Encounter.location.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Encounter.serviceProvider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "Encounter.partOf",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "EnrollmentRequest",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest",
      "name": "EnrollmentRequest",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "EnrollmentRequest",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentRequest.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentRequest.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentRequest.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "EnrollmentRequest.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "EnrollmentRequest.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "EnrollmentRequest.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "EnrollmentRequest.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "EnrollmentRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "EnrollmentRequest.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentRequest.ruleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "EnrollmentRequest.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "EnrollmentRequest.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentRequest.target",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentRequest.provider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentRequest.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentRequest.subject",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentRequest.coverage",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Coverage"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentRequest.relationship",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The code for the relationship of the patient to the subscriber.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/relationship"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/EnrollmentResponse",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "EnrollmentResponse",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/EnrollmentResponse",
      "name": "EnrollmentResponse",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "EnrollmentResponse",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentResponse.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentResponse.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentResponse.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "EnrollmentResponse.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "EnrollmentResponse.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "EnrollmentResponse.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "EnrollmentResponse.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "EnrollmentResponse.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "EnrollmentResponse.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentResponse.request",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentResponse.outcome",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The outcome of the processing.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome"
              }
            }
          },
          {
            "path": "EnrollmentResponse.disposition",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentResponse.ruleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "EnrollmentResponse.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "EnrollmentResponse.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentResponse.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentResponse.requestProvider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EnrollmentResponse.requestOrganization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "EpisodeOfCare",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare",
      "name": "EpisodeOfCare",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "EpisodeOfCare",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "EpisodeOfCare.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EpisodeOfCare.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EpisodeOfCare.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "EpisodeOfCare.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "EpisodeOfCare.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "EpisodeOfCare.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "EpisodeOfCare.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "EpisodeOfCare.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "EpisodeOfCare.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "EpisodeOfCare.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of the encounter.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/episode-of-care-status"
              }
            }
          },
          {
            "path": "EpisodeOfCare.statusHistory",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "EpisodeOfCare.statusHistory.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "EpisodeOfCare.statusHistory.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "EpisodeOfCare.statusHistory.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "EpisodeOfCare.statusHistory.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The status of the encounter.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/episode-of-care-status"
              }
            }
          },
          {
            "path": "EpisodeOfCare.statusHistory.period",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "EpisodeOfCare.type",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The type of the encounter."
            }
          },
          {
            "path": "EpisodeOfCare.condition",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ]
          },
          {
            "path": "EpisodeOfCare.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EpisodeOfCare.managingOrganization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "EpisodeOfCare.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "EpisodeOfCare.referralRequest",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
                ]
              }
            ]
          },
          {
            "path": "EpisodeOfCare.careManager",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ]
          },
          {
            "path": "EpisodeOfCare.careTeam",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "EpisodeOfCare.careTeam.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "EpisodeOfCare.careTeam.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "EpisodeOfCare.careTeam.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "EpisodeOfCare.careTeam.role",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Type of participation expected by a team member.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/participant-role"
              }
            }
          },
          {
            "path": "EpisodeOfCare.careTeam.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "EpisodeOfCare.careTeam.member",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ExplanationOfBenefit",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit",
      "name": "ExplanationOfBenefit",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ExplanationOfBenefit",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ExplanationOfBenefit.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ExplanationOfBenefit.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ExplanationOfBenefit.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ExplanationOfBenefit.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ExplanationOfBenefit.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ExplanationOfBenefit.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ExplanationOfBenefit.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ExplanationOfBenefit.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ExplanationOfBenefit.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ExplanationOfBenefit.request",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Claim"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ExplanationOfBenefit.outcome",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The outcome of the processing.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome"
              }
            }
          },
          {
            "path": "ExplanationOfBenefit.disposition",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ExplanationOfBenefit.ruleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "ExplanationOfBenefit.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "ExplanationOfBenefit.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ExplanationOfBenefit.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ExplanationOfBenefit.requestProvider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ExplanationOfBenefit.requestOrganization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "FamilyMemberHistory",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory",
      "name": "FamilyMemberHistory",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "FamilyMemberHistory",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "fhs-1",
                "severity": "error",
                "human": "Can have age[x] or birth[x], but not both",
                "xpath": "not (*[starts-with(local-name(.), 'age')] and *[starts-with(local-name(.), 'birth')])"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "FamilyMemberHistory.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "FamilyMemberHistory.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "FamilyMemberHistory.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A code that identifies the status of the family history record.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/history-status"
              }
            }
          },
          {
            "path": "FamilyMemberHistory.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.relationship",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The nature of the relationship between the patient and the related person being described in the family member history.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-FamilyMember"
              }
            }
          },
          {
            "path": "FamilyMemberHistory.gender",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The gender of a person used for administrative purposes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/administrative-gender"
              }
            }
          },
          {
            "path": "FamilyMemberHistory.born[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              },
              {
                "code": "date"
              },
              {
                "code": "string"
              }
            ],
            "condition": [
              "fhs-1"
            ]
          },
          {
            "path": "FamilyMemberHistory.age[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Age"
                ]
              },
              {
                "code": "Range"
              },
              {
                "code": "string"
              }
            ],
            "condition": [
              "fhs-1"
            ]
          },
          {
            "path": "FamilyMemberHistory.deceased[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Age"
                ]
              },
              {
                "code": "Range"
              },
              {
                "code": "date"
              },
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.note",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "FamilyMemberHistory.condition.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Identification of the Condition or diagnosis.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-code"
              }
            }
          },
          {
            "path": "FamilyMemberHistory.condition.outcome",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The result of the condition for the patient; e.g. death, permanent disability, temporary disability, etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-outcome"
              }
            }
          },
          {
            "path": "FamilyMemberHistory.condition.onset[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Age"
                ]
              },
              {
                "code": "Range"
              },
              {
                "code": "Period"
              },
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.note",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Flag",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Flag",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Flag",
      "name": "Flag",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Flag",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Flag.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Flag.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Flag.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Flag.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Flag.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Flag.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Flag.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Flag.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Flag.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Flag.category",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A general category for flags for filtering/display purposes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/flag-category"
              }
            }
          },
          {
            "path": "Flag.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or entered in error.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/flag-status"
              }
            }
          },
          {
            "path": "Flag.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Flag.subject",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Flag.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Flag.author",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Flag.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Detail codes identifying specific flagged issues.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/flag-code"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Goal",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Goal",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Goal",
      "name": "Goal",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Goal",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Goal.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Goal.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Goal.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Goal.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Goal.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Goal.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Goal.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Goal.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Goal.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Goal.start[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              },
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes describing events that can trigger the initiation of a goal",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/goal-start-event"
              }
            }
          },
          {
            "path": "Goal.target[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              },
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Duration"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Goal.category",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for grouping and sorting goals",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/goal-category"
              }
            }
          },
          {
            "path": "Goal.description",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Goal.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Indicates whether the goal has been met and is still being targeted",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/goal-status"
              }
            }
          },
          {
            "path": "Goal.statusDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Goal.statusReason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes to identify the reason for a goal's current status",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/goal-status-reason"
              }
            }
          },
          {
            "path": "Goal.author",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Goal.priority",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "The level of importance associated with a goal",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/goal-priority"
              }
            }
          },
          {
            "path": "Goal.addresses",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/MedicationStatement"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RiskAssessment"
                ]
              }
            ]
          },
          {
            "path": "Goal.note",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "Goal.outcome",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Goal.outcome.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Goal.outcome.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.outcome.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Goal.outcome.result[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The result of the goal; e.g. \"25% increase in shoulder mobility\", \"Anxiety reduced to moderate levels\".  \"15 kg weight loss sustained over 6 months\""
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Group",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Group",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Group",
      "name": "Group",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Group",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "grp-1",
                "severity": "error",
                "human": "Can only have members if group is \"actual\"",
                "xpath": "f:actual/@value=true() or not(exists(f:member))"
              }
            ]
          },
          {
            "path": "Group.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Group.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Group.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Group.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Group.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Group.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Group.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Group.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Group.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Group.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Types of resources that are part of group",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/group-type"
              }
            }
          },
          {
            "path": "Group.actual",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "condition": [
              "grp-1"
            ],
            "isSummary": true
          },
          {
            "path": "Group.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Kind of particular resource; e.g. cow, syringe, lake, etc."
            }
          },
          {
            "path": "Group.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Group.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Group.characteristic",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Group.characteristic.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Group.characteristic.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Group.characteristic.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Group.characteristic.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "List of characteristics used to describe group members; e.g. gender, age, owner, location, etc."
            }
          },
          {
            "path": "Group.characteristic.value[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "boolean"
              },
              {
                "code": "Quantity"
              },
              {
                "code": "Range"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Value of descriptive member characteristic; e.g. red, male, pneumonia, Caucasian, etc."
            }
          },
          {
            "path": "Group.characteristic.exclude",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Group.characteristic.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Group.member",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "grp-1"
            ]
          },
          {
            "path": "Group.member.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Group.member.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Group.member.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Group.member.entity",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              }
            ]
          },
          {
            "path": "Group.member.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Group.member.inactive",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/HealthcareService",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "HealthcareService",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/HealthcareService",
      "name": "HealthcareService",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "HealthcareService",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "HealthcareService.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "HealthcareService.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "HealthcareService.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "HealthcareService.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "HealthcareService.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "HealthcareService.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "HealthcareService.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "HealthcareService.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "HealthcareService.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "HealthcareService.providedBy",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "HealthcareService.serviceCategory",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A category of the service(s) that could be provided."
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ServiceType"
              }
            ],
            "path": "HealthcareService.serviceType",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "HealthcareService.serviceType.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "HealthcareService.serviceType.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "HealthcareService.serviceType.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "HealthcareService.serviceType.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Additional details about where the content was created (e.g. clinical specialty).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes"
              }
            }
          },
          {
            "path": "HealthcareService.serviceType.specialty",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A specialty that a healthcare service may provide."
            }
          },
          {
            "path": "HealthcareService.location",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "HealthcareService.serviceName",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "HealthcareService.comment",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "HealthcareService.extraDetails",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "HealthcareService.photo",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Attachment"
              }
            ],
            "isSummary": true
          },
          {
            "path": "HealthcareService.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "HealthcareService.coverageArea",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "HealthcareService.serviceProvisionCode",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The code(s) that detail the conditions under which the healthcare service is available/offered.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/service-provision-conditions"
              }
            }
          },
          {
            "path": "HealthcareService.eligibility",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Coded values underwhich a specific service is made available."
            }
          },
          {
            "path": "HealthcareService.eligibilityNote",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "HealthcareService.programName",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "HealthcareService.characteristic",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy)."
            }
          },
          {
            "path": "HealthcareService.referralMethod",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The methods of referral can be used when referring to a specific HealthCareService resource.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/service-referral-method"
              }
            }
          },
          {
            "path": "HealthcareService.publicKey",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "HealthcareService.appointmentRequired",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "HealthcareService.availableTime",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "HealthcareService.availableTime.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "HealthcareService.availableTime.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "HealthcareService.availableTime.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "HealthcareService.availableTime.daysOfWeek",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The days of the week.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/days-of-week"
              }
            }
          },
          {
            "path": "HealthcareService.availableTime.allDay",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "HealthcareService.availableTime.availableStartTime",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "time"
              }
            ]
          },
          {
            "path": "HealthcareService.availableTime.availableEndTime",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "time"
              }
            ]
          },
          {
            "path": "HealthcareService.notAvailable",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "HealthcareService.notAvailable.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "HealthcareService.notAvailable.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "HealthcareService.notAvailable.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "HealthcareService.notAvailable.description",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "HealthcareService.notAvailable.during",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "HealthcareService.availabilityExceptions",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ImagingObjectSelection",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ImagingObjectSelection",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ImagingObjectSelection",
      "name": "ImagingObjectSelection",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ImagingObjectSelection",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ImagingObjectSelection.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ImagingObjectSelection.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ImagingObjectSelection.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImagingObjectSelection.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImagingObjectSelection.uid",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "oid"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.title",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The document title code of key object selection",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/kos-title"
              }
            }
          },
          {
            "path": "ImagingObjectSelection.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.author",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.authoringTime",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Study"
              }
            ],
            "path": "ImagingObjectSelection.study",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.study.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImagingObjectSelection.study.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImagingObjectSelection.study.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImagingObjectSelection.study.uid",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "oid"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.study.url",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.study.imagingStudy",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Series"
              }
            ],
            "path": "ImagingObjectSelection.study.series",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.study.series.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImagingObjectSelection.study.series.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImagingObjectSelection.study.series.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImagingObjectSelection.study.series.uid",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "oid"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.study.series.url",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Instance"
              }
            ],
            "path": "ImagingObjectSelection.study.series.instance",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.study.series.instance.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImagingObjectSelection.study.series.instance.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImagingObjectSelection.study.series.instance.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImagingObjectSelection.study.series.instance.sopClass",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "oid"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.study.series.instance.uid",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "oid"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.study.series.instance.url",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Frames"
              }
            ],
            "path": "ImagingObjectSelection.study.series.instance.frames",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.study.series.instance.frames.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImagingObjectSelection.study.series.instance.frames.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImagingObjectSelection.study.series.instance.frames.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImagingObjectSelection.study.series.instance.frames.frameNumbers",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingObjectSelection.study.series.instance.frames.url",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ImagingStudy",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ImagingStudy",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ImagingStudy",
      "name": "ImagingStudy",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ImagingStudy",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ImagingStudy.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ImagingStudy.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ImagingStudy.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ImagingStudy.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImagingStudy.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.2.html#sect_C.7.2.1"
              }
            ],
            "path": "ImagingStudy.started",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "exampleDateTime": "2011-01-01T11:01:20+03:00",
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.2.2.html"
              }
            ],
            "path": "ImagingStudy.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "dicom="
              }
            ],
            "path": "ImagingStudy.uid",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "oid"
              }
            ],
            "exampleUri": "urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430045",
            "isSummary": true
          },
          {
            "path": "ImagingStudy.accession",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.order",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.modalityList",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Type of acquired data in the instance",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/dicom-cid29"
              }
            }
          },
          {
            "path": "ImagingStudy.referrer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.availability",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Availability of the resource",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/instance-availability"
              }
            }
          },
          {
            "path": "ImagingStudy.url",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.numberOfSeries",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.numberOfInstances",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.procedure",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Procedure"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.interpreter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImagingStudy.series.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImagingStudy.series.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImagingStudy.series.number",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "exampleInteger": 3,
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.modality",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Type of acquired data in the instance",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/dicom-cid29"
              }
            }
          },
          {
            "path": "ImagingStudy.series.uid",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "oid"
              }
            ],
            "exampleUri": "urn:oid:2.16.124.113543.6003.2588828330.45298.17418.2723805630",
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "CT Surview 180",
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.numberOfInstances",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.availability",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Availability of the resource",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/instance-availability"
              }
            }
          },
          {
            "path": "ImagingStudy.series.url",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.bodySite",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes describing anatomical locations. May include laterality.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/body-site"
              }
            }
          },
          {
            "path": "ImagingStudy.series.laterality",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes describing body site laterality (left, right, etc.).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/bodysite-laterality"
              }
            }
          },
          {
            "path": "ImagingStudy.series.started",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.instance",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.instance.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImagingStudy.series.instance.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImagingStudy.series.instance.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImagingStudy.series.instance.number",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "exampleInteger": 1,
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.instance.uid",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "oid"
              }
            ],
            "exampleUri": "urn:oid:2.16.124.113543.6003.189642796.63084.16748.2599092903",
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.instance.sopClass",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "oid"
              }
            ],
            "exampleUri": "urn:oid:1.2.840.10008.5.1.4.1.1.2",
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.instance.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.instance.title",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.instance.content",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Attachment"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Immunization",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Immunization",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Immunization",
      "name": "Immunization",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Immunization",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "imm-2",
                "severity": "error",
                "human": "If immunization was administered (wasNotGiven=false) then explanation.reasonNotGiven SHALL be absent.",
                "xpath": "not(f:wasNotGiven/@value=false() and exists(f:explanation/f:reasonNotGiven))"
              },
              {
                "key": "imm-1",
                "severity": "error",
                "human": "If immunization was not administred (wasNotGiven=true) then there SHALL be no reaction nor explanation.reason present",
                "xpath": "not(f:wasNotGiven/@value=true() and (count(f:reaction) > 0 or exists(f:explanation/f:reason)))"
              }
            ]
          },
          {
            "path": "Immunization.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Immunization.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Immunization.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Immunization.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Immunization.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Immunization.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Immunization.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Immunization.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Immunization.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A set of codes indicating the current status of an Immunization",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/medication-admin-status"
              }
            }
          },
          {
            "path": "Immunization.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Immunization.vaccineCode",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The code for vaccine product administered",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/vaccine-code"
              }
            }
          },
          {
            "path": "Immunization.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ]
          },
          {
            "path": "Immunization.wasNotGiven",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.reported",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Immunization.performer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ]
          },
          {
            "path": "Immunization.requester",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ]
          },
          {
            "path": "Immunization.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          },
          {
            "path": "Immunization.manufacturer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "Immunization.location",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "Immunization.lotNumber",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Immunization.expirationDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ]
          },
          {
            "path": "Immunization.site",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The site at which the vaccine was administered",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/immunization-site"
              }
            }
          },
          {
            "path": "Immunization.route",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The route by which the vaccine was administered",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/immunization-route"
              }
            }
          },
          {
            "path": "Immunization.doseQuantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "Immunization.note",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Annotation"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Immunization.explanation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Immunization.explanation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Immunization.explanation.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Immunization.explanation.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.explanation.reason",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The reason why a vaccine was administered",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/immunization-reason"
              }
            }
          },
          {
            "path": "Immunization.explanation.reasonNotGiven",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The reason why a vaccine was not administered",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/no-immunization-reason"
              }
            }
          },
          {
            "path": "Immunization.reaction",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Immunization.reaction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Immunization.reaction.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Immunization.reaction.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.reaction.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Immunization.reaction.detail",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ]
          },
          {
            "path": "Immunization.reaction.reported",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.vaccinationProtocol.doseSequence",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.authority",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.series",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.seriesDoses",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.targetDisease",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The disease target of the vaccination protocol",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-target"
              }
            }
          },
          {
            "path": "Immunization.vaccinationProtocol.doseStatus",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The status of the vaccination protocol (i.e. should this count)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status"
              }
            }
          },
          {
            "path": "Immunization.vaccinationProtocol.doseStatusReason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The reason for the determining if a vaccination should count or why vaccination should not count.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status-reason"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ImmunizationRecommendation",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation",
      "name": "ImmunizationRecommendation",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ImmunizationRecommendation",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ImmunizationRecommendation.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ImmunizationRecommendation.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImmunizationRecommendation.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation.date",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation.vaccineCode",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The type of vaccine administered",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/vaccine-code"
              }
            }
          },
          {
            "path": "ImmunizationRecommendation.recommendation.doseNumber",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation.forecastStatus",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The patient's status with respect to a vaccination protocol",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/immunization-recommendation-status"
              }
            }
          },
          {
            "path": "ImmunizationRecommendation.recommendation.dateCriterion",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.dateCriterion.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.dateCriterion.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.dateCriterion.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation.dateCriterion.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Classifies date criterion with respect to conveying information about a patient's vaccination status (e.g. due date, latest to give date, etc.)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/immunization-recommendation-date-criterion"
              }
            }
          },
          {
            "path": "ImmunizationRecommendation.recommendation.dateCriterion.value",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.doseSequence",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.authority",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.series",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.supportingImmunization",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Immunization"
                ]
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.supportingPatientInformation",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ImplementationGuide",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ImplementationGuide",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ImplementationGuide",
      "name": "ImplementationGuide",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ImplementationGuide",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "ImplementationGuide.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ImplementationGuide.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ImplementationGuide.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ImplementationGuide.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImplementationGuide.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImplementationGuide.url",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The lifecycle status of a Value Set or Concept Map.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/conformance-resource-status"
              }
            }
          },
          {
            "path": "ImplementationGuide.experimental",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.publisher",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImplementationGuide.contact.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImplementationGuide.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImplementationGuide.contact.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.contact.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.useContext",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Indicates the countries, regions, disciplines and other aspects of use within which this artifact is targeted for use.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/use-context"
              }
            }
          },
          {
            "path": "ImplementationGuide.copyright",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ImplementationGuide.fhirVersion",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.dependency",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.dependency.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImplementationGuide.dependency.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImplementationGuide.dependency.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImplementationGuide.dependency.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How a dependency is represented when the guide is published.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/guide-dependency-type"
              }
            }
          },
          {
            "path": "ImplementationGuide.dependency.uri",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.package",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.package.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImplementationGuide.package.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImplementationGuide.package.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImplementationGuide.package.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.package.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ImplementationGuide.package.resource",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.package.resource.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImplementationGuide.package.resource.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImplementationGuide.package.resource.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImplementationGuide.package.resource.purpose",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Why a resource is included in the guide.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/guide-resource-purpose"
              }
            }
          },
          {
            "path": "ImplementationGuide.package.resource.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.package.resource.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ImplementationGuide.package.resource.acronym",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ImplementationGuide.package.resource.source[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.package.resource.exampleFor",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
                ]
              }
            ]
          },
          {
            "path": "ImplementationGuide.global",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.global.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImplementationGuide.global.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImplementationGuide.global.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImplementationGuide.global.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "One of the resource types defined as part of FHIR.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-types"
              }
            }
          },
          {
            "path": "ImplementationGuide.global.profile",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.binary",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "ImplementationGuide.page",
            "name": "page",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.page.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImplementationGuide.page.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImplementationGuide.page.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImplementationGuide.page.source",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.page.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImplementationGuide.page.kind",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The kind of an included page.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/guide-page-kind"
              }
            }
          },
          {
            "path": "ImplementationGuide.page.type",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "One of the resource types defined as part of FHIR.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-types"
              }
            }
          },
          {
            "path": "ImplementationGuide.page.package",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ImplementationGuide.page.format",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The mime type of an attachment. Any valid mime type is allowed.",
              "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt"
            }
          },
          {
            "path": "ImplementationGuide.page.page",
            "min": 0,
            "max": "*",
            "nameReference": "page"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/List",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "List",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/List",
      "name": "List",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "List",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "lst-2",
                "severity": "error",
                "human": "The deleted flag can only be used if the mode of the list is \"changes\"",
                "xpath": "(f:mode/@value = 'changes') or not(exists(f:entry/f:deleted))"
              },
              {
                "key": "lst-1",
                "severity": "error",
                "human": "A list can only have an emptyReason if it is empty",
                "xpath": "not(exists(f:emptyReason) and exists(f:entry))"
              }
            ]
          },
          {
            "path": "List.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "List.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "List.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "List.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "List.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "List.title",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Dr. Jane's Patients",
            "isSummary": true
          },
          {
            "path": "List.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "What the purpose of a list is",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/list-example-codes"
              }
            }
          },
          {
            "path": "List.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.source",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          },
          {
            "path": "List.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The current state of the list",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/list-status"
              }
            }
          },
          {
            "path": "List.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.orderedBy",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "What order applies to the items in a list",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/list-order"
              }
            }
          },
          {
            "path": "List.mode",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The processing mode that applies to this list",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/list-mode"
              }
            }
          },
          {
            "path": "List.note",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "List.entry",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "lst-1"
            ]
          },
          {
            "path": "List.entry.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "List.entry.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.entry.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.entry.flag",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes that provide further information about the reason and meaning of the item in the list",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/list-item-flag"
              }
            }
          },
          {
            "path": "List.entry.deleted",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "condition": [
              "lst-2"
            ],
            "isModifier": true
          },
          {
            "path": "List.entry.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "List.entry.item",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "List.emptyReason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "binding": {
              "strength": "preferred",
              "description": "If a list is empty, why it is empty",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/list-empty-reason"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Location",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Location",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Location",
      "name": "Location",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Location",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Location.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Location.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Location.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Location.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Location.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Location.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Location.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Indicates whether the location is still in use.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/location-status"
              }
            }
          },
          {
            "path": "Location.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.mode",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Indicates whether a resource instance represents a specific location or a class of locations.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/location-mode"
              }
            }
          },
          {
            "path": "Location.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Indicates the type of function performed at the location.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType"
              }
            }
          },
          {
            "path": "Location.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Location.address",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Address"
              }
            ]
          },
          {
            "path": "Location.physicalType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Physical form of the location",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/location-physical-type"
              }
            }
          },
          {
            "path": "Location.position",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Location.position.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Location.position.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Location.position.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Location.position.longitude",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Location.position.latitude",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Location.position.altitude",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Location.managingOrganization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.partOf",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Media",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Media",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Media",
      "name": "Media",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Media",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "mda-1",
                "severity": "error",
                "human": "Height can only be used for a photo or video",
                "xpath": "not(f:type/@value='audio') or not(f:height)"
              },
              {
                "key": "mda-2",
                "severity": "error",
                "human": "Width can only be used for a photo or video",
                "xpath": "not(f:type/@value='audio') or not(f:width)"
              },
              {
                "key": "mda-4",
                "severity": "error",
                "human": "Duration can only be used for an audio or a video",
                "xpath": "not(f:type/@value='photo') or not(f:duration)"
              },
              {
                "key": "mda-3",
                "severity": "error",
                "human": "Frames can only be used for a photo",
                "xpath": "(f:type/@value='photo') or not(f:frames)"
              }
            ]
          },
          {
            "path": "Media.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Media.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Media.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Media.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Media.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Media.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Media.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Media.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Media.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Whether the Media is a photo, video, or audio",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/digital-media-type"
              }
            }
          },
          {
            "path": "Media.subtype",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/digital-media-subtype"
              }
            }
          },
          {
            "path": "Media.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Media.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Media.operator",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Media.view",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Imaging view (projection) used when collecting an image",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/media-view"
              }
            }
          },
          {
            "path": "Media.deviceName",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Media.height",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "condition": [
              "mda-1"
            ],
            "isSummary": true
          },
          {
            "path": "Media.width",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "condition": [
              "mda-2"
            ],
            "isSummary": true
          },
          {
            "path": "Media.frames",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "defaultValueInteger": 1,
            "condition": [
              "mda-3"
            ],
            "isSummary": true
          },
          {
            "path": "Media.duration",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "condition": [
              "mda-4"
            ],
            "isSummary": true
          },
          {
            "path": "Media.content",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Attachment"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Medication",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Medication",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Medication",
      "name": "Medication",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Medication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Medication.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Medication.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Medication.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Medication.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Medication.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Medication.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Medication.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A code that defines the type of a medication",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/medication-codes"
              }
            }
          },
          {
            "path": "Medication.isBrand",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Medication.manufacturer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Medication.product",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.product.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.product.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.product.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.product.form",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The form of a medication",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/medication-form-codes"
              }
            }
          },
          {
            "path": "Medication.product.ingredient",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.product.ingredient.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.product.ingredient.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.product.ingredient.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.product.ingredient.item",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ]
          },
          {
            "path": "Medication.product.ingredient.amount",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Ratio"
              }
            ]
          },
          {
            "path": "Medication.product.batch",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.product.batch.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.product.batch.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.product.batch.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.product.batch.lotNumber",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Medication.product.batch.expirationDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Medication.package",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.package.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.package.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.package.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.package.container",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Kind of container a medication package is packaged in",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/medication-package-form-codes"
              }
            }
          },
          {
            "path": "Medication.package.content",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.package.content.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.package.content.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.package.content.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.package.content.item",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ]
          },
          {
            "path": "Medication.package.content.amount",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "MedicationAdministration",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
      "name": "MedicationAdministration",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "MedicationAdministration",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "mad-3",
                "severity": "error",
                "human": "Reason given is only permitted if wasNotGiven is false",
                "xpath": "not(exists(f:reasonGiven) and f:wasNotGiven/@value=true())"
              },
              {
                "key": "mad-2",
                "severity": "error",
                "human": "Reason not given is only permitted if wasNotGiven is true",
                "xpath": "not(exists(f:reasonNotGiven) and f:wasNotGiven/@value=false())"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "MedicationAdministration.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MedicationAdministration.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MedicationAdministration.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationAdministration.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationAdministration.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A set of codes indicating the current status of a MedicationAdministration.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/medication-admin-status"
              }
            }
          },
          {
            "path": "MedicationAdministration.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.practitioner",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.prescription",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/MedicationOrder"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.wasNotGiven",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.reasonNotGiven",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "mad-2"
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A set of codes indicating the reason why the MedicationAdministration is negated.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes"
              }
            }
          },
          {
            "path": "MedicationAdministration.reasonGiven",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "mad-3"
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A set of codes indicating the reason why the MedicationAdministration was made.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/reason-medication-given-codes"
              }
            }
          },
          {
            "path": "MedicationAdministration.effectiveTime[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.medication[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.device",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.note",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.dosage",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "mad-1",
                "severity": "error",
                "human": "SHALL have at least one of dosage.quantity and dosage.rate[x]",
                "xpath": "exists(f:quantity) or exists(f:rateRatio) or exists(f:rateRange)"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.dosage.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationAdministration.dosage.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationAdministration.dosage.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationAdministration.dosage.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.dosage.site[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/BodySite"
                ]
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the site location the medicine enters into or onto the body.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/approach-site-codes"
              }
            }
          },
          {
            "path": "MedicationAdministration.dosage.route",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/route-codes"
              }
            }
          },
          {
            "path": "MedicationAdministration.dosage.method",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the technique by which the medicine is administered."
            }
          },
          {
            "path": "MedicationAdministration.dosage.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.dosage.rate[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Ratio"
              },
              {
                "code": "Range"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "MedicationDispense",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
      "name": "MedicationDispense",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "MedicationDispense",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "mdd-1",
                "severity": "error",
                "human": "whenHandedOver cannot be before whenPrepared",
                "xpath": "not(exists(f:whenHandedOver/@value)) or not(exists(f:whenPrepared/@value)) or ( f:whenHandedOver/@value >= f:whenPrepared/@value)"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "MedicationDispense.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MedicationDispense.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MedicationDispense.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationDispense.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationDispense.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A code specifying the state of the dispense event.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/medication-dispense-status"
              }
            }
          },
          {
            "path": "MedicationDispense.patient",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dispenser",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.authorizingPrescription",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/MedicationOrder"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ActPharmacySupplyType"
              }
            }
          },
          {
            "path": "MedicationDispense.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.daysSupply",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.medication[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.whenPrepared",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.whenHandedOver",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.destination",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.receiver",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.note",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.additionalInstructions",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\""
            }
          },
          {
            "path": "MedicationDispense.dosageInstruction.timing",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Timing"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.asNeeded[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose.  For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc."
            }
          },
          {
            "path": "MedicationDispense.dosageInstruction.site[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/BodySite"
                ]
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the site location the medicine enters into or onto the body",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/approach-site-codes"
              }
            }
          },
          {
            "path": "MedicationDispense.dosageInstruction.route",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/route-codes"
              }
            }
          },
          {
            "path": "MedicationDispense.dosageInstruction.method",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the technique by which the medicine is administered"
            }
          },
          {
            "path": "MedicationDispense.dosageInstruction.dose[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Range"
              },
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.rate[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Ratio"
              },
              {
                "code": "Range"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.substitution",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.substitution.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationDispense.substitution.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationDispense.substitution.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationDispense.substitution.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode"
              }
            }
          },
          {
            "path": "MedicationDispense.substitution.reason",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason"
              }
            }
          },
          {
            "path": "MedicationDispense.substitution.responsibleParty",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/MedicationOrder",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "MedicationOrder",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/MedicationOrder",
      "name": "MedicationOrder",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "MedicationOrder",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "MedicationOrder.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MedicationOrder.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MedicationOrder.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationOrder.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationOrder.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dateWritten",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/medication-order-status"
              }
            }
          },
          {
            "path": "MedicationOrder.dateEnded",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.reasonEnded",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes indicating why the medication was terminated; e.g. Adverse reaction, medication change, issue resolved, etc."
            }
          },
          {
            "path": "MedicationOrder.patient",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.prescriber",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.reason[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes indicating why the medication was ordered.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-code"
              }
            }
          },
          {
            "path": "MedicationOrder.note",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.medication[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.additionalInstructions",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\"."
            }
          },
          {
            "path": "MedicationOrder.dosageInstruction.timing",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Timing"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.asNeeded[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose.  For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc."
            }
          },
          {
            "path": "MedicationOrder.dosageInstruction.site[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/BodySite"
                ]
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the site location the medicine enters into or onto the body.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/approach-site-codes"
              }
            }
          },
          {
            "path": "MedicationOrder.dosageInstruction.route",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/route-codes"
              }
            }
          },
          {
            "path": "MedicationOrder.dosageInstruction.method",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the technique by which the medicine is administered."
            }
          },
          {
            "path": "MedicationOrder.dosageInstruction.dose[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Range"
              },
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.rate[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Ratio"
              },
              {
                "code": "Range"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.maxDosePerPeriod",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationOrder.dispenseRequest.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationOrder.dispenseRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.medication[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.validityPeriod",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.numberOfRepeatsAllowed",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.expectedSupplyDuration",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Duration"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.substitution",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.substitution.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationOrder.substitution.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationOrder.substitution.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationOrder.substitution.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode"
              }
            }
          },
          {
            "path": "MedicationOrder.substitution.reason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason"
              }
            }
          },
          {
            "path": "MedicationOrder.priorPrescription",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/MedicationOrder"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "MedicationStatement",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
      "name": "MedicationStatement",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "MedicationStatement",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "mst-2",
                "severity": "error",
                "human": "Reason for use is only permitted if wasNotTaken is false",
                "xpath": "not(exists(*[starts-with(local-name(.), 'reasonForUse')]) and f:wasNotTaken/@value=true())"
              },
              {
                "key": "mst-1",
                "severity": "error",
                "human": "Reason not taken is only permitted if wasNotTaken is true",
                "xpath": "not(exists(f:reasonNotTaken) and f:wasNotTaken/@value=false())"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "MedicationStatement.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MedicationStatement.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MedicationStatement.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationStatement.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationStatement.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.informationSource",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dateAsserted",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A set of codes indicating the current status of a MedicationStatement.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/medication-statement-status"
              }
            }
          },
          {
            "path": "MedicationStatement.wasNotTaken",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.reasonNotTaken",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "mst-1"
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A set of codes indicating the reason why the MedicationAdministration is negated.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes"
              }
            }
          },
          {
            "path": "MedicationStatement.reasonForUse[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes identifying why the medication is being taken.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-code"
              }
            }
          },
          {
            "path": "MedicationStatement.effective[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.note",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.supportingInformation",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.medication[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationStatement.dosage.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationStatement.dosage.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationStatement.dosage.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.timing",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Timing"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.asNeeded[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose.  For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc."
            }
          },
          {
            "path": "MedicationStatement.dosage.site[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/BodySite"
                ]
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the site location the medicine enters into or onto the body.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/approach-site-codes"
              }
            }
          },
          {
            "path": "MedicationStatement.dosage.route",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/route-codes"
              }
            }
          },
          {
            "path": "MedicationStatement.dosage.method",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the technique by which the medicine is administered."
            }
          },
          {
            "path": "MedicationStatement.dosage.quantity[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              },
              {
                "code": "Range"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.rate[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Ratio"
              },
              {
                "code": "Range"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.maxDosePerPeriod",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/MessageHeader",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "MessageHeader",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/MessageHeader",
      "name": "MessageHeader",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "MessageHeader",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MessageHeader.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "MessageHeader.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MessageHeader.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MessageHeader.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MessageHeader.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MessageHeader.timestamp",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.event",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "One of the message events defined as part of FHIR.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/message-events"
              }
            }
          },
          {
            "path": "MessageHeader.response",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MessageHeader.response.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MessageHeader.response.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MessageHeader.response.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MessageHeader.response.identifier",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.response.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The kind of response to a message",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/response-code"
              }
            }
          },
          {
            "path": "MessageHeader.response.details",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "MessageSource"
              }
            ],
            "path": "MessageHeader.source",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.source.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MessageHeader.source.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MessageHeader.source.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MessageHeader.source.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.source.software",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.source.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.source.contact",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.source.endpoint",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "MessageDestination"
              }
            ],
            "path": "MessageHeader.destination",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.destination.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MessageHeader.destination.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MessageHeader.destination.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MessageHeader.destination.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.destination.target",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.destination.endpoint",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.enterer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.author",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.receiver",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.responsible",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MessageHeader.reason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Reason for event occurrence",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/message-reason-encounter"
              }
            }
          },
          {
            "path": "MessageHeader.data",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/NamingSystem",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "NamingSystem",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/NamingSystem",
      "name": "NamingSystem",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "NamingSystem",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "nsd-2",
                "severity": "error",
                "human": "Can't have more than one preferred identifier for a type",
                "xpath": "not(exists(for $type in distinct-values(f:uniqueId/f:type/@value) return if (count(f:uniqueId[f:type/@value=$type and f:preferred/@value=true()])>1) then $type else ()))"
              },
              {
                "key": "nsd-3",
                "severity": "error",
                "human": "Can only have replacedBy if naming system is retired",
                "xpath": "not(f:replacedBy) or f:status/@value='retired'"
              },
              {
                "key": "nsd-1",
                "severity": "error",
                "human": "Root systems cannot have uuid or sid identifiers",
                "xpath": "not(f:kind/@value='root' and f:uniqueId/f:type/@value=('uuid', 'ruid'))"
              }
            ]
          },
          {
            "path": "NamingSystem.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "NamingSystem.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "NamingSystem.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "NamingSystem.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "NamingSystem.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "NamingSystem.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "NamingSystem.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "NamingSystem.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "NamingSystem.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "NamingSystem.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "binding": {
              "strength": "required",
              "description": "The lifecycle status of a Value Set or Concept Map.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/conformance-resource-status"
              }
            }
          },
          {
            "path": "NamingSystem.kind",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose of the naming system.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/namingsystem-type"
              }
            }
          },
          {
            "path": "NamingSystem.publisher",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "NamingSystem.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "NamingSystem.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "NamingSystem.contact.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "NamingSystem.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "NamingSystem.contact.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "NamingSystem.contact.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "NamingSystem.responsible",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "NamingSystem.date",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "NamingSystem.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-type"
              }
            }
          },
          {
            "path": "NamingSystem.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "NamingSystem.useContext",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Indicates the countries, regions, disciplines and other aspects of use within which this artifact is targeted for use.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/use-context"
              }
            }
          },
          {
            "path": "NamingSystem.usage",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "NamingSystem.uniqueId",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "NamingSystem.uniqueId.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "NamingSystem.uniqueId.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "NamingSystem.uniqueId.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "NamingSystem.uniqueId.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Identifies the style of unique identifier used to identify a namespace.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/namingsystem-identifier-type"
              }
            }
          },
          {
            "path": "NamingSystem.uniqueId.value",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "NamingSystem.uniqueId.preferred",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "NamingSystem.uniqueId.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "NamingSystem.replacedBy",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/NamingSystem"
                ]
              }
            ],
            "condition": [
              "nsd-3"
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "NutritionOrder",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
      "name": "NutritionOrder",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "NutritionOrder",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "nor-1",
                "severity": "warning",
                "human": "Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class",
                "xpath": "exists(f:oralDiet) or exists(f:supplement) or exists(f:enteralFormula)"
              }
            ]
          },
          {
            "path": "NutritionOrder.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "NutritionOrder.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "NutritionOrder.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "NutritionOrder.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "NutritionOrder.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "NutritionOrder.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "NutritionOrder.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "NutritionOrder.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "NutritionOrder.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "NutritionOrder.orderer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "NutritionOrder.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "NutritionOrder.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          },
          {
            "path": "NutritionOrder.dateTime",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "NutritionOrder.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Codes specifying the state of the request. Describes the lifecycle of the nutrition order.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/nutrition-order-status"
              }
            }
          },
          {
            "path": "NutritionOrder.allergyIntolerance",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"
                ]
              }
            ]
          },
          {
            "path": "NutritionOrder.foodPreferenceModifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Medical, cultural or ethical food preferences to help with catering requirements",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-diet"
              }
            }
          },
          {
            "path": "NutritionOrder.excludeFoodModifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes used to indicate the type of food that should NOT be given to the patient.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/food-type"
              }
            }
          },
          {
            "path": "NutritionOrder.oralDiet",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "nor-1"
            ]
          },
          {
            "path": "NutritionOrder.oralDiet.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "NutritionOrder.oralDiet.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "NutritionOrder.oralDiet.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "NutritionOrder.oralDiet.type",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes used to indicate the type of diet being ordered for a patient.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/diet-type"
              }
            }
          },
          {
            "path": "NutritionOrder.oralDiet.schedule",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Timing"
              }
            ]
          },
          {
            "path": "NutritionOrder.oralDiet.nutrient",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "NutritionOrder.oralDiet.nutrient.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "NutritionOrder.oralDiet.nutrient.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "NutritionOrder.oralDiet.nutrient.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "NutritionOrder.oralDiet.nutrient.modifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes for types of nutrient that is being modified such as carbohydrate or sodium.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/nutrient-code"
              }
            }
          },
          {
            "path": "NutritionOrder.oralDiet.nutrient.amount",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "NutritionOrder.oralDiet.texture",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "NutritionOrder.oralDiet.texture.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "NutritionOrder.oralDiet.texture.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "NutritionOrder.oralDiet.texture.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "NutritionOrder.oralDiet.texture.modifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes for food consistency types or texture modifications to apply to foods.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/texture-code"
              }
            }
          },
          {
            "path": "NutritionOrder.oralDiet.texture.foodType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes for types of foods that are texture modified.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/modified-foodtype"
              }
            }
          },
          {
            "path": "NutritionOrder.oralDiet.fluidConsistencyType",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes used to represent the consistency of fluids and liquids provided to the patient.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/consistency-type"
              }
            }
          },
          {
            "path": "NutritionOrder.oralDiet.instruction",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "NutritionOrder.supplement",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "nor-1"
            ]
          },
          {
            "path": "NutritionOrder.supplement.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "NutritionOrder.supplement.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "NutritionOrder.supplement.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "NutritionOrder.supplement.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for nutritional supplements to be provided to the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/supplement-type"
              }
            }
          },
          {
            "path": "NutritionOrder.supplement.productName",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "NutritionOrder.supplement.schedule",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Timing"
              }
            ]
          },
          {
            "path": "NutritionOrder.supplement.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "NutritionOrder.supplement.instruction",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "NutritionOrder.enteralFormula",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "nor-1"
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "NutritionOrder.enteralFormula.baseFormulaType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for type of enteral formula to be administered to patient.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/entformula-type"
              }
            }
          },
          {
            "path": "NutritionOrder.enteralFormula.baseFormulaProductName",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.additiveType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes for the type of modular component such as protein, carbohydrate or fiber to be provided in addition to or mixed with the base formula.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/entformula-additive"
              }
            }
          },
          {
            "path": "NutritionOrder.enteralFormula.additiveProductName",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.caloricDensity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.routeofAdministration",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "Codes specifying the route of administration of enteral formula.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/enteral-route"
              }
            }
          },
          {
            "path": "NutritionOrder.enteralFormula.administration",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.administration.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.administration.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.administration.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "NutritionOrder.enteralFormula.administration.schedule",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Timing"
              }
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.administration.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.administration.rate[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              },
              {
                "code": "Ratio"
              }
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.maxVolumeToDeliver",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "NutritionOrder.enteralFormula.administrationInstruction",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Observation",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Observation",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 3
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Observation",
      "name": "Observation",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "obs-6",
                "severity": "error",
                "human": "SHALL only be present if Observation.value[x] is not present",
                "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))"
              },
              {
                "key": "obs-7",
                "severity": "error",
                "human": "Component code SHALL not be same as observation code",
                "xpath": "not(exists(f:component/f:code)) or count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0"
              }
            ]
          },
          {
            "path": "Observation.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Observation.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "default: final"
              }
            ],
            "path": "Observation.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Codes providing the status of an observation.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-status"
              }
            }
          },
          {
            "path": "Observation.category",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes for high level observation categories .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-category"
              }
            }
          },
          {
            "path": "Observation.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes identifying names of simple observations.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-codes"
              }
            }
          },
          {
            "path": "Observation.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          },
          {
            "path": "Observation.effective[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.value[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity"
              },
              {
                "code": "CodeableConcept"
              },
              {
                "code": "string"
              },
              {
                "code": "Range"
              },
              {
                "code": "Ratio"
              },
              {
                "code": "SampledData"
              },
              {
                "code": "Attachment"
              },
              {
                "code": "time"
              },
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-6"
            ],
            "binding": {
              "strength": "extensible",
              "description": "Codes specifying why the result (Observation.value[x]) is missing.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason"
              }
            }
          },
          {
            "path": "Observation.interpretation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "Codes identifying interpretations of observations.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              }
            }
          },
          {
            "path": "Observation.comments",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes describing anatomical locations. May include laterality.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/body-site"
              }
            }
          },
          {
            "path": "Observation.method",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Methods for simple observations.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-methods"
              }
            }
          },
          {
            "path": "Observation.specimen",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                ]
              }
            ]
          },
          {
            "path": "Observation.referenceRange",
            "name": "referenceRange",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "obs-3",
                "severity": "error",
                "human": "Must have at least a low or a high or text",
                "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "condition": [
              "obs-3"
            ]
          },
          {
            "path": "Observation.referenceRange.high",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "condition": [
              "obs-3"
            ]
          },
          {
            "path": "Observation.referenceRange.meaning",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Code for the meaning of a reference range.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning"
              }
            }
          },
          {
            "path": "Observation.referenceRange.age",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Codes specifying how two observations are related.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes"
              }
            }
          },
          {
            "path": "Observation.related.target",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
                ]
              }
            ]
          },
          {
            "path": "Observation.component",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-7"
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes identifying names of simple observations.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-codes"
              }
            }
          },
          {
            "path": "Observation.component.value[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity"
              },
              {
                "code": "CodeableConcept"
              },
              {
                "code": "string"
              },
              {
                "code": "Range"
              },
              {
                "code": "Ratio"
              },
              {
                "code": "SampledData"
              },
              {
                "code": "Attachment"
              },
              {
                "code": "time"
              },
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.dataAbsentReason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-6"
            ],
            "binding": {
              "strength": "extensible",
              "description": "Codes specifying why the result (Observation.value[x]) is missing.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason"
              }
            }
          },
          {
            "path": "Observation.component.referenceRange",
            "min": 0,
            "max": "*",
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/OperationDefinition",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "OperationDefinition",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/OperationDefinition",
      "name": "OperationDefinition",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "OperationDefinition",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "OperationDefinition.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OperationDefinition.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OperationDefinition.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "OperationDefinition.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "OperationDefinition.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "OperationDefinition.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "OperationDefinition.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "OperationDefinition.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "OperationDefinition.url",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "OperationDefinition.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "OperationDefinition.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "OperationDefinition.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "binding": {
              "strength": "required",
              "description": "The lifecycle status of a Value Set or Concept Map.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/conformance-resource-status"
              }
            }
          },
          {
            "path": "OperationDefinition.kind",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Whether an operation is a normal operation or a query.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/operation-kind"
              }
            }
          },
          {
            "path": "OperationDefinition.experimental",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "OperationDefinition.publisher",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OperationDefinition.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OperationDefinition.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "OperationDefinition.contact.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "OperationDefinition.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "OperationDefinition.contact.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OperationDefinition.contact.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OperationDefinition.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "OperationDefinition.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "OperationDefinition.requirements",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "OperationDefinition.idempotent",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "OperationDefinition.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ]
          },
          {
            "path": "OperationDefinition.notes",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "OperationDefinition.base",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/OperationDefinition"
                ]
              }
            ]
          },
          {
            "path": "OperationDefinition.system",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "OperationDefinition.type",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "One of the resource types defined as part of FHIR.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-types"
              }
            }
          },
          {
            "path": "OperationDefinition.instance",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter",
            "name": "parameter",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "opd-1",
                "severity": "error",
                "human": "Either a type must be provided, or parts",
                "xpath": "exists(f:type) or exists(f:part)"
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "OperationDefinition.parameter.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter.use",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Whether an operation parameter is an input or an output parameter.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/operation-parameter-use"
              }
            }
          },
          {
            "path": "OperationDefinition.parameter.min",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter.max",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter.documentation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "opd-1"
            ],
            "binding": {
              "strength": "required",
              "description": "The type of a parameter.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/operation-parameter-type"
              }
            }
          },
          {
            "path": "OperationDefinition.parameter.profile",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
                ]
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter.binding",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter.binding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter.binding.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter.binding.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "OperationDefinition.parameter.binding.strength",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Indication of the degree of conformance expectations associated with a binding.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/binding-strength"
              }
            }
          },
          {
            "path": "OperationDefinition.parameter.binding.valueSet[x]",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ValueSet"
                ]
              }
            ]
          },
          {
            "path": "OperationDefinition.parameter.part",
            "min": 0,
            "max": "*",
            "nameReference": "parameter",
            "condition": [
              "opd-1"
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/OperationOutcome",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "OperationOutcome",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/OperationOutcome",
      "name": "OperationOutcome",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "OperationOutcome",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OperationOutcome.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OperationOutcome.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OperationOutcome.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "OperationOutcome.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "OperationOutcome.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "OperationOutcome.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "OperationOutcome.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "OperationOutcome.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "OperationOutcome.issue",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OperationOutcome.issue.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "OperationOutcome.issue.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "OperationOutcome.issue.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "OperationOutcome.issue.severity",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the issue affects the success of the action.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/issue-severity"
              }
            }
          },
          {
            "path": "OperationOutcome.issue.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A code that describes the type of issue.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/issue-type"
              }
            }
          },
          {
            "path": "OperationOutcome.issue.details",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A code that provides details as the exact issue.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/operation-outcome"
              }
            }
          },
          {
            "path": "OperationOutcome.issue.diagnostics",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OperationOutcome.issue.location",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Order",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Order",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Order",
      "name": "Order",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Order",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Order.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Order.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Order.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Order.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Order.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Order.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Order.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Order.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Order.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Order.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Order.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Order.source",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Order.target",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Order.reason[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Indicates the reason for seeking fulfillment of the order."
            }
          },
          {
            "path": "Order.when",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "ord-1",
                "severity": "error",
                "human": "Provide a code or a schedule, but not both",
                "xpath": "exists(f:code) != exists(f:schedule)"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Order.when.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Order.when.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Order.when.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Order.when.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "ord-1"
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "When a requested action should be performed  (e.g. STAT, daily, evenings, etc.)."
            }
          },
          {
            "path": "Order.when.schedule",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Timing"
              }
            ],
            "condition": [
              "ord-1"
            ],
            "isSummary": true
          },
          {
            "path": "Order.detail",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/OrderResponse",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "OrderResponse",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/OrderResponse",
      "name": "OrderResponse",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "OrderResponse",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OrderResponse.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OrderResponse.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OrderResponse.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "OrderResponse.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "OrderResponse.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "OrderResponse.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "OrderResponse.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "OrderResponse.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "OrderResponse.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OrderResponse.request",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Order"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "OrderResponse.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OrderResponse.who",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "OrderResponse.orderStatus",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of the response to an order.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/order-status"
              }
            }
          },
          {
            "path": "OrderResponse.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "OrderResponse.fulfillment",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Organization",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Organization",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Organization",
      "name": "Organization",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Organization",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "org-1",
                "severity": "error",
                "human": "The organization SHALL at least have a name or an id, and possibly more than one",
                "xpath": "count(f:identifier | f:name) > 0"
              }
            ]
          },
          {
            "path": "Organization.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Organization.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Organization.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Organization.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Organization.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Organization.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "condition": [
              "org-1"
            ],
            "isSummary": true
          },
          {
            "path": "Organization.active",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Organization.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Used to categorize the organization",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/organization-type"
              }
            }
          },
          {
            "path": "Organization.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "org-1"
            ],
            "isSummary": true
          },
          {
            "path": "Organization.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "condition": [
              "org-3"
            ],
            "constraint": [
              {
                "key": "org-3",
                "severity": "error",
                "human": "The telecom of an organization can never be of use 'home'",
                "xpath": "count(f:use[@value='home']) = 0"
              }
            ]
          },
          {
            "path": "Organization.address",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Address"
              }
            ],
            "condition": [
              "org-2"
            ],
            "constraint": [
              {
                "key": "org-2",
                "severity": "error",
                "human": "An address of an organization can never be of use 'home'",
                "xpath": "count(f:use[@value='home']) = 0"
              }
            ]
          },
          {
            "path": "Organization.partOf",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Organization.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.contact.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Organization.contact.purpose",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "The purpose for which you would contact a contact party",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contactentity-type"
              }
            }
          },
          {
            "path": "Organization.contact.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "HumanName"
              }
            ]
          },
          {
            "path": "Organization.contact.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Organization.contact.address",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Address"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Patient",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Patient",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 3
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Patient",
      "name": "Patient",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Patient",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Patient.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Patient.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Patient.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Patient.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.active",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.name",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.gender",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The gender of a person used for administrative purposes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/administrative-gender"
              }
            }
          },
          {
            "path": "Patient.birthDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.deceased[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "dateTime"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.address",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Address"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.maritalStatus",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The domestic partnership status of a person.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/marital-status"
              }
            }
          },
          {
            "path": "Patient.multipleBirth[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "Patient.photo",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Attachment"
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Contact"
              }
            ],
            "path": "Patient.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "pat-1",
                "severity": "error",
                "human": "SHALL at least contain a contact's details or a reference to an organization",
                "xpath": "f:name or f:telecom or f:address or f:organization"
              }
            ]
          },
          {
            "path": "Patient.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.contact.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.contact.relationship",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "The nature of the relationship between a patient and a contact person for that patient.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/patient-contact-relationship"
              }
            }
          },
          {
            "path": "Patient.contact.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "HumanName"
              }
            ]
          },
          {
            "path": "Patient.contact.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Patient.contact.address",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Address"
              }
            ]
          },
          {
            "path": "Patient.contact.gender",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The gender of a person used for administrative purposes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/administrative-gender"
              }
            }
          },
          {
            "path": "Patient.contact.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "condition": [
              "pat-1"
            ]
          },
          {
            "path": "Patient.contact.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Animal"
              }
            ],
            "path": "Patient.animal",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.animal.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.animal.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.animal.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.animal.species",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The species of an animal.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/animal-species"
              }
            }
          },
          {
            "path": "Patient.animal.breed",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The breed of an animal.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/animal-breeds"
              }
            }
          },
          {
            "path": "Patient.animal.genderStatus",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The state of the animal's reproductive organs.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/animal-genderstatus"
              }
            }
          },
          {
            "path": "Patient.communication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Patient.communication.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.communication.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.communication.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.communication.language",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Patient.communication.preferred",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Patient.careProvider",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ]
          },
          {
            "path": "Patient.managingOrganization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.link",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.link.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.link.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.link.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.link.other",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.link.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "binding": {
              "strength": "required",
              "description": "The type of link between this patient resource and another patient resource.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/link-type"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/PaymentNotice",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "PaymentNotice",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/PaymentNotice",
      "name": "PaymentNotice",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "PaymentNotice",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentNotice.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentNotice.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentNotice.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "PaymentNotice.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "PaymentNotice.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "PaymentNotice.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "PaymentNotice.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "PaymentNotice.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "PaymentNotice.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentNotice.ruleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "PaymentNotice.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "PaymentNotice.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentNotice.target",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentNotice.provider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentNotice.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentNotice.request",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentNotice.response",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentNotice.paymentStatus",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The payment conveyance status codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/payment-status"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/PaymentReconciliation",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "PaymentReconciliation",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/PaymentReconciliation",
      "name": "PaymentReconciliation",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "PaymentReconciliation",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "PaymentReconciliation.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "PaymentReconciliation.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "PaymentReconciliation.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "PaymentReconciliation.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "PaymentReconciliation.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.request",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ProcessRequest"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.outcome",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The outcome of the processing.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome"
              }
            }
          },
          {
            "path": "PaymentReconciliation.disposition",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.ruleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "PaymentReconciliation.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "PaymentReconciliation.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.requestProvider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.requestOrganization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Details"
              }
            ],
            "path": "PaymentReconciliation.detail",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.detail.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "PaymentReconciliation.detail.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "PaymentReconciliation.detail.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "PaymentReconciliation.detail.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The reason for the amount: payment, adjustment, advance.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/payment-type"
              }
            }
          },
          {
            "path": "PaymentReconciliation.detail.request",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.detail.responce",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.detail.submitter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.detail.payee",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.detail.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.detail.amount",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.form",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The forms codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/forms"
              }
            }
          },
          {
            "path": "PaymentReconciliation.total",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Notes"
              }
            ],
            "path": "PaymentReconciliation.note",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "PaymentReconciliation.note.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "PaymentReconciliation.note.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "PaymentReconciliation.note.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "PaymentReconciliation.note.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The presentation types of notes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/note-type"
              }
            }
          },
          {
            "path": "PaymentReconciliation.note.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Person",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Person",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Person",
      "name": "Person",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Person",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Person.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Person.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Person.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Person.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Person.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Person.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Person.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Person.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Person.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Person.name",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Person.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Person.gender",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The gender of a person used for administrative purposes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/administrative-gender"
              }
            }
          },
          {
            "path": "Person.birthDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Person.address",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Address"
              }
            ]
          },
          {
            "path": "Person.photo",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Attachment"
              }
            ]
          },
          {
            "path": "Person.managingOrganization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Person.active",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Person.link",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Person.link.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Person.link.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Person.link.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Person.link.target",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Person"
                ]
              }
            ]
          },
          {
            "path": "Person.link.assurance",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The level of confidence that this link represents the same actual person, based on NIST Authentication Levels.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identity-assuranceLevel"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Practitioner",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Practitioner",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Practitioner",
      "name": "Practitioner",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Practitioner",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Practitioner.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Practitioner.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Practitioner.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Practitioner.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.active",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.address",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Address"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.gender",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The gender of a person used for administrative purposes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/administrative-gender"
              }
            }
          },
          {
            "path": "Practitioner.birthDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.photo",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Attachment"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.practitionerRole.managingOrganization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.role",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The role a person plays representing an organization",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/practitioner-role"
              }
            }
          },
          {
            "path": "Practitioner.practitionerRole.specialty",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Specific specialty associated with the agency",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/practitioner-specialty"
              }
            }
          },
          {
            "path": "Practitioner.practitionerRole.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.practitionerRole.location",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.healthcareService",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.qualification",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.qualification.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Specific qualification the practitioner has to provide a service",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/anzsco-occupations"
              }
            }
          },
          {
            "path": "Practitioner.qualification.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.issuer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.communication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Procedure",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Procedure",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Procedure",
      "name": "Procedure",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Procedure",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "pro-1",
                "severity": "error",
                "human": "Reason not performed is only permitted if notPerformed indicator is true",
                "xpath": "not(exists(f:reasonNotPerformed)) or f:notPerformed/@value=true()"
              }
            ]
          },
          {
            "path": "Procedure.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Procedure.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Procedure.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Procedure.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Procedure.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Procedure.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Procedure.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.subject",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A code specifying the state of the procedure.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/procedure-status"
              }
            }
          },
          {
            "path": "Procedure.category",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A code that classifies a procedure for searching, sorting and display purposes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/procedure-category"
              }
            }
          },
          {
            "path": "Procedure.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A code to identify a specific procedure .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/procedure-code"
              }
            }
          },
          {
            "path": "Procedure.notPerformed",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isModifier": true
          },
          {
            "path": "Procedure.reasonNotPerformed",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "pro-1"
            ],
            "binding": {
              "strength": "example",
              "description": "A code that identifies the reason a procedure was not performed.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason"
              }
            }
          },
          {
            "path": "Procedure.bodySite",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes describing anatomical locations. May include laterality.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/body-site"
              }
            }
          },
          {
            "path": "Procedure.reason[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A code that identifies the reason a procedure is  required.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/procedure-reason"
              }
            }
          },
          {
            "path": "Procedure.performer",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.performer.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Procedure.performer.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Procedure.performer.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Procedure.performer.actor",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.performer.role",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A code that identifies the role of a performer of the procedure.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/performer-role"
              }
            }
          },
          {
            "path": "Procedure.performed[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.location",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.outcome",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "An outcome of a procedure - whether it was resolved or otherwise.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/procedure-outcome"
              }
            }
          },
          {
            "path": "Procedure.report",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
                ]
              }
            ]
          },
          {
            "path": "Procedure.complication",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes describing complications that resulted from a procedure.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-code"
              }
            }
          },
          {
            "path": "Procedure.followUp",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Specific follow up required for a procedure e.g. removal of sutures.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/procedure-followup"
              }
            }
          },
          {
            "path": "Procedure.request",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/CarePlan"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
                ]
              }
            ]
          },
          {
            "path": "Procedure.notes",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "Procedure.focalDevice",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Procedure.focalDevice.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Procedure.focalDevice.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Procedure.focalDevice.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Procedure.focalDevice.action",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A kind of change that happened to the device during the procedure.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/device-action"
              }
            }
          },
          {
            "path": "Procedure.focalDevice.manipulated",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ]
          },
          {
            "path": "Procedure.used",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ProcedureRequest",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest",
      "name": "ProcedureRequest",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ProcedureRequest",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ProcedureRequest.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ProcedureRequest.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ProcedureRequest.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ProcedureRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ProcedureRequest.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.subject",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A code to identify a specific procedure .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/procedure-code"
              }
            }
          },
          {
            "path": "ProcedureRequest.bodySite",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A code that identifies the anatomical location.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/body-site"
              }
            }
          },
          {
            "path": "ProcedureRequest.reason[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A code that explains the reason why a procedure is  required.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/procedure-reason"
              }
            }
          },
          {
            "path": "ProcedureRequest.scheduled[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              },
              {
                "code": "Timing"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.performer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of the request.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/procedure-request-status"
              }
            }
          },
          {
            "path": "ProcedureRequest.notes",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Annotation"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.asNeeded[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept identifying the pre-condition that should hold prior to performing a procedure.  For example \"pain\", \"on flare-up\", etc."
            }
          },
          {
            "path": "ProcedureRequest.orderedOn",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.orderer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.priority",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The priority of the request.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/procedure-request-priority"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ProcessRequest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ProcessRequest",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ProcessRequest",
      "name": "ProcessRequest",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ProcessRequest",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ProcessRequest.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ProcessRequest.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ProcessRequest.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ProcessRequest.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ProcessRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ProcessRequest.action",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "List of allowable action which this resource can request.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/actionlist"
              }
            }
          },
          {
            "path": "ProcessRequest.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.ruleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "ProcessRequest.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "ProcessRequest.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.target",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.provider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.request",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.response",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.nullify",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.reference",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Items"
              }
            ],
            "path": "ProcessRequest.item",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.item.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ProcessRequest.item.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ProcessRequest.item.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ProcessRequest.item.sequenceLinkId",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "integer"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.include",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.exclude",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessRequest.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ProcessResponse",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ProcessResponse",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ProcessResponse",
      "name": "ProcessResponse",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ProcessResponse",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessResponse.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessResponse.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessResponse.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ProcessResponse.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ProcessResponse.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ProcessResponse.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ProcessResponse.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ProcessResponse.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ProcessResponse.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessResponse.request",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessResponse.outcome",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Local status of outcome codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/process-outcome"
              }
            }
          },
          {
            "path": "ProcessResponse.disposition",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessResponse.ruleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "ProcessResponse.originalRuleset",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The static and dynamic model to which contents conform, which may be business version or standard/version.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ruleset"
              }
            }
          },
          {
            "path": "ProcessResponse.created",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessResponse.organization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessResponse.requestProvider",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessResponse.requestOrganization",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessResponse.form",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The forms codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/forms"
              }
            }
          },
          {
            "path": "ProcessResponse.notes",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessResponse.notes.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ProcessResponse.notes.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ProcessResponse.notes.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ProcessResponse.notes.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The presentation types of notes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/note-type"
              }
            }
          },
          {
            "path": "ProcessResponse.notes.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcessResponse.error",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The error codes for adjudication processing.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/adjudication-error"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Provenance",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Provenance",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Provenance",
      "name": "Provenance",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Provenance",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Provenance.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Provenance.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Provenance.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Provenance.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Provenance.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Provenance.target",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.recorded",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.reason",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "The reason the activity took place.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
              }
            }
          },
          {
            "path": "Provenance.activity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "The activity that took place.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ProvenanceEventCurrentState"
              }
            }
          },
          {
            "path": "Provenance.location",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.policy",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.agent",
            "name": "agent",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.agent.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Provenance.agent.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Provenance.agent.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Provenance.agent.role",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "The role that a provenance agent played with respect to the activity.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/provenance-agent-role"
              }
            }
          },
          {
            "path": "Provenance.agent.actor",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.agent.userId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.agent.relatedAgent",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.agent.relatedAgent.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Provenance.agent.relatedAgent.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Provenance.agent.relatedAgent.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Provenance.agent.relatedAgent.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Type of relationship between two provenance agents.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-RoleLinkType"
              }
            }
          },
          {
            "path": "Provenance.agent.relatedAgent.target",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.entity",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.entity.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Provenance.entity.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Provenance.entity.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Provenance.entity.role",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How an entity was used in an activity.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/provenance-entity-role"
              }
            }
          },
          {
            "path": "Provenance.entity.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "The type of an entity used in an activity.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-types"
              }
            }
          },
          {
            "path": "Provenance.entity.reference",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.entity.display",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.entity.agent",
            "min": 0,
            "max": "1",
            "nameReference": "agent",
            "isSummary": true
          },
          {
            "path": "Provenance.signature",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Signature"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Questionnaire",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Questionnaire",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Questionnaire",
      "name": "Questionnaire",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Questionnaire",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "que-3",
                "severity": "error",
                "human": "If root group must be \"required\"",
                "xpath": "f:group/f:required/@value=true()"
              },
              {
                "key": "que-2",
                "severity": "error",
                "human": "The link ids for groups and questions must be unique within the questionnaire",
                "xpath": "count(descendant::f:linkId/@value)=count(distinct-values(descendant::f:linkId/@value))"
              }
            ]
          },
          {
            "path": "Questionnaire.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Questionnaire.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Questionnaire.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Questionnaire.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Questionnaire.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Questionnaire.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Questionnaire.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Questionnaire.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Questionnaire.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Questionnaire.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Lifecycle status of the questionnaire.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/questionnaire-status"
              }
            }
          },
          {
            "path": "Questionnaire.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Questionnaire.publisher",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Questionnaire.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Questionnaire.subjectType",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "One of the resource types defined as part of FHIR.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-types"
              }
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Group"
              }
            ],
            "path": "Questionnaire.group",
            "name": "group",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "que-3"
            ],
            "constraint": [
              {
                "key": "que-1",
                "severity": "error",
                "human": "Groups may either contain questions or groups but not both",
                "xpath": "not(exists(f:group) and exists(f:question))"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Questionnaire.group.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Questionnaire.group.linkId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.title",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Questionnaire.group.concept",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for groupings of questionnaire questions.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/questionnaire-questions"
              }
            }
          },
          {
            "path": "Questionnaire.group.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.required",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false
          },
          {
            "path": "Questionnaire.group.repeats",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false
          },
          {
            "path": "Questionnaire.group.group",
            "min": 0,
            "max": "*",
            "nameReference": "group",
            "condition": [
              "que-1"
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Question"
              }
            ],
            "path": "Questionnaire.group.question",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "que-1"
            ],
            "constraint": [
              {
                "key": "que-4",
                "severity": "error",
                "human": "A question must use either option or options, not both",
                "xpath": "not(f:options and f:option)"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Questionnaire.group.question.linkId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.concept",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes corresponding to individual questions.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/questionnaire-questions"
              }
            }
          },
          {
            "path": "Questionnaire.group.question.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The expected format of an answer.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/answer-format"
              }
            }
          },
          {
            "path": "Questionnaire.group.question.required",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false
          },
          {
            "path": "Questionnaire.group.question.repeats",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false
          },
          {
            "path": "Questionnaire.group.question.options",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ValueSet"
                ]
              }
            ],
            "condition": [
              "que-4"
            ]
          },
          {
            "path": "Questionnaire.group.question.option",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "condition": [
              "que-4"
            ],
            "binding": {
              "strength": "example",
              "description": "Allowed values to answer questions.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/questionnaire-answers"
              }
            }
          },
          {
            "path": "Questionnaire.group.question.group",
            "min": 0,
            "max": "*",
            "nameReference": "group"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "QuestionnaireResponse",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
      "name": "QuestionnaireResponse",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "QuestionnaireResponse",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "QuestionnaireResponse.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "QuestionnaireResponse.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "QuestionnaireResponse.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.questionnaire",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Questionnaire"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Lifecycle status of the questionnaire response.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/questionnaire-answers-status"
              }
            }
          },
          {
            "path": "QuestionnaireResponse.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.author",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.authored",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.source",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Group"
              }
            ],
            "path": "QuestionnaireResponse.group",
            "name": "group",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "qrs-1",
                "severity": "error",
                "human": "Groups may either contain questions or groups but not both",
                "xpath": "not(exists(f:group) and exists(f:question))"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "QuestionnaireResponse.group.linkId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.title",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.group",
            "min": 0,
            "max": "*",
            "nameReference": "group",
            "condition": [
              "qrs-1"
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Question"
              }
            ],
            "path": "QuestionnaireResponse.group.question",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "qrs-1"
            ]
          },
          {
            "path": "QuestionnaireResponse.group.question.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.question.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.question.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "QuestionnaireResponse.group.question.linkId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.question.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.question.answer",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.question.answer.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.question.answer.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.question.answer.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "QuestionnaireResponse.group.question.answer.value[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "decimal"
              },
              {
                "code": "integer"
              },
              {
                "code": "date"
              },
              {
                "code": "dateTime"
              },
              {
                "code": "instant"
              },
              {
                "code": "time"
              },
              {
                "code": "string"
              },
              {
                "code": "uri"
              },
              {
                "code": "Attachment"
              },
              {
                "code": "Coding"
              },
              {
                "code": "Quantity"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Code indicating the response provided for a question."
            }
          },
          {
            "path": "QuestionnaireResponse.group.question.answer.group",
            "min": 0,
            "max": "*",
            "nameReference": "group"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ReferralRequest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ReferralRequest",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/ReferralRequest",
      "name": "ReferralRequest",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "ReferralRequest",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "ReferralRequest.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ReferralRequest.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ReferralRequest.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "ReferralRequest.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ReferralRequest.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ReferralRequest.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ReferralRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ReferralRequest.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of the referral.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/referralstatus"
              }
            }
          },
          {
            "path": "ReferralRequest.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isModifier": false
          },
          {
            "path": "ReferralRequest.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isModifier": false,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": false,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for types of referral; e.g. consult, transfer, temporary transfer."
            }
          },
          {
            "path": "ReferralRequest.specialty",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": false,
            "binding": {
              "strength": "example",
              "description": "Codes indicating the types of capability the referred to service provider must have.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/practitioner-specialty"
              }
            }
          },
          {
            "path": "ReferralRequest.priority",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": false,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes indicating the relative priority of the referral.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/diagnostic-order-priority"
              }
            }
          },
          {
            "path": "ReferralRequest.patient",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isModifier": false,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.requester",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isModifier": false,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.recipient",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isModifier": false,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isModifier": false
          },
          {
            "path": "ReferralRequest.dateSent",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isModifier": false,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.reason",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": false,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes indicating why the referral is being requested."
            }
          },
          {
            "path": "ReferralRequest.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isModifier": false
          },
          {
            "path": "ReferralRequest.serviceRequested",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": false,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes indicating the types of services that might be requested as part of a referral.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes"
              }
            }
          },
          {
            "path": "ReferralRequest.supportingInformation",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isModifier": false,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.fulfillmentTime",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isModifier": false,
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "RelatedPerson",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
      "name": "RelatedPerson",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "RelatedPerson",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "RelatedPerson.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "RelatedPerson.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "RelatedPerson.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "RelatedPerson.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "RelatedPerson.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "RelatedPerson.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "RelatedPerson.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.patient",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.relationship",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The nature of the relationship between a patient and the related person",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype"
              }
            }
          },
          {
            "path": "RelatedPerson.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.gender",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The gender of a person used for administrative purposes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/administrative-gender"
              }
            }
          },
          {
            "path": "RelatedPerson.birthDate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.address",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Address"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.photo",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Attachment"
              }
            ]
          },
          {
            "path": "RelatedPerson.period",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/RiskAssessment",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "RiskAssessment",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/RiskAssessment",
      "name": "RiskAssessment",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "RiskAssessment",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "RiskAssessment.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RiskAssessment.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RiskAssessment.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "RiskAssessment.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "RiskAssessment.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "RiskAssessment.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "RiskAssessment.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "RiskAssessment.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "RiskAssessment.subject",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "RiskAssessment.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RiskAssessment.condition",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "RiskAssessment.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "RiskAssessment.performer",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "RiskAssessment.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RiskAssessment.method",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The mechanism or algorithm used to make the assessment; e.g. TIMI, PRISM, Cardiff Type 2 diabetes, etc."
            }
          },
          {
            "path": "RiskAssessment.basis",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "RiskAssessment.prediction",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "RiskAssessment.prediction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "RiskAssessment.prediction.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "RiskAssessment.prediction.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "RiskAssessment.prediction.outcome",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The condition or other outcome; e.g. death, remission, amputation, infection, etc."
            }
          },
          {
            "path": "RiskAssessment.prediction.probability[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              },
              {
                "code": "Range"
              },
              {
                "code": "CodeableConcept"
              }
            ],
            "constraint": [
              {
                "key": "ras-1",
                "severity": "error",
                "human": "low and high must be percentages, if present",
                "xpath": "(not(f:low) or f:low[f:code/@value='%' and f:system/@value='http://unitsofmeasure.org']) and (not(f:high) or f:high[f:code/@value='%' and f:system/@value='http://unitsofmeasure.org'])"
              },
              {
                "key": "ras-2",
                "severity": "error",
                "human": "Must be <= 100",
                "xpath": "@value <= 100"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The likelihood of the occurrence of a specified outcome",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/risk-probability"
              }
            }
          },
          {
            "path": "RiskAssessment.prediction.relativeRisk",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "RiskAssessment.prediction.when[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              },
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "RiskAssessment.prediction.rationale",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "RiskAssessment.mitigation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Schedule",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Schedule",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Schedule",
      "name": "Schedule",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Schedule",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Schedule.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Schedule.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Schedule.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Schedule.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Schedule.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Schedule.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Schedule.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Schedule.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Schedule.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Schedule.type",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "Additional details about where the content was created (e.g. clinical specialty)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes"
              }
            }
          },
          {
            "path": "Schedule.actor",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Schedule.planningHorizon",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Schedule.comment",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/SearchParameter",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "SearchParameter",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/SearchParameter",
      "name": "SearchParameter",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "SearchParameter",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "spd-1",
                "severity": "error",
                "human": "If an xpath is present, there SHALL be an xpathUsage",
                "xpath": "not(exists(f:xpath)) or exists(f:xpathUsage)"
              }
            ]
          },
          {
            "path": "SearchParameter.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SearchParameter.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SearchParameter.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "SearchParameter.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "SearchParameter.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "SearchParameter.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "SearchParameter.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "SearchParameter.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "SearchParameter.url",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SearchParameter.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SearchParameter.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The lifecycle status of a Value Set or Concept Map.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/conformance-resource-status"
              }
            }
          },
          {
            "path": "SearchParameter.experimental",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SearchParameter.publisher",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SearchParameter.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SearchParameter.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "SearchParameter.contact.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "SearchParameter.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "SearchParameter.contact.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SearchParameter.contact.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SearchParameter.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SearchParameter.requirements",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "SearchParameter.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SearchParameter.base",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "One of the resource types defined as part of FHIR.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-types"
              }
            }
          },
          {
            "path": "SearchParameter.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Data types allowed to be used for search parameters.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/search-param-type"
              }
            }
          },
          {
            "path": "SearchParameter.description",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SearchParameter.xpath",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "spd-1"
            ]
          },
          {
            "path": "SearchParameter.xpathUsage",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "spd-1"
            ],
            "binding": {
              "strength": "required",
              "description": "How a search parameter relates to the set of elements returned by evaluating its xpath query.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/search-xpath-usage"
              }
            }
          },
          {
            "path": "SearchParameter.target",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "One of the resource types defined as part of FHIR.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-types"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Slot",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Slot",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Slot",
      "name": "Slot",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Slot",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Slot.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Slot.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Slot.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Slot.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Slot.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Slot.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Slot.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Slot.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Slot.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Slot.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "Additional details about where the content was created (e.g. clinical specialty).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes"
              }
            }
          },
          {
            "path": "Slot.schedule",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Schedule"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Slot.freeBusyType",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The free/busy status of a slot.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/slotstatus"
              }
            }
          },
          {
            "path": "Slot.start",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Slot.end",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Slot.overbooked",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Slot.comment",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Specimen",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Specimen",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Specimen",
      "name": "Specimen",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Specimen",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Specimen.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Specimen.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Specimen.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Specimen.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Specimen.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Codes providing the status/availability of a specimen.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/specimen-status"
              }
            }
          },
          {
            "path": "Specimen.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The type of the specimen.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v2-0487"
              }
            }
          },
          {
            "path": "Specimen.parent",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "Specimen.subject",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.accessionIdentifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.receivedTime",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.collection",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Specimen.collection.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.collection.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.collection.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.collection.collector",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.collection.comment",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Specimen.collection.collected[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.collection.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "Specimen.collection.method",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The  technique that is used to perform the procedure",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/specimen-collection-method"
              }
            }
          },
          {
            "path": "Specimen.collection.bodySite",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Codes describing anatomical locations. May include laterality.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/body-site"
              }
            }
          },
          {
            "path": "Specimen.treatment",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Specimen.treatment.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.treatment.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.treatment.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.treatment.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Specimen.treatment.procedure",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Type indicating the technique used to process the specimen",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/specimen-treatment-procedure"
              }
            }
          },
          {
            "path": "Specimen.treatment.additive",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              }
            ]
          },
          {
            "path": "Specimen.container",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Specimen.container.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.container.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.container.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.container.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.container.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Specimen.container.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Type of specimen container",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/specimen-container-type"
              }
            }
          },
          {
            "path": "Specimen.container.capacity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "Specimen.container.specimenQuantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ]
          },
          {
            "path": "Specimen.container.additive[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Substance added to specimen container",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v2-0371"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/StructureDefinition",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "StructureDefinition",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/StructureDefinition",
      "name": "StructureDefinition",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "StructureDefinition",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "constraint": [
              {
                "key": "sdf-11",
                "requirements": "Ensure that the constrainedType is not inconsistent with the other information in the structure",
                "severity": "error",
                "human": "If there's a constrained type, its content must match the path name in the first element of a snapshot",
                "xpath": "not(exists(f:constrainedType)) or not(exists(f:snapshot)) or (f:constrainedType/@value = f:snapshot/f:element[1]/f:path/@value)"
              },
              {
                "key": "sdf-5",
                "severity": "error",
                "human": "If the structure defines an extension then the structure must have context information",
                "xpath": "not(f:constrainedType/@value = 'extension') or (exists(f:context) and exists(f:contextType))"
              },
              {
                "key": "sdf-12",
                "requirements": "Ensure that element.base appears with base or not",
                "severity": "error",
                "human": "element.base cannot appear if there is no base on the structure definition",
                "xpath": "f:base or not(exists(f:snapshot/f:element/f:base) or exists(f:differential/f:element/f:base))"
              },
              {
                "key": "sdf-4",
                "severity": "error",
                "human": "A structure must have a base unless abstract = true",
                "xpath": "(f:abstract/@value =true()) or exists(f:base)"
              },
              {
                "key": "sdf-13",
                "requirements": "Ensure that element.base appears if there's a constrained type on the structure definition",
                "severity": "error",
                "human": "element.base must appear if there is a base on the structure definition",
                "xpath": "not(f:constrainedType) or not(f:snapshot/f:element[not(f:base)])"
              },
              {
                "key": "sdf-7",
                "severity": "error",
                "human": "If the structure describes a base Resource or Type, the URL has to start with \"http://hl7.org/fhir/StructureDefinition/\" and the tail must match the id",
                "xpath": "exists(f:constrainedType) or f:url/@value=concat('http://hl7.org/fhir/StructureDefinition/', f:id/@value)"
              },
              {
                "key": "sdf-6",
                "severity": "error",
                "human": "A structure must have either a differential, or a snapshot (or both)",
                "xpath": "exists(f:snapshot) or exists(f:differential)"
              },
              {
                "key": "sdf-1",
                "severity": "error",
                "human": "Element paths must be unique unless the structure is a constraint",
                "xpath": "exists(f:constrainedType) or (count(f:snapshot/f:element) = count(distinct-values(f:snapshot/f:element/f:path/@value)))"
              },
              {
                "key": "sdf-8",
                "severity": "error",
                "human": "In any snapshot or differential, all the elements except the first have to have a path that starts with the path of the first + \".\"",
                "xpath": "string-join(for $elementName in f:*[self::f:snapshot or self::f:differential]/f:element[position()>1]/f:path/@value return if (starts-with($elementName, concat($elementName/ancestor::f:element/parent::f:*/f:element[1]/f:path/@value, '.'))) then '' else $elementName,'')=''"
              },
              {
                "key": "sdf-9",
                "requirements": "Because these 3 fields seem to be have overlapping meaning with the ones in the root of StructureDefinition",
                "severity": "error",
                "human": "In any snapshot or differential, no label, code or requirements on the an element without a \".\" in the path (e.g. the first element)",
                "xpath": "not(exists(f:snapshot/f:element[not(contains(f:path/@value, '.')) and (f:label or f:code or f:requirements)])) and not(exists(f:differential/f:element[not(contains(f:path/@value, '.')) and (f:label or f:code or f:requirements)]))"
              },
              {
                "key": "sdf-10",
                "requirements": "Ensure that there's a base unless the type is abstract and there's no constrainedType",
                "severity": "error",
                "human": "If the structure is not abstract, or there's a constrained type, then there SHALL be a base",
                "xpath": "(f:abstract/@value=true()) or not(exists(f:constrainedType)) or exists(f:base)"
              }
            ]
          },
          {
            "path": "StructureDefinition.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "StructureDefinition.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "StructureDefinition.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "StructureDefinition.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "StructureDefinition.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "StructureDefinition.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "StructureDefinition.url",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.display",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The lifecycle status of a Value Set or Concept Map.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/conformance-resource-status"
              }
            }
          },
          {
            "path": "StructureDefinition.experimental",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.publisher",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "StructureDefinition.contact.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "StructureDefinition.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "StructureDefinition.contact.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.contact.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.useContext",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Indicates the countries, regions, disciplines and other aspects of use within which this artifact is targeted for use.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/use-context"
              }
            }
          },
          {
            "path": "StructureDefinition.requirements",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "StructureDefinition.copyright",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "StructureDefinition.code",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for the meaning of the defined structure (SNOMED CT and LOINC codes, as an example).",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/profile-code"
              }
            }
          },
          {
            "path": "StructureDefinition.fhirVersion",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.mapping",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "sdf-2",
                "severity": "error",
                "human": "Must have at a name or a uri (or both)",
                "xpath": "exists(f:uri) or exists(f:name)"
              }
            ]
          },
          {
            "path": "StructureDefinition.mapping.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "StructureDefinition.mapping.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "StructureDefinition.mapping.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "StructureDefinition.mapping.identity",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "StructureDefinition.mapping.uri",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "condition": [
              "sdf-2"
            ]
          },
          {
            "path": "StructureDefinition.mapping.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "sdf-2"
            ]
          },
          {
            "path": "StructureDefinition.mapping.comments",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "StructureDefinition.kind",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Defines the type of structure that a definition is describing.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/structure-definition-kind"
              }
            }
          },
          {
            "path": "StructureDefinition.constrainedType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "sdf-10",
              "sdf-11"
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Either a resource or a data type.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/defined-types"
              }
            }
          },
          {
            "path": "StructureDefinition.abstract",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.contextType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "sdf-5"
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How an extension context is interpreted.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/extension-context"
              }
            }
          },
          {
            "path": "StructureDefinition.context",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "sdf-5"
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.base",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "condition": [
              "sdf-4",
              "sdf-10"
            ],
            "isSummary": true
          },
          {
            "path": "StructureDefinition.snapshot",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "sdf-6"
            ],
            "constraint": [
              {
                "key": "sdf-3",
                "severity": "error",
                "human": "Each element definition in a snapshot must have a formal definition and cardinalities",
                "xpath": "count(f:element) = count(f:element[exists(f:definition) and exists(f:min) and exists(f:max)])"
              }
            ]
          },
          {
            "path": "StructureDefinition.snapshot.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "StructureDefinition.snapshot.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "StructureDefinition.snapshot.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "StructureDefinition.snapshot.element",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "ElementDefinition"
              }
            ],
            "condition": [
              "sdf-3"
            ]
          },
          {
            "path": "StructureDefinition.differential",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "sdf-6"
            ]
          },
          {
            "path": "StructureDefinition.differential.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "StructureDefinition.differential.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "StructureDefinition.differential.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "StructureDefinition.differential.element",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "ElementDefinition"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Subscription",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Subscription",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Subscription",
      "name": "Subscription",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Subscription",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Subscription.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Subscription.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Subscription.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Subscription.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Subscription.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Subscription.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Subscription.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Subscription.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Subscription.criteria",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Subscription.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Subscription.reason",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Subscription.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The status of a subscription.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/subscription-status"
              }
            }
          },
          {
            "path": "Subscription.error",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Subscription.channel",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Subscription.channel.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Subscription.channel.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Subscription.channel.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Subscription.channel.type",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of method used to execute a subscription.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/subscription-channel-type"
              }
            }
          },
          {
            "path": "Subscription.channel.endpoint",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Subscription.channel.payload",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Subscription.channel.header",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Subscription.end",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Subscription.tag",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Tags to put on a resource after subscriptions have been sent.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/subscription-tag"
              }
            }
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/Substance",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "Substance",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/Substance",
      "name": "Substance",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "Substance",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "Substance.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Substance.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Substance.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Substance.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Substance.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Substance.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Substance.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.category",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Category or classification of substance",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/substance-category"
              }
            }
          },
          {
            "path": "Substance.code",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Substance codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/substance-code"
              }
            }
          },
          {
            "path": "Substance.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.instance",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.instance.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Substance.instance.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Substance.instance.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Substance.instance.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.instance.expiry",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.instance.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.ingredient",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.ingredient.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Substance.ingredient.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Substance.ingredient.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Substance.ingredient.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.ingredient.substance",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/SupplyDelivery",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "SupplyDelivery",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/SupplyDelivery",
      "name": "SupplyDelivery",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "SupplyDelivery",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyDelivery.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyDelivery.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyDelivery.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "SupplyDelivery.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "SupplyDelivery.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "SupplyDelivery.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "SupplyDelivery.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "SupplyDelivery.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "SupplyDelivery.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyDelivery.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Status of the supply delivery.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/supplydelivery-status"
              }
            }
          },
          {
            "path": "SupplyDelivery.patient",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyDelivery.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of supply dispense.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/supplydelivery-type"
              }
            }
          },
          {
            "path": "SupplyDelivery.quantity",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyDelivery.suppliedItem",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyDelivery.supplier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyDelivery.whenPrepared",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyDelivery.time",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyDelivery.destination",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyDelivery.receiver",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/SupplyRequest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "SupplyRequest",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/SupplyRequest",
      "name": "SupplyRequest",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "SupplyRequest",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyRequest.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyRequest.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyRequest.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "SupplyRequest.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "SupplyRequest.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "SupplyRequest.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "SupplyRequest.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "SupplyRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "SupplyRequest.patient",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyRequest.source",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyRequest.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyRequest.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyRequest.status",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Status of the supply request",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/supplyrequest-status"
              }
            }
          },
          {
            "path": "SupplyRequest.kind",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Category of supply request",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/supplyrequest-kind"
              }
            }
          },
          {
            "path": "SupplyRequest.orderedItem",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyRequest.supplier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyRequest.reason[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Why the supply item was requested",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/supplyrequest-reason"
              }
            }
          },
          {
            "path": "SupplyRequest.when",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "SupplyRequest.when.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "SupplyRequest.when.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "SupplyRequest.when.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "SupplyRequest.when.code",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "When the request should be fulfilled",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/supplyrequest-when"
              }
            }
          },
          {
            "path": "SupplyRequest.when.schedule",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Timing"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/TestScript",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "TestScript",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/TestScript",
      "name": "TestScript",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "TestScript",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ]
          },
          {
            "path": "TestScript.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "TestScript.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "TestScript.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "TestScript.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "TestScript.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.url",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.version",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.status",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The lifecycle status of a Value Set or Concept Map.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/conformance-resource-status"
              }
            }
          },
          {
            "path": "TestScript.identifier",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.experimental",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.publisher",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.contact",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.contact.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.contact.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.contact.telecom",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.date",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "TestScript.useContext",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Indicates the countries, regions, disciplines and other aspects of use within which this artifact is targeted for use.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/use-context"
              }
            }
          },
          {
            "path": "TestScript.requirements",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.copyright",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.metadata",
            "name": "metadata",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "inv-5",
                "severity": "error",
                "human": "TestScript metadata capability SHALL contain required or validated or both.",
                "xpath": "f:capability/f:required or f:capability/f:validated or (f:capability/f:required and f:capability/f:validated)"
              }
            ]
          },
          {
            "path": "TestScript.metadata.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.metadata.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.metadata.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.metadata.link",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "TestScript.metadata.link.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.metadata.link.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.metadata.link.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.metadata.link.url",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "TestScript.metadata.link.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.metadata.capability",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "TestScript.metadata.capability.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.metadata.capability.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.metadata.capability.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.metadata.capability.required",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false
          },
          {
            "path": "TestScript.metadata.capability.validated",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false
          },
          {
            "path": "TestScript.metadata.capability.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.metadata.capability.destination",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "TestScript.metadata.capability.link",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "TestScript.metadata.capability.conformance",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Conformance"
                ]
              }
            ]
          },
          {
            "path": "TestScript.multiserver",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "TestScript.fixture",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "TestScript.fixture.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.fixture.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.fixture.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.fixture.autocreate",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "TestScript.fixture.autodelete",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "TestScript.fixture.resource",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "TestScript.profile",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "TestScript.variable",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "inv-4",
                "severity": "error",
                "human": "Variable cannot contain both headerField and path.",
                "xpath": "not(f:headerField and f:path)"
              }
            ]
          },
          {
            "path": "TestScript.variable.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.variable.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.variable.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.variable.name",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.variable.headerField",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.variable.path",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.variable.sourceId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.setup",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "TestScript.setup.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.setup.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.setup.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.setup.metadata",
            "min": 0,
            "max": "1",
            "nameReference": "metadata",
            "constraint": [
              {
                "key": "inv-6",
                "severity": "error",
                "human": "Setup metadata capability SHALL contain required or validated or both.",
                "xpath": "f:capability/f:required or f:capability/f:validated or (f:capability/f:required and f:capability/f:validated)"
              }
            ]
          },
          {
            "path": "TestScript.setup.action",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Setup action SHALL contain either an operation or assert but not both.",
                "xpath": "(f:operation or f:assert) and not(f:operation and f:assert)"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.setup.action.operation",
            "name": "operation",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "inv-10",
                "severity": "error",
                "human": "Setup operation SHALL contain either sourceId or targetId or params or url.",
                "xpath": "f:sourceId or ((f:targetId or f:url or f:params) and (count(f:targetId) + count(f:url) + count(f:params) =1)) or (f:type/f:code/@value='conformance' or f:type/f:code/@value='search' or f:type/f:code/@value='transaction' or f:type/f:code/@value='history')"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.setup.action.operation.type",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "The allowable operation types.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/testscript-operation-codes"
              }
            }
          },
          {
            "path": "TestScript.setup.action.operation.resource",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Either a resource or a data type.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/defined-types"
              }
            }
          },
          {
            "path": "TestScript.setup.action.operation.label",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.accept",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The content or mime type.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/content-type"
              }
            }
          },
          {
            "path": "TestScript.setup.action.operation.contentType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The content or mime type.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/content-type"
              }
            }
          },
          {
            "path": "TestScript.setup.action.operation.destination",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "integer"
              }
            ],
            "defaultValueInteger": 0
          },
          {
            "path": "TestScript.setup.action.operation.encodeRequestUrl",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true
          },
          {
            "path": "TestScript.setup.action.operation.params",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.requestHeader",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.requestHeader.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.requestHeader.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.requestHeader.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.setup.action.operation.requestHeader.field",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.requestHeader.value",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.responseId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.sourceId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.targetId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.operation.url",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert",
            "name": "assert",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "inv-13",
                "severity": "error",
                "human": "Setup action assert shall contain both compareToSourceId and compareToSourcePath or neither.",
                "xpath": "(f:compareToSourceId and f:compareToSourcePath) or not(f:compareToSourceId or f:compareToSourcePath)"
              },
              {
                "key": "inv-8",
                "severity": "error",
                "human": "Only a single assertion SHALL be present within setup action assert element.",
                "xpath": "count(f:contentType) + count(f:headerField) + count(f:minimumId) + count(f:navigationLinks) + count(f:path) + count(f:resource) + count(f:responseCode) + count(f:response) + count(f:validateProfileId)  <=1"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.setup.action.assert.label",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.direction",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The type of direction to use for assertion.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/assert-direction-codes"
              }
            }
          },
          {
            "path": "TestScript.setup.action.assert.compareToSourceId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.compareToSourcePath",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.contentType",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The content or mime type.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/content-type"
              }
            }
          },
          {
            "path": "TestScript.setup.action.assert.headerField",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.minimumId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.navigationLinks",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.operator",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The type of operator to use for assertion.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/assert-operator-codes"
              }
            }
          },
          {
            "path": "TestScript.setup.action.assert.path",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.resource",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "Either a resource or a data type.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/defined-types"
              }
            }
          },
          {
            "path": "TestScript.setup.action.assert.response",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The type of response code to use for assertion.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/assert-response-code-types"
              }
            }
          },
          {
            "path": "TestScript.setup.action.assert.responseCode",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.sourceId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.validateProfileId",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.value",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.setup.action.assert.warningOnly",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false
          },
          {
            "path": "TestScript.test",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "TestScript.test.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.test.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.test.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.test.name",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.test.description",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "TestScript.test.metadata",
            "min": 0,
            "max": "1",
            "nameReference": "metadata",
            "constraint": [
              {
                "key": "inv-7",
                "severity": "error",
                "human": "Test metadata capability SHALL contain required or validated or both.",
                "xpath": "f:capability/f:required or f:capability/f:validated or (f:capability/f:required and f:capability/f:validated)"
              }
            ]
          },
          {
            "path": "TestScript.test.action",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "Test action SHALL contain either an operation or assert but not both.",
                "xpath": "(f:operation or f:assert) and not(f:operation and f:assert)"
              }
            ]
          },
          {
            "path": "TestScript.test.action.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.test.action.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.test.action.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.test.action.operation",
            "min": 0,
            "max": "1",
            "nameReference": "operation",
            "constraint": [
              {
                "key": "inv-11",
                "severity": "error",
                "human": "Test operation SHALL contain either sourceId or targetId or params or url.",
                "xpath": "f:sourceId or (f:targetId or f:url or f:params) and (count(f:targetId) + count(f:url) + count(f:params) =1) or (f:type/f:code/@value='conformance' or f:type/f:code/@value='search' or f:type/f:code/@value='transaction' or f:type/f:code/@value='history')"
              }
            ]
          },
          {
            "path": "TestScript.test.action.assert",
            "min": 0,
            "max": "1",
            "nameReference": "assert",
            "constraint": [
              {
                "key": "inv-14",
                "severity": "error",
                "human": "Test action assert shall contain both compareToSourceId and compareToSourcePath or neither.",
                "xpath": "(f:compareToSourceId and f:compareToSourcePath) or not(f:compareToSourceId or f:compareToSourcePath)"
              },
              {
                "key": "inv-9",
                "severity": "error",
                "human": "Only a single assertion SHALL be present within test action assert element.",
                "xpath": "count(f:contentType) + count(f:headerField) + count(f:minimumId) + count(f:navigationLinks) + count(f:path) + count(f:resource) + count(f:responseCode) + count(f:response) + count(f:validateProfileId)  <=1"
              }
            ]
          },
          {
            "path": "TestScript.teardown",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "TestScript.teardown.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.teardown.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.teardown.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.teardown.action",
            "min": 1,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "inv-3",
                "severity": "error",
                "human": "Teardown action SHALL contain an operation.",
                "xpath": "f:operation"
              }
            ]
          },
          {
            "path": "TestScript.teardown.action.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "TestScript.teardown.action.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "TestScript.teardown.action.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "TestScript.teardown.action.operation",
            "min": 0,
            "max": "1",
            "nameReference": "operation",
            "constraint": [
              {
                "key": "inv-12",
                "severity": "error",
                "human": "Teardown operation SHALL contain either sourceId or targetId or params or url.",
                "xpath": "f:sourceId or (f:targetId or f:url or (f:params and f:resource)) and (count(f:targetId) + count(f:url) + count(f:params) =1) or (f:type/f:code/@value='conformance' or f:type/f:code/@value='search' or f:type/f:code/@value='transaction' or f:type/f:code/@value='history')"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/VisionPrescription",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "VisionPrescription",
      "meta": {
        "lastUpdated": "2015-10-24T07:41:03.495+11:00"
      },
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/VisionPrescription",
      "name": "VisionPrescription",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
      "snapshot": {
        "element": [
          {
            "path": "VisionPrescription",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "DomainResource"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.id",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.meta",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.implicitRules",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "VisionPrescription.language",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "VisionPrescription.text",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "VisionPrescription.contained",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "VisionPrescription.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "VisionPrescription.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "VisionPrescription.identifier",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dateWritten",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.patient",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.prescriber",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.encounter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.reason[x]",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "VisionPrescription.dispense.extension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "VisionPrescription.dispense.modifierExtension",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "VisionPrescription.dispense.product",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "A coded concept describing the vision products.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/vision-product"
              }
            }
          },
          {
            "path": "VisionPrescription.dispense.eye",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A coded concept listing the eye codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/vision-eye-codes"
              }
            }
          },
          {
            "path": "VisionPrescription.dispense.sphere",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense.cylinder",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense.axis",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "integer"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense.prism",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense.base",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A coded concept listing the base codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/vision-base-codes"
              }
            }
          },
          {
            "path": "VisionPrescription.dispense.add",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense.power",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense.backCurve",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense.diameter",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense.duration",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense.color",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense.brand",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "VisionPrescription.dispense.notes",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  }
]

}